Skip to content

Commit 1d72662

Browse files
docs(pm-dispatch): project memory never restates a rule; a ruling that disagrees with the skill gets a skill card the same day (#36345)
<!-- claude-projects-attribution: {"github_login":"zhuangjianguo"} --> _Requested by **Steedos** · [project thread](https://claude.ai/code/project/chan_018ETKaNwMZCNRYD7D8Q9Ubb?thread=cmsg_018ETKaNwMZCNRYD7D8Q9UbbCxiFE11rsKwyNffJZKYqJs)_ Fixes #35905 Together with draft PR #36213, which carries the card's item 2 and its `os-dev.md` mirror as `Part of`, this PR's items 1 and 3 complete the card. Clause-②: no Metadata-protocol: none Rule-change: ruled Ruling-ref: 7046610679 — the maintainer's answer 「同意,立卡派发」 (cost-review thread, 2026-11-20T09:07:52Z) to the question 「如果确保协调者严格按照技能执行,之前有犯错,协调者用了项目记忆」 (2026-11-20T07:52:51Z), transcribed by the filing seat as the ruling record on the card ## 维护者速读 - 用户无感;车队内部:协调者的项目记忆今后只存你的原话(带时间)和指向技能的指针,不再抄写规则;你的裁决若与技能不一致,当天就立一张改技能的卡,技能改动合并后协调者对照改动行清理记忆。 - 为什么做:你同意把「协调者严格照技能执行、不凭项目记忆」写进技能,这里是该裁决剩下的两条规则(另一条已在另一份改动里)。 - 出错会怎样:只影响协调者如何保管项目记忆,最坏是一条过时的记忆行多留一会儿,随时可整段撤回。 - 要你做什么:无。 ## What changes Two governed files, internal only (nothing publishes). The two added lines copy items 1 and 3 of the ruling above; the bytes they need are paid first by restatement cuts in the same file, and the ceiling rises only by the measured remainder. **`.claude/skills/pm-dispatch/references/project-forms.md`**, under the line that says project memory and shared folders are never the ledger, only this account's cache (the place the card names): - Item 1: `- 项目记忆只存维护者原话(带时间)与技能指针,⛔ 不复述规则;与技能相左 ⇒ 照技能,删该行。` (125 bytes) - Item 3: `- 维护者裁决与技能相左 ⇒ 当日立技能卡,记忆行点名它,合并即删;技能 PR 合并 ⇒ 协调者照改动行查记忆。` (143 bytes) These are the drafts the #36213 dev measured, kept as written: the shorter spellings considered each dropped a part of the ruled meaning (the time on the maintainer's words, "delete that line", or which line names the card). **Cut list (48 bytes, same file; each fact keeps a home)** | # | Cut | Bytes | Where the fact still lives | |---|---|---|---| | 1 | `(车道、总监、分诊同此)` in the seat-reading line | 32 | Line 6 of the same file: `车道席、总监席、分诊席都是席位` | | 2 | `,含在飞卡` in the takeover line | 13 | `seat-lifecycle.md` 〈座位贴协议〉: `维护者强制接管令取席位、队列、在飞卡、未起工卡与待落地 PR` | | 3 | un-wrap of the queue-flake continuation into its `Notify: main-green` line (newline + two-space indent) | 3 | no text deleted | **`scripts/pm/check-skill-line-ratchet.mjs`**: the `project-forms.md` row of `CEILINGS` rises **+220 bytes, 4669 → 4889**, with a row comment naming both ruling records. No other row moves. Ceiling-raise authority: ruling record **6184799323**, item 1 (letter B, the maintainer's 「同意」): "A ruling of record that orders text into a ratcheted file is the authorization to raise that file's ceiling by the measured lines the text needs: the raising PR quotes the ruling comment's id and the measured line delta in its body, and moves the `CEILINGS` row in the same PR by at most that delta." The ratchet now counts bytes, and its header reads that ruling in bytes. The ordering ruling of record here is 7046610679 above. Measured delta: 268 bytes added − 48 bytes cut = **+220 bytes**, and the row moves by exactly that. The seat reading on the card, 7071003039, records the same arithmetic and the same authority. ## Tests Text-only change to an internal instruction file and one ceiling row; no package and no test target. The ratchet script's own battery (`--self-test`) runs inside `check:pm-skill-ratchet`; no `*.test.*` file names the script. ## Acceptance notes - No changeset: `.claude/**` and `scripts/pm/**` are on the fast path of files that publish nothing; `skip-changeset` rides this create. - `.claude/**` is governed. This PR stays draft for the seat's contract-review record at `CONTRACT_REVIEW_TIER`, which must read `Rule-change-verified: ruled`. The dev knocks nobody. - The header comment above `CEILINGS` still says "Three rows were later raised by an ordinary ruled raise"; on `main` seven rows already carry a raise comment, and this is the eighth. Noted, not changed: the dispatch order forbids moving any other text in the script. - The card's seat record 7046610679 ends with the seat's reading "It orders no byte-ceiling raise". Seat reading 7071003039 reads that sentence as noting that the words name no raise, which is the case ruling 6184799323 item 1 covers, not as a refusal. This PR follows that reading. - Base: branched from `origin/main` at `71e02fff`, then `main` at `99fbaa6d` merged in (it moved the `execution-duties.md` row two lines above, a clean merge). The branch's delta vs `main` is exactly the two files above (`+6 / −5`). ## Verification First files to read, by risk: 1. `references/project-forms.md` 〈接管不等撞墙账号〉: the two new lines against items 1 and 3 of the card. 2. `scripts/pm/check-skill-line-ratchet.mjs`: the one `project-forms.md` row, 4889. Two-minute check: `node scripts/pm/check-skill-line-ratchet.mjs | grep 'project-forms.md is'` prints `project-forms.md is 4889 bytes (ceiling 4889; headroom 0)`; `wc -c` on the file prints 4889. <details><summary>Local gates at head 93c631a</summary> Derived with `node scripts/pm/dispatch-gates.mjs --commands --repo objectstack-ai/objectstack` at `93c631a4` (40 commands, the same list as at the pre-merge head `2a9c20af`); every exit code captured before any pipe; reconciled with `--ran`: `40 derived famil(ies) accounted for — 40 run, 0 NOT-MEASURED (a DERIVED zero — all 40 recorded an exit code and none of them is 3)`. - exit 0: `check-closing-keyword-parity` (and `--self-test`), `check-comment-mask-corpus`, `check-declaration-mirrors` (and `--self-test`), `check-self-test-wired` (and `--self-test`), `check-self-test-workflow-commands` (and `--self-test`), `check-whole-set-label-write` (and `--self-test`), `plan-test-core-shards --self-test`, `bare-root-worklist --self-test`, `check-harness-current --self-test`, `check:adr-anchors`, `check:agent-test-spelling`, `check:bash32-floor`, `check:ci-filter-parity`, `check:cli-command-ids`, `check:cross-package-test-inputs`, `check:doc-authoring`, `check:driver-memory-census`, `check:entry-guard`, `check:gitlink-declared`, `check:nul-bytes`, `check:parse-guard`, `check:pm-dispatch-gates` (`dispatch-gates self-test (fast tier): 2252 cases pass`), `check:pm-governed-merges`, `check:pm-record-recognisers`, `check:pm-settings-deny-roster`, `check:pm-skill-id-lint`, `check:pm-skill-ratchet` (its `--self-test`, then `project-forms.md is 4889 bytes (ceiling 4889; headroom 0)` and `declared cross-file moves: 0, total ceilings unchanged`), `check:pnpm-filter-targets`, `check:pnpm-flag-spellings`, `check:ratchet-remedy-authority`, `check:refd-timer-probe`, `check:scripts-symbol-anchors`, `check:skill-frame-sync`, `check:watch-hint-literal`. - `check:doc-formula-expressions` (lint package): run after `turbo run build --filter=@objectstack/formula --filter=@objectstack/lint` under the verify lock (`VERDICT command-exit 0`), exit 0. - `node scripts/pm/overlap-check.mjs --branch=claude/issue-35905-project-forms-lines`: `VERDICT clean exit 0` at `93c631a4` (merges cleanly with `origin/main` at `99fbaa6d`; no open PR head shares a file). </details> 🤖 Generated with [Claude Code](https://claude.com/claude-code) <!-- signed: repo:objectstack#7 · zhuangjianguo · session_01QsR2jTeURPvEm465RcoYEC --> Co-authored-by: Claude <noreply@anthropic.com>
1 parent 40e22f1 commit 1d72662

2 files changed

Lines changed: 6 additions & 5 deletions

File tree

‎.claude/skills/pm-dispatch/references/project-forms.md‎

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,18 @@
1717

1818
## 席位是读出来的,不是配出来的
1919

20-
- 项目的席位 = 🟢 行写本账号的座位贴(车道、总监、分诊同此);派发前先读座位贴。
20+
- 项目的席位 = 🟢 行写本账号的座位贴;派发前先读座位贴。
2121
- 指令行就是指派:维护者在项目里写下或改写这一行,是唯一的指派动作。
2222
- 项目聊天里的长句(「本账户坐 X;Y 的 PR 由本账户复审」)是等价写法。
2323
- 坐席即把本账号写进 🟢 行、每席开一条席位线程;⛔ 无花名册文件。
2424

2525
## 接管不等撞墙账号
2626

27-
- 🟢 行写着别的账号 ⇒ 指令行即维护者强制接管令,含在飞卡。
27+
- 🟢 行写着别的账号 ⇒ 指令行即维护者强制接管令。
2828
- 四件形状见 `execution-duties.md` 认领节;台账 = 标签 + assignee + `Claim:` + `head:claude/` PR。
2929
- 台账按 `assignee:<旧登录名>` 读;⛔ 项目记忆与共享目录永不是台账,只是本账号的缓存。
30+
- 项目记忆只存维护者原话(带时间)与技能指针,⛔ 不复述规则;与技能相左 ⇒ 照技能,删该行。
31+
- 维护者裁决与技能相左 ⇒ 当日立技能卡,记忆行点名它,合并即删;技能 PR 合并 ⇒ 协调者照改动行查记忆。
3032

3133
## 信箱 PR
3234

@@ -37,8 +39,7 @@
3739
- 跨账号或跨项目:车道→L2 或兄弟席 `Request: contract-review`;反向随记录 `Notify: contract-review`。
3840
- 任一席→分诊:p0 嫌疑、main 红、确定性队列红 `Request: urgent-triage`。
3941
- 立锚卡者→分诊(缺则总监)`Request: main-red`,→破坏 PR 的席与锚卡车道 `Notify: main-red`。
40-
- 锚卡关闭:分诊(缺则总监)→正文带 `Waits-on: main-red #n` 的每张 open PR 之席 `Notify: main-green`。
41-
队列 flake 锚卡同理:敲其签名踢出(名单照 `lanes/queue.md`)、仍开且未回队的每张 PR 之席。
42+
- 锚卡关闭:分诊(缺则总监)→正文带 `Waits-on: main-red #n` 的每张 open PR 之席 `Notify: main-green`。队列 flake 锚卡同理:敲其签名踢出(名单照 `lanes/queue.md`)、仍开且未回队的每张 PR 之席。
4243
- 车道→分诊问卡去留路由定级 `Request: triage`;发版板生产者→车道 `Notify: release-blocker`。
4344
- 车道→cloud 席:缺 cloud 事实读数 `Request: cloud-confirm`;反向随记录 `Notify: cloud-confirm`。
4445
- 移卡入队者→车道:p0/p1 `Blocked-by` 关闭 `Notify: unblocked`;记裁决席→被改席 `Notify: ruling`。

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ export const CEILINGS = new Map([
115115
['.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
116116
['.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)
117117
['.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
118-
['.claude/skills/pm-dispatch/references/project-forms.md', 4669],
118+
['.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],
120120
['.claude/skills/pm-dispatch/references/lanes/server.md', 4832],
121121
['.claude/skills/pm-dispatch/references/lanes/devx.md', 2533],

0 commit comments

Comments
 (0)