Skip to content

docs: clarify memory bank status indicators#1

Closed
jeremylongshore wants to merge 2 commits into
mainfrom
test/review-5667
Closed

docs: clarify memory bank status indicators#1
jeremylongshore wants to merge 2 commits into
mainfrom
test/review-5667

Conversation

@jeremylongshore
Copy link
Copy Markdown
Owner

@jeremylongshore jeremylongshore commented Feb 14, 2026

Context

Clarify that Memory Bank status indicators may not appear in all clients. Softens guarantees to align with observed behavior.

Mirrors Kilo-Org/kilocode#5667 for multi-AI review testing.

Implementation

Adds one sentence to the deprecation callout in agents-md.md explaining that legacy indicators can still appear but aren't guaranteed across all clients or modes.

How to Test

  • Documentation only, no code changes
  • Verify the docs build passes

Closes Kilo-Org#3837

Summary by CodeRabbit

  • Documentation
    • Removed agent customization documentation.

@gemini-code-assist
Copy link
Copy Markdown

Summary of Changes

Hello @jeremylongshore, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request, titled "docs: clarify memory bank status indicators," intended to update the agents-md.md documentation by adding a sentence to clarify the behavior of deprecated memory bank features. However, the actual changes implemented resulted in the complete removal of all content from the apps/kilocode-docs/pages/customize/agents-md.md file.

Highlights

  • Documentation Removal: The entire content of the agents-md.md documentation file was removed. This contradicts the pull request's stated goal of adding a clarifying sentence about memory bank status indicators.
Changelog
  • apps/kilocode-docs/pages/customize/agents-md.md
    • Removed the entire content of the file.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Feb 14, 2026

📝 Walkthrough

Walkthrough

A documentation file containing guidance on AGENTS.md configuration has been completely removed from the kilocode-docs repository. The 169-line file is deleted with no replacement or alternative content introduced.

Changes

Cohort / File(s) Summary
Documentation Deletion
apps/kilocode-docs/pages/customize/agents-md.md
Entire documentation file removed; previously contained instructions and configuration details for AGENTS.md setup and customization.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Poem

A rabbit hops through docs so bright,
But AGENTS.md fades from sight,
No words remain, just empty space—
A cleaner, simpler, swifter place! 🐰📄✨

🚥 Pre-merge checks | ✅ 4 | ❌ 2
❌ Failed checks (1 warning, 1 inconclusive)
Check name Status Explanation Resolution
Out of Scope Changes check ⚠️ Warning The raw summary shows the PR deletes an entire file (agents-md.md with 169 lines removed, 0 added) which conflicts with the description's claim of 'adds one sentence' to clarify documentation. Clarify whether the entire file deletion is intentional or if only specific content updates were intended; verify the changes align with the stated objective.
Title check ❓ Inconclusive The title references 'memory bank status indicators' but the PR deletes documentation about agents without clearly conveying this core change. Clarify the title to reflect the actual change: either specify that it's about clarifying/softening documentation on memory bank indicators or mention the deletion context.
✅ Passed checks (4 passed)
Check name Status Explanation
Description check ✅ Passed The description follows the template structure with Context, Implementation, and How to Test sections that adequately explain the documentation clarification.
Linked Issues check ✅ Passed The PR addresses issue #3837 by clarifying Memory Bank status indicator documentation to align with observed behavior, matching the issue's request for documentation clarification.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Merge Conflict Detection ✅ Passed ✅ No merge conflicts detected when merging into main

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch test/review-5667

No actionable comments were generated in the recent review. 🎉


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request is intended to add a clarifying sentence to the documentation regarding memory bank status indicators. However, the current change accidentally deletes the entire agents-md.md file. This is a critical error that will remove an important documentation page and cause broken links throughout the site. The file should be restored, and the intended clarification should be applied.

Comment on lines 1 to -170

# agents.md

AGENTS.md files provide a standardized way to configure AI agent behavior across different AI coding tools. They allow you to define project-specific instructions, coding standards, and guidelines that AI agents should follow when working with your codebase.

{% callout type="note" title="Memory Bank Deprecation" %}
The Kilo Code **memory bank** feature has been deprecated in favor of AGENTS.md.

**Existing memory bank rules will continue to work.**

If you'd like to migrate your memory bank content to AGENTS.md:

1. Examine the contents in `.kilocode/rules/memory-bank/`
2. Move that content into your project's `AGENTS.md` file (or ask Kilo to do it for you)
{% /callout %}

## What is AGENTS.md?

AGENTS.md is an open standard for configuring AI agent behavior in software projects. It's a simple Markdown file placed at the root of your project that contains instructions for AI coding assistants. The standard is supported by multiple AI coding tools, including Kilo Code, Cursor, and Windsurf.

Think of AGENTS.md as a "README for AI agents" - it tells the AI how to work with your specific project, what conventions to follow, and what constraints to respect.

## Why Use AGENTS.md?

- **Portability**: Works across multiple AI coding tools without modification
- **Version Control**: Lives in your repository alongside your code
- **Team Consistency**: Ensures all team members' AI assistants follow the same guidelines
- **Project-Specific**: Tailored to your project's unique requirements and conventions
- **Simple Format**: Plain Markdown - no special syntax or configuration required

## File Location and Naming

### Project-Level AGENTS.md

Place your AGENTS.md file at the **root of your project**:

```
my-project/
├── AGENTS.md # Primary filename (recommended)
├── src/
├── package.json
└── README.md
```

**Supported filenames** (in order of precedence):

1. `AGENTS.md` (uppercase, plural - recommended)
2. `AGENT.md` (uppercase, singular - fallback)

{% callout type="warning" title="Case Sensitivity" %}
The filename must be uppercase (`AGENTS.md`), not lowercase (`agents.md`). This ensures consistency across different operating systems and tools.
{% /callout %}

### Subdirectory AGENTS.md Files

You can also place AGENTS.md files in subdirectories to provide context-specific instructions:

```
my-project/
├── AGENTS.md # Root-level instructions
├── src/
│ └── backend/
│ └── AGENTS.md # Backend-specific instructions
└── docs/
└── AGENTS.md # Documentation-specific instructions
```

When working in a subdirectory, Kilo Code will load both the root AGENTS.md and any subdirectory AGENTS.md files, with subdirectory files taking precedence for conflicting instructions.

## File Protection

Both `AGENTS.md` and `AGENT.md` are **write-protected files** in Kilo Code. This means:

- The AI agent cannot modify these files without explicit user approval
- You'll be prompted to confirm any changes to these files
- This prevents accidental modifications to your project's AI configuration

## Basic Syntax and Structure

AGENTS.md files use standard Markdown syntax. There's no required structure, but organizing your content with headers and lists makes it easier for AI models to parse and understand.

### Recommended Structure

```markdown
# Project Name

Brief description of the project and its purpose.

## Code Style

- Use TypeScript for all new files
- Follow ESLint configuration
- Use 2 spaces for indentation

## Architecture

- Follow MVC pattern
- Keep components under 200 lines
- Use dependency injection

## Testing

- Write unit tests for all business logic
- Maintain >80% code coverage
- Use Jest for testing

## Security

- Never commit API keys or secrets
- Validate all user inputs
- Use parameterized queries for database access
```

## Best Practices

- **Be specific and clear** - Use concrete rules like "limit cyclomatic complexity to < 10" instead of vague guidance like "write good code"
- **Include code examples** - Show patterns for error handling, naming conventions, or architecture decisions
- **Organize by category** - Group related guidelines under clear headers (Code Style, Architecture, Testing, Security)
- **Keep it concise** - Use bullet points and direct language; avoid long paragraphs
- **Update regularly** - Review and revise as your project's conventions evolve

## How AGENTS.md Works in Kilo Code

### Loading Behavior

When you start a task in Kilo Code:

1. Kilo Code checks for `AGENTS.md` or `AGENT.md` at the project root
2. If found, the content is loaded and included in the AI's context
3. The AI follows these instructions throughout the conversation
4. Changes to AGENTS.md take effect in new tasks (reload may be required)

### Interaction with Other Rules

AGENTS.md works alongside Kilo Code's other configuration systems:

| Feature | Scope | Location | Purpose | Priority |
| -------------------------------------------------------------- | ------- | ------------------------- | ----------------------------------------- | ----------- |
| **[Mode-specific Custom Rules](/docs/customize/custom-rules)** | Project | `.kilocode/rules-{mode}/` | Mode-specific rules and constraints | 1 (Highest) |
| **[Custom Rules](/docs/customize/custom-rules)** | Project | `.kilocode/rules/` | Kilo Code-specific rules and constraints | 2 |
| **[AGENTS.md](/docs/customize/agents-md)** | Project | `AGENTS.md` | Universal standard for any AI coding tool | 3 |
| **[Global Custom Rules](/docs/customize/custom-rules)** | Global | `~/.kilocode/rules/` | Global Kilo Code rules | 4 |
| **[Custom Instructions](/docs/customize/custom-instructions)** | Global | IDE settings | Personal preferences across all projects | 5 (Lowest) |

### Enabling/Disabling AGENTS.md

AGENTS.md support is **enabled by default** in Kilo Code. To disable it, edit `settings.json`:

```json
{
"kilocode.useAgentRules": false
}
```

## Related Features

- **[Custom Rules](/docs/customize/custom-rules)** - Kilo Code-specific rules with more control
- **[Custom Modes](/docs/customize/custom-modes)** - Specialized workflows with specific permissions
- **[Custom Instructions](/docs/customize/custom-instructions)** - Personal preferences across all projects
- **[Migrating from Cursor or Windsurf](/docs/getting-started/migrating)** - Migration guide for other tools

## External Resources

- [AGENTS.md Specification](https://agents.md) - Official standard documentation
- [dotagent](https://github.com/johnlindquist/dotagent) - Universal converter tool for agent configuration files
- [awesome-cursorrules](https://github.com/PatrickJS/awesome-cursorrules) - 700+ example rules you can adapt
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

critical

This change deletes the entire content of the agents-md.md documentation file, which contradicts the pull request's goal of adding a single sentence for clarification. This appears to be a mistake and will result in a broken documentation page and broken links from other parts of the documentation. Please restore the file's content and apply the intended clarification.

@jeremylongshore
Copy link
Copy Markdown
Owner Author

@coderabbitai review

@jeremylongshore
Copy link
Copy Markdown
Owner Author

/gemini review

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Feb 14, 2026

✅ Actions performed

Review triggered.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request is intended to add a clarifying sentence to the agents-md.md documentation regarding memory bank status indicators. However, the current changes completely remove the agents-md.md file instead. This action contradicts the pull request's description and will result in the loss of important documentation and broken navigation links. It appears the wrong changes have been committed and this should be rectified.

Comment on lines 1 to -170

# agents.md

AGENTS.md files provide a standardized way to configure AI agent behavior across different AI coding tools. They allow you to define project-specific instructions, coding standards, and guidelines that AI agents should follow when working with your codebase.

{% callout type="note" title="Memory Bank Deprecation" %}
The Kilo Code **memory bank** feature has been deprecated in favor of AGENTS.md.

**Existing memory bank rules will continue to work.**

If you'd like to migrate your memory bank content to AGENTS.md:

1. Examine the contents in `.kilocode/rules/memory-bank/`
2. Move that content into your project's `AGENTS.md` file (or ask Kilo to do it for you)
{% /callout %}

## What is AGENTS.md?

AGENTS.md is an open standard for configuring AI agent behavior in software projects. It's a simple Markdown file placed at the root of your project that contains instructions for AI coding assistants. The standard is supported by multiple AI coding tools, including Kilo Code, Cursor, and Windsurf.

Think of AGENTS.md as a "README for AI agents" - it tells the AI how to work with your specific project, what conventions to follow, and what constraints to respect.

## Why Use AGENTS.md?

- **Portability**: Works across multiple AI coding tools without modification
- **Version Control**: Lives in your repository alongside your code
- **Team Consistency**: Ensures all team members' AI assistants follow the same guidelines
- **Project-Specific**: Tailored to your project's unique requirements and conventions
- **Simple Format**: Plain Markdown - no special syntax or configuration required

## File Location and Naming

### Project-Level AGENTS.md

Place your AGENTS.md file at the **root of your project**:

```
my-project/
├── AGENTS.md # Primary filename (recommended)
├── src/
├── package.json
└── README.md
```

**Supported filenames** (in order of precedence):

1. `AGENTS.md` (uppercase, plural - recommended)
2. `AGENT.md` (uppercase, singular - fallback)

{% callout type="warning" title="Case Sensitivity" %}
The filename must be uppercase (`AGENTS.md`), not lowercase (`agents.md`). This ensures consistency across different operating systems and tools.
{% /callout %}

### Subdirectory AGENTS.md Files

You can also place AGENTS.md files in subdirectories to provide context-specific instructions:

```
my-project/
├── AGENTS.md # Root-level instructions
├── src/
│ └── backend/
│ └── AGENTS.md # Backend-specific instructions
└── docs/
└── AGENTS.md # Documentation-specific instructions
```

When working in a subdirectory, Kilo Code will load both the root AGENTS.md and any subdirectory AGENTS.md files, with subdirectory files taking precedence for conflicting instructions.

## File Protection

Both `AGENTS.md` and `AGENT.md` are **write-protected files** in Kilo Code. This means:

- The AI agent cannot modify these files without explicit user approval
- You'll be prompted to confirm any changes to these files
- This prevents accidental modifications to your project's AI configuration

## Basic Syntax and Structure

AGENTS.md files use standard Markdown syntax. There's no required structure, but organizing your content with headers and lists makes it easier for AI models to parse and understand.

### Recommended Structure

```markdown
# Project Name

Brief description of the project and its purpose.

## Code Style

- Use TypeScript for all new files
- Follow ESLint configuration
- Use 2 spaces for indentation

## Architecture

- Follow MVC pattern
- Keep components under 200 lines
- Use dependency injection

## Testing

- Write unit tests for all business logic
- Maintain >80% code coverage
- Use Jest for testing

## Security

- Never commit API keys or secrets
- Validate all user inputs
- Use parameterized queries for database access
```

## Best Practices

- **Be specific and clear** - Use concrete rules like "limit cyclomatic complexity to < 10" instead of vague guidance like "write good code"
- **Include code examples** - Show patterns for error handling, naming conventions, or architecture decisions
- **Organize by category** - Group related guidelines under clear headers (Code Style, Architecture, Testing, Security)
- **Keep it concise** - Use bullet points and direct language; avoid long paragraphs
- **Update regularly** - Review and revise as your project's conventions evolve

## How AGENTS.md Works in Kilo Code

### Loading Behavior

When you start a task in Kilo Code:

1. Kilo Code checks for `AGENTS.md` or `AGENT.md` at the project root
2. If found, the content is loaded and included in the AI's context
3. The AI follows these instructions throughout the conversation
4. Changes to AGENTS.md take effect in new tasks (reload may be required)

### Interaction with Other Rules

AGENTS.md works alongside Kilo Code's other configuration systems:

| Feature | Scope | Location | Purpose | Priority |
| -------------------------------------------------------------- | ------- | ------------------------- | ----------------------------------------- | ----------- |
| **[Mode-specific Custom Rules](/docs/customize/custom-rules)** | Project | `.kilocode/rules-{mode}/` | Mode-specific rules and constraints | 1 (Highest) |
| **[Custom Rules](/docs/customize/custom-rules)** | Project | `.kilocode/rules/` | Kilo Code-specific rules and constraints | 2 |
| **[AGENTS.md](/docs/customize/agents-md)** | Project | `AGENTS.md` | Universal standard for any AI coding tool | 3 |
| **[Global Custom Rules](/docs/customize/custom-rules)** | Global | `~/.kilocode/rules/` | Global Kilo Code rules | 4 |
| **[Custom Instructions](/docs/customize/custom-instructions)** | Global | IDE settings | Personal preferences across all projects | 5 (Lowest) |

### Enabling/Disabling AGENTS.md

AGENTS.md support is **enabled by default** in Kilo Code. To disable it, edit `settings.json`:

```json
{
"kilocode.useAgentRules": false
}
```

## Related Features

- **[Custom Rules](/docs/customize/custom-rules)** - Kilo Code-specific rules with more control
- **[Custom Modes](/docs/customize/custom-modes)** - Specialized workflows with specific permissions
- **[Custom Instructions](/docs/customize/custom-instructions)** - Personal preferences across all projects
- **[Migrating from Cursor or Windsurf](/docs/getting-started/migrating)** - Migration guide for other tools

## External Resources

- [AGENTS.md Specification](https://agents.md) - Official standard documentation
- [dotagent](https://github.com/johnlindquist/dotagent) - Universal converter tool for agent configuration files
- [awesome-cursorrules](https://github.com/PatrickJS/awesome-cursorrules) - 700+ example rules you can adapt
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

critical

The pull request's description states that a single sentence should be added to this file for clarification. However, the entire file is being deleted. This appears to be an error, as it removes crucial documentation for the AGENTS.md feature and will lead to broken links on the documentation site. Please revert this deletion and apply the intended change as described in the pull request.

@jeremylongshore
Copy link
Copy Markdown
Owner Author

Closing: diff artifact from API commit. Recreating with proper cherry-pick.

jeremylongshore added a commit that referenced this pull request Feb 14, 2026
Reviews #1-22 covering PRs across tiers 1-3.
Includes review.md (machine-parseable), journal.md (human narrative),
and status.json for each PR.

Combined integration test: PRs Kilo-Org#5370 + Kilo-Org#5660 + Kilo-Org#5704 merged and tested
together — 7,932 tests passed, 4 pre-existing failures (mistral-fim mocks).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@jeremylongshore jeremylongshore deleted the test/review-5667 branch February 16, 2026 00:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Documentation for Memory Bank Status Indicator confusion

1 participant