Skip to content

Commit ef01ed6

Browse files
pm-dispatch: five review wording nits in three references (objectstack-ai#33939)
<!-- claude-projects-attribution: {"github_login":"os-steve"} --> _Requested by **Steve** · [project thread](https://claude.ai/code/project/chan_01FdL1XeUyvVNxLreh3F4Qi9?thread=cmsg_01FdL1XeUyvVNxLreh3F4Qi9W4ZNFSqwVgp5qMMfFx2WyN)_ Fixes objectstack-ai#33749 domain:skills#1 · os-steve · session_01ADHkmRCNBwQpANmcFekd9x Clause-②: no Metadata-protocol: none ## 维护者速读 - 改了什么:三份 pm-dispatch 参考文件里五处复审遗留的措辞小问题,全部原地改,行数不变(63/104/82)。 - 为什么改:PR objectstack-ai#33731 复审记下的五个 nit;不改会让席位读错 nit 去向、落地前检是否认后续记录、24h 流量的时点和 ADR/技能文本卡按什么单位立。 - 风险与回滚:只动三行规则文字的措辞,无代码、门禁或棘轮上限变化;回滚即还原本 PR。 - 先看:`references/triage-duties.md` 第 74 行(谁立卡不变,只补单位:每个实施 PR 一张);`references/contract-review.md` 第 51 行;第 41-42 行。 - 两分钟验证:`node scripts/pm/check-skill-line-ratchet.mjs`,预期全部 ✓,三个文件行数等于上限且无超过 120 字节的行。 - 需要你做的:无,席位落地(Tier S)。 ## What changes Five nits in six in-place line edits, 0 net lines (+6 / -6), every touched line at or under 120 bytes. Each item is the card's, verbatim line re-read on `origin/main` 895783a. - **N2, `contract-review.md` L41-42.** The nit route now points at the filing rule: 「转后续卡(`filing-gate.md`)」. Bytes paid in the same bullet: 「同一复核者」 to 「原复核者」 (the spelling `lanes/review.md` already uses for the delta reviewer), 「delta 复核修复」 to 「delta 复核」, the repeated subject 「nit 」 after 「仅 nit 即终轮,」 dropped, and 「(无碍正确性与契约)」 to 「(无碍正确与契约)」, which lets 「由」 move up to L41. 「只改散文面」 is kept. 「PR 后续卡」 lost its 「PR」: the card title lives in `filing-gate.md` now pointed at. - **N5, `filing-gate.md` L35.** 「接受偏差」 back to 「接受的偏差」, the spelling of `contract-review.md` L42 and of the ACCEPT checklist in `SKILL.md` (核对六项 … 接受的偏差). The title code span is now separated from 「逐项勾」 by a space. Paid in place: the three 「、」 inside the parenthesis became `/` (the file's own sub-list separator, as in 「文案/文档」). - **N6, `contract-review.md` L51.** Pre-check ① now reads 「现 head 末条同形达档 PASS,无未闭前两级」: the LATEST record on the head governs, and a finding it records as closed no longer counts. That is what the queue guard does (`check-governed-queue-guard.mjs`: a later same-head delta record that closes the findings clears; one that raises a new should-fix refuses though an older clean PASS stands). Paid in place: 「两条」 (the ① ② that follow count them) and 「在案」 (「末条」 takes its place). - **N3, `triage-duties.md` L16.** 「每 3 小时」 now names its clock: 「UTC 3 倍数时的轮次记录」, the rounds whose UTC hour is divisible by 3. That keeps the 3-hour cadence and judges by fire time, as L9 of the same file does for tiers (never by a counter). Paid in place: the list's three 「、」 became `,`. - **N4, `triage-duties.md` L74.** Now 「ADR/技能文本携带注记 ⛔ 不挂实施卡,每实施 PR 一 `domain:skills` 卡;ADR 由落地席合并后立。」 Who files stays as on `main`: the skills-text card is triage's at first touch (`lanes/skills.md` 「分诊首触即立本域子卡」), the ADR card the landing seat's after the merge (`execution-duties.md`). Only the unit is added: one card per implementation PR, for both halves. The PR need not exist yet; the card is named by the PR it will follow. ## Tests No test changes; no script, workflow or package is touched. ## Acceptance notes - **Review round 1 (record 6896322254, FAIL with M1):** M1 fixed by the record's fix (a), the seat's ruling: L74 keeps `main`'s actors and only gains the per-PR unit for both halves. Moving the skills-text card's filer would need a decision card, which this nit card does not carry. Nits Na (restore 「只」) and Nb (name the clock in L16) taken, both in place. - **N2 compression:** none of the dropped words carries a rule. 「修复」: the delta review is of the fix by definition (`lanes/review.md` 「delta 复审归原复核者」). 「正确性」 to 「正确」 keeps the nit definition's meaning (no harm to correctness or contract). - `grep` over `scripts/`, `.claude/`, `.github/`, `docs/` and `AGENTS.md` for every replaced phrase (「无前两级」, 「复核修复」, 「同一复核者」, 「PR 后续卡」, 「接受偏差」, 「逐项勾」, 「每 3 小时」, 「只改散文面」, 「前检两条」) finds no pin outside the three files. - Serial: objectstack-ai#33716 and objectstack-ai#33601 also edit `contract-review.md` and wait for this PR. ## Verification All on head `c448de7a`, derived with `node scripts/pm/dispatch-gates.mjs --commands --repo objectstack-ai/objectstack` (20 families, no paths passed). <details><summary>Derived gates: 20 run, 20 exit 0; reconciliation</summary> - `pnpm check:pm-skill-ratchet`: exit 0 (contract-review.md 63/63, triage-duties.md 104/104, filing-gate.md 82/82, no line over 120 bytes; touched lines 120, 118, 119, 120, 120, 119) - `pnpm check:pm-skill-id-lint`: exit 0 (115 files clean) - `pnpm check:skill-frame-sync`, `pnpm check:pm-record-recognisers`, `pnpm check:pm-half-states`, `pnpm check:pm-governed-merges`, `pnpm check:pm-label-write`: exit 0 - `pnpm check:doc-authoring`, `pnpm check:nul-bytes`, `pnpm check:agent-test-spelling`, `pnpm check:cross-package-test-inputs`, `pnpm check:driver-memory-census`, `pnpm check:gitlink-declared`, `pnpm check:refd-timer-probe`, `pnpm check:watch-hint-literal`: exit 0 - `node scripts/check-closing-keyword-parity.mjs` and `--self-test`, `node scripts/check-comment-mask-corpus.mjs`, `node scripts/pm/check-harness-current.mjs --self-test`: exit 0 - `pnpm --filter @objectstack/lint run check:doc-formula-expressions`: exit 0, after `turbo run build --filter=@objectstack/formula --filter=@objectstack/lint` under the verify lock (VERDICT command-exit 0) - `dispatch-gates --ran`: 20 derived families accounted for, 20 run, 0 NOT-MEASURED (a derived zero: all 20 recorded an exit code) </details> --- _Generated by [Claude Code](https://claude.ai/code/session_01ADHkmRCNBwQpANmcFekd9x)_ <!-- signed: domain:skills#1 · os-steve · session_01ADHkmPd7uRqHauEehGPr19 --> --------- Co-authored-by: Claude <noreply@anthropic.com>
1 parent 7d42ba0 commit ef01ed6

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

‎.claude/skills/pm-dispatch/references/contract-review.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@
3838
`~/.claude/projects/*/<id>.jsonl`;`verify-review-tier.mjs` 拒即重跑 ⛔ 不改档名。
3939
- ④ 设计判断欠 schema、governed 规则文本、收窄三面:逐 `hits` 文件判改动对所引代码与
4040
验收场景是否成立,ADR 另判首个消费者与执行计划;①–④ 合称完整复核,余面同形无 ④。
41-
- 实质 head 各欠一轮完整复核,发现逐条定 must-fix/should-fix/nit(无碍正确性与契约);有前两级才
42-
由同一复核者 delta 复核修复;仅 nit 即终轮,nit 记接受的偏差、转 PR 后续卡或只改散文面。
41+
- 实质 head 各欠一轮完整复核,发现逐条定 must-fix/should-fix/nit(无碍正确与契约);有前两级才由
42+
原复核者 delta 复核;仅 nit 即终轮,记接受的偏差、转后续卡(`filing-gate.md`)或只改散文面。
4343
- 另记作者:PR `user.login` 非 `objectstack-fleet[bot]` ⇒ ③ 注点名该 login(脱中继写),落地前读。
4444
- ③ 恒查(席位自读同):SQL 可下推处新增 id 物化或应用内 join 而无因由 ⇒ 记发现(AGENTS.md)。
4545
- 简报从 `record-recognisers.mjs --brief-template` 起稿:只读条款与输入集内建,⛔ 不删 ⛔ 行。
@@ -48,7 +48,7 @@
4848
- 卡线程隔离子代理照上落现 head 记录并贴简报 ⇒ 席核简报、`Scope:` 与独立性对后采纳,
4949
ACCEPT 点名其评论 id;`Scope:` 窄于 `hits` 不采纳;席的补缺记录只管缺口,⛔ 不单充 head 记录。
5050
- 轮次报告设复审清单专节,与呈裁清单同为强制审计。
51-
- 请审/求批与落地前检两条,过则 S 入队、H 等人批:① 现 head 同形达档 PASS 在案,无前两级。
51+
- 请审/求批与落地前检,过则 S 入队、H 等人批:① 现 head 末条同形达档 PASS,无未闭前两级。
5252
- head 后移例外:纯重生成或只动散文面原记录续管,落 `Regen-provenance:` 行;余移或现 head 落 FAIL
5353
而已挂 auto-merge ⇒ 派发席读到即照 AGENTS.md disarm 句撤挂,FAIL 记录点名欠撤挂;重挂照 ①。
5454
- ② PR check 全绿,⛔ 非 required 子集;例外:merge-base 同签名的红不计、按设计而红见 SKILL.md。

‎.claude/skills/pm-dispatch/references/filing-gate.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
- 「动手的读者」与 Acceptance notes 同一问:说得出具体 PR 或人 ⇒ 写进去,说不出 ⇒ 不立卡。
3333
- 说不出的形态:`.changeset/*`、无人在改的文档页、生成物、已扫完的批次,兜底不成立。
3434
- 配额:每 fire 不限张数,逐缺陷各立一张、各过本门;折清单卡可选、不强制;守批量写间隔。
35-
- 例外:复核后续(nit、接受偏差、同车道 diff 外发现)每 PR 一卡 `review follow-ups of PR #N`逐项勾,
35+
- 例外:复核后续(nit/接受的偏差/同车道 diff 外发现)每 PR 一卡 `review follow-ups of PR #N` 逐项勾,
3636
后轮追加 ⛔ 不另立;① 缺陷仍各立;p3 文案/文档 nit 入该区 `<area> loose ends` 卡,无则才立。
3737
- 复核立卡前搜 open 卡 `PR #N` 与文件路径,同一发现追加;技能/ADR 文本卡照 `triage-duties.md`。
3838
- 分诊席的存量清理仍走维护者确认的十张一组、只备下一组,⛔ 不因本门改批量。

‎.claude/skills/pm-dispatch/references/triage-duties.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
- 轮次记录按车道计欠审逾一轮的 head 数并点名车道(`check-owed-reviews.mjs`),只报 ⛔ 不接审。
1414
- 每日看板与轮次记录列「待维护者」:当前里程碑已清的专题,注小结贴否;读数非门禁。
1515
- 「待维护者」另逐张列 open `needs-user-decision` 与 `pm:awaiting-maintainer` 卡,注入态以来卡龄。
16-
- 轮次记录每 3 小时报 24h 流量:卡新建/关闭/净增、合并 PR 数、open p1、引契约复核新卡数。
16+
- UTC 3 倍数时的轮次记录报 24h 流量:卡新建/关闭/净增,合并 PR 数,open p1,引契约复核新卡数。
1717
- 析取 ①全裸(无 `pm:*`/`needs-user-decision`/`domain:*`);② `pm:queue` 无 `domain:*`(仅多车道仓);
1818
- ③ `domain:*` 无 pm-state;④ `pm:queue`+`domain:*` 无 `priority:*`;②③④ 只取 `updated_at` 早于 ~2min。
1919
- 排除 `tracking`、`status:parked`、全部 `pm:seat` 贴、`qa-run` 记录。
@@ -71,7 +71,7 @@
7171
- 跨层功能点(≥2 层)立父单带 `area:*`+`tracking`+清单项级,逐层子单按 `Blocked-by:` 排。
7272
- 每张留一条英文审计评论(`Triage: lands in …; rationale: …`),可选带 `Size/model suggestion:` 行。
7373
- 改作者可写面(种类非 `none` 或带 `(narrowing)`)的卡,首触 done-when 写 skills + docs + eval 三项。
74-
- ADR/技能文本携带注记 ⛔ 不挂实施卡:ADR 由落地席合并后立卡,余每 PR 一 `domain:skills` 卡。
74+
- ADR/技能文本携带注记 ⛔ 不挂实施卡,每实施 PR 一 `domain:skills` 卡;ADR 由落地席合并后立。
7575
- 查重/shadow 检查先按文件/机制查本仓与姊妹仓 open 卡(含 `pm:dispatched`),再跟引用与关键词。
7676
- 同文件同机制 = 同一发现,不分车道即并:证据搬先卡,后卡经中继 `issue_patch` 关 `duplicate`。
7777
- 同族发现并入收口卡,不开单点卡;在飞(assignee/open PR)永不并,`Blocked-by:` 不派;完工查过期。

0 commit comments

Comments
 (0)