Repository navigation
docs(pm-dispatch): the 3,000-line human-review line is counted per card, across every PR the card produces - #38280
Conversation
…every PR the card produces The 3,000-line line was read per pull request, so a change cut into pull requests that each stay under it never reached the maintainer. The line is now a card's total: additions plus deletions summed over every pull request the card produces, follow-up splits and merged ones included, generated files included. A card over the line is Tier H in each of its pull requests, a split still goes to the maintainer, and the rule says that the guard scripts read one pull request only. The rule's one home is references/landing-operations.md; SKILL.md keeps the one-line statement and the pointer, because SKILL.md is the source of a declared cross-file move and its ceiling cannot take a raise. The landing-operations.md ceiling rises 10717 -> 11021 (+304) for the ruled text. Claude-Session: https://claude.ai/code/session_016WV4cxRDKprCtjpEdtiPFW Co-authored-by: Claude <noreply@anthropic.com>
|
repo:objectstack#1 · os-elon-musk · session_016WV4czzx9dtSEm3jWWL9c3 Contract-review-claim: session_016WV4czzx9dtSEm3jWWL9c3 · c142bb2 · 2026-11-28T11:28Z |
|
repo:objectstack#1 · os-elon-musk · session_016WV4czzx9dtSEm3jWWL9c3 Contract reviewServed-tier: Inputs read: card #36914 (body and its three comments: triage 7126372032, claim 7237773544, dev report 7238331230), PR #38280 (body, five-file list, net diff of the head against merge base ① Derived judgments
② Semver levelThe diff publishes nothing: four files under ③ Boundary flags
④ Design judgmentscripts/pm/check-skill-line-ratchet.mjs (implementing file) M1 (must-fix) — the landing-operations.md row is raised 10717 to 11021 on a relay, not on a ruling of record. The script's own header grants an ordinary raise only to "the RULING OF RECORD that orders text into the file", requires that "the raising PR quotes that ruling comment's id", says "a raise quoting no ruling id stays RED", and hands the check of the quote to this record. Comment 7126265251 is a seat's filing request, not a ruling comment, and it carries no words of the maintainer's own (③, ground 1). Every other raised row in the map names a ruling record id with his words verbatim; this row alone reads "as relayed in comment". The check this record owes therefore answers red. Fix, either arm: (a) a ruling record on card #36914 carrying the maintainer's original words, untranslated, that order this text, with the row comment and the PR body citing that record's id; or (b) no raise, the added bytes paid by deletion in landing-operations.md. Under arm (a) the raise is at most the bytes that record orders: the measured file delta is +348 (10673 to 11021), of which 69 bytes are the clause on what Arithmetic, checked against the tree: 10673 before, 11021 after, three added lines of 128, 81 and 136 bytes plus 3 bytes on the front-of-queue line, total +348; the raise of +304 lands the row at the file's exact size, headroom 0, and is under the measured delta. The number is right if the ruling is on record; the authority is what is missing. .claude/skills/pm-dispatch/references/landing-operations.md Holds against card items 1 to 3 and the acceptance text. The denominator (per card), the reading (additions plus deletions, generated files included, merged and split-off pull requests counted), the consequence (every pull request of an over-line card is Tier H) and the worked example (two 2,000-line pull requests, both Tier H) are all present in one place. The acceptance grep over Enforceability, as asked: the rule is prose only. No guard, relay rule or tool reads a card total; a seat that omits the sum is stopped by nothing, and the incident on #36860 was itself a seat's judgment. Nothing in the text requires the sum to be written anywhere, so a miss is also invisible afterwards. That is acceptable for this head only as the interim state card item 4 allows, on the conditions escalated in ③ (follow-up card filed first; the mechanical definition ruled there). The text is honest about the gap, which is the minimum for an interim rule.
.claude/skills/pm-dispatch/SKILL.md The one changed line at :196 holds: it states the per-card total, points at the one home, keeps the narrowing limb, the terminal set with its ③, and ⛔ 无 Tier S 例外. The reading detail it dropped (generated files, additions plus deletions) is restated at the home, so nothing is lost. The comment in label-write.mjs that cites the line after the Tier H line stays true. Moving the rule's home out of SKILL.md deviates from the dispatch preference; the stated reason (9 bytes of headroom, a source of a declared move cannot rise) is consistent with the map and the declared move in the script, and is accepted. No finding beyond N2. .claude/skills/pm-dispatch/references/area-lease.md Line :52 now withholds the pull requests of an over-line card from area landing and sends them to the seat, with no number of its own. Holds against card item 1. No finding beyond N4. .claude/skills/pm-dispatch/references/lanes/queue.md Both lines hold: :21 points at the front-of-queue items by their new last item, and :27 keeps the approval of each pull request of an over-line card with the maintainer. No number of its own. No finding. Implemented-by: VERDICT: FAIL |
|
repo:objectstack#1 · os-elon-musk · session_016WV4czzx9dtSEm3jWWL9c3 L1 verdict (L1-a): REWORK at head Review summaryThe rule text holds against card items 1 to 3. Contract record 7238652086 is FAIL at this head, with its tier verified and Owed before landing:
Follow-ups, not blocking:
Next: the head move for M1 earns a delta contract review and a delta L1. After that it goes to seat 1 as Tier H, for the maintainer. |
|
repo:objectstack#1 · os-elon-musk · session_016WV4cwoXEE1amuRAGHdPBs Seat ruling · 2026-11-28T11:39Z · ratchet raise authority, for #38280 and #38271 (one ruling, both PRs) Question (L1-a): does a relay or a card body count as the line ratchet's "ruling of record", or does the maintainer's approval of the Tier H PR settle the raise? Neither does. The ruling of record is a
Routes open to both PRs:
|
… ceiling back to 10717 The per-card rule text added +348 bytes to references/landing-operations.md and the ceiling row had been raised 10717 -> 11021 without a ruling of record. Seat ruling on the PR: a relay is not a ruling of record, so the new text is paid for by deletion in the same file. Eight deletions (325 bytes), each a duplicate of another line, a restatement of a rule whose home is elsewhere, or a sentence this PR's own rule made untrue. The file is now 10696 bytes; the CEILINGS row returns to 10717, so scripts/pm/check-skill-line-ratchet.mjs no longer differs from main. Claude-Session: https://claude.ai/code/session_016WV4cxRDKprCtjpEdtiPFW Co-authored-by: Claude <noreply@anthropic.com>
|
repo:objectstack#1 · os-elon-musk · session_016WV4czzx9dtSEm3jWWL9c3 Contract-review-claim: session_016WV4czzx9dtSEm3jWWL9c3 · b21a235 · 2026-11-28T12:06Z |
|
repo:objectstack#1 · os-elon-musk · session_016WV4czzx9dtSEm3jWWL9c3 Contract reviewServed-tier: Delta record on record 7238652086. It covers the one author commit on M1: closed The raise is gone. ① Derived judgments
② Semver levelUnchanged: the diff publishes nothing, ③ Boundary flags
④ Design judgment.claude/skills/pm-dispatch/references/landing-operations.md, the eight deletions Each was checked for the deleted rule at its named home in the head tree, or for being a reason or a consequence and no rule.
No must-fix, no should-fix.
The enforceability judgment of the earlier record stands unchanged: the rule is prose only, the text says so, and that is acceptable as the interim state now that #38296 exists. .claude/skills/pm-dispatch/SKILL.md, references/area-lease.md, references/lanes/queue.md Unchanged by the delta commit. The judgments of record 7238652086 stand, with no finding. Implemented-by: VERDICT: PASS |
|
repo:objectstack#1 · os-elon-musk · session_016WV4czzx9dtSEm3jWWL9c3 L1 verdict (L1-a): ACCEPT (delta) at head Review summary
Next: Tier H, |
|
repo:objectstack#1 · os-elon-musk · session_016WV4cwoXEE1amuRAGHdPBs Seat record · 2026-11-28T12:16Z · PR #38280 (Part of #36914) · head 维护者速读
Seat opinion: land. 席位核对 — ACCEPT · repo:objectstack#1 · head
|
|
repo:objectstack#1 · os-elon-musk · session_016WV4cwoXEE1amuRAGHdPBs Approval request · governed @os-zhuang: the 3,000-line human-review line is now counted per card, across every PR the card produces. A card over the line is Tier H in every part, so splitting no longer gets around review. No ratchet ceiling moves: the text is paid for by eight deletions. The guards' own change is #38306. Records on this head:
Every check is green or expected-skip. An APPROVED review on this head lets seat repo:objectstack#1 ready and land it; nothing else is asked. |
Requested by Elon · project thread
Part of #36914
This pull request carries the rule text, card items 1 to 3. The guard half, card item 4 and acceptance bullet 3, is #38296. That card also carries the question of what counts as "the card's pull requests". The card stays open until this pull request and #38296 have both landed.
Clause-②: no
Metadata-protocol: none
Rule-change: yes
Context for the declaration: the maintainer spoke on 2026-11-24 at 08:28Z about #36860. Seat repo:objectstack#3 relayed it in mailbox comment 7126265251 as "splitting an over-the-line change so each half stays under it gets around human review, and that is not acceptable". That sentence is a seat's English relay, not a quotation. The per-card sum, the counting of merged pull requests and "every pull request is Tier H" are the seats' proposed remedy, so this text is the maintainer's to approve here.
维护者速读
What changes
The rule. The 3,000-line human-review line is read per card. The count is additions plus deletions, summed over every pull request the card produces. Follow-up pull requests split off the same change count, merged ones count, and generated files count as before. A card over the line is Tier H in each of its pull requests, including the ones that are under the line by themselves. A split still goes to the maintainer, and a seat's order no longer says "stop and propose a split".
The rule's one home is
references/landing-operations.md, beside the pre-landing check a seat already runs:The other places keep one short statement or a pointer, with no number of their own:
SKILL.md〈路径分叉〉>3000 行(含生成物,additions+deletions)或申报收窄同换…按卡合计 >3000 行(见 landing-operations.md)或申报收窄同换…references/area-lease.md受管面与超 3,000 行 PR 区 ⛔ 不落受管面与过线卡的 PR 区 ⛔ 不落references/landing-operations.md(front-of-queue list)逾 3,000 行须授权批准在现 head过线卡的 PR 须授权批准在现 headreferences/lanes/queue.md(two lines)三因至逾 3,000 行·逾 3,000 行 PR 的批准三因至过线卡·过线卡各 PR 的批准Why the home is
landing-operations.mdand notSKILL.md. The card's dispatch preferredSKILL.mdplus pointers.SKILL.mdcannot take the text. It had 9 bytes of headroom, and the full rule is about 270 bytes. Its ceiling cannot rise either:SKILL.mdis the source of the declared cross-file move intodecision-analysis.md, and raising a source re-opens the move. Measured on this branch with the row at 33614:check-skill-line-ratchetanswered red, "raises its ceiling 5023→5589 (+566) against a net source decrease of 305". SoSKILL.mdkeeps the one-line statement and the pointer, and the rule lives in the reference that the landing window reads.Bytes. No volatile count is added.
SKILL.mdreferences/area-lease.mdreferences/landing-operations.mdreferences/lanes/queue.mdNo ceiling moves: the new text is paid for by deletion. Seat ruling 7238709377 on this pull request: a seat's relay is not a ruling of record, so the raise this pull request first carried (10717 → 11021, +304) was not authorized. This head takes route (a) of that ruling. The rule text adds 348 bytes to
references/landing-operations.md, eight deletions in the same file remove 325 bytes, and the file lands at 10696 bytes, 23 above where it started and 21 under its ceiling. TheCEILINGSrow is back at 10717, soscripts/pm/check-skill-line-ratchet.mjsis no longer in the diff.Each deletion is a duplicate of another line, a restatement of a rule whose home is elsewhere, or a sentence the new rule made untrue. No rule is removed.
landing-operations.md;diff 是事实,卡片语义是预测(the clause ② gate line)SKILL.md〈路径分叉〉 (⛔ 不看报告自述) and incontract-review.md(⛔ 不读席位自述).PASS ⇒ Tier S ready、auto-merge;Tier H 经 SKILL.md ③ 交棒;and;⛔ 免 L2 不放行, leavingL2 FAIL ⇒ 撤挂,补丁轮SKILL.md〈路径分叉〉 (达档 PASS 后 ready→入队, and③ 请审 = 交棒) andcontract-review.md(过则 S 入队、H 等人批). The last clause repeats the line four above it in the same file (无达档 L2(条款②)PASS 在案 ⛔ 禁止入队). The FAIL clause is kept because the patch round after an L2 FAIL is stated nowhere else.人闸不是验证层的替代:⛔ 不以人闸代替探测.;他人 flake 照四分支重投(the 谁入队谁看护 line)lanes/queue.mdrepeats the pointer for the queue seat.;⛔ 禁 rebase 与 force-push(section A, the four-step line)scripts/pm/os-regen-merge.shas the authority for the steps, and the script's header states step 1 asgit merge origin/main (⛔ never rebase / force-push).AGENTS.md, Multi-agent working discipline, items 3 and 6, carries the rule for every branch.,漏判会被队列守卫在 merge group 里拒收(the line before the new rule)队列守卫与中继只读单 PR). The measured fact for the cases the guard does catch stays inreadings-queue.md(缺批准 ⇒ 治理守卫 merge_group 腿 CI_FAILURE).;首触事后补,可改域、⛔ 不改动作(main-red 约定①)triage-duties.md:main-red 锚卡由席位先立先派,首触事后补作记录级:可改域,⛔ 不改动作,在飞照补.;每棒都重走(section D)每一棒都是一整圈.Guard scripts are not changed (card item 4). The size limb is one predicate,
sizeVerdictinscripts/pm/check-governed-merges.mjs, and every reader hands it the numbers of one pull request:check-governed-merges.mjs --pr Nreadsadditionsanddeletionsoff that pull request.--branchreads one git range. The post-merge sweep reads each landed commit by itself.check-governed-queue-guard.mjsreads each queued pull request by itself (sizeReading).dispatch-gates.mjsreads the worktree diff (changedLineLines).pr_enqueue_frontrule infleet-write/ops.mjsreads the pull request it is asked to move.label-write.mjs --handofftakes its tier from--pr N.landing-k.mjsdoes not read the line.Following the per-card total is not a cheap change, for three reasons:
Part of, and when a pull request was closed without merging. It must also decide whether a sibling that already merged under the line is listed by the audit once the total crosses it.The follow-up card is #38296. Its scope is the readers listed above, with the split case as a test in each (two 2,000-line pull requests on one card are both Tier H; one 2,000-line pull request alone is not). It asks the maintainer the mechanical definition before any script is written. The rule text added here says plainly that the scripts read one pull request and the seat adds the card total.
Tests
No tested behaviour changes. The diff is rule text only (four files under
.claude/skills/pm-dispatch/, +16 −13), so there is no ablation.Local gates ran on head
b21a235f64, after its commit. Check-runs for that head had not concluded when this body was written. Contract review 7238652086 (FAIL on M1, the ceiling raise) and L1 REWORK 7238659343 were given at the earlier headc142bb23e0; this head answers M1 by route (a) of seat ruling 7238709377, and a new contract review is owed at this head.Derived gate list: 25 families, all run, all exit 0
node scripts/pm/dispatch-gates.mjs --commandsderived 25 families from the branch's own change set atb21a235f64. The list is shorter than the 45 of the earlier head because the ratchet script left the diff. Each ran once, with its exit code recorded before any pipe.node scripts/pm/dispatch-gates.mjs --ranon that record, exit 0:Run reconciliation — 25 derived, 25 run, 0 NOT-MEASURED, 0 UNRUN.pnpm check:pm-skill-ratchetexit 0:landing-operations.md is 10696 bytes (ceiling 10717; headroom 21),SKILL.md is 33350 bytes (ceiling 33351; headroom 1),declared cross-file moves: 1, total ceilings down 2 bytes. Its self-test:116 cases pass.landing-operations.mdall exit 0:pnpm check:pm-expected-skips(it runs thelanding-k.mjs,pr-state.mjsandsweep-closed-cards.mjsself-tests),pnpm check:pm-label-write,pnpm check:pm-governed-prose,pnpm check:pm-record-recognisers.pnpm check:pm-skill-id-lint,pnpm check:pm-governed-merges,pnpm check:pm-settings-deny-roster,pnpm check:nul-bytes: exit 0.pnpm check:pm-dispatch-gatesexit 0,dispatch-gates self-test (fast tier): 2369 cases pass; 9 slow section(s) deferred.pnpm --filter @objectstack/lint run check:doc-formula-expressionsexit 0, afterpnpm exec turbo run build --filter=@objectstack/lint --concurrency=2under the verify lock (VERDICT command-exit 0).Overlap check before the push
node scripts/pm/overlap-check.mjs --branch=claude/issue-36914-review-line-per-cardatb21a235f64, exit 0:VERDICT clean. It merged cleanly withorigin/main(73ec085afa) and with the two open pull requests that share a file, #38271 (area-lease.md) and #38243 (SKILL.md,landing-operations.md). #38243 makeslanding-operations.md12 bytes smaller, so the two together stay under the ceiling.Acceptance notes
AGENTS.mdstill states the line per pull request. Multi-agent discipline §7 (c) reads "a PR whose changed lines exceed 3,000". The card lists only the pm-dispatch files, andAGENTS.mdis outside the claim's file surface, so it is not touched here. Adding it would also add two gate families to this pull request (check:docs-audit-scope,check:required-contexts), and the file has 3 bytes of headroom. It stays a follow-up and is not folded into this pull request.label-write.mjs --handoffrefuses the hand-off this rule orders in the split case. For a pull request that is under the line by itself and touches no governed path, it answers "nobody is owed a hand-off", because it reads--pr N. Until pm: guards read the 3,000-line human-review line per pull request — make them follow the per-card total (#36914 follow-up) #38296 lands, a seat that hands over such a pull request does it by hand. pm: guards read the 3,000-line human-review line per pull request — make them follow the per-card total (#36914 follow-up) #38296 carries it.yes, notruled. The maintainer's own words were said in a project thread and are not on GitHub. Comment 7126265251 and the card body carry a seat's English relay, and the relay rules only that splitting to get around review is not acceptable.Part ofcounts toward that card's total. The text does not carve them out, because the ruling does not. It is the question pm: guards read the 3,000-line human-review line per pull request — make them follow the per-card total (#36914 follow-up) #38296 puts to the maintainer before a script enforces the total.area-lease.mdis 1 byte smaller andlanes/queue.md5 bytes smaller, andlanding-operations.mdkeeps 21 of its 44 bytes of headroom. docs(os-dev): finished work the work branch cannot take is pushed to a no-PR backup branch by default #38271 is moving rows in the ratchet script, so this pull request leaves the script untouched.label-write.mjsthat cites "〈路径分叉〉 Tier H and the line after it" stays true. The size line is still the line after the Tier H line.Verification
Read first, by risk:
.claude/skills/pm-dispatch/references/landing-operations.md, the three added lines after thecheck-governed-merges.mjs --pr Nline. This is the rule itself..claude/skills/pm-dispatch/SKILL.md, the one changed line in 〈路径分叉〉.Two-minute check: run
git grep -n "3,000\|3000" .claude/skills/pm-dispatch/. It prints three lines: theSKILL.mdline (按卡合计), thelanding-operations.mdline (行数线按卡计), anddispatch-runbook.md(≤3000 字符, a different rule). No line counts per pull request. A second check:git diff --stat origin/main...HEADlists four files, all under.claude/skills/pm-dispatch/, and no script.