Skip to content

Commit e92c991

Browse files
committed
wip: pointers, ratchet rows
Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QsR2jSQkebczqNyjnNrLRH
1 parent 538c199 commit e92c991

4 files changed

Lines changed: 19 additions & 19 deletions

File tree

‎.claude/agents/os-dev.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,7 @@ model: opus
358358
- 派发词标只读读数 ⇒ 不 commit、不开 PR,`status: "reading"` 贴决策卡;要实测才建闭包跑测。
359359
- 框架唯一副本在 pm-dispatch SKILL.md 〈升级与决策〉;派发词逐字粘贴,dev ⛔ 不留副本。
360360
- 每个方案逐轴分析,推荐也按那些轴给理由;派发词没带,停下向 PM 索取,⛔ 不自拟一套轴。
361-
- 卡线程或区:派发令缺档位或 effort 的推导 ⇒ 不开工,退回席位;⛔ 不凭记忆补档位。
361+
- 线程或区:派发令缺档位/effort 推导 ⇒ 退回席位不开工;取值照 `execution-duties.md`,⛔ 不凭记忆。
362362
- `main` 碎了、依赖未合并、CI 基础设施故障 ⇒ 报 `blocked` 附证据,重试到排除你的改动。
363363
- 报 `blocked` 须写明卡的哪部分不等阻塞可先做;只挡一部分 ⇒ 席位把等待部分拆成单卡。
364364

‎.claude/skills/pm-dispatch/SKILL.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ PM 的工作是循环:选卡 → 认领 → 派发 → 收集 → L1 审核 →
105105
- 席位及其子代理 ⛔ 永不打印环境变量的值;判存在只用不印值的形式 `[ -n "${X+x}" ]`。
106106
- GitHub 上一切新内容用英文;中文只留三通道(维护者速读、轮报、裁决引文)。
107107
- 四维分析写英文、归分析段,只管新记录;存量中文 ⛔ 不追溯改写。
108-
- 档位与 effort 的取值只住 `references/execution-duties.md` 定档节,⛔ 他处不写。
108+
- 档位与 effort 只住 `references/execution-duties.md` 定档节,⛔ 他处不写。
109109

110110
## 状态模型
111111

@@ -277,7 +277,7 @@ PM 的工作是循环:选卡 → 认领 → 派发 → 收集 → L1 审核 →
277277
- 卡先于弹窗:需裁决先落 `needs-user-decision` 卡;列选项等答的聊天即弹窗;⛔ 不 assign 推送。
278278
- 决策卡带选项、推荐、证据、四棱块与工作量列;受阻执行卡同笔挂 `pm:blocked`+`Blocked-by:`。
279279
- 需人工裁先过决策线程:卡入决策箱、放认领,席位请协调者开线程,裁决由席位录卡。
280-
- ⛔ 席位、分诊与 dev 不在自己会话直接问维护者,简单问题的例外与细则见 `references/decision-analysis.md`。
280+
- ⛔ 席位、分诊与 dev 不在自己会话直接问维护者;简单问题例外(免卡直问)与细则见 `references/decision-analysis.md`。
281281
- 推送维护者:受管 PR 待批合、决策卡待字、发版、仅其可解之阻 ⇒ 另发 `PushNotification`。
282282
- 一行 ≤200 字,先写动作与编号;每项恰一次,例行进展、刚问刚答与在场即见的不推。
283283
- 总监席档位每场记入摘要台账。
@@ -316,7 +316,7 @@ Worktree: `<repo>-issue-<n>`
316316
Domain: `domain:<x>`
317317
Seat: `domain:<x>#<n>` (the seat number this PM sits on; absent = seat 1)
318318
File surface: `<预期触碰的目录>` (stop on breach; explain in the report)
319-
Container & model: `<S 级机械卡 / M / L>`, `mode:subagent | mode:cloud | mode:thread`, `model: <档位词,引当次 --tier 输出;天花板拼 CONTRACT_REVIEW_TIER,同行引其 MANDATORY 路径行或 reason:(逐卡裁决,或常设档位令的 id 与时刻);⛔ 不抄模型 id>`, `effort: <medium | high,按卡难度定;xhigh 仅 ADR 修订;安全修复写 high,其对抗复核的值只传子代理>`
319+
Container & model: `<S 级机械卡 / M / L>`, `mode:subagent | mode:cloud | mode:thread`, `model: <档位词,引当次 --tier 输出;天花板拼 CONTRACT_REVIEW_TIER,同行引其 MANDATORY 路径行或 reason:(逐卡裁决,或常设档位令的 id 与时刻);⛔ 不抄模型 id>`, `effort: <medium | high,按卡难度定;xhigh 仅 ADR 修订;安全修复写 high,对抗复核的值只传子代理>`
320320
Clause-②: yes | no
321321
Metadata-protocol: added | narrowed | semantic | none (the kind of change to what a metadata author can write; levels: AGENTS.md's Post-Task Checklist step 3; the dev copies it beside `Clause-②:` into the PR body and each changeset body; a kind other than `none` or a `(narrowing)` arm owes the PR body a third line, from the diff: `Skills-docs: updated here | follow-up owed — FILES | follow-up #N | none — REASON`; `updated here` = the diff teaches it in the docs (in `skills/**` only on `domain:skills` PRs, else `follow-up #N`) and its evals exercise it; the seat files the owed card, rewriting `owed — FILES` to `#N` before ACCEPT via `references/seat-post-protocol.md`'s PR-body line)
322322
Responsibility: `<whose code produces the risk, and the repo it lives in (objectstack ⇒ a platform card carries the fix, references/cross-repo-coordination.md rule 1) | the platform path that already covers it, or none | who reaches it, and whether anyone uses it today>` (defect cards and cards whose premise is a failing behaviour, else `n/a — not a defect card`; the dispatch prompt's ruling section repeats the three answers)

‎.claude/skills/pm-dispatch/references/dispatch-runbook.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,11 +119,11 @@
119119

120120
- 席位会话是项目线程(载 coordinator 通道工具)⇒ M 卡有合适区进区,无则一卡一线程;p1、`security` 只定先后,⛔ 单凭它们不开线程。
121121
- 大卡同上,先于下行,分区亦然,修复轮随卡;大卡 = L/XL,或欠全量验证(`!` 标题或 narrowing 臂),
122-
或改契约:`Clause-②: yes`、`Metadata-protocol` 非 `none`、非测试的 `packages/spec/src/**` 路径。
122+
或改契约:`Clause-②: yes`、`Metadata-protocol` 非 `none`、非测试的 `packages/spec/src/**` 路径;三者只定开不开线程,⛔ 不定档位。
123123
- S 级机械卡留席内或进区 `mode:subagent`:开线程要重新克隆、重读 `os-dev.md`,起步成本不值。
124124
- 披露纪律卡(私密细节不得离开席位会话)也留席内,认领写明。
125125
- coordinator 调度卡线程(即 dev),候选与槽位照 `coordinator.md` 三;交回即告知它,REWORK 再占槽。
126-
- 档位与 effort 席位照 `execution-duties.md` 定档节自推导 ⛔ 不等维护者原话;大卡判据只定开不开线程,⛔ 不定档位。
126+
- 档位与 effort 席位照 `execution-duties.md` 定档节自推导 ⛔ 不等维护者原话。
127127
- 派发令写两者与推导(档位引 `--tier` 行,effort 引难度读数),协调者照令开线程;常设原话有则作 `reason:`。
128128
- 席位留认领/派发令/ACCEPT/落地/L2 采纳或补缺;线程自己实施、开 draft PR、驱动 CI 与可合并,⛔ 不起 `os-dev` 子代理。
129129
- p1 卡交回且欠 L2 ⇒ L1 线程并行起 L1 与隔离 L2(`contract-review.md`),两份意见同回席。

‎scripts/pm/check-skill-line-ratchet.mjs‎

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -82,10 +82,10 @@ const REPO_ROOT = new URL('../../', import.meta.url);
8282
// only when a reader needs the ruling at the row.
8383
export const CEILINGS = new Map([
8484
['.claude/skills/pm-dispatch/SKILL.md', 33872], // lowered 33934 → 33872 by the re-basing PR's own edit
85-
['.claude/skills/pm-dispatch/references/dispatch-runbook.md', 20070],
85+
['.claude/skills/pm-dispatch/references/dispatch-runbook.md', 20058],
8686
['.claude/skills/pm-dispatch/references/state-machine.md', 4189],
8787
['.claude/skills/pm-dispatch/references/contract-review.md', 6419],
88-
['.claude/skills/pm-dispatch/references/decision-analysis.md', 4892],
88+
['.claude/skills/pm-dispatch/references/decision-analysis.md', 5024], // raised 4892 → 5024 (+132) by ruling record 7076338827, the addendum to 7076315104 (a simple question goes to the maintainer in chat after the at-tier analysis: 「先由 Fable 分析,但是不一定要写成文件吧?简单的问题是不是直接和我沟通就可以」)
8989
['.claude/skills/pm-dispatch/references/platform-readings.md', 1082],
9090
['.claude/skills/pm-dispatch/references/readings-queue.md', 9074],
9191
['.claude/skills/pm-dispatch/references/readings-channels.md', 7138],
@@ -95,7 +95,7 @@ export const CEILINGS = new Map([
9595
['.claude/skills/pm-dispatch/references/readings-write-shapes.md', 8410],
9696
['.claude/skills/pm-dispatch/references/readings-ci.md', 4900],
9797
['.claude/skills/pm-dispatch/references/readings-shell.md', 2492],
98-
['.claude/skills/pm-dispatch/references/readings-session.md', 4874],
98+
['.claude/skills/pm-dispatch/references/readings-session.md', 4828],
9999
['.claude/skills/pm-dispatch/references/rest-channel.md', 7698],
100100
['.claude/skills/pm-dispatch/references/l1-review-checklist.md', 6875],
101101
['.claude/skills/pm-dispatch/references/review-checklist.md', 79],
@@ -104,38 +104,38 @@ export const CEILINGS = new Map([
104104
['.claude/skills/pm-dispatch/references/seat-post-protocol.md', 7720],
105105
['.claude/skills/pm-dispatch/references/true-green.md', 2068],
106106
['.claude/skills/pm-dispatch/references/compile-surfaces.md', 2488],
107-
['.claude/skills/pm-dispatch/references/seat-lifecycle.md', 9070],
107+
['.claude/skills/pm-dispatch/references/seat-lifecycle.md', 9064],
108108
['.claude/skills/pm-dispatch/references/area-lease.md', 6586], // raised 6401 → 6586 by the ruled text (one seat per lane by default; a new `area:*` is a partition of that seat), ruling record 7030459053
109-
['.claude/skills/pm-dispatch/references/coordinator.md', 4265], // raised 3781 → 4265 by the ruled text (one seat per lane by default; a new `area:*` is a partition of that seat), ruling record 7030459053
109+
['.claude/skills/pm-dispatch/references/coordinator.md', 4230], // raised 3781 → 4265 by the ruled text (one seat per lane by default; a new `area:*` is a partition of that seat), ruling record 7030459053
110110
['.claude/skills/pm-dispatch/references/untrusted-text.md', 3280],
111111
['.claude/skills/pm-dispatch/references/security-findings.md', 3934],
112112
['.claude/skills/pm-dispatch/references/external-contributions.md', 2006],
113113
['.claude/skills/pm-dispatch/references/reading-discipline.md', 3822],
114114
['.claude/skills/pm-dispatch/references/cross-repo-coordination.md', 4959],
115-
['.claude/skills/pm-dispatch/references/triage-duties.md', 13559], // edited byte-neutral by the re-basing PR (12399 → 12399); raised 12399 → 13559 (+1160, the landed bytes) by the rulings whose rows are written in it: ruling records 7031931263 (rows 2–5: 「adr接受你的建议」, 「只考虑合并没人认领的,没开始开发的,你负责处理」, 「影响评测的卡不能关,这个会影响到AI的开发效果」, 「adr和skills修改相对是重要的」), 7032145340 (row 6: 「同意」) and 7032418455 (row 7: 「你分诊的时候是不是应该同时评估大概的卡大小作为参考」); review record 7038100802 triggered the part of rows 2, 3 and 6 added in fix round 1 (one close reason, the sweep roll-over, the never-fold list of standing exclusions) and is a trigger, not a ruling
116-
['.claude/skills/pm-dispatch/references/execution-duties.md', 20154], // raised 19810 → 20148 (+338) by ruling records 7031931263 (row 2, the weekly ADR card: 「adr接受你的建议」) and 7032145340 (row 6, the lane seat claims the weekly sweep card: 「同意」); 20148 → 20154 (+6) by ruling record 7073679594 (the L2 review effort line moves to `high` on the review sweep's readings: 「C」, under ruling 7073045669 point 4)
117-
['.claude/skills/pm-dispatch/references/filing-gate.md', 9096], // raised 8386 → 9096 (+710, the landed bytes) by the rulings whose rows are written in it: the rule card's body ruling (row 1, a dedupe hit on an open same-mechanism card ends in a comment: 「感觉你的第二种方案也很好啊」) and ruling record 7032145340 (row 6, the weekly sweep card entry rule and triage's move at first touch: 「同意」); review record 7038100802 triggered the quota line's pointer to row 1 (fix round 1) and is a trigger, not a ruling
115+
['.claude/skills/pm-dispatch/references/triage-duties.md', 13556], // edited byte-neutral by the re-basing PR (12399 → 12399); raised 12399 → 13559 (+1160, the landed bytes) by the rulings whose rows are written in it: ruling records 7031931263 (rows 2–5: 「adr接受你的建议」, 「只考虑合并没人认领的,没开始开发的,你负责处理」, 「影响评测的卡不能关,这个会影响到AI的开发效果」, 「adr和skills修改相对是重要的」), 7032145340 (row 6: 「同意」) and 7032418455 (row 7: 「你分诊的时候是不是应该同时评估大概的卡大小作为参考」); review record 7038100802 triggered the part of rows 2, 3 and 6 added in fix round 1 (one close reason, the sweep roll-over, the never-fold list of standing exclusions) and is a trigger, not a ruling
116+
['.claude/skills/pm-dispatch/references/execution-duties.md', 22035], // raised 19810 → 20148 (+338) by ruling records 7031931263 (row 2, the weekly ADR card: 「adr接受你的建议」) and 7032145340 (row 6, the lane seat claims the weekly sweep card: 「同意」); 20148 → 20154 (+6) by ruling record 7073679594 (the L2 review effort line moves to `high` on the review sweep's readings: 「C」, under ruling 7073045669 point 4); 20154 → 22035 (+1881) by ruling record 7076315104 (the one home for tier and effort, the 定档 section: 「要把规则文字同统一整理一下,避免散落在各处,避免ai犯错」)
117+
['.claude/skills/pm-dispatch/references/filing-gate.md', 9084], // raised 8386 → 9096 (+710, the landed bytes) by the rulings whose rows are written in it: the rule card's body ruling (row 1, a dedupe hit on an open same-mechanism card ends in a comment: 「感觉你的第二种方案也很好啊」) and ruling record 7032145340 (row 6, the weekly sweep card entry rule and triage's move at first touch: 「同意」); review record 7038100802 triggered the quota line's pointer to row 1 (fix round 1) and is a trigger, not a ruling
118118
['.claude/skills/pm-dispatch/references/project-forms.md', 4889], // raised 4669 → 4889 (+220 B, the two project-memory lines less 48 B of restatement cuts) by ruling record 7046610679 「同意,立卡派发」 under ruling record 6184799323, letter B
119119
['.claude/skills/pm-dispatch/references/app-platform-boundary.md', 3928],
120-
['.claude/skills/pm-dispatch/references/lanes/server.md', 4832],
120+
['.claude/skills/pm-dispatch/references/lanes/server.md', 4830],
121121
['.claude/skills/pm-dispatch/references/lanes/devx.md', 2533],
122-
['.claude/skills/pm-dispatch/references/lanes/skills.md', 2666], // lowered 2682 → 2666 by the re-basing PR's own edit
122+
['.claude/skills/pm-dispatch/references/lanes/skills.md', 2656], // lowered 2682 → 2666 by the re-basing PR's own edit
123123
['.claude/skills/pm-dispatch/references/lanes/spec.md', 3299],
124124
['.claude/skills/pm-dispatch/references/lanes/ui.md', 1041],
125125
['.claude/skills/pm-dispatch/references/lanes/hotcrm.md', 1320],
126126
['.claude/skills/pm-dispatch/references/lanes/mobile.md', 3990],
127-
['.claude/skills/pm-dispatch/references/lanes/security.md', 4196],
127+
['.claude/skills/pm-dispatch/references/lanes/security.md', 4194],
128128
['.claude/skills/pm-dispatch/references/lanes/director.md', 6958],
129129
['.claude/skills/pm-dispatch/references/lanes/triage.md', 2526], // lowered 2530 → 2526 by the fold/sweep/size rule PR's own edit
130-
['.claude/skills/pm-dispatch/references/lanes/l2-review.md', 1462],
130+
['.claude/skills/pm-dispatch/references/lanes/l2-review.md', 1460],
131131
['.claude/skills/pm-dispatch/references/lanes/review.md', 120],
132132
['.claude/skills/pm-dispatch/references/lanes/qa.md', 2235],
133133
['.claude/skills/pm-dispatch/references/lanes/eval.md', 2694],
134134
['.claude/skills/pm-dispatch/references/lanes/queue.md', 2003],
135135
['.claude/skills/pm-dispatch/references/lanes/cloud.md', 1232],
136136
['.claude/skills/pm-dispatch/references/lanes/objectstack.md', 2540], // raised 2270 → 2540 by the ruled text (one seat per lane by default; a new `area:*` is a partition of that seat), ruling record 7030459053
137137
['.claude/agents/os-dev.md', 38848], // lowered 39008 → 38848 by the re-basing PR's own edit
138-
['.claude/skills/checklist-test/SKILL.md', 19560],
138+
['.claude/skills/checklist-test/SKILL.md', 19558],
139139
['.claude/skills/checklist-author/SKILL.md', 3574],
140140
['.claude/skills/dogfood-verification/SKILL.md', 9526],
141141
['.claude/skills/spec-property-retirement/SKILL.md', 26922],

0 commit comments

Comments
 (0)