Repository navigation
docs(pm-dispatch): mailbox progress knocks — Request: progress / Notify: progress, one per item per hour, idle read off progress - #29887
Conversation
…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
|
domain:skills#3 · os-support-ai · session_01WGufzhd2Ad9ANGTyAMW7pH Contract reviewServed-tier: 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 ① Derived judgments
② Semver level
③ Boundary flags
④ Design judgmentJudged on the tree at 32a1b5f against the card as amended and ruling A; the PR body's account was not relied on.
Implemented-by: 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
|
domain:skills#3 · os-support-ai · session_01WGufzhd2Ad9ANGTyAMW7pH Contract reviewServed-tier: 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 ① Derived judgments
② Semver level
③ Boundary flags
④ Design judgmentJudged 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.
Implemented-by: VERDICT: PASS |
|
domain:skills#3 · os-support-ai · session_01WGufzhd2Ad9ANGTyAMW7pH 维护者速读
席位意见:按裁决 A 和两条修订落地,两轮复审 PASS,同意落地。 席位核对 — ACCEPT · domain:skills#3 · head
|
Requested by Yibo Wang · project thread
Fixes #29754
Clause-②: no
Metadata-protocol: none
Rules text plus the mailbox reader. Two mailbox keys join
MAILBOX_KEYSinscripts/pm/record-recognisers.mjs, three pm-dispatch reference files carry the ruled text, and threeCEILINGSrows 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 归同车道在线兄弟席,分诊只敲兄弟席一次、不代为释放。下班席的在飞同样交兄弟席。.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 字节)。.claude/**+scripts/pm/**)。What changes
scripts/pm/record-recognisers.mjs— the two keys and their self-test rowsMAILBOX_KEYSgainsrequest:progress(templateRequest: progress · #n · idle since TIME; from triage to the claiming seat, or to the online sibling an off-shift seat's items went to) andnotify:progress(templateNotify: progress · #n · record ID; from the claiming seat to triage). Thewhenrows carry the rate (one per item per 60 min), the holds (an answered ETA; parkedBlocked-by:/Resume-from:; a decision-card wait), the idle reading (progress, neverupdated_at) and the escalation (two unanswered ⇒ round record, seat read as possibly down), so--mailbox-keysprints the whole rule beside the spelling.MAILBOX_FIELD_READERS:request:progressreads the item (#n, bare, as a card OR a PR —PR #ndoes not read) andidle since TIMEwithTIMEaZtime inCLAIM_TIME's spelling (2026-11-03T00:06Z, seconds optional);notify:progressreads the item andrecord IDthrough the existingRECORD_REF. Both returnitem, 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".⭐row per key (the fixture reads; the placeholderTIME, a duration, a date without a time, a local-offset time,PR #n, a missing field and a fourth field areunreadablewithdoes not spell;record none,record ID, an ETA in place of a record and a trailing field areunreadable). 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-keysprints exactlymailboxKeyLines(), and every key of the table is named as a code span in 〈信箱 PR〉 and that section names no other key.MAILBOX_KEYSdoc 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)The key row names both keys as
Kind: keycode spans (the self-test pins the section against the table in both directions). The record/rate line is amendment 1's rule: what aNotify: progressrecord 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)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_atand 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 inseat-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)Amendment 2 item 2 (「同意:下班席位的卡交给兄弟席」): the sign-off line keeps the transit
check-handover.mjs(a) andseat-post-protocol.md收尾 step 2 read — the departing seat releases its in-flight withRelease:+Resume-from:back topm: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 throughexecution-duties.md's existing 接管四件 shape), what the sibling cites in itsResume-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 deltasThe 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.
references/project-forms.mdreferences/lanes/triage.mdreferences/seat-lifecycle.mdNone of the three is a
CROSS_FILE_MOVESdestination, so noruledRaisesrecord 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-teston the final head: ✓ 362 cases pass (360 before; the two new⭐ progressrows). Run again throughpnpm check:pm-record-recognisers(this file's own suite pluscheck-owed-reviews,mailbox-open,fleet-rosterself-tests), which is also in the derived gate list below.Acceptance notes
Request: progressreads a bare#nfor a PR too (the card's "item"), matchingserial/landedrather thancontract-review'sPR #n;idle sincetakes aZtime only (the spelling everyClaim:/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".lanes/triage.mdline 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'sCEILINGScomments (a script header, outside the lint's corpus); the three rule files cite none.cmsg_01BVUyyPie8gHwoPM18iABwBC6GLUUzuNXWcdKZZCu8ixr.Verification
Round 0 readings on 32a1b5f (= 7447169, the one change commit, merged with
origin/main592845b; 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-keysprints the 17-key table with bothprogresstemplates 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/objectstackderived 38 commands for the five changed paths (merge base 592845b, three-dot); each run serially from a runner script afterturbo run build --filter=@objectstack/formula --filter=@objectstack/lintunderos-verify-lock.sh(VERDICT command-exit 0, 101 s held) forcheck:doc-formula-expressions's dist; exit codes captured before any pipe intoCMD :: exit Nlines; then--ran: 38 derived, 38 run, 0 NOT-MEASURED, 0 UNRUN, exit 0. Every one of the 38 exited 0, among thempnpm 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.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.
packages/specholds no runtime logic. (not touched)IDLE_SINCE_REF,request:progress,notify:progressfollow their neighbours)pnpm lintis CI's run (repo-level scan).main, one pull request..claude/**andscripts/pm/**are not published:skip-changeset)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_01WGufzf7EDaUFBmJTyLuKbj