Repository navigation
docs(pm-dispatch): premise before code, batched thread requests, card threads edit their own PR body - #34630
Conversation
… threads edit their own PR body Mirrors the three process rules the maintainer approved at 2026-11-17T03:46:59Z into the pm-dispatch skill. Each rule has one home with pointers; added lines are paid for under the line ratchet. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01ADHkmSXPDB46NVRepWVrL3
|
repo:objectstack#2 · os-steve · session_01ADHkmSXPDB46NVRepWVrL3 Final head for L1 (first review) —
|
|
l2-review#4 · os-steve · session_01ADHkmP44onN8RMzsPMqjRq Contract-review-claim: session_01ADHkmP44onN8RMzsPMqjRq · head b898a12 · 2026-11-17T04:19Z |
|
l2-review#4 · os-steve · session_01ADHkmP44onN8RMzsPMqjRq Contract reviewServed-tier: Read, not reviewed (outside the diff, all on ① Derived judgmentsThe diff is three rules files, +10/−10, no code, no schema, no published surface. What it changes is who may do what:
② Semver levelNothing publishes: ③ Boundary flags
④ Design judgmentM1 (must-fix) — Rule C contradicts the text its own reader is bound to. runbook:142 tells the card thread to edit its own PR body through S1 (should-fix) — coordinator:25 lets the dispatch order travel as "its full text or its file". runbook:136, untouched in this PR, says the order is written by the coordinator into the thread's opening message and is never landed in a shared directory, with a pointer left on the card. The old coordinator line said full text only. A seat reading both cannot tell whether an order file in the project files is allowed, and the plain reading of the new clause is that it is, which is the thing runbook:136 forbids. Either drop "or its file" (the "files to read" field at coordinator:24 already covers reference files), or change runbook:136 in the same PR with the ruling that allows it. The collision question, runbook:150 against runbook:152 — no collision. Line 150 defines the clear change method as: target unchanged, and only a change of landing point or fix, or a narrowing to the measured surface. Line 152 then gives every other scope cut, downgrade and close to the human floor. The structure is an enumerated exception followed by "the rest", the same shape line 151 already had for ruling conflicts on Nits (no effect on correctness or the contract):
Implemented-by: VERDICT: FAIL |
|
repo:objectstack#2 · os-steve · session_01ADHkmS6aD6wyUggsi2rWNK 席位核对L1 first review — ACCEPT · head Read on GitHub and on a local worktree at this head, not off the report: Checklist
Own readings at this head
Deviations accepted
Contract review: owed. Landing tier: |
…er travels as full text only Answers the contract review on the first head: os-dev.md's PR-body and write-budget lines carry the card-thread exception the runbook states, the coordinator line no longer lets a dispatch order travel as a file, and three wording nits (narrowing to what the reading proves, the conditional Premise corrected comment, the area's premise check before the claim). Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01ADHkmSXPDB46NVRepWVrL3
|
repo:objectstack#2 · os-steve · session_01ADHkmSXPDB46NVRepWVrL3 Final head for L1 (delta) —
|
|
l2-review#4 · os-steve · session_01ADHkmP44onN8RMzsPMqjRq Contract-review-claim: session_01ADHkmP44onN8RMzsPMqjRq · head e38f46e · 2026-11-17T04:41Z |
|
repo:objectstack#2 · os-steve · session_01ADHkmS6aD6wyUggsi2rWNK 席位核对L1 delta — ACCEPT · head Delta only, as read from Correction to the first review. My first-review premise check grepped Delta against the L2 findings
Own readings at this head
Deviations accepted
Contract review: a delta L2 on this head is owed (the record 6938327226 is FAIL on Landing tier: |
|
l2-review#4 · os-steve · session_01ADHkmP44onN8RMzsPMqjRq Contract reviewServed-tier: Delta review. The prior at-tier record is comment 6938327226 (FAIL on head ① Derived judgments
② Semver levelUnchanged from the prior record: ③ Boundary flags
④ Design judgmentM1: closed Prior nits:
New nits (no effect on correctness or the contract):
No must-fix, no should-fix. Implemented-by: VERDICT: PASS |
|
repo:objectstack#2 · os-steve · session_01ADHkmSXPDB46NVRepWVrL3 Landing — head
|
| probe | reading |
|---|---|
check-governed-merges --pr 34630 |
Tier S (.claude/** ×4), +12 / −12, under the human-merge threshold |
| L1 | ACCEPT 6938584052 (delta) on this head |
| Contract review | PASS 6938656451 on this head, Served-tier: CONTRACT_REVIEW_TIER, no must-fix, no should-fix |
| check-runs on this head | 47: 22 success, 24 skipped, 1 PR-body guards cancelled by the body edit and re-run success; none red or pending |
| mergeable | clean |
Correction to the delta final-head comment 6938556347: it said the body records why N4–N7 stay; the body gives a reason for N6 only. N4, N5 and N7 (and the new N8–N10) carry as nits with no effect on the contract, as the record grades them.
State change: ready for review and auto-merge armed (merge queue), by the owning area under Tier S. The card #34625 closes on merge.
Requested by Steve
Fixes #34625
Clause-②: no
Metadata-protocol: none
维护者速读
Premise corrected收窄;PR 结论只写实测覆盖到的范围。② 开线程攒批:席位一条消息一线程一行(卡/PR、标题、汇报区、要读文件、续做分支),协调者一次开完、一次回全部 id;区与卡线程不直接找协调者。③ 卡线程自己改自己 PR 的正文,区或席位只在线程已关时代改。.claude/**规则文本(三份 pm-dispatch references 加.claude/agents/os-dev.md两行),不动代码。新增行全部在同文件里付账(删 4 行重复内容),四个文件行数上限不变。回滚即 revert。references/dispatch-runbook.md的〈派发前置〉节与卡线程节末行、references/coordinator.md第三节、references/area-lease.md〈区内规则〉新增的指针行。pnpm check:pm-skill-ratchet,四个文件读 246/246、49/49、71/71、405/405。.claude/**),L1 与达档契约复审同 head 通过后由区落地。What changes
Three process rules the maintainer approved at 2026-11-17T03:46:59Z (「第 2、3 、4条我现在就让席位改进命令文件,并且立卡更新 skills」) move from the seat's command files into
.claude/skills/pm-dispatch/. Each rule has one home; the other files point to it.dispatch-runbook.md〈派发前置〉area-lease.md〈区内规则〉 new line; SKILL.md:326Premise:claim line (unchanged)coordinator.md§三area-lease.md〈区内规则〉 new line;dispatch-runbook.md卡线程节 already points tocoordinator.md三dispatch-runbook.md卡线程节.claude/agents/os-dev.mdPR-body line and write-budget line (the card thread readsos-dev.md, not the runbook)Before and after, passage by passage
dispatch-runbook.md〈派发前置〉 (rule A)origin/main逐条测:复现、根因句与 file:line、路线对check-prior-rulings.mjs、适用面。Premise corrected。Premise:行。Premise:行,PR 结论限实测。Narrowing to what the reading proves (收至读数所证) is filed under 改法明确 (target unchanged), so it does not collide with the next-but-one line that sends other scope cuts to the human floor. The card thread's own premise duty already lives in
os-dev.mdrule 6; the new line adds only the stop-and-report path and the seat'sPremise correctedcomment.dispatch-runbook.md卡线程节 (rule C), new last line after 交回:coordinator.md§三 (rule B)area-lease.md〈区内规则〉 (pointers for A and B), new line before the os-dev line:.claude/agents/os-dev.md(rule C pointer; the card thread is bound to this file)git push、pr_create(draft,含 labels 与 assignees)、os-dev-report评论。git push、pr_create(draft,含 labels/assignees)、os-dev-report;卡线程另改正文。pr_create写,⛔ 不PATCH;改法报告点名,席位经seat-post-protocol.md代写。pr_create写、⛔ 不 PATCH 由席代写;卡线程照dispatch-runbook.md自改。Both lines change in place (405/405). The
seat-post-protocol.mdpointer leaves this line: the seat's own body write is homed in SKILL.md andseat-post-protocol.mditself, which the seat reads; the dev never wrote through it.Line payers (every file at headroom 0; no ceiling raised, no re-wrap)
dispatch-runbook.mdpm:blockingis a derived cache, ⛔ 不手工挂) andtriage-duties.md:39–40 (daily reconcile adds or removes it against the index)coordinator.mdseat-lifecycle.md。」coordinatorrow (项目会话:开席位线程与卡线程、跨车道调度;接口见references/coordinator.md);seat-lifecycle.mdstays named at line 8area-lease.mdEvery edited line is at or under the 120-byte budget (widest new line: 120 B).
os-dev.mdadds no line, so it needs no payer.Tests
No code changes.
pnpm check:pm-skill-ratchetandpnpm check:pm-skill-id-lintpass locally on this head.Acceptance notes
origin/main97defd6,git grepover.claude/skills/pm-dispatchfinds noPremise correctedand no batched thread request. Corrected by the contract review 6938327226 (M1): the claim's search missed.claude/agents/os-dev.md, whose PR-body line said the dev never patches the body and the seat writes it. That line now carries the card-thread exception, and the file surface widens to it (card comment records it).或其文件let an order travel as a file against runbook:136) fixed by dropping the clause; N1 (收至读数所证), N2 (Premise correctedonly when the card changes) and N3 (the area-lease pointer now says 认领前) taken; N4–N7 left as written (N6's signed tail is enforced by the relay's own refusal).CONTRACT_REVIEW_TIER, routed by the area to the review seat.Verification
node scripts/pm/dispatch-gates.mjs --commandsderives 23 commands for this diff (19 on the first head;os-dev.mdadds four); theCMD :: exit Nledger is posted as a PR comment on the final head.Human Minimum
packages/specholds no runtime logic. (not touched)main, one pull request..claude/**only)packages/spectouched: its generated artifacts are regenerated and committed. (not touched)content/docs/references/,packages/*/CHANGELOG.mdorcontent/docs/releases/.🤖 Generated with Claude Code
https://claude.ai/code/session_01ADHkmSXPDB46NVRepWVrL3