docs(AGENTS): §7 names the third class of PR that never lands on green alone — over 5,000 changed lines - #19042
os-elon-musk wants to merge 1 commit into
Conversation
Multi-agent discipline §7 listed two classes that never enter the merge-queue path on green alone (governed surface; Version Packages / release). The maintainer ruled a third: a PR whose changed lines (additions + deletions, generated files included) exceed 5,000 lands only by a human merge. The paragraph is re-flowed at the file's own width so the clause lands at net 0 lines (1099 / 1099). Co-authored-by: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BTeBejoPUvRHN8WdAJC6oF
Contract reviewServed-tier: ① Derived judgments
② Semver level
③ Boundary flags
Implemented-by: VERDICT: PASS Generated by Claude Code |
维护者速读(终稿)· skills 席 · 2026-09-18T13:47Z这个 PR 做什么:把您的 5000 行规则写进 验收:复核记录 5730909983(PASS);ACCEPT 5730916820;派生门禁 14 / 14 绿;行数棘轮 1099 / 1099、每行 ≤ 117 字节;CI 12 成功 · 11 跳过 · 2 在跑、0 红(2026-09-18T13:45Z); 请您做的一件事:Approve(受管文本),或直接 ready + squash 合并。没有要问的字。 Generated by Claude Code |
Fixes #19037
Clause-②: no
What changed
AGENTS.mdMulti-agent discipline §7 said 「Two classes of PR never enter this path on green alone」 — (a) a governed-surface diff, (b) the Version Packages / release-performing PR. The maintainer's ruling adds a third, and the rules layer contradicted the landing rule until it said so. The paragraph now names three classes:and the closing instruction reads the size in the same breath as the file list and the author: 「Read the PR's file list (
get_files), its author and its size before you arm anything.」Ruling (verbatim, untranslated), recorded on #16045 (comment 5729462393) and carried by #19012 / PR #19033:
Read as the landing rule already spells it:
additions + deletionson the PR, strictly greater than 5,000, generated files INCLUDED, no exemption; the terminal is the human's merge. The sentence states the ruling, not a line number of PR #19033, so it reads true whether or not that PR has landed. No new rule beyond the ruling: no exemption, no lower number, no review that is not the human's merge.Why the sentence carries no card number or date.
AGENTS.md's header: a rule 「carries no incident narrative, no ruling date or quotation, and no issue-number citation (pnpm check:pm-skill-id-lint) — a rule's provenance lives in the PR that landed it」; that gate's pattern is/#[0-9]{3,}/overAGENTS.md, so#16045/#19012in the sentence would go red. The dispatch's mechanism assumption 1 (name the ruling by card) is falsified by the gate and by the file's own header — the provenance is this PR body, and the sentence is self-contained.Line budget — net 0 at the ceiling (1099 / 1099)
The paragraph was wrapped at ~88 bytes with a 27-byte last line; re-flowed at the file's own 120-byte per-line budget (the Prime Directives block runs to 120 bytes; §8 beside it to 116) it absorbs the clause with no new line. Every bold and code span stays whole on its line, as before.
Before:
After:
Reader test
A seat about to arm a 6,000-line PR reads §7 and stops: 「Three classes … (c) a PR whose changed lines exceed 5,000 … lands only by a human merge」. Before this PR the same seat read two classes, found a 6,000-line diff in neither, and armed.
Other mentions in
AGENTS.md(mechanism assumption 3)grep -n -i -E 'green alone|two classes|Version Packages'onorigin/maindbd474431:Gates (local, at
845470659)node scripts/pm/dispatch-gates.mjs --commands --repo objectstack-ai/objectstackderived 14 families from the changeset (1 path vs merge basedbd474431); all 14 ran, exit codes captured redirect-then-$?, plus the two the dispatch named:Reconciliation:
✓ dispatch-gates --ran: 14 derived famil(ies) accounted for — 14 run, 0 NOT-MEASURED. Ratchet:✓ check-skill-line-ratchet: AGENTS.md is 1099 lines (ceiling 1099; headroom 0).andwidest table row is 768 bytes (pin 768; headroom 0). Id-lint: 0 citations inAGENTS.md. Control-byte scan of the file: no match.Not measured locally:
check:doc-formula-expressions(a CEL gate over fenced formula examples in the docs/skills corpus; this diff adds no fenced block and the family is outside the derivation; CI runs it).check:pm-dispatch-gatesran detached — its verdict is in the report comment on #19037.Changeset
skip-changeset:AGENTS.mdis a repo-root instruction file; the root package is private and no packagefiles[]ships it — nothing published moves.Acceptance notes
维护者速读(草稿)
AGENTS.md多 agent 纪律 §7 那句「两类 PR 绿了也不能自动进合并队列」改成三类:新增 (c) 改动行数(additions + deletions,含生成文件)超过 5,000 行的 PR,只能由人工合并。文件行数不变(1099 / 1099),只是把那一段按文件自身的行宽重排。AGENTS.md还写着两类,座席读到的规则与落地规则互相矛盾。Generated by Claude Code