You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
docs(agents): AGENTS.md routes each task to the document that owns it, and no agent prompt or instruction carries the legacy process #1961
The owner asked on 2026-10-23 to clean every agent prompt and instruction of legacy instructions and language that cause sub-optimal project management and code development: "Agent files should provide routing guidance to other docs rather than having thousands of lines of instructions." Every agent reads AGENTS.md in full at the start of each session, and today it holds 36,700 characters of rules, many of which repeat, contradict or outlive the documents that own the subject.
Evidence
AGENTS.md is 36,733 characters. It repeats rules that live in docs/TESTING.md, SECURITY.md, docs/SDLC.md, docs/SELF_IMPROVEMENT.md, RELEASE_CYCLE.md and k8s/README.md, and it holds rules for processes that feat(release): release-please makes every release from main #1952 deleted or that only some tasks need.
devops ai agents (src/devops_cli/ai/instruction_generator.py, 37,887 characters of source) writes a similar long AGENTS.md into other repositories.
The model prompts under src/devops_cli/ai/tasks/ (47 files) and the knowledge base under src/devops_cli/ai/knowledge_base/ (78 files) still carry process language from the old release flow and the deleted planner.
Existing tool considered
The AGENTS.md convention itself (agents.md) recommends a short file that points to the project's documents. CLAUDE.md, GEMINI.md and .github/copilot-instructions.md are already pointers. Nothing is built.
Proposed remedy
AGENTS.md becomes a router: the few rules that apply to every task, and a table that sends each kind of task to the document that owns it. Each rule lives in exactly one document; a rule that no current process needs is deleted.
The generated AGENTS.md of devops ai agents follows the same shape for a target repository.
The model prompts, the knowledge base and openspec/config.yaml drop every legacy instruction.
Tests: AGENTS.md stays under a small size cap, every document it routes to exists, and no agent-facing file names a deleted process.
Activity
dan-petty commentedon Oct 23, 2026
Intake placed this item to the backlog: intake puts every new item in the backlog. A person plans the milestones on the board.
The candidate changes documentation about agents and their instructions.The change fixes a problem that causes sub-optimal project management and code development.The change improves how tasks are routed and reduces legacy process language.The change needs updates to many files and processes across the repository.docs(agents): AGENTS.md routes each task to the document that owns it…
fix(github): the defect classifier records a lesson in the document t…