-
Notifications
You must be signed in to change notification settings - Fork 169
feat: add AGENTS.md files for various rules and guidelines; enhance s… #339
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…earch bar functionality for release notes
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds AGENTS.md files containing project-specific rules and guidelines for AI agents, and enhances the search functionality for release notes with contextual search scoping.
- Adds multiple AGENTS.md files with specialized guidance for different agent types (debug, code, ask, architect)
- Implements a SearchBar wrapper component that shows contextual indicators when browsing release notes
- Configures search context paths in Docusaurus to enable scoped search functionality
Reviewed Changes
Copilot reviewed 7 out of 7 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
src/theme/SearchBar/index.tsx |
New SearchBar wrapper component with release notes context indicators |
docusaurus.config.ts |
Adds search context configuration for different documentation sections |
AGENTS.md |
Main agent guidance file with comprehensive project rules |
.roo/rules-debug/AGENTS.md |
Debug-specific agent guidance focusing on CI and development issues |
.roo/rules-code/AGENTS.md |
Code-specific agent guidance for linting, typing, and conventions |
.roo/rules-ask/AGENTS.md |
Ask-specific agent guidance for documentation queries |
.roo/rules-architect/AGENTS.md |
Architecture-specific agent guidance for structural decisions |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
| location.pathname === `${baseUrl}update-notes` || | ||
| location.pathname.startsWith(`${baseUrl}update-notes/`); | ||
|
|
||
| const searchEverywhereHref = `${baseUrl}search/`; |
Copilot
AI
Sep 9, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The hardcoded 'search/' path should be extracted to a constant or configuration. This makes the search URL path configurable and easier to maintain if it needs to change.
| { label: "Roo Code Cloud", path: "roo-code-cloud" }, | ||
| { label: "Release Notes", path: "update-notes" } | ||
| ], | ||
| useAllContextsWithNoSearchContext: true, |
Copilot
AI
Sep 9, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The useAllContextsWithNoSearchContext configuration option lacks documentation or comments explaining its behavior and impact on search functionality.
…earch bar functionality for release notes
Important
Add
AGENTS.mdfiles for repository guidelines and enhance search bar functionality for release notes.AGENTS.mdfiles in.roo/rules-architect,.roo/rules-ask,.roo/rules-code,.roo/rules-debug, and root directory for guidance on repository rules and guidelines.src/theme/SearchBar/index.tsxto show a scope indicator when in/update-notes/*and provide a link to search the entire site.docusaurus.config.tsto includesearchContextByPathsfor better search context management.This description was created by
for c72e817. You can customize this summary. It will automatically update as commits are pushed.