Skip to content

fix(pm): the relay review plan, H43 and the early-warning leg chain the .claude/** declaration split, and the split reads the queue's record leg (#35612) - #36215

Merged
os-zhuang merged 6 commits into
mainfrom
claude/issue-35612-rule-change-split-readers
Nov 22, 2026
Merged

os-zhuang merged 6 commits into
mainfrom
claude/issue-35612-rule-change-split-readers

Conversation

@objectstack-fleet

Copy link
Copy Markdown
Contributor

Requested by Steedos · project thread

Part of #35612 — this PR carries every work item but the post-merge sweep's split leg (item 4), which is measured below and left for its own card.

Clause-②: no
Metadata-protocol: none
Rule-change: none

维护者速读

  • 用户能看到什么变化:用户无感。车队内部:改车队规则文件的拉取请求若声明改了规则、或没写声明,在标记就绪时会自动请你审,每日巡查也会把它列为等你批准;声明未改规则且审核记录核过的,不再打扰你。
  • 为什么做:上一轮让「改规则的车队文档要你批」在合并队列生效,但自动请审、每日巡查和几处只读提示还按旧办法读,这次把它们和合并队列对齐。
  • 出错会怎样:最多多请你审一次或漏请一次,合并队列那道拦截不变;改动只在车队工具里,可整体撤回。
  • 要你做什么:批准这个拉取请求——它改了守卫仪器文件,只能由你批准合并。

What changes

The .claude/** declaration split (applyRuleChangeSplit, landed with #35610) is now CHAINED by every reader that had been reading the raw row's Tier S. No reader re-derives it, and no gate, derivation row or constant is added.

  • The relay's review plan (governedReviewPlan, scripts/pm/fleet-write/execute.mjs). The plan chains the split last, on the same reading the low-risk arm takes, so a .claude/** pull read on its path list alone is Tier H. At pr_ready the follow-up then reads the body off the pull answer. When the body declares none (or ruled with its Ruling-ref:), it also reads the record stage through the queue guard's own readLowRiskRecordStage (card labels left unread). It requests nobody only when the record on the head verifies the declared value. A yes, a missing line, a settings or hooks path, a mixed pull, or a record that is absent, unread or not verifying all request the approvers, and the verdict row names the reason.
    • ⚠️ Premise correction: the card's done-when says "at pr_create". The relay summons nobody at pr_create by ruled design (the header section "The governed-review follow-up — after pr_ready, never after pr_create"; the seat's hand-off is pr_request_reviewers). The request is pinned at pr_ready, the one follow-up the relay has.
  • H43 and H48 (scripts/pm/check-half-states.mjs). The sweep's governed slice is the split's reading: the body off the PR list row, then, for a body that declares a seat value, the record on the head off the PR thread (H48's fetch class, cached; H48 buys that thread anyway while the PR reads Tier H). A yes, no line or a hooks path is listed as Tier H. A none stands down only on a trusted PASS on the head whose Rule-change-verified: line matches. The register loader exports applyRuleChangeSplit and readRuleChangeVerified beside the matcher.
  • N1: one record leg everywhere (check-governed-merges.mjs, check-governed-queue-guard.mjs). The split's record stage now carries the queue's own record-leg verdict on the same comment (recordVerdict, then recordPassVerdict) as recordLeg, and ruleChangeRecordReasons holds the conjunct only where it stands. A FAIL, a below-tier record, or a leg that was not read keeps the split at Tier H. So --pr and the relay can no longer print Tier S over a record the queue refuses. The queue leg's own call hands in the leg it has already judged.
  • The queue guard's early-warning leg (item 3, measured true at cbd582f4: the pull_request leg read no body although the event payload carries one). resolveEventContext keeps pull_request.body, and runGuard re-reads the split off it (readPayloadDeclaration). On a .claude/** pull, yes is now Tier H on the body. A declared none prints "Tier H UNTIL its record is read", naming the value, because this leg reads no record. A payload with no body still prints "Tier H UNTIL the PR body is read". The body is the one at the event; the workflow's types: list has no edited, so the next push or the queue leg reads a later edit.
  • N4 (scripts/pm/check-owed-reviews.mjs). owedFace finds a narrowing the way the queue's narrowed leg does (narrowingDeclarationsIn, imported). When it finds one, it reads the face with NARROWING_FACE_LINE handed in first. A narrowing declared on the protocol line alone, on a diff with no schema or governed path, is now listed at the narrowing face's tier. Its control is the same body declaring none.
  • hotcrm on the workflows row (item 5). Pinned: a hotcrm workflow pull is Tier H and outside split.repos, so pr_ready requests the approvers at the hotcrm pull. The row names split.repos, and no compare is read. The control is an ungoverned hotcrm path, which plans nobody.
  • N5, N6 (prose). .claude/agents/os-dev.md says exactly one line-start declaration line again (net −1 byte; ceiling 38848, now 38845). .claude/skills/pm-dispatch/SKILL.md's skills-lane exception says 守卫仪器 like the 恒 H line (+6 bytes; ceiling 33872, now 33869). No ceiling row is touched.
  • Header prose in the register, the queue guard and the relay now says the readers chain the split. The register's "two readers do NOT chain" paragraph is replaced.

Not done here: item 4, the post-merge sweep (measured)

Measured at cbd582f4: classifyCommit calls testVerdict with no reading, so every merged .claude/** pull reads Tier H and is listed among the maintainer's merges. No landing is hidden. A seat landing on a verified none is listed as a maintainer merge, and one whose record did not verify is not told apart from it. To list the split's seat landings apart and judge each on its record as landed, the sweep needs a leg like readArmLanding: approval and enqueue legs before merged_at, as-landed comments, and the carry rule. That is a new audit leg of about arm-leg size, not a reader chaining an existing split. It is left for its own card, and the report names it.

Tests

Each new pin carries its negative control one step away:

  • check-governed-merges --self-test: the split battery's floor goes from 40 to 44. It adds a FAIL record, a below-tier record and an unread leg, each Tier H whatever the verified line says, plus the words.
  • check-governed-queue-guard --self-test: arm battery 84 → 85 (the stage carries the leg: FAIL and below-tier read H on the split, a clean PASS reads S). Early-warning battery 6 → 9 (a payload body with none waits on its record, with yes it is H on the body, with no body it still waits on the body, and an entry with no split row is untouched).
  • fleet-write/execute --self-test: governed-review battery 52 → 62. Plan cases: none over a verifying record plans nobody, and its path-only control plans both. Eight Tier H variants each plan both: yes, no line, a settings path, a hooks path, an unread record, a record verifying yes, a FAIL, and AGENTS.md beside the wording. Also the readable gate, the words, four pr_ready runs (none+verified sends nothing, with yes, none+yes-record and none+no-record as controls), and hotcrm's plan and run. The three existing pins that encoded the raw Tier S are re-pinned to the split.
  • check-half-states --self-test: H43 battery 103 → 109 (stood down on a verified none, listed on yes, six Tier H shapes, the pending stage, the thread's record reading, an unloaded register, the loader's two exports).
  • check-owed-reviews --self-test: owed-face battery 9 → 11.

Readings are in the Verification section below.

Acceptance notes

  • H43's record reading has two stated bounds, both toward under-reporting (standing down where the queue would not), never asking early. Only the PR thread is read, so a record on the card alone reads absent and the PR stays Tier H. The record's Served-tier: line and its signature are not read there; H43 reads the verdict word through the guard's author binding, as its hand-off already does.
  • The relay hands readLowRiskRecordStage no checkout, so a record carried from an older head is refused there, and the relay requests the approvers. That is fail closed, at the cost of one extra request.
  • owedFace reads the body alone. The queue's narrowed leg also reads the changesets the commits touch, so a narrowing declared only in a changeset is still not listed. This bound is stated in the function's docblock.
  • The low-risk arm's record stage has the same N1 shape for its Security-touching: line: --pr reads the line without the record leg's verdict. The queue's record leg still refuses there, and this PR does not change it (it is outside this card).

Verification

Read first, by risk:

  1. scripts/pm/check-governed-queue-guard.mjs: lowRiskRecordStage (the new recordLeg, built by the queue's own recordVerdict and recordPassVerdict), ruleChangeRecordVerdict and readPayloadDeclaration.
  2. scripts/pm/fleet-write/execute.mjs: governedReviewPlan's chain, ruleChangeReadable and ruleChangeReadingFor, plus their wiring in requestGovernedReview.
  3. scripts/pm/check-half-states.mjs: h43RuleChangeSlice and h43RuleChangeRecord, plus the sweep's pending-thread pass before shortOfCoverage.

Two-minute check: node scripts/pm/fleet-write/execute.mjs --self-test. Expect ✓ fleet-write/execute self-test: 443 cases pass across 30 batteries, with the ⭐ pr_ready on a .claude/** pull declaring Rule-change: none case and its Rule-change: yes control both green.

Readings at head 101fd54 (local, derived subset; every CI family is the PR's own check-runs)
  • The five touched instruments' self-tests: check-governed-merges ✓ 963 assertions · check-governed-queue-guard ✓ 641 cases · fleet-write/execute ✓ 443 cases across 30 batteries · check-half-states ✓ 5389 cases · check-owed-reviews ✓ 96 cases in 10 batteries — each exit 0, captured before any pipe.
  • node scripts/pm/dispatch-gates.mjs --commands (no paths, merge-base derived): 78 families. All 78 were run; 77 exit 0. pnpm check:i18n-coverage is NOT MEASURED: PREREQUISITE NOT MET (exit 3) because the workspace CLI and the example configs are not built; the diff touches no package, and CI runs it. check:doc-formula-expressions first exited 3 (formula not built), then 0 after turbo run build --filter=@objectstack/formula --filter=@objectstack/lint under the verify lock.
  • --ran reconciliation: ✓ dispatch-gates --ran: 78 derived famil(ies) accounted for — 77 run, 1 NOT-MEASURED.
  • pnpm check:skill-frame-freshness (local-only family): exit 0.
  • node scripts/pm/overlap-check.mjs --branch=claude/issue-35612-rule-change-split-readers: VERDICT clean exit 0 before every push.
  • origin/main moved 36 files past the base cbd582f4, none under scripts/pm/, .claude/ or package.json, so it is not merged here.
  • Byte ceilings (check-skill-line-ratchet.mjs): .claude/agents/os-dev.md is at 38845 of 38848, .claude/skills/pm-dispatch/SKILL.md at 33869 of 33872.

🤖 Generated with Claude Code

… reader prints Tier S over a record the queue refuses

Claude-Session: https://claude.ai/code/session_01QsR2jTeURPvEm465RcoYEC
Co-authored-by: Claude <noreply@anthropic.com>
…lit, so a declared rule change requests the approver at pr_ready

Claude-Session: https://claude.ai/code/session_01QsR2jTeURPvEm465RcoYEC
Co-authored-by: Claude <noreply@anthropic.com>
… read, so a declared rule change is listed as Tier H

Claude-Session: https://claude.ai/code/session_01QsR2jTeURPvEm465RcoYEC
Co-authored-by: Claude <noreply@anthropic.com>
…laration off the event payload's body

Claude-Session: https://claude.ai/code/session_01QsR2jTeURPvEm465RcoYEC
Co-authored-by: Claude <noreply@anthropic.com>
…ata-protocol line alone, as the queue leg does

Claude-Session: https://claude.ai/code/session_01QsR2jTeURPvEm465RcoYEC
Co-authored-by: Claude <noreply@anthropic.com>
…and the skills-lane exception names the guard instruments

Claude-Session: https://claude.ai/code/session_01QsR2jTeURPvEm465RcoYEC
Co-authored-by: Claude <noreply@anthropic.com>
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#7 · zhuangjianguo · session_01QsR2jTeURPvEm465RcoYEC

Contract-review-claim: session_01QsR2jTeURPvEm465RcoYEC · head 101fd54 · 2026-11-22T06:05Z

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#7 · zhuangjianguo · session_01QsR2jTeURPvEm465RcoYEC

Contract-review-claim: session_01QsR2jTeURPvEm465RcoYEC · head 101fd54 · 2026-11-22T06:07Z

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#7 · zhuangjianguo · session_01QsR2jTeURPvEm465RcoYEC

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: 101fd543d0d8e5cf66e8b944dca3b4d9403ff745
Local-runs: none
Scope: .claude/agents/os-dev.md, .claude/skills/pm-dispatch/SKILL.md, scripts/pm/check-governed-merges.mjs, scripts/pm/check-governed-queue-guard.mjs + scripts/pm/check-half-states.mjs, scripts/pm/check-owed-reviews.mjs, scripts/pm/fleet-write/execute.mjs
Security-touching: yes
Rule-change-verified: none

Read: card #35612 (body and all six comments, the seat's reading 7071055960 included), PR #36215 (body, its seven files, the net diff of 420 added and 44 deleted lines), and the 55 check-runs on this head. The PR's files were read at the head with git show; the cited code outside the diff was read, not reviewed. Nothing was built or run.

On the two header lines:

  • The security line reads yes and a yes is meant, in the fail-closed sense the line asks for. No hits path sits under skills/** or ui/skills/**, and nothing here teaches product security. But the changed hunks in the two guard files decide which record lets a pull request land without a human approval, and the changed line of the dispatch skill words which pull requests a seat may land itself. That is approval and permission behaviour of the fleet. The line is read by the low-risk skills arm alone, and this pull request is not on that arm.
  • The rule-change line reads none, the value the PR body declares. The reasoning is under ④, point 1. This pull request touches two guard instruments, which are Tier H whatever this line reads, so it waits for the maintainer either way.

① Derived judgments

Every tier reading the diff moves, each compared with main:

  • The relay's review plan (governedReviewPlan): a .claude/** pull request read on its path list alone goes from Tier S to Tier H. It returns to Tier S only on a body declaring none or ruled and a record the stage verifies. Right. No path makes a plan cheaper than on main: the row's raw tier was already S, so the chained split can only keep S or raise to H, and every other row passes through applyRuleChangeSplit as the same object.
  • The patrol's governed slice (h43RuleChangeSlice): the same move, for H43, H48 and H69, which share the slice. Right for H43; see N1 for H48 and H69.
  • The split's record conjunct (ruleChangeRecordReasons): one more condition, the queue's record leg on the same comment. A record with no leg reading handed in is now Tier H. Right, and stricter only. The three producers of that record object in the tree all hand the leg in: lowRiskRecordStage, ruleChangeRecordVerdict and h43RuleChangeRecord. The --pr print gets it through readLowRiskRecordStage.
  • The queue leg's own verdict is unchanged: ruleChangeRecordVerdict hands in the leg it has already judged as standing, so the new condition never fires there.
  • The early-warning leg: a split entry can read "Tier H on the body" or "Tier H until its record is read" where it read "Tier H until the PR body is read". It can never read Tier S, because readPayloadDeclaration hands in no record and no deferred leg, and guardVerdict returns exit 0 for this event before any entry is judged. Right.
  • The owed-review list (owedFace): a narrowing declared on the Metadata-protocol: line alone is now listed at the narrowing face's tier. A body declaring Clause-②: yes beside Metadata-protocol: narrowed moves from the declaration limb to the narrowing limb, which is the dearer one. No body that was listed before is now unlisted. Right.
  • New exports: readPayloadDeclaration, ruleChangeReadable, ruleChangeReadingFor, ruleChangeReadingText, h43RuleChangeSlice, h43RuleChangePending, h43RuleChangeRecord, and two more keys on the patrol's register object. All are internal to scripts/pm; nothing published moves.

② Semver level

Clause-②: no — correct. The diff touches scripts/pm/** and two files under .claude/**; no package, no published schema and no generated output. The skip-changeset label is on the pull request and Check Changeset is green on this head. Metadata-protocol: none is right.

③ Boundary flags

  • Premise correction (the card's done-when says "at pr_create"): accepted. The relay summons nobody at pr_create by its own header and by line 205 of the dispatch skill, so the request is pinned at pr_ready, the only follow-up the relay has.
  • Open question, item 4 (the post-merge sweep's split leg): answered by the seat's reading 7071055960. It stays on this card and is built in a second pull request; the body says Part of #35612, so the card stays open. Until then every merged .claude/** pull request stays on the maintainer's recognition list, which hides no landing.
  • Out-of-scope finding (the low-risk arm's record stage does not consult the record leg): folded into the same card by the same reading. The stage now carries recordLeg for both arms, so that fix is one condition. Not judged here.
  • Deviation, file surface: the claim lists scripts/pm files only, and the diff also edits one line in each of two .claude/** files (N5 and N6, carried by this card since comment 7031820361). Accepted; both lines are judged under ④.
  • Deviation, main not merged before the pull request was opened: accepted. The pull request reads mergeable and clean, and the check-runs are on this head.
  • Deviations on commit trailers and on test:repo left to CI: accepted; the check-runs answer the second.
  • Check-runs: 55 on this head, each success or skipped, none failed or pending. Governed Surface Queue Guard, the scoped tooling self-tests, the dispatch-gates lint, the half-state sweep, the governed-merges audit and the PR-body guards are all green.
  • SQL push-down: not applicable. The diff holds no query and no data access.

④ Design judgment

No must-fix, no should-fix.

  1. The rule-change value, hunk by hunk.

    • .claude/agents/os-dev.md line 279 now tells the developer to write exactly one line-start Rule-change: line. readOneBareLine already holds a body with two such lines as unreadable, which is Tier H. The line states what the reader does and changes nothing an agent may do.
    • .claude/skills/pm-dispatch/SKILL.md line 208: the skills-lane exception changes from "guards excepted" to "guard instruments excepted". This is the one hunk that needed thought, because the same file uses the shorter word for its index of every check script, so the old wording could be read as excepting all of them. I read the hunk as wording. Line 193 of the same file names the guard instruments as four scripts, the guard workflow, settings and hooks, and it is unchanged. The register holds exactly those rows at Tier H, and it is unchanged. The card records that the maintainer's order on governance: the guard scripts join the governed register, .claude/** lands by declared rule-change, and a narrowed spec change lands only by the maintainer #35321 names four files and that widening the set is his to say. So the wide reading was never the rule in force, and the hunk moves no pull request from the maintainer to a seat.
    • The five script files are scripts, which the brief excludes. They implement the 2026-11-19 ruling at more readers and are stricter at every one of them.
      So none is verified. The residual is stated for the maintainer, who approves this pull request anyway: if he did mean line 208 to cover every check script, this hunk narrows it.
  2. scripts/pm/check-governed-merges.mjs. The new condition sits after the carry check and before the line check. A missing leg has its own reason, and each of the three states has its own words. The header paragraph that said two readers do not chain the split is replaced by one that matches the code. Holds.

  3. scripts/pm/check-governed-queue-guard.mjs.

    • lowRiskRecordStage builds recordLeg with the queue's own two functions on the same pair. So the face, the tier name, the single verdict line, the contradicting spellings and the open grades are all the queue's reading. The rows it reads are already cut to trusted authors by readRecordThreads. I looked for a caller whose pair would make recordVerdict throw or read wrongly, and found none: the queue leg and readLowRiskRecordStage both hand in a path list and a repository id, and the one call with a null pull returns before the stage is built.
    • The record leg's reason can quote a record line. recordPassVerdict flattens the quote, and a served token of model-identifier shape is never quoted: the below-tier state carries no reason.
    • readPayloadDeclaration re-reads the entry's existing surfaces, so a workflow reading on the same entry is kept. On this event the diff is one row attributed to the named pull request, so the payload body cannot be read against another pull request's entry.
    • The value printed in "declares Rule-change: …" comes from the reader's closed set, never raw body text.
    • The new words say "this leg reads no record". The branch is reachable only on the early-warning leg: the queue leg always hands in the deferred stage, so its split is never pending.
    • The workflow's types: list is opened, synchronize, reopened, ready_for_review, as the body says, so a body edit is read by the next push or by the queue leg. Holds.
  4. scripts/pm/fleet-write/execute.mjs. I tried three ways to make a request go unsent when it is owed.

    • A plan that is Tier S on fewer facts than the queue needs. Not found. The split's Tier S needs a body declaring a seat value and a record the stage verifies, read through readLowRiskRecordStage with the guard's own comment reader. ruleChangeReadable is a cost gate that can only keep a plan at Tier H.
    • A mixed pull request. AGENTS.md beside the wording, a settings or hooks path, a workflow or skills row beside it, and a repository outside ruleChange.repos each stay Tier H and request.
    • A later edit. A body edited to yes after a clean pr_ready, or a newer record that does not verify, is not re-read by the relay. The queue leg refuses such a pull request and H43 lists it, so nothing lands unseen. This matches the card's own statement of the worst case.
      A record carried from an older head is refused here because no checkout is handed in; that costs one extra request. The final plan is rebuilt with the same reading, so the verdict row and the writes agree. Holds.
  5. scripts/pm/check-half-states.mjs. The body is read off the open-pull list row, which carries it. A register that loads without either new export is refused by the loader with both names in its reason. An unread thread or an unloaded author binding is not measured, so Tier H. Thread reads go through the existing cache. H43's own row cannot fire early: its hand-off needs a trusted PASS on the head on the PR thread, which is the same comment the split's record is read from. Holds for H43. See N1.

  6. scripts/pm/check-owed-reviews.mjs. narrowingDeclarationsIn and NARROWING_FACE_LINE are the queue leg's own; the unfilled template menu still declares nothing. The stated bound, that changesets are not read, is real and in the docblock. Holds.

Nits:

Implemented-by: claude/issue-35612-rule-change-split-readers
Reviewed-by: session_01QsR2jTeURPvEm465RcoYEC

VERDICT: PASS

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#7 · zhuangjianguo · session_01QsR2jTeURPvEm465RcoYEC

维护者速读

  • 用户能看到什么变化:用户无感。车队内部:改车队规则文件的 PR 若声明改了规则或没写声明,标记就绪时会自动请你审,每日巡查也会把它列为等你批准;声明未改规则且审核记录核过的,不再打扰你。
  • 为什么做:上一轮让「改规则的车队文档要你批」在合并队列生效,但自动请审、每日巡查和几处只读提示还按旧办法读,这次把它们与合并队列对齐。
  • 出错会怎样:最多多请你审一次或漏请一次,合并队列那道拦截不变;改动只在车队工具里,可整体撤回。
  • 要你做什么:批准本 PR(它改了守卫仪器文件,只能由你批)。合同审查 PASS 记录是评论 7075245087,Head-sha 101fd543d0d8e5cf66e8b944dca3b4d9403ff745。
  • 席位意见:ACCEPT。所有读取器只会把 Tier S 读成 H、不会反向,审查逐条试破未果;卡的第 4 项与一处同形缺陷留在 pm: after the .claude/** declaration split lands, the relay review plan and the patrol landing row still read the raw Tier S and never ask the maintainer #35612 第二个 PR。

席位核对

@objectstack-fleet objectstack-fleet Bot added the pm:awaiting-merge PR only: landing waits on the maintainer's own review and merge (SKILL.md 复核 ②); never on an issue label Nov 22, 2026
@os-zhuang
os-zhuang marked this pull request as ready for review November 22, 2026 06:36
@os-zhuang
os-zhuang added this pull request to the merge queue Nov 22, 2026
Merged via the queue into main with commit b78b14c Nov 22, 2026
61 checks passed
@os-zhuang
os-zhuang deleted the claude/issue-35612-rule-change-split-readers branch November 22, 2026 06:54
@objectstack-fleet objectstack-fleet Bot removed the pm:awaiting-merge PR only: landing waits on the maintainer's own review and merge (SKILL.md 复核 ②); never on an issue label Nov 22, 2026
247257110 pushed a commit to 247257110/objectstack that referenced this pull request Nov 22, 2026
… isolated L2 beside its L1; a dispatch order missing its derivation is sent back (objectstack-ai#35813) (objectstack-ai#36213)

<!-- claude-projects-attribution: {"github_login":"zhuangjianguo"} -->
_Requested by **Steedos** · [project
thread](https://claude.ai/code/project/chan_018ETKaNwMZCNRYD7D8Q9Ubb?thread=cmsg_018ETKaNwMZCNRYD7D8Q9UbbCxiFE11rsKwyNffJZKYqJs)_

Fixes objectstack-ai#35813
Part of objectstack-ai#35905 (its item 2 and the `os-dev.md` mirror land here; items 1
and 3, the two project-memory lines for `references/project-forms.md`,
are carried on branch `claude/issue-35905-project-forms-lines`, see "Not
in this PR")

Clause-②: no
Metadata-protocol: none
Rule-change: ruled
Ruling-ref: 7035727071 — the maintainer's words 「已经决定了,不是试 3 张 p1 卡,是所有
p1 都按照新规则执行」, seat thread, 2026-11-20T09:22:50Z, for the p1 hand-back
lines; 7046610679 — the maintainer's answer 「同意,立卡派发」, cost-review
thread, 2026-11-20T09:07:52Z, to 「如果确保协调者严格按照技能执行,之前有犯错,协调者用了项目记忆」, for
the missing-derivation line and its mirror; each transcribed as the
ruling record on its card

## 维护者速读

- 用户无感;车队内部:p1
卡由卡线程交回后,审核线程做普通审核的同时就起独立的契约审核,两份意见一起回到座位,不再一前一后各等一轮;派发令缺少档位或投入度的推导时,接令的线程或分区不开工并退回座位。
- 为什么做:你裁定所有 p1 卡都按精简流程走,并同意把「协调者严格照技能执行、不凭项目记忆」写进技能;这里是照这两条裁决抄写的规则文字。
- 出错会怎样:只影响车队内部的审核路由与派发文字,最坏是一张 p1 卡的两级审核仍然一前一后,或一张派发令被多退回一次,随时可整段撤回。
- 要你做什么:无;另有两条关于项目记忆的规则因所在文件的字节上限已满没有写进这次改动,座位会另行向你呈报。

## What changes

Four governed files under `.claude/`, internal only (nothing publishes).
Every added line copies one of the two rulings above; every deleted
fragment is a restatement whose fact keeps a home elsewhere (cut list
below). No ceiling row moves.

**The p1 hand-back path (ruling record 7035727071)**

1. `references/contract-review.md`, who runs L2. New line under the
existing `谁跑 = 派发席` line:
   - `` - p1 卡线程卡交回且欠 L2 ⇒ L1 线程起隔离 L2 子代理,与其 L1 并行,两份意见同回席。 ``
2. `references/contract-review.md`, the adoption line. The seat adopts
the L1 thread's sub-agent record exactly as it adopts a card thread's,
so the brief, the `Scope:` check, the independence pair and the tier
evidence read as before.
   - Before: `` - 卡线程隔离子代理照上落现 head 记录并贴简报 ⇒ 席核简报、… ``
   - After: `` - 卡线程或 L1 线程隔离子代理照上落现 head 记录并贴简报 ⇒ 席核简报、… ``
3. `references/dispatch-runbook.md`, card-thread section, the roles
line: the thread builds itself.
   - Before: `` …;线程实施、开 draft PR、驱动 CI 与可合并。 ``
   - After: `` …;线程自己实施、开 draft PR、驱动 CI 与可合并,⛔ 不起 `os-dev` 子代理。 ``
4. `references/dispatch-runbook.md`, card-thread section, the same
hand-back path in one line, directly under the roles line:
- `` - p1 卡交回且欠 L2 ⇒ L1 线程并行起 L1 与隔离 L2(`contract-review.md`),两份意见同回席。
``
5. `references/area-lease.md`, the L1 thread lines of 〈分不分区,动态定〉. This
is where the L1 thread's duties live: there is no `lanes/l1-review.md`,
and `l1-review-checklist.md` holds the L1 criteria, not who starts what.
New line:
   - `` - p1 卡线程卡交回且欠 L2 ⇒ L1 线程并行起隔离 L2 子代理(`contract-review.md`)。 ``

**A dispatch order missing its derivation (ruling record 7046610679,
item 2 of that card)**

6. `references/dispatch-runbook.md`, card-thread section, new line under
the line that says the order carries the tier, the effort and their
derivation:
   - `` - 线程或区见令缺推导 ⇒ 不开工,退回席位;⛔ 不凭记忆补档位。 ``
7. `.claude/agents/os-dev.md`, 〈何时停手不写码〉, the mirror a card thread
reads, scoped to the ruled subject (a card thread or an area), so an
ordinary sub-agent or cloud dev is not bound by it:
   - `` - 卡线程或区:派发令缺档位或 effort 的推导 ⇒ 不开工,退回席位;⛔ 不凭记忆补档位。 ``

**Cut list (bytes paid in the same file; each fact keeps a home)**

| # | File | Cut text | Bytes | Where the fact still lives |
|---|---|---|---|---|
| 1 | `contract-review.md` (section heading) | ``(按面;L2 席章程见
`lanes/l2-review.md`)`` | 45 | 按面: the file's title and its first rule
line (`欠不欠按面判`). The charter pointer: SKILL.md lane table, `l2-review`
row; the routing line of the same section (``请谁照 `lanes/l2-review.md`
``). Scripts cite the heading as 〈L2 归属与资格〉, which still matches |
| 2 | `contract-review.md` (prose-face sentence) | `:派发席按本席档在 ACCEPT
逐句对照 diff 核,ACCEPT 点名所核句` | 77 | `l1-review-checklist.md` 〈范围与
changeset〉 (`逐句核 diff,ACCEPT 点名所核句,⛔ 不起子代理` for the same three prose
faces); SKILL.md 〈审核两级〉 (L1 stays with the lane). The sentence it ended
keeps `散文面 ⛔ 不在其列` |
| 3 | `dispatch-runbook.md` (patrol line) | `;PASS 同笔摘标记、FAIL 不摘` | 35 |
`contract-review.md` 〈等 L2 标记〉, the 摘 line; the patrol line keeps its
pointer to that file |
| 4 | `dispatch-runbook.md` (disclosure line) | ``;卡线程照计 `batch` `` | 24
| SKILL.md entry table, `batch` row (one slot = one running sub-agent or
card thread) |
| 5 | `dispatch-runbook.md` (claim line) | `;线程核对最新认领指向本分支方开工` | 49 |
AGENTS.md, Multi-agent discipline, claim paragraph (a dispatched
executor verifies the newest claim names its branch and stops on a
mismatch) |
| 6 | `dispatch-runbook.md` (whole line) | `- 线程只能推指定分支是实测平台例外,认领如实写。` |
70 | `os-dev.md` rule 1 (`卡线程分支由平台指定、harness 推送`); the two lines above
it in the section (the coordinator reads the thread's branch, the seat's
claim carries that `Branch:`) |
| 7 | `dispatch-runbook.md` (derivation line) | ``:`--tier`
过路径,MANDATORY 即绑;effort 按难度`` | 53 | `execution-duties.md` dispatch
section (强制条款①; `effort 按卡难度定`); `coordinator.md` 四 (``档位引
`dispatch-gates --tier`,effort 按卡难度``); SKILL.md claim template (the
`Container & model` line quotes the `--tier` output and its MANDATORY
path line). The next line keeps ``推导(`--tier` 行或难度读数)`` |
| 8 | `area-lease.md` (L1 thread line) | ``;`lanes/l2-review.md` 席规不及它``
| 37 | SKILL.md 〈审核两级〉 (`L2 规则不及 L1`; the L2 seat's rules govern the L2
seat only) |
| 9 | `area-lease.md` (L1 request line) | `;信箱只留跨账号或跨项目` | 34 |
`lanes/l2-review.md` 路由, the same clause verbatim for requests to an L1
or L2 seat |
| 10 | `area-lease.md` (claim line) | ``;`Branch:` 照 AGENTS.md 命名`` | 31
| AGENTS.md, Multi-agent discipline §2 (branch naming) |
| 11 | `os-dev.md` (rule 1) | `(PreToolUse 钩子会拦)` | 25 | AGENTS.md Prime
Directive 11 (the two PreToolUse hooks) |
| 12 | `os-dev.md` (PR subscription line) | `,仍以本文件为准` | 22 | the head
of the same sentence (`本派发契约压过平台注入的 PR 订阅姿态`) |
| 13 | `os-dev.md` (footer line) | `耐久归属写进正文散文或评论,⛔ 不循环重贴页脚;` | 66 |
AGENTS.md, attribution footer paragraph (durable attribution lives in
body prose or a comment; never re-send a body that already carries an
appended footer). The line keeps its pointer to that paragraph |

**Ratchet readings** (`node scripts/pm/check-skill-line-ratchet.mjs`; no
ceiling or pin row touched, declared cross-file moves 0)

| File | Before (bytes / ceiling / headroom) | After (bytes / ceiling /
headroom) | Added / cut |
|---|---|---|---|
| `references/contract-review.md` | 6416 / 6419 / 3 | 6418 / 6419 / 1 |
+124 / −122 |
| `references/dispatch-runbook.md` | 20067 / 20070 / 3 | 20068 / 20070 /
2 | +232 / −231 |
| `references/area-lease.md` | 6586 / 6586 / 0 | 6584 / 6586 / 2 | +100
/ −102 |
| `.claude/agents/os-dev.md` | 38846 / 38848 / 2 | 38846 / 38848 / 2 |
+113 / −113 |
| `references/project-forms.md` | 4669 / 4669 / 0 | untouched | — |

## Not in this PR

Items 1 and 3 of the second card (the two project-memory lines for
`references/project-forms.md`) are not here: that file is at headroom 0
and is untouched by this PR. The seat carries that half on branch
`claude/issue-35905-project-forms-lines`, under its reading on that card
(record 7071003039).

## Tests

Text-only change to four internal instruction files; no package and no
test target. Gates below.

## Acceptance notes

- No changeset: `.claude/**` is on the fast path of files that publish
nothing; `skip-changeset` rides this create.
- `.claude/**` is governed. This PR stays draft for the seat's
contract-review record at `CONTRACT_REVIEW_TIER`, which must read
`Rule-change-verified: ruled`. The dev knocks nobody.
- "Brief still posted": the brief, the independence pair and the tier
evidence are carried by extending the existing adoption line to the L1
thread's sub-agent, so they are the same sentences as before. That
line's wording `落现 head 记录并贴简报` is not reordered; the brief template
itself says the brief is posted beside the record for the seat to read
before it adopts.
- "No `os-dev` sub-agent" is written for every card thread, not only p1:
the section already calls the card thread the dev (`coordinator 调度卡线程(即
dev)`, `线程实施`), so the clause states what the section meant, and the
ruling orders it for p1.
- The hand-back line sits under the roles line, not under the `交回:`
line, because open draft PR objectstack-ai#36205 inserts two lines at that point;
`overlap-check` now reads clean against it. That PR also adds bytes to
`dispatch-runbook.md`, which lands here at headroom 2, so whichever
lands second pays again.
- The tool text printed by `record-recognisers.mjs --brief-template`
names a card thread as the one handing the brief to its isolated
sub-agent; it does not yet name the L1 thread. Noted, not changed:
scripts are outside this card's file surface.
- Base: the branch was cut at `cbd582f4` (the dispatch order named
`fa304140`; `origin/main` had moved). `git diff --stat fa30414 cbd582f
-- .claude scripts/pm` is empty, and so is the same reading from the
branch base to `origin/main` at `1d060265`, so no merge of `main` was
taken before opening.
- Fix round 1 (review record 7071038753, S1): the `os-dev.md` mirror
line named no subject and so read as binding every dev that reads the
file; it now names the ruled subject, 16 bytes inside that file's
headroom. No other text changed. `origin/main` at `99fbaa6d` had moved
`area-lease.md` and the ratchet table, so `main` was merged (clean)
before the push; the four files measure the same after the merge and no
ceiling row of theirs moved.

## Verification

First files to read, by risk:

1. `references/contract-review.md`: the new p1 line under `谁跑`, the
adoption line, and the two cut hunks at the top of the file (the heading
and the prose-face sentence).
2. `references/dispatch-runbook.md`, card-thread section: the derivation
pair (cut 7 and the new line under it), the roles line and the hand-back
line.
3. `.claude/agents/os-dev.md` 〈何时停手不写码〉: the mirror line.

Two-minute check: `node scripts/pm/check-skill-line-ratchet.mjs | grep
-E 'contract-review|dispatch-runbook|area-lease|os-dev' | grep ceiling`
prints the four files at 20068, 6418, 6584 and 38846 bytes under
ceilings 20070, 6419, 6586 and 38848, every line ticked.

<details><summary>Local gates at head 1b94ad0 (re-run after the fix
round and the merge of main)</summary>

Derived with `node scripts/pm/dispatch-gates.mjs --commands --repo
objectstack-ai/objectstack` (26 commands); reconciled with `--ran`: `26
derived famil(ies) accounted for — 26 run, 0 NOT-MEASURED (a DERIVED
zero — all 26 recorded an exit code and none of them is 3)`.

- exit 0: `check-closing-keyword-parity` (and its `--self-test`),
`check-comment-mask-corpus`, `check-governed-queue-guard --self-test`,
`check-harness-current --self-test`, `check:adr-anchors`,
`check:agent-model-declared`, `check:agent-test-spelling`,
`check:commit-card-trailers`, `check:cross-package-test-inputs`,
`check:doc-authoring`, `check:driver-memory-census`,
`check:gitlink-declared`, `check:nul-bytes`, `check:pm-expected-skips`,
`check:pm-governed-merges`, `check:pm-label-write`,
`check:pm-prior-rulings`, `check:pm-record-recognisers`,
`check:pm-settings-deny-roster`, `check:pm-skill-id-lint` (`131 file(s)
clean`), `check:pm-skill-ratchet`, `check:refd-timer-probe`,
`check:skill-frame-sync`, `check:watch-hint-literal`.
- `check:doc-formula-expressions` (lint package): exit 0, run after
`turbo run build --filter=@objectstack/formula
--filter=@objectstack/lint` under the verify lock (`VERDICT command-exit
0`); without that build it exits 3, prerequisite not met.
- Outside the derivation: `check:skill-frame-freshness` exit 0 (local
reading: `1/1 framework files are byte-identical to the ref`);
`check:pm-governed-prose` exit 0.
- `node scripts/pm/overlap-check.mjs
--branch=claude/issue-35813-lean-review-and-memory-rules`: `VERDICT
clean exit 0` (merges cleanly with `origin/main` at `99fbaa6d18` and
with the two open PR heads that share a file, objectstack-ai#36215 on `os-dev.md` and
objectstack-ai#36205 on `dispatch-runbook.md`).

</details>

🤖 Generated with [Claude Code](https://claude.com/claude-code)

<!-- signed: repo:objectstack#7 · zhuangjianguo ·
session_01QsR2jTeURPvEm465RcoYEC -->

---------

Co-authored-by: Claude <noreply@anthropic.com>
247257110 pushed a commit to 247257110/objectstack that referenced this pull request Nov 22, 2026
… + pm:awaiting-merge + review request) as one relay stroke (objectstack-ai#36214)

<!-- claude-projects-attribution: {"github_login":"zhuangjianguo"} -->
_Requested by **Steedos** · [project
thread](https://claude.ai/code/project/chan_018ETKaNwMZCNRYD7D8Q9Ubb?thread=cmsg_018ETKaNwMZCNRYD7D8Q9UbbCxiFE11rsKwyNffJZKYqJs)_

Fixes objectstack-ai#35948

Clause-②: no
Metadata-protocol: none
Rule-change: yes

## 维护者速读

- 用户能看到什么变化:用户无感。车队内部:座位把需要你批的 PR
交给你时,交接评论、等你合并的标签和给你的审核请求改成一条命令一次完成,并当场回读核对。
- 为什么做:前天有三个需要你批的 PR 只收到评论提醒,没进你的待合并清单和审核队列,空等了约四个半小时;这是座位交接流程的修补。
- 出错会怎样:最坏是某次交接被这条命令拒绝、座位改回手工补写;它不合并、不放行任何东西,可整体撤回。
- 要你做什么:批准本 PR(它改了座位交接流程的条文,按规则须你批)。

## What changes

- `scripts/pm/label-write.mjs --issue PR --comment-file request.md
--handoff` makes the seat's Tier H hand-off (pm-dispatch 〈路径分叉〉 ② and ③)
ONE relay stroke: the request comment, then `labels_add
pm:awaiting-merge`, then `assign` for an approver who is the pull's
author, then `pr_request_reviewers` for every other `GOVERNED_APPROVERS`
account not already requested, assigned or holding a submitted review.
- Refused with zero writes (exit 2) unless:
- `check-governed-merges.mjs --pr OWNER/NAME#N --json` (spawned, so
every split it chains, `Rule-change:` included, is the one reading)
reads Tier H, or the size limb fires, or a narrowing is declared
(`narrowed` route: the queue guard's `narrowingDeclarationsIn` over the
PR body and the head's committed changesets; admitted whatever the
register reads, Tier S included). Tier S, ungoverned and fork pulls are
refused. An unanswered reading is exit 3.
- The newest `## 席位核对` reads ACCEPT and is newer than the head's
committer date (H69's comparison).
gpgsig -----BEGIN PGP SIGNATURE-----
 
 wsFcBAABCAAQBQJrAqPoCRC1aQ7uu5UhlAAAcDkQABanMSL67Qxn6nKK97I3RRME
 mrJrr2uOBgXv2AEnydWp7XH26Tp3Hsip9P2TSmV6RxBFDuj64YCCos3y5nS63Iek
 UX4IjeA/DdDklofAZcYHpNNbBgkAGf7fhQJI9NzpsLaPhljTqPc/JUuML9L7tEx6
 zJptVvvJONR1SGPO7zOdu4VDMe0NlPMqDtszRLbfz+xOiKLeD9fU9uyc32XIlTI+
 LkjaHQHZ0m7cZ+wDJDqaYUmauHJ+10Q4mlvnvK4RMiAJQQ2cAifK6lSmFm6qUsgd
 YEmmJ0D/IRZrd/V2Ym2sR0z/+co8UHL3oH5rqzDqslO3rPGHafoRe0jN9hoOai1Y
 4Ena7K2B7gryXAeDTrx7mscwI+oAjmRS5AUrbLFCX5/r/qMQ+js/t3jfXf32PWNk
 DYBm02Kn4OuhKNwCat+W7VhRj2ACRYD4d6hViMxWJb0anpycR6Vf974WTTa7QZCr
 KJsT6/8dF9dxQ31fUlh19P5y62W3xi7yqiBpPUBt6E5xXDv7ApMutoUkXXl17xty
 DJfk7cSqvXXq6RJ243oxr43fOSCLXLAlvtdlqIV8jxQMA5wPDSxCORlKlDbQjWsZ
 RhdY8Z1SiygxKArQgviIiLBTk6Xvi1ZXJUaiEEDeteBWReG6Hd+49ddzUgBfX9U1
 qjLD6O4QLkMthm8BiI5W
 =wIzx
 -----END PGP SIGNATURE-----
 
- The newest trusted `## Contract review` naming the head reads PASS,
and its `Served-tier:` stands.
- A `## 维护者速读` comment is on the thread, or is the request itself (H48's
brief half).
- Read-back: labels, assignees and comment (the fold's lines), plus `④
reviewers`, `④ H43` and `④ H48`. The last two call the patrol rows
themselves (`h43GovernedReviewRequestGap`,
`h48GovernedVerdictWithoutBrief`) on the pull as read back, using the
tier tool's post-split slice. Any ✗ is exit 4, not repaired.
- `--handoff --dry-run` may omit `--comment-file`. It reads everything,
prints `now H43` / `now H48` for the pull as it stands and the stroke it
would send, and sends nothing. This is the shape chosen for To-do 3: the
per-round reading of a seat's own governed pulls, without a
check-half-states run (over two minutes) and without a new `--rows` mode
there.
- `.claude/skills/pm-dispatch/SKILL.md` 〈路径分叉〉 ③: one line now points at
the command (`同轮一笔 label-write.mjs --handoff 交②③`). The file is 4 bytes
smaller (33863 to 33859, ceiling 33872 unchanged).

Read first, by risk:
1. `scripts/pm/label-write.mjs`, `handoffGate`: the refusal order and
the record readings it reuses.
2. `scripts/pm/label-write.mjs`, `foldStroke`'s `--handoff` hunks: the
action order and the `④ H43` / `④ H48` read-back.
3. `.claude/skills/pm-dispatch/SKILL.md` line 203.
4. `.claude/skills/pm-dispatch/references/execution-duties.md` line 17:
the per-round 四件读数器 now names `label-write.mjs --issue PR --handoff
--dry-run` (exit 7 = a piece is missing) in place of the full
`check-half-states.mjs` run; rewritten in place, 20148 to 20143 bytes,
ceiling unchanged.

## Tests

<details><summary>label-write self-test at 27e6000: 398 cases across 19
batteries, exit 0 (was 339 across 18)</summary>

The new battery `--handoff: …` is pinned at 59 cases (32 at 26da765, 43
at d513fbc). It shows:
- `--handoff` writes all three in one dispatch, in this order: `comment`
→ `labels_add` → `assign` → `pr_request_reviewers`.
- The author-approver is ASSIGNED and never requested.
- Control: the fixture pull fires BOTH H43 and H48 before the hand-off,
and the same row functions read `null` on the board after it.
- Refusals with zero sends, one each: Tier S, ungoverned, a PASS on an
older head, no PASS, a same-head FAIL, a PASS whose Served-tier does not
stand, an untrusted PASS author, REWORK, an ACCEPT older than the head,
no brief, an issue, a closed pull, an unsigned request, and the direct
route.
- An unanswered tier reading is exit 3.
- Idempotence: a covered approver, or the label already on, costs no
action.
- A relay that skips a part reads `④ reviewers ✗` / `④ H43 ✗` or `④
labels ✗` / `④ H48 ✗`, exit 4.
- The dry run sends nothing, both before and after the hand-off.
- SKILL.md carries the pointer and the author-assign rule as substrings.
- Rework at d513fbc. The PASS is read the queue guard's way, over the
pull AND the card it delivers: a same-head PASS on the card clears the
gate; the same PASS by an untrusted author is refused; a pull that
delivers no card does not read the card. The size-limb face: a code-only
size-limb pull is judged on the declaration face (a TIER_DEFAULT PASS is
handed off, a CONTRACT_REVIEW_TIER PASS is refused); a committed
changeset declaring `(narrowing)` moves the face. The register's own
slice is empty on that pull and both rows read null; the hand-off slice
fires both rows before the hand-off and reads null after. A pull already
whole sends nothing. A request signed by an uncovered approver is
refused.

</details>

<details><summary>Ablation, one-time, at 26da765, through
scripts/ablation-replace.mjs (restore verified: blob == HEAD, git diff
HEAD empty)</summary>

- `handoffReviewPlan` made to request the author (`toRequest: missing,
toAssign: []`): the self-test went red on 3 cases (the plan, the stroke
and the author-assigned case), then was restored.
- The `!handoff.passed` refusal disabled: the self-test went red on the
same-head FAIL case (exit 0 and one send instead of exit 2 and zero),
then was restored.
- At d513fbc: `handoffSlice` made to ignore the size limb went red on 2
cases; the card thread read as empty went red on the card-PASS case; the
changeset texts dropped from `declaredOn` went red on the narrowing-face
case. Each restored (blob == HEAD, `git diff HEAD` empty).

</details>

A read-only check of the spawn half on a merged pull: `readGovernedTier`
on objectstack-ai/objectstack 35610 answered exit 3, Tier H, 5 matched
rows. Per the dispatch, `--handoff` itself was never run against a real
pull.

Round 3 at 27e6000 (contract review 7075527312 FAIL at d513fbc): M1 a
declared narrowing is a hand-off population (`narrowed` route,
CONTRACT_REVIEW_TIER face), control: `none` refused; S1 a deleted or
renamed-away changeset (404 at the head) declares nothing, any other
failed read is exit 3, the Tier H route reads no changeset; S2 "already
handed off" needs a `## 维护者速读` on the thread, else a comment-only stroke
goes out; S3 `reviewFace` gets every pre-lift path (hit, clear,
exceptions) and, on the size route, `narrowingDeclared` and the
changeset texts; N1 the guard's `LOW_RISK_CHANGESET_PATH` is reused; N4
`--handoff --dry-run` exits 7 while a `now` row reads ✗. Ablations (each
restored, blob == HEAD): M1 red on 7, S2 on 2, S1 on 1, S3a and S3b red,
N4 red, tier-route read red on 1.

## Acceptance notes

- Mechanism readings, measured against origin/main `cbd582f4`:
- `--land` does NOT read ACCEPT + same-head PASS. Its only gate is the
dogfood battery gate. The reading lives in `check-half-states.mjs`
`h43HandoffReading`, which this mode calls.
- `fleet-write/execute.mjs` `governedReviewPlan` is not reused. Since PR
objectstack-ai#36215 (`b78b14cc`, Part of objectstack-ai#35612) it chains the `.claude/**` split
too, but this mode still takes its tier from `check-governed-merges
--pr` and its coverage union from H43's own reading, so there is one
reading for both, not two kept in step. (Earlier text here called that
split missing; it was true when written and is not on `main` now.)
- For the same reason, H43 and H48 on a full patrol run still stand down
on such a pull. `--handoff`'s read-back asks the same rows on the tool's
post-split slice, so they judge it.
- The seat's own account is not excluded from the request:
`GOVERNED_APPROVERS` holds only the maintainer's account today. A seat
whose login is in that set would be requested.
- `execution-duties.md` line 17 is now in this PR (the review would not
accept "noted, not filed"): the card's To-do 3 pointer.
- New exit code 7 (`EXIT_HANDOFF_OWED`) for the dry run only, declared
in the header's exit-code table.

## Verification

Two minutes: `node scripts/pm/label-write.mjs --self-test` should print
`✓ label-write self-test: 398 cases pass across 19 batteries`.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

https://claude.ai/code/session_01QsR2jTeURPvEm465RcoYEC

<!-- signed: repo:objectstack#7 · zhuangjianguo ·
session_01QsR2jTeURPvEm465RcoYEC -->

---------

Co-authored-by: Claude <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation size/m skip-changeset PR has no user-facing published change; bypasses the changeset gate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants