Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .claude/skills/pm-dispatch/references/contract-review.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@
`~/.claude/projects/*/<id>.jsonl`;`verify-review-tier.mjs` 拒即重跑 ⛔ 不改档名。
- ④ 设计判断欠 schema、governed 规则文本、收窄三面:逐 `hits` 文件判改动对所引代码与
验收场景是否成立,ADR 另判首个消费者与执行计划;①–④ 合称完整复核,余面同形无 ④。
- 实质 head 各欠一轮完整复核,发现逐条定 must-fix/should-fix/nit(无碍正确性与契约);有前两级
才由同一复核者 delta 复核修复;仅 nit 即终轮,nit 记接受的偏差、转后续卡或只改散文面。
- 实质 head 各欠一轮完整复核,发现逐条定 must-fix/should-fix/nit(无碍正确性与契约);有前两级才
由同一复核者 delta 复核修复;仅 nit 即终轮,nit 记接受的偏差、转 PR 后续卡或只改散文面。
- 另记作者:PR `user.login` 非 `objectstack-fleet[bot]` ⇒ ③ 注点名该 login(脱中继写),落地前读。
- ③ 恒查(席位自读同):SQL 可下推处新增 id 物化或应用内 join 而无因由 ⇒ 记发现(AGENTS.md)。
- 简报从 `record-recognisers.mjs --brief-template` 起稿:只读条款与输入集内建,⛔ 不删 ⛔ 行。
Expand All @@ -48,13 +48,13 @@
- 卡线程隔离子代理照上落现 head 记录并贴简报 ⇒ 席核简报、`Scope:` 与独立性对后采纳,
ACCEPT 点名其评论 id;`Scope:` 窄于 `hits` 不采纳;席的补缺记录只管缺口,⛔ 不单充 head 记录。
- 轮次报告设复审清单专节,与呈裁清单同为强制审计。
- 请审/求批与落地前检两条,过则 Tier S 入队、Tier H 等人批:① 现 head 同形达档 PASS 在案。
- 请审/求批与落地前检两条,过则 S 入队、H 等人批:① 现 head 同形达档 PASS 在案,无前两级。
- head 后移例外:纯重生成或只动散文面原记录续管,落 `Regen-provenance:` 行;余移或现 head 落 FAIL
而已挂 auto-merge ⇒ 派发席读到即照 AGENTS.md disarm 句撤挂,FAIL 记录点名欠撤挂;重挂照 ①。
- ② PR check 全绿,⛔ 非 required 子集;例外:merge-base 同签名的红不计、按设计而红见 SKILL.md。
- 签名 = 失败步 + 首错行,读 base check runs 的 API ⛔ 不凭口述;主干红止血立单不变。
- 落地时仍欠复核的 PR 在落地 head 复审,复核席或车道席按 (a)(b)(c) 接;FAIL ⛔ 不修已关 PR。
- 每条 must-fix 引该记录立新卡、按发现定级;回退仅限主干红(p0,main-red 约定①)或安全边界。
- 每条 must-fix 引该记录立卡、按发现定级;回退仅限主干红(p0,main-red 约定①)或安全边界。

## 等复核标记 `needs:contract-review`

Expand Down
3 changes: 3 additions & 0 deletions .claude/skills/pm-dispatch/references/filing-gate.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@
- 「动手的读者」与 Acceptance notes 同一问:说得出具体 PR 或人 ⇒ 写进去,说不出 ⇒ 不立卡。
- 说不出的形态:`.changeset/*`、无人在改的文档页、生成物、已扫完的批次,兜底不成立。
- 配额:每 fire 不限张数,逐缺陷各立一张、各过本门;折清单卡可选、不强制;守批量写间隔。
- 例外:复核后续(nit、接受偏差、同车道 diff 外发现)每 PR 一卡 `review follow-ups of PR #N`逐项勾,
后轮追加 ⛔ 不另立;① 缺陷仍各立;p3 文案/文档 nit 入该区 `<area> loose ends` 卡,无则才立。
- 复核立卡前搜 open 卡 `PR #N` 与文件路径,同一发现追加;技能/ADR 文本卡照 `triage-duties.md`。
- 分诊席的存量清理仍走维护者确认的十张一组、只备下一组,⛔ 不因本门改批量。
- 读到 `User` ⇒ 记座位贴、本 fire ⛔ 不立新卡;认领仍靠 assignee,署名仍是文本的 session ID。

Expand Down
3 changes: 2 additions & 1 deletion .claude/skills/pm-dispatch/references/triage-duties.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
- 轮次记录按车道计欠审逾一轮的 head 数并点名车道(`check-owed-reviews.mjs`),只报 ⛔ 不接审。
- 每日看板与轮次记录列「待维护者」:当前里程碑已清的专题,注小结贴否;读数非门禁。
- 「待维护者」另逐张列 open `needs-user-decision` 与 `pm:awaiting-maintainer` 卡,注入态以来卡龄。
- 轮次记录每 3 小时报 24h 流量:卡新建/关闭/净增、合并 PR 数、open p1、引契约复核新卡数。
- 析取 ①全裸(无 `pm:*`/`needs-user-decision`/`domain:*`);② `pm:queue` 无 `domain:*`(仅多车道仓);
- ③ `domain:*` 无 pm-state;④ `pm:queue`+`domain:*` 无 `priority:*`;②③④ 只取 `updated_at` 早于 ~2min。
- 排除 `tracking`、`status:parked`、全部 `pm:seat` 贴、`qa-run` 记录。
Expand Down Expand Up @@ -70,7 +71,7 @@
- 跨层功能点(≥2 层)立父单带 `area:*`+`tracking`+清单项级,逐层子单按 `Blocked-by:` 排。
- 每张留一条英文审计评论(`Triage: lands in …; rationale: …`),可选带 `Size/model suggestion:` 行。
- 改作者可写面(种类非 `none` 或带 `(narrowing)`)的卡,首触 done-when 写 skills + docs + eval 三项。
- ADR/技能文本的携带注记 ⛔ 不挂实施卡:ADR 由落地席合并后立卡,余各立 `domain:skills` 卡。
- ADR/技能文本携带注记 ⛔ 不挂实施卡:ADR 由落地席合并后立卡,余每 PR 一 `domain:skills` 卡。
- 查重/shadow 检查先按文件/机制查本仓与姊妹仓 open 卡(含 `pm:dispatched`),再跟引用与关键词。
- 同文件同机制 = 同一发现,不分车道即并:证据搬先卡,后卡经中继 `issue_patch` 关 `duplicate`。
- 同族发现并入收口卡,不开单点卡;在飞(assignee/open PR)永不并,`Blocked-by:` 不派;完工查过期。
Expand Down
17 changes: 15 additions & 2 deletions scripts/pm/check-skill-line-ratchet.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -1445,7 +1445,13 @@ export const CEILINGS = new Map([
// Two lines: the awaiting-maintainer list with each card's age, and the five disjunctions run by
// `scripts/pm/first-touch-sweep.mjs`; the self-repair line took `+降 p3` in place. Measured delta
// +2; landed count, headroom 0.
['.claude/skills/pm-dispatch/references/triage-duties.md', 103],
// Raised 103 → 104 by the same ruling of record as filing-gate.md's 82
// (6891082225, letter B, 「b」): the 24h flow line in the round record (issues
// created, closed and net; PRs merged; open p1; new cards citing a contract
// review), which no rule text carried. The per-PR carve-out of the
// ADR/skills-text line changed in place. Measured delta +1; landed count,
// headroom 0.
['.claude/skills/pm-dispatch/references/triage-duties.md', 104],
// execution-duties.md, raised 183 → 185 by the split-off-card ruling — an
// ORDINARY raise, ⛔ not a cross-file move (card #23579). The text is two rule
// lines beside the derived-sub-issue rules in 〈候选与批次〉: a queued card found
Expand Down Expand Up @@ -1550,7 +1556,14 @@ export const CEILINGS = new Map([
// Under the 120-byte line cap they take 14 lines; the old focus-raise and
// reach-cap lines fold into rules 8 and 2 and are deleted, so the measured
// delta is +12. Not a CROSS_FILE_MOVES destination. Landed count, headroom 0.
['.claude/skills/pm-dispatch/references/filing-gate.md', 79],
// 79 → 82 (#33718): an ordinary ruled raise. The ruling of record is 6891082225
// (letter B, the maintainer's 「b」): keep the review default and change only
// the form review follow-ups take. Three lines: one checklist card per
// reviewed PR that later reviews append to, p3 copy and docs nits into the
// area's loose-ends card, and the dedupe search before a review files. The
// quota line (one card per defect) is untouched. Measured delta +3.
// Not a CROSS_FILE_MOVES destination. Landed count, headroom 0.
['.claude/skills/pm-dispatch/references/filing-gate.md', 82],
// The project layer above the seats (maintainer's word: ONE project form, the
// instruction line 「pm-dispatch <席位…>」 is the summon, seats are read from the
// seat posts' 🟢 line, takeover never waits for a walled account, mailbox PRs,
Expand Down
Loading