Repository navigation
docs(agents): route task rules out of AGENTS.md - #5429
Merged
Merged
Conversation
The ask-jev skill now holds the rule that rule 13 of AGENTS.md held. A test checks that the AGENTS.md table routes a closed model question to the skill, and that the skill holds the rule. The test also lowers the budget bound to 4,500 and reads the superseded-issue rule in docs/SDLC.md. Refs #5421.
AGENTS.md keeps the rules that every task needs, the safety rules and the routing table: 4,216 characters, 35.1 percent fewer. Each moved sentence has one home, and most homes held it already. SECURITY.md rule 8 names example.com for a domain. openspec/config.yaml names the cost of a build with the words of the stage prompt. CONST_AGENTS_MD_MAX_CHARS goes from 6,500 to 4,500. The tests that read a moved sentence read its home. Refs #5421.
Rule 10 keeps the private registry, the device path and the placeholders, because the implement step reads AGENTS.md and not SECURITY.md for a k8s or tf group. Rule 2 keeps the case of an item that newer issues or code replace. Rule 7 keeps the limit of every devops ai call and links the ask-jev skill. Rule 11 asks to comment before it files, and rule 13 keeps each necessary fact. The backup form moves to the naming table of CONTRIBUTING.md, and RELEASE_CYCLE.md owns the release workflow rule.
Owner
Author
|
Do not merge yet: the checks run now. I mark the pull request ready when they pass. No other hold. Each moved sentence and its one home
Kept inline after the review
Sizes
Checks run before the push
|
Owner
Author
Check resultsHead commit:
Skipped check: Audit Defect PR Hardening |
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.
AGENTS.md now holds only the rules that every task needs, the safety rules and the routing table, so each agent session and implement step reads 577 fewer tokens. It goes from 6,499 to 4,220 characters (35.1 percent).
CONST_AGENTS_MD_MAX_CHARSgoes from 6,500 to 4,500, which also caps the answer ofdevops ai agentsin other repositories.Closes, hard-wrap, backup formdevops roadmap returndevopscommandCloses #5421
Change:
openspec/changes/archive/2026-11-13-5421-route-task-rules-out-of-agents/