Repository navigation
Agent instruction files follow STD-10 - #22
Merged
Merged
Conversation
Result: AGENTS.md refactored to STD-10 v1 (single file: only AGENTS.md changed; CLAUDE.md remains a symlink). Read as: the umbrella STD-10 text (docs/standards/STD-10-agent-instruction-files/) applied to this file, with R3 to R6 read against this repo's standards, ARCHITECTURE.md and Makefile. Orbit-Task: ORB-27028 Orchestrated-By: Orchestrated-By: fable
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.
Task
ORB-27028 — Agent instruction files follow STD-10
Description
What was found
Measured on 2026-11-22:
AGENTS.mdis 5,178 bytes with no bullet over 500 characters, andCLAUDE.mdis a symlink to it, so the three mechanical limits pass. Two things matter because every new CLI repository starts from this file:## Rules; R9 puts it last.Read the rest against R3 to R6. Keep whatever the template's own checks and
operations/scripts/new-rust-cli.shin the umbrella expect of this file.The standard
STD-10 (agent instruction files), version 1, is in the constellation umbrella at
docs/standards/STD-10-agent-instruction-files/STD-10.md(commitd40a4f6), with the reason for each rule inwhy.mdbeside it. Daniel approved it on 2026-11-22 and asked for every instruction file to be refactored to it ("we will refactor all of our AGENTS.md that way"). The rules, in short:AGENTS.mdis the one source file in a directory.CLAUDE.mdandGEMINI.md, where present, are a symlink to it, or a file whose first line is@AGENTS.mdand whose other lines are rules for that provider alone. No second copy.##headings, one rule per bullet; no bullet or paragraph over 500 characters.Rules,Branching,Gates,Code,Testskeep these names and this order where they exist; the project's own sections follow; a tool-managed block (the adopted standards list) is last.This task does not vendor STD-10 into
docs/standards/; that comes through the standards sync. Do not editdocs/standards/or the text inside the managedconstellation-standardsblock; moving the whole block is allowed.Acceptance Criteria
AGENTS.mdis a regular file, and eachCLAUDE.mdorGEMINI.mdbeside it is a symlink to it or starts with the line@AGENTS.md(STD-10 R1).wc -cof the rootAGENTS.mdplus any import file beside it is at most 8,000, and at most 4,000 for each subdirectory's (R10).Rules,Branching,Gates,Code,Testswhere they exist, the project's own after them, the managed standards block last.STD-nn §Rn, that states it today, checked by reading it. A rule stated nowhere else stays in the instruction file, or moves into the named document in the same change. The byte budget is a ceiling, not a target: a repository-specific rule the code does not show stays (R3).sh docs/standards/check.shpasses.Execution Summary
Click to expand
Result: AGENTS.md refactored to STD-10 v1 (single file: only AGENTS.md changed; CLAUDE.md remains a symlink). Read as: the umbrella STD-10 text (docs/standards/STD-10-agent-instruction-files/) applied to this file, with R3 to R6 read against this repo's standards, ARCHITECTURE.md and Makefile.
CRITERIA
MAP OF REMOVED OR CHANGED STATEMENTS (rule text kept unless noted)
JUDGEMENT CALLS
VALIDATION (run in this worktree)
RECONCILIATION
Validation
Branch Freshness
refs/remotes/origin/agent-mainorbit/ORB-27028-bf341f84Orchestrated-By: fable