Uh oh!
There was an error while loading. Please reload this page.
fix(pm): add a line ceiling for root AGENTS.md - #9837
Merged
Conversation
check-skill-line-ratchet.mjs covered every .claude/skills/** instruction surface and .claude/agents/os-dev.md, but not AGENTS.md itself — the largest, most-read, most binding instruction file in the repo, and the hole the oversized 39-line read-layer clause (compacted by #9715) entered through. Add a CEILINGS entry set at its line count on origin/main (post-#9715, e57524c): 958 lines, headroom 0, same shrink-only convention as the existing entries. Extend the self-test coverage case. Fixes#9792 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AeA3nU1B5Q2pgxqxgUrexd
This was referenced Aug 19, 2026
os-warren
marked this pull request as ready for review
August 19, 2026 04:08
os-warren
enabled auto-merge
August 19, 2026 04:08
Uh oh!
There was an error while loading. Please reload this page.
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 freeto 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.
Fixes#9792
scripts/pm/check-skill-line-ratchet.mjsheld per-file ceilings for every.claude/skills/**instruction surface plus.claude/agents/os-dev.md, but rootAGENTS.md— the largest, most-read, most binding instruction file in the repo — had noceiling. That was the hole the oversized 39-line read-layer clause entered through before
it was compacted by #9715.
Change
Added a
CEILINGSentry forAGENTS.mdat its line count measured on fetchedorigin/mainafter#9715 (e57524c, 2026-08-19T01:13Z) landed, which is confirmed tostill be the tip commit touching
AGENTS.md:958, headroom 0 — the same shrink-only convention every other entry in the map alreadyuses (lower freely; raising later needs a maintainer ruling quoted in the PR, per the
script's own header comment). Extended
--self-testwith a coverage case pinning thatAGENTS.mdis in the map.File surface is exactly
scripts/pm/check-skill-line-ratchet.mjs, per the card.Sequencing check (re-verified fresh, not taken from the card)
git show origin/main:AGENTS.md | wc -lafter a freshgit fetch origin mainstillshows
e57524cas the newest commit touchingAGENTS.md— no further AGENTS.md PRlanded since the card was filed.
AGENTS.mdand forcheck-skill-line-ratchet: none open toucheither file.
Gates — all at
fac4602f3Gate union re-derived from the real diff (
node scripts/pm/dispatch-gates.mjs, no pathspassed — script derives the change set from merge-base itself):
Re-ran the full union again after the final commit (
fac4602f3) — same three families,all green, byte-identical set to the pre-commit run.
scripts/only, nothing published: no changeset.Generated by Claude Code