Repository navigation
docs(pm-dispatch): teach the seat the PR-body issue_patch door - #31049
Conversation
The claim template's Skills-docs rewrite now names the door: the whole body as one relay issue_patch through fleet-write/dispatch.mjs, ending in the trailer, with no footer. seat-post-protocol.md states the PR-body exception to the first-line signature (last non-empty line, issue target exits 2, unread target exits 3). Paid by deleting a restated hand-back line whose facts live in seat-lifecycle.md and the handover checklist. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01J8VVAjKGU4frHVdMwKRkfn
|
domain:skills#3 · huangyiirene · session_01J8VVAj7CvjkGXvgXzd6RZ7 Contract-review-claim: session_01J8VVAj7CvjkGXvgXzd6RZ7 · head 56b2662 · 2026-11-06T21:07Z The seat review runs at CONTRACT_REVIEW_TIER in an isolated subagent. No review seat ( |
|
domain:skills#3 · huangyiirene · session_01J8VVAj7CvjkGXvgXzd6RZ7 Contract reviewServed-tier: Read on ① Derived judgmentsEach fact the new lines teach, against the tools on
No false statement found in the new lines, and no unique fact lost. ② Semver level
③ Boundary flags
④ Design judgment
Findings:
Implemented-by: VERDICT: PASS |
The PR-body signature line in seat-post-protocol.md now names the door itself (the whole body through dispatch.mjs's issue_patch), so every seat rewrite of a PR body reaches it, and the claim template points there instead of spelling the door. The exit-code clause gives way to the tool, whose header holds the codes. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01J8VVAjKGU4frHVdMwKRkfn
|
domain:skills#3 · huangyiirene · session_01J8VVAj7CvjkGXvgXzd6RZ7 Contract-review-claim: session_01J8VVAj7CvjkGXvgXzd6RZ7 · head 3bf1c6a · 2026-11-06T21:25Z Delta review against the PASS at head 56b2662 (comment 6695771681, should-fixes S1–S4; S2–S4 filed as #31050). The delta is one commit answering S1, plus the PR body. The seat review runs at CONTRACT_REVIEW_TIER in an isolated subagent. |
|
domain:skills#3 · huangyiirene · session_01J8VVAj7CvjkGXvgXzd6RZ7 Contract reviewServed-tier: This is a delta review on top of the record for ① Derived judgments
② Semver levelUnchanged. The diff is ③ Boundary flags
④ Design judgment
Findings:
Implemented-by: VERDICT: PASS (Seat note: D1 is answered by a seat body patch on this head, which corrects both phrases; D2 is added to card #31050.) |
|
domain:skills#3 · huangyiirene · session_01J8VVAj7CvjkGXvgXzd6RZ7 维护者速读
席位核对 — ACCEPT · domain:skills#3 · head
|
Requested by Irene · project thread
Fixes #29285
Clause-②: no
Metadata-protocol: none
dispatch-gates --tierreadsMANDATORY: claude-fable-5-1, from clause ① (the pm-dispatchSKILL.mdmain file). This card ran on the project's default model: that mandate is waived by the maintainer's standing order in this project (2026-11-03), and the dispatching seat runs the contract review.维护者速读
dispatch.mjs的issue_patch送,末个非空行署<!-- signed: … -->,不送页脚。.claude/**,不发包,无 changeset);回滚即 revert。seat-post-protocol.mdL31,对照scripts/pm/fleet-write/dispatch.mjs头注〈A pull request's body〉。What changes
.claude/skills/pm-dispatch/references/seat-post-protocol.mdowns the door:PR 正文末非空行署 <!-- signed: LANE#N · ACCOUNT · SESSION -->,整篇经 dispatch.mjs 的 issue_patch。It is the PR-body exception to L30. It spells the trailer once and names the door: the whole body, sent asissue_patchthroughscripts/pm/fleet-write/dispatch.mjs(the onlydispatch.mjsin the repo, named bare the wayrest-channel.mdL16 names it). Every seat rewrite of a PR body reaches this line, not only theSkills-docsone. The exit codes (an issue target exits 2, an unread target 3) stay in the header of the tool the line names, so they cannot be read aspost-stamped.mjs's.收班默认交回(〈交接收尾清单〉第 2 步);留守只剩已 ACCEPT 待队列或待人批的 PR。, a restatement. Its two facts still live elsewhere: the default hand-back is this file's 〈交接收尾清单〉 step 2 andseat-lifecycle.mdL38 (收班 = …Release:+Resume-from:回队); "staying behind only for ACCEPTed PRs waiting on the queue or a human" isseat-lifecycle.mdL44, almost word for word. The next line lost its antecedent, so这些was deleted from it (deletion only):留守写面 = 简报点名的 PR,…..claude/skills/pm-dispatch/SKILL.mdL313 (the claim template'sMetadata-protocol:row): after "rewritesowed — FILESto#Nbefore ACCEPT" it now points to that line, ", through the PR-body line ofreferences/seat-post-protocol.md, with no footer (references/platform-readings.md)". It spells neither the door nor the trailer.Measured on
mainat5cb7d7ec:scripts/pm/fleet-write/dispatch.mjsheader, 〈A pull request's body, rewritten by the seat after round 1 — signed on its LAST line〉: anissue_patchbody that opens with no signature passes when its LAST non-empty line is<!-- signed: LANE#N · ACCOUNT · SESSION -->(PR_BODY_TRAILER_SHAPE, L758).readPullRequestTargets(L857): oneGET /repos/{repo}/issues/{n}. A 200 answer with apull_requestkey passes. A 200 without one is an issue, which exits 2. Any other answer is unread, which exits 3. The read runs before the dry-run exit (L3726–3750), so a dry run refuses what a send would.ops.mjsissue_patch(L2092):PATCH /repos/{repo}/issues/{n}with thebodykey as given, so the whole body is sent and stored.platform-readings.mdL336–341 (改侧不送页脚). The skill points there and does not restate it.Line budget (
scripts/pm/check-skill-line-ratchet.mjs)SKILL.mdreferences/seat-post-protocol.mdseat-post-protocol.md: L30 118 B (unchanged); new L31 120 B; L36 119 → 113 B. Every line is ≤ 120 B.SKILL.mdL313: 634 → 750 B. The line is inside the claim template's```textfence, the ratchet'sfenceexemption class, so it is not under the 120 B cap and adds no line. No gate prices those 116 bytes, so they are stated here rather than paid.Left for follow-up card #31050
These are outside this card's file surface, so this PR does not touch them. The seat filed them together as #31050:
references/rest-channel.mdL16 says "直调dispatch.mjs仅落地", and SKILL.md L87 puts landing after ACCEPT. Theowed → #Nrewrite happens before ACCEPT, anddispatch.mjsis the only door that takes a trailer-signed body, so L16 needs a carve-out for the PR-body rewrite. This PR does not settle that conflict.references/platform-readings.mdL290 (席位改正文记下 flake 理由) and.claude/agents/os-dev.mdL66 (事后要改的报告点名改法,席位代写).scripts/pm/check-handover.mjsL33 cites the sign-off hand-back rule asseat-post-protocol.md收班. That was the line this PR deletes. The fact survives inseat-lifecycle.mdL38/L44, so the citation should point there.references/review-checklist.mdL18 (follow-up owed立卡改#N) needs nothing: the spelling of that rewrite lives in the claim template (os-dev.mdL278, 拼法与分工住认领模板), which now points to the door.Verification
Local gates on 3bf1c6a: 20 derived, 20 run with exit 0, 0 NOT MEASURED (`dispatch-gates --ran`)
node scripts/pm/dispatch-gates.mjs --commands --repo objectstack-ai/objectstackderived 20 commands for the 2 changed files. All ran afterpnpm install --frozen-lockfileandturbo run buildfor@objectstack/formula,@objectstack/lintand@objectstack/objectql(exit 0). Each ran under a 900 s timeout withNODE_OPTIONS=--max-old-space-size=8192, and its exit code was captured before any pipe.check:pm-skill-ratchet,check:pm-skill-id-lint,check:skill-frame-sync,check:pm-governed-prose,check:pm-governed-merges,check:doc-authoring,check-comment-mask-corpus.mjs, and the self-tests ofcheck-governed-queue-guard.mjs,check-harness-current.mjsandcheck-closing-keyword-parity.mjs.pnpm check:pm-settings-deny-roster, exit 0.--ranprinted:20 derived famil(ies) accounted for — 20 run, 0 NOT-MEASURED (a DERIVED zero — all 20 recorded an exit code and none of them is 3).node scripts/check-commit-card-trailers.mjs --range origin/main..HEAD: exit 0 before the push.Human Minimum
packages/specholds no runtime logic. (No schema touched.)pnpm lintwas not run.)main, one pull request..claude/**only), so the PR takesskip-changeset. Both declaration lines are filled in above.packages/specnot touched; nothing to regenerate.content/docs/references/,packages/*/CHANGELOG.mdorcontent/docs/releases/.🤖 Generated with Claude Code
https://claude.ai/code/session_01J8VVAjKGU4frHVdMwKRkfn