Repository navigation
Commit 1d72662
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
- scripts/pm
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
| 31 | + | |
30 | 32 | | |
31 | 33 | | |
32 | 34 | | |
| |||
37 | 39 | | |
38 | 40 | | |
39 | 41 | | |
40 | | - | |
41 | | - | |
| 42 | + | |
42 | 43 | | |
43 | 44 | | |
44 | 45 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
118 | | - | |
| 118 | + | |
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
| |||
0 commit comments