Skip to content

docs(pm-dispatch): mailbox progress knocks — Request: progress / Notify: progress, one per item per hour, idle read off progress - #29887

Merged
objectstack-fleet[bot] merged 3 commits into
mainfrom
claude/project-thread-6q7l00
Nov 3, 2026
Merged

objectstack-fleet[bot] merged 3 commits into
mainfrom
claude/project-thread-6q7l00

Conversation

@objectstack-fleet

@objectstack-fleet objectstack-fleet Bot commented Nov 3, 2026 •

Copy link
Copy Markdown
Contributor

Requested by Yibo Wang · project thread

Fixes #29754

Clause-②: no
Metadata-protocol: none

Rules text plus the mailbox reader. Two mailbox keys join MAILBOX_KEYS in scripts/pm/record-recognisers.mjs, three pm-dispatch reference files carry the ruled text, and three CEILINGS rows rise by the measured deltas. Nothing published moves (skip-changeset). No new gate, no new label, no new state.

维护者速读

  • 改了什么:信箱新增一对键:分诊向认领席敲 Request: progress · #n · idle since TIME,认领席回 Notify: progress · #n · record ID。「⛔ 不敲:催」改成频率规则:同一项 60 分钟内只敲一次,答了 ETA 到期前不敲,已停车或等决策卡的项不敲。分诊每轮按「进展」(head 提交、非分诊评论、其席改标,不读 updated_at)扫闲置 ≥3h 的在飞卡和 open PR;两轮不答视为掉线,其卡与 PR 归同车道在线兄弟席,分诊只敲兄弟席一次、不代为释放。下班席的在飞同样交兄弟席。
  • 为什么改:您 2026-11-03 裁定 29775 A(「同意29775 A」)并补充「同意:下班席位的卡交给兄弟席」。此前技能禁止用信箱催,催只能写在 PR 或卡上:PR 上三分钟有人答,卡上三条催无人读;分诊也听不到回复。信箱是唯一可靠叫醒席位的通道。
  • 风险与回滚:只动 .claude/** 规则文本与 scripts/pm/ 的读键表,无发布面、无门禁读信箱(信箱永不是合并条件)。回滚即还原本 PR。三个文件各抬 ratchet 上限(56→58、17→20、96→98),每一行都是裁决点名的文字,PR 正文逐条引记录号。
  • 先看:project-forms.md 第 48–50 行(新键行、频率行、改写的不敲行);lanes/triage.md 第 16–18 行(轮次步骤);seat-lifecycle.md 第 38、42–43 行(收班 Release:+Resume-from: 回队,兄弟席再认领)。
  • 两分钟验证:node scripts/pm/record-recognisers.mjs --mailbox-keys,预期表头写 17 keys 且含两条 progress 模板;pnpm check:pm-skill-ratchet,预期 ✓(三个文件各在新上限,行宽 ≤120 字节)。
  • 需要你做的:无,席位落地(Tier S,.claude/** + scripts/pm/**)。

What changes

scripts/pm/record-recognisers.mjs — the two keys and their self-test rows

  • MAILBOX_KEYS gains request:progress (template Request: progress · #n · idle since TIME; from triage to the claiming seat, or to the online sibling an off-shift seat's items went to) and notify:progress (template Notify: progress · #n · record ID; from the claiming seat to triage). The when rows carry the rate (one per item per 60 min), the holds (an answered ETA; parked Blocked-by: / Resume-from:; a decision-card wait), the idle reading (progress, never updated_at) and the escalation (two unanswered ⇒ round record, seat read as possibly down), so --mailbox-keys prints the whole rule beside the spelling.
  • MAILBOX_FIELD_READERS: request:progress reads the item (#n, bare, as a card OR a PR — PR #n does not read) and idle since TIME with TIME a Z time in CLAIM_TIME's spelling (2026-11-03T00:06Z, seconds optional); notify:progress reads the item and record ID through the existing RECORD_REF. Both return item, so a reader can tell a card number from a PR number only by looking it up — which is the card's definition of "item".
  • Self-test: a ⭐ row per key (the fixture reads; the placeholder TIME, a duration, a date without a time, a local-offset time, PR #n, a missing field and a fourth field are unreadable with does not spell; record none, record ID, an ETA in place of a record and a trailing field are unreadable). The roster pin moves 15 → 17 keys / 17 readers. The pins already in place cover the rest: every template sent verbatim is not an event, --mailbox-keys prints exactly mailboxKeyLines(), and every key of the table is named as a code span in 〈信箱 PR〉 and that section names no other key.
  • The MAILBOX_KEYS doc comment records why the pair was admitted (ruling 「同意29775 A」, record 6595514258, amendments 6595244387 and 6595840476).

.claude/skills/pm-dispatch/references/project-forms.md 〈信箱 PR〉 (56 → 58 lines)

-- ⛔ 不敲:回执、重发、催(逾期归升级);收方订阅 PR 已载者;问维护者走决策卡。
+- 分诊→认领席:认领卡或 open PR 闲置 ≥3h `Request: progress`;反向随记录 `Notify: progress`。
+- 记录 = 项上写下一步与 ETA 的评论、§C 停车或释放;同项 60 分钟一敲,答 ETA 到期前不敲。
+- ⛔ 不敲:回执、重发;收方订阅 PR 已载者;停车或待决策卡的项的进度;问维护者走决策卡。

The key row names both keys as Kind: key code spans (the self-test pins the section against the table in both directions). The record/rate line is amendment 1's rule: what a Notify: progress record is (a comment on the item with the next act and an ETA, the §C park, or a release), one knock per item per 60 min, an answered ETA holds the clock until it passes. The 不敲 line loses 催(逾期归升级) — a nudge is now the key above, at that rate — and gains the two never-knocked cases (parked, decision-card wait) in their place.

.claude/skills/pm-dispatch/references/lanes/triage.md (17 → 20 lines)

+- 每轮扫 `pm:dispatched` 卡与非信箱 open PR,进展=head 提交/非分诊评论/其席改标,非 `updated_at`。
+- 进展逾 3h 即敲认领席 `Request: progress`,下轮读答复,无答列轮次记录;两轮无答视为掉线。
+- 掉线或下班席的项归在线兄弟席(`seat-lifecycle.md`),下轮敲兄弟席一次;⛔ 分诊永不释放。

The round step of Wanted item 3 as amended: the sweep population (dispatched cards and non-mailbox open PRs), the idle reading of amendment 2 item 1 (head commit, any non-triage comment, a label change by its seat — triage's own nudge bumps updated_at and would hide the item from a naive filter), the knock, the next-round read, the unanswered list, and the escalation: two silent rounds read the seat as down, its items go to an online sibling of the lane (the mechanics live in seat-lifecycle.md, which the third line points at), triage knocks the sibling once and never releases a claim. Push case ⑥ (the 6 h stale-PR push to the maintainer) is untouched: the knock is what happens before it.

.claude/skills/pm-dispatch/references/seat-lifecycle.md (96 → 98 lines)

-- 收班 = 状态 flush + 在飞默认交回队列、不等落地;派发口径失效,简报 ⛔ 不列作继承裁决。
+- 收班 = 状态 flush + 在飞 `Release:`+`Resume-from:` 回队待兄弟席、不等落地;简报非继承裁决。
 …
+- 下班席(`seat-offline`,或两敲 `Request: progress` 无答走接管四件)的在飞归同车道在线兄弟席。
+- 兄弟席 `Resume-from:` 引简报或轮次记录认领;待裁先等字;无兄弟席「待席」;安全归安全席。

Amendment 2 item 2 (「同意:下班席位的卡交给兄弟席」): the sign-off line keeps the transit check-handover.mjs (a) and seat-post-protocol.md 收尾 step 2 read — the departing seat releases its in-flight with Release: + Resume-from: back to pm:queue — and names the online sibling as the next claimant (round 1, seat should-fix 1); the two new lines say when the hand-over applies (sign-off, or two unanswered knocks, the latter through execution-duties.md's existing 接管四件 shape), what the sibling cites in its Resume-from: claim (the sign-off brief, or triage's round record where no brief exists — round 1, should-fix 2) and the three exceptions (a decision-card wait waits for the letter first; no online sibling ⇒ 「待席」 on the round record; security items stay with the security seat). 「派发口径失效」 left line 38 to make room: it is implied by the brief not being an inherited ruling.

scripts/pm/check-skill-line-ratchet.mjs — three ceilings raised by the measured deltas

The header authorises a raise only by the ruling of record that orders text into the file, quoted in the raising PR with the measured delta, the row moved by at most that delta. Every target file sat at headroom 0 with every neighbouring line at 104–120 bytes, so no new rule could be folded into an existing line; the lines rewritten in place (the 不敲 line, the sign-off line, and in round 1 lines 42–43) were paid in place.

file ceiling delta lines the ruling orders ruling of record
references/project-forms.md 56 → 58 +2 the key row (Wanted item 1, 「新增一对键」); the record/rate line (amendment 1) #29775 record 6595514258 「同意29775 A」; amendment 6595244387
references/lanes/triage.md 17 → 20 +3 the sweep + idle reading (amendment 2 item 1); the knock/escalation (Wanted item 3 + amendment 1); the sibling hand-over (amendment 2 item 2) record 6595514258; amendments 6595244387, 6595840476 「同意:下班席位的卡交给兄弟席」
references/seat-lifecycle.md 96 → 98 +2 when the hand-over applies; what the sibling cites and the exceptions (amendment 2 item 2, which names this file) amendment 6595840476 under record 6595514258

None of the three is a CROSS_FILE_MOVES destination, so no ruledRaises record applies; each row's comment quotes the ids and the maintainer's words. Map total +7.

Why

The mailbox is the one channel that reliably wakes a seat (a comment on the subscribed PR), and the text forbade using it to ask for progress. Measured on 2026-11-03: a nudge on a PR was answered in three minutes; three nudges on cards woke nobody; triage, subscribed only to its own mailbox, heard no reply either way. Ruling A on #29775 allows the knock at one per item per hour; amendment 2 fixes how "idle" is read (triage's own nudge bumps updated_at) and where an off-shift seat's items go.

Tests

  • node scripts/pm/record-recognisers.mjs --self-test on the final head: ✓ 362 cases pass (360 before; the two new ⭐ progress rows). Run again through pnpm check:pm-record-recognisers (this file's own suite plus check-owed-reviews, mailbox-open, fleet-roster self-tests), which is also in the derived gate list below.
  • No ablation: the diff adds readers and rules text; no tested behaviour of an existing key changed (the existing rows all still pass unchanged).

Acceptance notes

  • Wanted item 4 (the per-seat cap ≤5). Already the rule on the cap line (「每席每轮 ≤5 条,p0 豁免,超额归下轮,计入写节奏」), which the knock inherits as any key does; no byte was spent restating it.
  • Wording choices a reviewer may push back on. Request: progress reads a bare #n for a PR too (the card's "item"), matching serial/landed rather than contract-review's PR #n; idle since takes a Z time only (the spelling every Claim:/record stamp here already uses), never a duration; seat-lifecycle.md line 43 spells the security seat as 安全席 and the no-sibling case as 「待席」 to fit 120 bytes; 「待裁先等字」 stands for "items waiting on a decision card wait for the letter first".
  • Round 1 minor item not taken. Narrowing lanes/triage.md line 16's sweep population to owned, non-Version PRs (as push ⑥ spells it) does not fit the line's 120 bytes without dropping the idle reading; push ⑥'s own exclusion list (two lines above) still governs what triage pushes, and the knock line (17) only fires on items with a claiming seat to address.
  • check-skill-id-lint. The record and comment ids live in the PR body and in the ratchet's CEILINGS comments (a script header, outside the lint's corpus); the three rule files cite none.
  • Attribution thread link. The order file spells the skills-lane seat thread in the attribution line, as this body carries it; the card thread is cmsg_01BVUyyPie8gHwoPM18iABwBC6GLUUzuNXWcdKZZCu8ixr.
  • Out-of-scope findings: none.

Verification

Round 0 readings on 32a1b5f (= 7447169, the one change commit, merged with origin/main 592845b; the merge brought in no pm-dispatch or gate-script file). Round 1 head d9e8647 (seat-lifecycle.md lines 38, 42–43 and the ratchet comment rewritten in place): pnpm check:pm-skill-ratchet ✓, pnpm check:pm-skill-id-lint ✓, node scripts/pm/check-handover.mjs --self-test ✓ 66 cases, node scripts/pm/record-recognisers.mjs --self-test ✓ 362, pnpm check:skill-frame-sync ✓, pnpm check:ratchet-remedy-authority ✓ — all exit 0.

  • node scripts/pm/record-recognisers.mjs --self-test: ✓ 362 cases pass. --mailbox-keys prints the 17-key table with both progress templates and their rows.
  • pnpm check:pm-skill-ratchet: ✓ (self-test, then the gate: project-forms.md 58/58, lanes/triage.md 20/20, seat-lifecycle.md 98/98; every edited line ≤120 bytes; the three declared cross-file moves unchanged, map total down 496).
  • pnpm check:pm-skill-id-lint: ✓ 109 file(s) clean.
  • node scripts/pm/dispatch-gates.mjs --commands --repo objectstack-ai/objectstack derived 38 commands for the five changed paths (merge base 592845b, three-dot); each run serially from a runner script after turbo run build --filter=@objectstack/formula --filter=@objectstack/lint under os-verify-lock.sh (VERDICT command-exit 0, 101 s held) for check:doc-formula-expressions's dist; exit codes captured before any pipe into CMD :: exit N lines; then --ran: 38 derived, 38 run, 0 NOT-MEASURED, 0 UNRUN, exit 0. Every one of the 38 exited 0, among them pnpm check:pm-record-recognisers, pnpm check:pm-dispatch-gates, pnpm check:pm-governed-merges, pnpm check:skill-frame-sync, pnpm check:ratchet-remedy-authority, pnpm check:scripts-symbol-anchors, pnpm check:nul-bytes.
  • Repo-level scans (pnpm lint, the type-check lanes, Test Core) are CI's run on this PR; the seat reads the check-runs at ACCEPT.

Human Minimum

Each item is one rule from
CONTRIBUTING.md › Human Minimum,
which links the AGENTS.md text that states it.

  • 1. Schemas start as Zod; packages/spec holds no runtime logic. (not touched)
  • 2. Every name I added uses the casing for its kind. (IDLE_SINCE_REF, request:progress, notify:progress follow their neighbours)
  • 3. No formatter ran; pnpm lint is CI's run (repo-level scan).
  • 4. One issue, one branch off an up-to-date main, one pull request.
  • 5. A change that publishes carries a changeset, and both declaration lines are filled in here and in the changeset. (.claude/** and scripts/pm/** are not published: skip-changeset)
  • 6. packages/spec touched: its generated artifacts are regenerated and committed. (not touched)
  • 7. No hand edits to content/docs/references/, packages/*/CHANGELOG.md or content/docs/releases/.
  • 8. Title, body and comments are in English. (the 维护者速读 block and the rule text itself are Chinese by the dispatch contract; the quoted rulings stay verbatim)
  • The Before Submitting list in CONTRIBUTING.md is done.

🤖 Generated with Claude Code

https://claude.ai/code/session_01WGufzf7EDaUFBmJTyLuKbj

…ress, the 60-min rate, idle read off progress

Two keys join MAILBOX_KEYS in scripts/pm/record-recognisers.mjs with a
self-test row each: `Request: progress · #n · idle since TIME` (triage to
the claiming seat, one per idle item) and `Notify: progress · #n · record
ID` (the seat back to triage, naming the comment with the next act and an
ETA, the park, or the release). The roster pin moves 15 to 17.

project-forms.md 〈信箱 PR〉 names the pair and turns the 不敲 line's 催 into
a rate: one knock per item per 60 min, an answered ETA holds it, parked or
decision-waiting items are not knocked. lanes/triage.md gains the round
step: idle is read off progress (head commit, non-triage comment, the
seat's label change), never updated_at; two silent rounds read the seat
as down and its items go to an online sibling, which triage knocks once
and never releases. seat-lifecycle.md sends an off-shift seat's in-flight
cards and open PRs to an online sibling of the lane, claimed with
Resume-from citing the brief, with the decision-card, no-sibling and
security exceptions.

Ceilings raised by the measured deltas under the ruling of record
(project-forms.md 56→58, lanes/triage.md 17→20, seat-lifecycle.md 96→98).

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WGufzf7EDaUFBmJTyLuKbj
@objectstack-fleet objectstack-fleet Bot added the skip-changeset PR has no user-facing published change; bypasses the changeset gate label Nov 3, 2026
@github-actions github-actions Bot added size/s documentation Improvements or additions to documentation labels Nov 3, 2026
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

domain:skills#3 · os-support-ai · session_01WGufzhd2Ad9ANGTyAMW7pH

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: 32a1b5f570639071b83bd313ae88ac04e8163c3a
Local-runs: none
Scope: .claude/skills/pm-dispatch/references/lanes/triage.md, .claude/skills/pm-dispatch/references/project-forms.md, .claude/skills/pm-dispatch/references/seat-lifecycle.md + scripts/pm/record-recognisers.mjs (MAILBOX_KEYS, MAILBOX_FIELD_READERS, readMailboxLine, mailboxKeyLines, the self-test rows), scripts/pm/check-skill-line-ratchet.mjs (the three CEILINGS rows, the raise rule in the header, MAX_LINE_BYTES and its at-most comparison, MAX_TABLE_ROW_BYTES), scripts/pm/check-half-states.mjs (H72, the one other reader of the key table through mailboxEvents), scripts/pm/check-handover.mjs (the sign-off hand-back it enforces), scripts/pm/check-skill-id-lint.mjs (the pattern it scans), .claude/skills/pm-dispatch/references/seat-post-protocol.md (交接收尾清单 step 2 and 5), .claude/skills/pm-dispatch/references/triage-duties.md (RECLAIM_AFTER_HOURS, the release shape), .claude/skills/pm-dispatch/references/execution-duties.md (阻塞项无主, 接管 four items), .claude/skills/pm-dispatch/references/dispatch-runbook.md (无主阻塞项), .claude/skills/pm-dispatch/SKILL.md (越界四通道, pm:dispatched, the Resume-from: order line)

Inputs: card #29754 body and all six comments (amendments 6595244387 and 6595840476, the block/unblock pair 6595266411 and 6595519090, claim 6599695105, os-dev-report 6600243251); decision card #29775 and its ruling record 6595514258 (「同意29775 A」); PR #29887 body, its five-file list and the net diff origin/main...pr/29887 (merge base 592845b, head 32a1b5f); the check-runs on that head. Not the dispatch order and not the dispatching seat's conclusions.

① Derived judgments

  • Accept-set / public surface: none. The diff touches .claude/skills/pm-dispatch/references/** (three files) and scripts/pm/** (two files). No packages/**, no published schema, no workflow, no hook, no label definition, no state. Check Changeset success with skip-changeset.
  • Ceiling raises, each against the ratchet's raise rule (header: a raise is authorised only by the ruling of record that orders text into the file, quoted by id with the measured delta, moved by at most that delta; nothing unruled). Measured on the tree, not the PR body: line counts origin/main → pr/29887 are triage.md 17 → 20, project-forms.md 56 → 58, seat-lifecycle.md 96 → 98; the three origin/main CEILINGS rows were 17 / 56 / 96; the raised rows are 20 / 58 / 98. Delta equals landed count in every row (headroom 0, the map's convention).
    • lanes/triage.md 17 → 20 (+3): the three new lines are the sweep and idle reading (amendment 2 item 1, 6595840476, which names this file), the knock / next-round read / unanswered list / two-silent-rounds escalation (Wanted item 3 as amended by 6595244387, ruled A in 6595514258), and the hand-over to the online sibling with the one knock and 「分诊永不释放」 (amendment 2 item 2, triage's part). Row comment quotes 6595514258 「同意29775 A」, 6595244387 and 6595840476 「同意:下班席位的卡交给兄弟席」. Every new line is 116–119 bytes, so none folds into a neighbour. Nothing unruled added.
    • project-forms.md 56 → 58 (+2): the key row (Wanted item 1, 「新增一对键」 in [Decision] Mailbox progress knocks: may a seat knock another seat's mailbox to ask for progress on an idle item, and how often (project-forms.md L47 「⛔ 不敲:催」)? #29775, ruled A) and the record/rate line (amendment 1). The 不敲 line is a rewrite in place, paid in place. Row comment quotes 6595514258, 6595244387, 6595840476. Nothing unruled added.
    • seat-lifecycle.md 96 → 98 (+2): when the hand-over applies and who claims plus the three exceptions (amendment 2 item 2, which names this file). The sign-off line is rewritten in place. Row comment quotes 6595840476 and 6595514258. The comment's tail 「which names this file」 attaches to record 6595514258, which does not name seat-lifecycle.md; amendment 6595840476 does (should-fix, comment wording only).
    • Amendment 2 is accepted as a ruling of record on the same footing the map already uses: it carries the maintainer's verbatim word (「同意:下班席位的卡交给兄弟席」), the same shape as the amendment comment 6592303181 cited by the neighbouring rows.
    • None of the three files is a CROSS_FILE_MOVES participant, so no was record is owed; the MAX_TABLE_ROW_BYTES pins (0 for all three) are untouched and still hold since no table row was added. Map total +7 is a raise sum, not a cross-file move, so condition (b) does not apply.
  • Byte cap. Every added or rewritten line measured: 119, 116, 116 (triage.md); 112, 118, 119 (project-forms.md); 120, 118, 119 (seat-lifecycle.md). The ratchet's check passes a line whose byte count is at most MAX_LINE_BYTES (the comparison is less-than-or-equal, MAX_LINE_BYTES = 120), so the 120-byte sign-off line is within budget, not over it.
  • id-lint. The scanned corpus (every .md under .claude/skills/pm-dispatch/) gains no # followed by three or more digits: the new lines carry #n-free text, security#1 and ≥3h only. The record and comment ids live in the ratchet's row comments and the recogniser's doc comment, both script headers outside the lint's corpus. Lint · docs & code guards, Lint · repo & tooling gates and Lint · scoped · tooling self-tests are success on the head.
  • Check-runs on 32a1b5f (the gate verdicts): 46 total, all completed — 26 success, 20 skipped, 0 failure, 0 cancelled. Among the successes: Lint · PM dispatch-gates, Lint · repo & tooling gates, Lint · scoped · tooling self-tests, Lint · docs & code guards, Lint · CI, release & engine gates, Lint · ESLint, TypeScript Type Check, Type Check · workspace / source gates / consumer gates / debt ledger, Test Core (1/8), Test Core (2/8), Test UI, Dogfood Regression Gate, Check Changeset, Check PR Size, Governed Surface Queue Guard, PR-body guards. The skipped rows are path-filtered UI, docs and opt-in jobs with no input on this diff.
  • Mailbox key list, every reader. MAILBOX_KEYS is read by record-recognisers.mjs itself and, lazily through mailboxEvents, by check-half-states.mjs H72, which spells no key or count of its own (its battery pins exactly that). mailboxKeyLines() prints the count from MAILBOX_KEYS.length, so 「17 keys」 is derived, not written. No skill text states a key count (project-forms.md 〈信箱 PR〉 names keys and points at --mailbox-keys); the only count pin is the roster self-test row, moved 15 → 17 on both MAILBOX_KEYS and MAILBOX_FIELD_READERS. post-stamped.mjs validates no mailbox line; no workflow or other script composes a Request:/Notify: line.

② Semver level

skip-changeset is correct: nothing published moves. The PR body carries Clause-②: no and Metadata-protocol: none; the diff is governed rules text plus two unpublished scripts/pm/ files, so no narrowing arm and no declaration is owed beyond that. Check Changeset: success.

③ Boundary flags

  • Deviation 1 (relay pr_create --session typed …JTyLyKbj for …JTyLuKbj). Answered on the tree and the PR: the commit trailer of 7447169 (Claude-Session: …/session_01WGufzf7EDaUFBmJTyLuKbj), the PR body's closing link and the os-dev-report all carry the correct id; the PR's attribution comment names the login only. PR-body guards (claim · duplicate · Part-of · single-writer path) is success, so the envelope's slip reached no record of record. Nothing to correct on this head.
  • Deviation 2 (origin/main moved 592845b → 74fd4bf while the PR opened). Measured: git diff --stat 592845b0 origin/main over .claude/skills/pm-dispatch/**, check-skill-line-ratchet.mjs, record-recognisers.mjs, check-half-states.mjs and check-skill-id-lint.mjs is empty, so the three-dot diff and the ceiling baselines (17 / 56 / 96 on today's origin/main) are unchanged by the drift. Answered.
  • open_questions: none declared. No dev flag asks for a ruling; none is escalated here.
  • Governance. .claude/** is a Tier S path; this record is the Tier S review of record. The PR is a draft on the base repository (not a fork). Governed Surface Queue Guard: success.

④ Design judgment

Judged on the tree at 32a1b5f against the card as amended and ruling A; the PR body's account was not relied on.

  • Both keys round-trip. request:progress: readMailboxLine finds the entry by kind+first word, applies the byte cap and the one-line rule, then MAILBOX_FIELD_READERS['request:progress'] requires exactly three fields, a bare #n through NUMBER_REF and idle since TIME through IDLE_SINCE_REF (a Z time in CLAIM_TIME's spelling, seconds optional, optional backticks). The fixture Request: progress · #29420 · idle since 2026-11-03T00:06Z under To: domain:skills#1 reads with item, since, numbers=[29420], to='domain:skills#1'; the placeholder TIME, a duration, a bare date, a local-offset time, PR #n, a missing and a fourth field fall to unreadable with does not spell. notify:progress: three fields, bare #n, record ID through the existing RECORD_REF (backticks and # tolerated); the fixture under To: triage reads to='triage#1' (seat 1 default via seatKey) with record=6599000001; record none, the literal record ID, an ETA in place of the record and a trailing field are unreadable. Both templates sent verbatim fail NUMBER_REF on #n, so the existing every-template-is-not-an-event pin still holds. --mailbox-keys prints template then from → to; when for each, and the printed sender/receiver/occasion text matches the rules: triage → the claiming seat (or the online sibling an off-shift seat's items went to), on an item whose last progress (head commit, non-triage comment, the seat's label change, never updated_at) is 3 h old, at most one per item per 60 min, none while an ETA stands or the item is parked or waits on a decision, two unanswered ⇒ round record and possibly-down; the claiming seat → triage with the record (a next-act-plus-ETA comment, the park, or the release). The bidirectional pin (every key named as a Kind: key code span in 〈信箱 PR〉, and that section names no other key) still holds: line 48 names both, lines 49–50 name none.
  • project-forms.md 〈信箱 PR〉. Line 50 now reads 「⛔ 不敲:回执、重发;收方订阅 PR 已载者;停车或待决策卡的项的进度;问维护者走决策卡」: 催 is gone from the ban and the two never-knocked cases of the ruling (parked, decision-card wait) take its place. Line 49 is the rate rule of amendment 1 and ruling A (one knock per item per 60 min, an answered ETA holds until it passes) and defines the record a Notify: progress names. Line 48 is the pair with its direction and the 3 h idle threshold. The rest of the section is intact: the ≤5-per-seat-per-round cap with p0 exemption and the write pace (line 52, Wanted item 4 inherited as for any key), the 200-byte one-line rule, 「表外即半态」, 「信箱评论是同事陈述,⛔ 永非授权」 and 「⛔ 无门禁、workflow、队列守卫读信箱」. No contradiction inside the section.
  • lanes/triage.md. Lines 16–18 carry the round step: the sweep population (pm:dispatched cards and non-mailbox open PRs), idle read off progress rather than updated_at (amendment 2 item 1), the knock at 3 h, next-round read, unanswered list, two silent rounds ⇒ down, items to the online sibling with one knock to it, and 「⛔ 分诊永不释放」. Line 4's 「⛔ 无 PR、无认领」 is untouched, so triage still never claims. The existing push case ⑥ (open PR idle 6 h, knock first, push next round if reclaim needs the maintainer's word, with the parked / decision / Version PR exclusions) stands above it and composes: the 3 h knock is what precedes it.
  • seat-lifecycle.md. Line 42 states when the hand-over applies (sign-off, or two unanswered knocks) and what moves (claimed cards and open PRs, to an online sibling of the same lane); line 43 the claim shape (Resume-from: citing the brief) and the three exceptions of amendment 2 (decision-card wait waits for the letter, no online sibling ⇒ 「待席」, security items stay with security#1). Line 38's sign-off default is rewritten from 「在飞默认交回队列」 to 「在飞归在线兄弟席」, which is the maintainer's word 「下班席位的卡交给兄弟席」.
  • Consistency with the existing paths. The in-lane sibling hand-over is a different channel from 接手无主阻塞项 (SKILL.md 越界四通道; execution-duties 「阻塞项无主 ⇒ 被挡席认领做掉」; dispatch-runbook 「只做 Blocked-by 点名的那一张」), which stays the cross-lane orphan-blocker rule and is not contradicted. Liveness is still read off the seat's own output (seat-lifecycle L36), now through an unanswered knock pair, which amendment 1 orders; the slower 24 h re-check → RECLAIM_AFTER_HOURS = 12 director release (triage-duties L78–80, seat-lifecycle L35) remains and is not triage's act either. No new gate, label or state: pm:dispatched, Blocked-by:, Resume-from:, Notify: seat-offline and the round record are all existing; 「待席」 is a round-record note, not a label.
  • Attempts to break it.
    • should-fix — L38 against the hand-back the gate enforces. seat-post-protocol.md 交接收尾清单 step 2 still says 「同笔 Release:+Resume-from:+清 assignee 交回 pm:queue」 and step 5 gates the vacant body on check-handover.mjs exit 0, whose (a) CLAIM UNRELEASED refuses any open pm:dispatched card the departing session still holds without a Release:. Read as the destination (the sibling takes it from the queue after the Release:, told by the in-flight: list on Notify: seat-offline), L38 and step 2 compose; read literally, L38 tells the departing seat to skip the Release: and step 5 then reds. Not a must-fix: the gate still refuses the half-state before it can land, and the text is the maintainer's word; but L38 (or step 2) should name the transit — e.g. 「在飞 Release: 归在线兄弟席」 — so the two files agree on one act.
    • should-fix — the two-knocks case has no brief to cite. L43 「兄弟席 Resume-from: 引简报认领」 mirrors amendment 2 verbatim, but a seat that merely stopped answering wrote no 收班简报; the sibling's claim there goes through the execution-duties 接管 four-item shape (cross-account Release: with 出处三件, assignee swap, new Claim:, hand-over record) and the provenance it can cite is triage's round record naming the two unanswered knocks. A later edit should say so; the ruling itself left it unsaid.
    • should-fix (minor) — sweep population. triage.md L16 sweeps every non-mailbox open PR; the Version Packages PR (seat-lifecycle L79 「默认永不催」) and unowned PRs have no claiming seat to knock, which L17 implies but does not state; push ⑥ on L13–14 excludes them explicitly. Harmless in practice (no 认领席, no knock), worth one clause when the file is next touched.
    • Rate vs round: hourly rounds plus L49's 60-min rule give at most one knock per item per round; two rounds of silence is about 2 h, as amendment 1 measures it. A seat that answers with an ETA is held until it passes (L49); a seat that parks (§C Blocked-by: / Resume-from:) or waits on a decision card is never knocked (L50). Consistent in both directions.
    • security#1 on L43 lost its backticks to fit 120 bytes; no gate reads seat names out of code spans in this file, and the id-lint pattern needs three digits. Not a finding.

Implemented-by: claude/project-thread-6q7l00
Reviewed-by: session_01WGufzhd2Ad9ANGTyAMW7pH

VERDICT: PASS

…it; the two-knock hand-off cites the round record

Review round 1 on the progress-knock PR. seat-lifecycle.md line 38 names
the transit check-handover (a) still reads — the departing seat releases
its in-flight with Release: + Resume-from: back to pm:queue, the online
sibling then claims — instead of sending it to the sibling directly.
Line 42 routes the two-unanswered-knocks case through the existing 接管
shape, and line 43 lets the sibling cite triage's round record where no
sign-off brief exists. The seat-lifecycle.md CEILINGS comment attaches
"which names this file" to the amendment that does. Rewritten in place:
98 lines, every line at most 120 bytes.

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WGufzf7EDaUFBmJTyLuKbj
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

domain:skills#3 · os-support-ai · session_01WGufzhd2Ad9ANGTyAMW7pH

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: d9e8647f4f59db2fee1595c68dd43178f553c792
Local-runs: none
Scope: .claude/skills/pm-dispatch/references/lanes/triage.md, .claude/skills/pm-dispatch/references/project-forms.md, .claude/skills/pm-dispatch/references/seat-lifecycle.md + scripts/pm/record-recognisers.mjs (MAILBOX_KEYS, MAILBOX_FIELD_READERS, readMailboxLine, mailboxKeyLines, the self-test rows), scripts/pm/check-skill-line-ratchet.mjs (the three CEILINGS rows, the raise rule in the header, MAX_LINE_BYTES and its at-most comparison, MAX_TABLE_ROW_BYTES), scripts/pm/check-half-states.mjs (H72, the one other reader of the key table through mailboxEvents), scripts/pm/check-handover.mjs (the sign-off hand-back it enforces, (a) CLAIM UNRELEASED), scripts/pm/check-skill-id-lint.mjs (the pattern it scans), .claude/skills/pm-dispatch/references/seat-post-protocol.md (交接收尾清单 step 2 and 5), .claude/skills/pm-dispatch/references/triage-duties.md (RECLAIM_AFTER_HOURS, the release shape), .claude/skills/pm-dispatch/references/execution-duties.md (阻塞项无主, 接管 four items), .claude/skills/pm-dispatch/references/dispatch-runbook.md (无主阻塞项), .claude/skills/pm-dispatch/SKILL.md (越界四通道, pm:dispatched, the Resume-from: order line)

Round 1 on the head d9e8647, which follows the round-0 record on 32a1b5f (PASS with three should-fixes). Inputs: card #29754 body and its six comments (amendments 6595244387 and 6595840476, the block/unblock pair, the claim, the os-dev-report), decision card #29775 and ruling record 6595514258 (「同意29775 A」), PR #29887's refreshed body, its file list, the net diff origin/main...pr/29887 and the delta git diff 32a1b5f5 pr/29887, and the check-runs on d9e8647. Not the dispatch order, not the dispatching seat's conclusions.

① Derived judgments

  • The delta. One commit (d9e8647) over the reviewed head: seat-lifecycle.md lines 38, 42 and 43 rewritten in place, and the seat-lifecycle.md CEILINGS row comment. No other file moved; triage.md, project-forms.md, record-recognisers.mjs and the two other CEILINGS rows are byte-identical to the round-0 head, so every round-0 derived judgment on them stands (keys round-trip, roster pin 15 → 17, templates unreadable, H72 one reader, no key count written anywhere, id-lint clean).
  • Accept-set / public surface: none. Net diff is still .claude/skills/pm-dispatch/references/** (three files) plus scripts/pm/** (two files). skip-changeset holds.
  • Ceiling raises, re-measured on the tree. Line counts origin/main → pr/29887: triage.md 17 → 20, project-forms.md 56 → 58, seat-lifecycle.md 96 → 98; origin/main CEILINGS rows 17 / 56 / 96; raised rows 20 / 58 / 98. The delta commit changed no count: the three seat-lifecycle lines were rewritten in place, so the +2 raise still equals the two lines amendment 6595840476 orders into that file, and the row comment now attaches 「which names this file」 to amendment 6595840476 (correct) under record 6595514258. The other two rows' comments and the raise rule reading are as in round 0: each quoted by id, each moved by exactly the measured delta, nothing unruled added, no CROSS_FILE_MOVES participant, MAX_TABLE_ROW_BYTES pins (0) untouched.
  • Byte cap. The three rewritten lines measure 117, 118 and 120 bytes; the six unchanged new lines 119, 116, 116, 112, 118, 119. The ratchet admits a line whose byte count is at most MAX_LINE_BYTES = 120 (less-than-or-equal), so the 120-byte line 43 is within budget.
  • id-lint. The rewritten lines add no # followed by three or more digits (「接管四件」, 「轮次记录」, 「安全席」 carry none); the ids remain in script headers outside the lint's corpus.
  • Content pins. No script reads seat-lifecycle.md's text (check-half-states.mjs, fleet-roster.mjs and mailbox-open.mjs cite it in comments only); the ratchet reads its count and widths. The clause 「派发口径失效」 dropped from line 38 to make room appears nowhere else in the corpus; its substance (a successor inherits no dispatch calibre from the predecessor) survives in the kept 「简报非继承裁决」, so no rule is lost, only its restatement.
  • Check-runs on d9e8647 (the gate verdicts): 45 total, all completed — 26 success, 19 skipped, 0 failure, 0 cancelled. Among the successes: Lint · PM dispatch-gates, Lint · repo & tooling gates, Lint · scoped · tooling self-tests, Lint · docs & code guards, Lint · CI, release & engine gates, Lint · scoped · slot lookup & corpus, Lint · ESLint, Lint & Repo Gates, TypeScript Type Check, Type Check · workspace / source gates / consumer gates / debt ledger, Test Core, Test Core (1/8), Test Core (2/8), Test UI, Dogfood Regression Gate, Check PR Size, Governed Surface Queue Guard, PR-body guards. The skipped rows are path-filtered UI, docs and opt-in jobs with no input on this diff; the ratchet, id-lint, recogniser self-test and check-handover self-test ride in the PM dispatch-gates and repo & tooling gates rows.

② Semver level

skip-changeset is correct: nothing published moves. The refreshed PR body still carries Clause-②: no and Metadata-protocol: none; the diff is governed rules text plus two unpublished scripts/pm/ files, so no narrowing arm and no further declaration is owed. On this head both Check Changeset rows concluded skipped (the skip-changeset label, a path-filtered run); the identical changeset state was success on 32a1b5f, and the delta commit touches no package, so the level is unchanged.

③ Boundary flags

  • Round-0 deviations 1 and 2 (the relay --session typo; origin/main drift 592845b → 74fd4bf) were answered in round 0 on the tree and stay answered: the delta commit adds no new deviation and the drift touched none of the five files.
  • Round-1 item declared not taken (triage.md line 16, the sweep population). The dev reports the narrowing to owned, non-Version PRs does not fit 120 bytes without dropping the idle reading. Judged acceptable: line 16 names the population only; line 17 knocks 「认领席」, so an item with no claiming seat (the Version Packages PR, an unowned PR) has no addressee and no knock fires; push ⑥ on lines 12–14 keeps its own exclusion list (待裁, Blocked-by:, status:parked, 栈阻者, 信箱, Version PR) for what triage pushes; and seat-lifecycle.md line 79 (「Version Packages PR 默认永不催」) still binds. The idle reading is the ruled text (amendment 2 item 1); the exclusion was a reviewer's minor, not an ordered line. Closed as accepted, no edit owed.
  • open_questions: none. Nothing escalated.
  • Governance. .claude/** is a Tier S path; this record is the Tier S review of record for d9e8647. The PR is a draft on the base repository.

④ Design judgment

Judged on the tree at d9e8647 against the card as amended and ruling A; the PR body's account was not relied on. The round-0 judgments on project-forms.md 〈信箱 PR〉, lanes/triage.md and the two keys stand unchanged (those files are byte-identical). The delta is judged below.

  • Should-fix 1 — closed. Line 38 now reads 「收班 = 状态 flush + 在飞 Release:+Resume-from: 回队待兄弟席、不等落地;简报非继承裁决」. The departing seat's act is the existing hand-back: Release: with Resume-from: back to pm:queue, where the card waits for the sibling. That is exactly the shape seat-post-protocol.md 收尾清单 step 2 spells (「同笔 Release:+Resume-from:+清 assignee 交回 pm:queue」) and the one check-handover.mjs (a) CLAIM UNRELEASED reads (a Release: carrying the departing session after its newest Claim:), so a seat following line 38 passes step 5 and cannot red at check-handover. The sibling is named as the next claimant, which is the maintainer's word 「下班席位的卡交给兄弟席」 kept whole: the destination is the sibling, the transit is the queue. Line 44's stay-behind exception (只写点名的已 ACCEPT 待队列或待人批 PR) is untouched and still matches check-handover's narrowed stay-behind.
  • Should-fix 2 — closed. Line 42 「下班席(seat-offline,或两敲 Request: progress 无答走接管四件)的在飞归同车道在线兄弟席」 routes the no-brief case through execution-duties.md's 接管 shape (「认领人不可达 ⇒ 接管:一条评论四件齐」: ① a cross-account Release: naming the withdrawn claim's id and session with 出处三件, ② the assignee swapped in the same stroke, ③ a new Claim: continuing the branch and sha, ④ the hand-over record), and line 43 「兄弟席 Resume-from: 引简报或轮次记录认领」 names what the sibling cites: the brief when the seat signed off, triage's round record (which lists the two unanswered knocks, triage.md line 17) when it did not. That is coherent end to end: the two unanswered knocks are the 「不可达」 trigger the ruling adds, the round record is the 出处 the takeover's ① requires, and C9's one red (a cross-account Claim: with no Release: at all) is avoided because the takeover writes the Release: itself. Triage still neither claims nor releases (triage.md lines 4 and 18); the release in the takeover is the sibling's act, as execution-duties already has it.
  • Line 43's other rewrites. 「无兄弟席「待席」」 keeps the no-online-sibling exception (the round record is where 「待席」 is written, triage.md line 17's 轮次记录); 「安全归安全席」 keeps security items with the security seat (security#1, lanes/security.md) in four characters instead of the login-shaped spelling; 「待裁先等字」 unchanged. All three exceptions of amendment 2 item 2 survive.
  • Should-fix 3 (ratchet comment) — closed. The seat-lifecycle row comment now attributes 「which names this file」 to amendment 6595840476 and describes the lines as landed (the queue transit kept, the round-record citation for the two-knock case).
  • Should-fix 3a (triage.md line 16) — accepted not taken, as judged in ③.
  • Attempts to break the delta. A seat that signs off with in-flight still at pm:dispatched and writes no Release: now contradicts line 38 as well as step 2 — the text no longer offers it a reading that skips the release. A sibling that takes a silent seat's card without a Release: hits C9 (真抢卡) as before; the text now tells it the four-item shape instead. The faster two-knock path (about 5 h from last progress) and the slower 24 h re-check → RECLAIM_AFTER_HOURS = 12 director release remain parallel and non-contradictory: the first is the sibling's takeover, the second the director's relay release, and neither is triage's act. No new gate, label or state.

Implemented-by: claude/project-thread-6q7l00
Reviewed-by: session_01WGufzhd2Ad9ANGTyAMW7pH

VERDICT: PASS

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

domain:skills#3 · os-support-ai · session_01WGufzhd2Ad9ANGTyAMW7pH

维护者速读

  • 改了什么:信箱新增一对键:Request: progress · #n · idle since TIME(分诊问认领席进度)和 Notify: progress · #n · record ID(席位回答)。「⛔ 不敲:催」改为限速:同一项每小时至多敲一次,回了 ETA 就等到 ETA;停放或等决策的不敲。分诊按「真实进展」判闲置(head 提交、非分诊评论、席位改标签),连续两次不答由在线兄弟席接手;收班的席位照旧 Release:+Resume-from: 回队,等兄弟席认领。
  • 为什么改:你在 [Decision] Mailbox progress knocks: may a seat knock another seat's mailbox to ask for progress on an idle item, and how often (project-forms.md L47 「⛔ 不敲:催」)? #29775 选了 A,并在两条修订里定了限速和下班交接。此前分诊只能在卡上留言催,卡片评论叫不醒任何人。
  • 风险与回滚:只改三份 pm-dispatch 规则文字和信箱键表脚本(含自测);不加门禁、标签或状态。三个文件的行数上限按裁决逐一上调(+3/+2/+2),并引了裁决编号。回滚即 revert 本 PR。
  • 先看:project-forms.md 信箱键与限速两行,lanes/triage.md 第 16-18 行,seat-lifecycle.md 第 38、42-43 行。
  • 两分钟验证:node scripts/pm/record-recognisers.mjs --mailbox-keys 列出 17 个键,含两条 progress;pnpm check:pm-skill-ratchet 绿。
  • 需要你做的:无。Tier S,席位按复审 PASS 落地。

席位意见:按裁决 A 和两条修订落地,两轮复审 PASS,同意落地。

席位核对 — ACCEPT · domain:skills#3 · head d9e8647f4f59db2fee1595c68dd43178f553c792

  • Shape: Fixes #29754; draft, base main, relay-opened, labels documentation, size/s, skip-changeset, no assignees. 5 files: references/lanes/triage.md, references/project-forms.md, references/seat-lifecycle.md, scripts/pm/record-recognisers.mjs, scripts/pm/check-skill-line-ratchet.mjs; mergeable_state clean.
  • Premise measured: the 15-key mailbox table had no progress key and 「⛔ 不敲:催」 banned the knock outright; [Decision] Mailbox progress knocks: may a seat knock another seat's mailbox to ask for progress on an idle item, and how often (project-forms.md L47 「⛔ 不敲:催」)? #29775 ruled A (record 6595514258), amendments 6595244387 and 6595840476 set the rate rule, the idle reading and the sibling hand-over.
  • Gates (check-runs at this head): 45 completed, 26 success and 19 expected skips, 0 failed, including Lint · PM dispatch-gates, Lint · repo & tooling gates, tooling self-tests and Governed Surface Queue Guard.
  • Contract review: r0 record 6600435419 (head 32a1b5f, PASS, should-fixes) and delta r1 record 6600776295 (head d9e8647, PASS, all closed), both Served-tier: CONTRACT_REVIEW_TIER, Local-runs: none.
  • Declarations: Clause-②: no, Metadata-protocol: none; nothing publishes, so skip-changeset.
  • Ceiling raises: triage.md 17→20, project-forms.md 56→58, seat-lifecycle.md 96→98, each by the measured delta of ruled text, each row quoting the ruling ids, as the ratchet's raise rule requires.
  • Accepted deviations: the reviewer's minor (exclude the Version Packages PR and unowned PRs from the triage sweep line) was not taken because it does not fit 120 bytes; the knock addresses the claiming seat, so those PRs get no knock, and push ⑥'s exclusions still govern. The relay pr_create session flag carried a one-character typo; the commit trailer, PR body and report carry the right session. The PR body was refreshed by the seat.
  • Out of scope: none.
  • Landing: check-governed-merges --pr 29887: Tier S (.claude/** + scripts/pm/** under Tier S surfaces). The seat readies it and arms auto-merge on the at-tier PASS.

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/s skip-changeset PR has no user-facing published change; bypasses the changeset gate

Projects

None yet

1 participant