Repository navigation
Instruction audit, part 1: root and nested CLAUDE.md to a standard and a word budget; compact guidance shortened - #641
Merged
Merged
Conversation
… kept Every loop reads this text, subagents included, so its length is paid everywhere. Every evidenced sentence keeps its content: what the tool is and where it works, the work deciding over size, the tested "nothing needs saving beforehand" wording (605-call census and the Opus 5.5 / Fable 5.2 wording test), the cost reasons (ae84851), tokens not percent (ef55e89), the thresholds with the backstop line (7.136.2), when the size is told, and not during a design discussion or while something is pending. "Above 450k: the same" folds into one band from 300k; the ban-worded "never as a percentage" keeps its reason. The README gains the rejected $.turn.abort variant, whose only copy was hooks/mods/CLAUDE.md. Sminos-Session: agent-instruction-leanness-audit#4af78b4b (doperpowers on macbook)
…EADME hooks/mods/CLAUDE.md (2,265 words to 444) restated hooks/mods/README.md, the mods' manual, mod by mod; it keeps a map, the engine traps a session needs before it edits a mod, and the tests. The one fact it alone held, the rejected $.turn.abort variant, moved to the README in the commit before. hooks/CLAUDE.md (346 to 221) drops the torn-out bootstrap's history and the summary census, which its commit message holds. tests/CLAUDE.md (119 to 111) loses the orphaned harnesses that no longer exist and points at ci-kit.yml for what CI runs. archive/CLAUDE.md (245 to 165) becomes a list without the version history. Sminos-Session: agent-instruction-leanness-audit#4af78b4b (doperpowers on macbook)
- "Skill Changes Require Evaluation" becomes "Changing agent-facing text", test-by-stakes as the owner ruled on 2026-11-28; its duplicate in the conventions goes. - The upstream procedure moves to docs/upstream-sync.md; the never-merge rule and its reason stay. - The board keeps the dormancy ruling as a fact; the mandated route and the note on a future design go, and a ticket changes nothing about how work is designed, built or reviewed. The qa-loop note is archive/'s. - Repo map rows back to a sentence or two. The agent rulings (pins, the executors' escalation, disallowedTools, the reviewers' Agent/Skill block) and the prependPlugins hook order move to Working conventions, since agents/ can hold no CLAUDE.md and both bind work anywhere; model values, incident counts and version history are the definitions', the specs' and git's. Rows for infra/, devenv/ and teaching/ added. - Testing & validation says what is true: ci-kit's gates run on Actions, live-model tests by hand, and the eval harness is present only once cloned. - The conventions state the CLAUDE.md standard in place of the rule that sent each feature's detail to the nearest nested file, with the 1,500-word budget and its gate. Sminos-Session: agent-instruction-leanness-audit#4af78b4b (doperpowers on macbook)
…ords scripts/check-claudemd-budget.py fails on a tracked CLAUDE.md over the owner's proposed budget, naming the file, its count and where its detail belongs instead. The four files still over budget on this branch (sminos/hooks/mods, sminos/skills/manager/scripts, sminos/skills/sminos/scripts, to-human), which other branches of the rewrite bring under, carry a 2026-11-28 allowance at their current count, so they cannot grow meanwhile; the check notes an allowance its file no longer needs. Wired in .github/ci-kit.yml as the claudemd-budget gate. Sminos-Session: agent-instruction-leanness-audit#4af78b4b (doperpowers on macbook)
The output-styles row said 5 and 7 were MAWS's own; 6 is the message-tool shape and 7 MAWS's own, as the row said before the rewrite. Sminos-Session: agent-instruction-leanness-audit#4af78b4b (doperpowers on macbook)
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
…d, CI coverage stated correctly Sminos-Session: agent-instruction-leanness-audit#4af78b4b (doperpowers on macbook)
SSFSKIM
enabled auto-merge
November 28, 2026 03:08
…p list; allowances for what main grew main added the task plugin (its CLAUDE.md is 1,628 words) and 1,058 words to sminos's scripts CLAUDE.md while this branch was open. Both get a dated allowance at their current counts until their owners bring them under budget. Sminos-Session: agent-instruction-leanness-audit#4af78b4b (doperpowers on macbook)
SSFSKIM
disabled auto-merge
November 28, 2026 03:40
SSFSKIM
enabled auto-merge
November 28, 2026 03:40
9 of 12 tasks
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.
First branch of the harness instruction rewrite (audit of 2026-11-27, findings area
doperpowers-hooks-claudemd).CLAUDE.md: 2,111 → 1,390 words. Repo map rows back to a sentence or two; the upstream cherry-pick procedure moved todocs/upstream-sync.md(the never-merge rule and its reason stay); "Skill Changes Require Evaluation" restated as testing by stakes (the owner's ruling, 2026-11-28); the board section keeps the dormancy as a fact and drops the mandated route; "Testing & validation" made true (gates run through ci-kit).claudemd-budgetgate:scripts/check-claudemd-budget.pyfails a trackedCLAUDE.mdover 1,500 words. Four files carry a dated allowance at their current counts until their own branches land (sminos/×3,to-human/).hooks/mods/CLAUDE.md2,265 → 444 (the README stays the manual),hooks/,archive/,tests/trimmed.hooks/mods/compact.tsx, read by every session and subagent): 364 → 272 words, every evidenced sentence's content kept;tests/mods/compact.test.tspins moved with the text.Sminos-Session: agent-instruction-leanness-audit#4af78b4b (doperpowers on macbook)