Repository navigation
feat(cli): list plugin rules in AGENTS.md for codex and kimi - #1389
Merged
Merged
Conversation
Codex and Kimi read markdown guidance only from AGENTS.md, so a plugin's rules are placed in the tool's own instructions folder and listed by glob in one marked block of the project's AGENTS.md, beside the team's text. One owner, agents-rules-index, writes and removes that block for the Kimi install and removal and for the Codex and Kimi flat builds. Codex's native plugin install carries no rules and is unchanged. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…moval starts Review of the rules listing for codex and kimi: - the intro tells the model that a rule stating no files applies to every file - the block markers count only alone on a line, as the rule generator reads its own - a block whose markers do not pair refuses the install and the build instead of being skipped, before any plugin file is written - the removal proves AGENTS.md sits inside the project before it touches hooks - the listing is its own step beside the MCP merge, with a built-tree route test - the bundle budget is back to what it was Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
…rough Codex's native route Co-Authored-By: Claude Opus 5.5 <[email protected]>
…-scope Codex install Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ore and non-local installs Co-Authored-By: Claude Opus 5.5 <[email protected]>
…to its rules listing Co-Authored-By: Claude Opus 5.5 <[email protected]>
… none Co-Authored-By: Claude Opus 5.5 <[email protected]>
…every-host # Conflicts: # cli/src/composition/tool-profiles/kimi.ts # cli/src/contexts/tools/domain/behaviours/kimi/kimi-build.model.ts # docs/COMPATIBILITY.md
…ile rules listing Co-Authored-By: Claude Opus 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Codex and Kimi read Markdown guidance only from
AGENTS.md, so their plugin rules now reach them there. A marked block lists each plugin's rules in the project'sAGENTS.mdon every install route: the native plugin install, the flat build and the install from a built tree. The project's own text is never touched.syncRulesListing, decides whether to list or unlist on every route. An update that drops a plugin's last rule removes its block, and removing the plugin removes it too.🤖 Generated with Claude Code