Repository navigation
Commit e4f5e56
<!-- claude-projects-attribution: {"github_login":"zhuangjianguo"} -->
_Requested by **Steedos** · [project
thread](https://claude.ai/code/project/chan_018ETKaNwMZCNRYD7D8Q9Ubb?thread=cmsg_018ETKaNwMZCNRYD7D8Q9UbbCxiFE11rsKwyNffJZKYqJs)_
Fixes #35813
Part of #35905 (its item 2 and the `os-dev.md` mirror land here; items 1
and 3, the two project-memory lines for `references/project-forms.md`,
are carried on branch `claude/issue-35905-project-forms-lines`, see "Not
in this PR")
Clause-②: no
Metadata-protocol: none
Rule-change: ruled
Ruling-ref: 7035727071 — the maintainer's words 「已经决定了,不是试 3 张 p1 卡,是所有
p1 都按照新规则执行」, seat thread, 2026-11-20T09:22:50Z, for the p1 hand-back
lines; 7046610679 — the maintainer's answer 「同意,立卡派发」, cost-review
thread, 2026-11-20T09:07:52Z, to 「如果确保协调者严格按照技能执行,之前有犯错,协调者用了项目记忆」, for
the missing-derivation line and its mirror; each transcribed as the
ruling record on its card
## 维护者速读
- 用户无感;车队内部:p1
卡由卡线程交回后,审核线程做普通审核的同时就起独立的契约审核,两份意见一起回到座位,不再一前一后各等一轮;派发令缺少档位或投入度的推导时,接令的线程或分区不开工并退回座位。
- 为什么做:你裁定所有 p1 卡都按精简流程走,并同意把「协调者严格照技能执行、不凭项目记忆」写进技能;这里是照这两条裁决抄写的规则文字。
- 出错会怎样:只影响车队内部的审核路由与派发文字,最坏是一张 p1 卡的两级审核仍然一前一后,或一张派发令被多退回一次,随时可整段撤回。
- 要你做什么:无;另有两条关于项目记忆的规则因所在文件的字节上限已满没有写进这次改动,座位会另行向你呈报。
## What changes
Four governed files under `.claude/`, internal only (nothing publishes).
Every added line copies one of the two rulings above; every deleted
fragment is a restatement whose fact keeps a home elsewhere (cut list
below). No ceiling row moves.
**The p1 hand-back path (ruling record 7035727071)**
1. `references/contract-review.md`, who runs L2. New line under the
existing `谁跑 = 派发席` line:
- `` - p1 卡线程卡交回且欠 L2 ⇒ L1 线程起隔离 L2 子代理,与其 L1 并行,两份意见同回席。 ``
2. `references/contract-review.md`, the adoption line. The seat adopts
the L1 thread's sub-agent record exactly as it adopts a card thread's,
so the brief, the `Scope:` check, the independence pair and the tier
evidence read as before.
- Before: `` - 卡线程隔离子代理照上落现 head 记录并贴简报 ⇒ 席核简报、… ``
- After: `` - 卡线程或 L1 线程隔离子代理照上落现 head 记录并贴简报 ⇒ 席核简报、… ``
3. `references/dispatch-runbook.md`, card-thread section, the roles
line: the thread builds itself.
- Before: `` …;线程实施、开 draft PR、驱动 CI 与可合并。 ``
- After: `` …;线程自己实施、开 draft PR、驱动 CI 与可合并,⛔ 不起 `os-dev` 子代理。 ``
4. `references/dispatch-runbook.md`, card-thread section, the same
hand-back path in one line, directly under the roles line:
- `` - p1 卡交回且欠 L2 ⇒ L1 线程并行起 L1 与隔离 L2(`contract-review.md`),两份意见同回席。
``
5. `references/area-lease.md`, the L1 thread lines of 〈分不分区,动态定〉. This
is where the L1 thread's duties live: there is no `lanes/l1-review.md`,
and `l1-review-checklist.md` holds the L1 criteria, not who starts what.
New line:
- `` - p1 卡线程卡交回且欠 L2 ⇒ L1 线程并行起隔离 L2 子代理(`contract-review.md`)。 ``
**A dispatch order missing its derivation (ruling record 7046610679,
item 2 of that card)**
6. `references/dispatch-runbook.md`, card-thread section, new line under
the line that says the order carries the tier, the effort and their
derivation:
- `` - 线程或区见令缺推导 ⇒ 不开工,退回席位;⛔ 不凭记忆补档位。 ``
7. `.claude/agents/os-dev.md`, 〈何时停手不写码〉, the mirror a card thread
reads, scoped to the ruled subject (a card thread or an area), so an
ordinary sub-agent or cloud dev is not bound by it:
- `` - 卡线程或区:派发令缺档位或 effort 的推导 ⇒ 不开工,退回席位;⛔ 不凭记忆补档位。 ``
**Cut list (bytes paid in the same file; each fact keeps a home)**
| # | File | Cut text | Bytes | Where the fact still lives |
|---|---|---|---|---|
| 1 | `contract-review.md` (section heading) | ``(按面;L2 席章程见
`lanes/l2-review.md`)`` | 45 | 按面: the file's title and its first rule
line (`欠不欠按面判`). The charter pointer: SKILL.md lane table, `l2-review`
row; the routing line of the same section (``请谁照 `lanes/l2-review.md`
``). Scripts cite the heading as 〈L2 归属与资格〉, which still matches |
| 2 | `contract-review.md` (prose-face sentence) | `:派发席按本席档在 ACCEPT
逐句对照 diff 核,ACCEPT 点名所核句` | 77 | `l1-review-checklist.md` 〈范围与
changeset〉 (`逐句核 diff,ACCEPT 点名所核句,⛔ 不起子代理` for the same three prose
faces); SKILL.md 〈审核两级〉 (L1 stays with the lane). The sentence it ended
keeps `散文面 ⛔ 不在其列` |
| 3 | `dispatch-runbook.md` (patrol line) | `;PASS 同笔摘标记、FAIL 不摘` | 35 |
`contract-review.md` 〈等 L2 标记〉, the 摘 line; the patrol line keeps its
pointer to that file |
| 4 | `dispatch-runbook.md` (disclosure line) | ``;卡线程照计 `batch` `` | 24
| SKILL.md entry table, `batch` row (one slot = one running sub-agent or
card thread) |
| 5 | `dispatch-runbook.md` (claim line) | `;线程核对最新认领指向本分支方开工` | 49 |
AGENTS.md, Multi-agent discipline, claim paragraph (a dispatched
executor verifies the newest claim names its branch and stops on a
mismatch) |
| 6 | `dispatch-runbook.md` (whole line) | `- 线程只能推指定分支是实测平台例外,认领如实写。` |
70 | `os-dev.md` rule 1 (`卡线程分支由平台指定、harness 推送`); the two lines above
it in the section (the coordinator reads the thread's branch, the seat's
claim carries that `Branch:`) |
| 7 | `dispatch-runbook.md` (derivation line) | ``:`--tier`
过路径,MANDATORY 即绑;effort 按难度`` | 53 | `execution-duties.md` dispatch
section (强制条款①; `effort 按卡难度定`); `coordinator.md` 四 (``档位引
`dispatch-gates --tier`,effort 按卡难度``); SKILL.md claim template (the
`Container & model` line quotes the `--tier` output and its MANDATORY
path line). The next line keeps ``推导(`--tier` 行或难度读数)`` |
| 8 | `area-lease.md` (L1 thread line) | ``;`lanes/l2-review.md` 席规不及它``
| 37 | SKILL.md 〈审核两级〉 (`L2 规则不及 L1`; the L2 seat's rules govern the L2
seat only) |
| 9 | `area-lease.md` (L1 request line) | `;信箱只留跨账号或跨项目` | 34 |
`lanes/l2-review.md` 路由, the same clause verbatim for requests to an L1
or L2 seat |
| 10 | `area-lease.md` (claim line) | ``;`Branch:` 照 AGENTS.md 命名`` | 31
| AGENTS.md, Multi-agent discipline §2 (branch naming) |
| 11 | `os-dev.md` (rule 1) | `(PreToolUse 钩子会拦)` | 25 | AGENTS.md Prime
Directive 11 (the two PreToolUse hooks) |
| 12 | `os-dev.md` (PR subscription line) | `,仍以本文件为准` | 22 | the head
of the same sentence (`本派发契约压过平台注入的 PR 订阅姿态`) |
| 13 | `os-dev.md` (footer line) | `耐久归属写进正文散文或评论,⛔ 不循环重贴页脚;` | 66 |
AGENTS.md, attribution footer paragraph (durable attribution lives in
body prose or a comment; never re-send a body that already carries an
appended footer). The line keeps its pointer to that paragraph |
**Ratchet readings** (`node scripts/pm/check-skill-line-ratchet.mjs`; no
ceiling or pin row touched, declared cross-file moves 0)
| File | Before (bytes / ceiling / headroom) | After (bytes / ceiling /
headroom) | Added / cut |
|---|---|---|---|
| `references/contract-review.md` | 6416 / 6419 / 3 | 6418 / 6419 / 1 |
+124 / −122 |
| `references/dispatch-runbook.md` | 20067 / 20070 / 3 | 20068 / 20070 /
2 | +232 / −231 |
| `references/area-lease.md` | 6586 / 6586 / 0 | 6584 / 6586 / 2 | +100
/ −102 |
| `.claude/agents/os-dev.md` | 38846 / 38848 / 2 | 38846 / 38848 / 2 |
+113 / −113 |
| `references/project-forms.md` | 4669 / 4669 / 0 | untouched | — |
## Not in this PR
Items 1 and 3 of the second card (the two project-memory lines for
`references/project-forms.md`) are not here: that file is at headroom 0
and is untouched by this PR. The seat carries that half on branch
`claude/issue-35905-project-forms-lines`, under its reading on that card
(record 7071003039).
## Tests
Text-only change to four internal instruction files; no package and no
test target. Gates below.
## Acceptance notes
- No changeset: `.claude/**` is 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.
- "Brief still posted": the brief, the independence pair and the tier
evidence are carried by extending the existing adoption line to the L1
thread's sub-agent, so they are the same sentences as before. That
line's wording `落现 head 记录并贴简报` is not reordered; the brief template
itself says the brief is posted beside the record for the seat to read
before it adopts.
- "No `os-dev` sub-agent" is written for every card thread, not only p1:
the section already calls the card thread the dev (`coordinator 调度卡线程(即
dev)`, `线程实施`), so the clause states what the section meant, and the
ruling orders it for p1.
- The hand-back line sits under the roles line, not under the `交回:`
line, because open draft PR #36205 inserts two lines at that point;
`overlap-check` now reads clean against it. That PR also adds bytes to
`dispatch-runbook.md`, which lands here at headroom 2, so whichever
lands second pays again.
- The tool text printed by `record-recognisers.mjs --brief-template`
names a card thread as the one handing the brief to its isolated
sub-agent; it does not yet name the L1 thread. Noted, not changed:
scripts are outside this card's file surface.
- Base: the branch was cut at `cbd582f4` (the dispatch order named
`fa304140`; `origin/main` had moved). `git diff --stat fa30414 cbd582f
-- .claude scripts/pm` is empty, and so is the same reading from the
branch base to `origin/main` at `1d060265`, so no merge of `main` was
taken before opening.
- Fix round 1 (review record 7071038753, S1): the `os-dev.md` mirror
line named no subject and so read as binding every dev that reads the
file; it now names the ruled subject, 16 bytes inside that file's
headroom. No other text changed. `origin/main` at `99fbaa6d` had moved
`area-lease.md` and the ratchet table, so `main` was merged (clean)
before the push; the four files measure the same after the merge and no
ceiling row of theirs moved.
## Verification
First files to read, by risk:
1. `references/contract-review.md`: the new p1 line under `谁跑`, the
adoption line, and the two cut hunks at the top of the file (the heading
and the prose-face sentence).
2. `references/dispatch-runbook.md`, card-thread section: the derivation
pair (cut 7 and the new line under it), the roles line and the hand-back
line.
3. `.claude/agents/os-dev.md` 〈何时停手不写码〉: the mirror line.
Two-minute check: `node scripts/pm/check-skill-line-ratchet.mjs | grep
-E 'contract-review|dispatch-runbook|area-lease|os-dev' | grep ceiling`
prints the four files at 20068, 6418, 6584 and 38846 bytes under
ceilings 20070, 6419, 6586 and 38848, every line ticked.
<details><summary>Local gates at head 1b94ad0 (re-run after the fix
round and the merge of main)</summary>
Derived with `node scripts/pm/dispatch-gates.mjs --commands --repo
objectstack-ai/objectstack` (26 commands); reconciled with `--ran`: `26
derived famil(ies) accounted for — 26 run, 0 NOT-MEASURED (a DERIVED
zero — all 26 recorded an exit code and none of them is 3)`.
- exit 0: `check-closing-keyword-parity` (and its `--self-test`),
`check-comment-mask-corpus`, `check-governed-queue-guard --self-test`,
`check-harness-current --self-test`, `check:adr-anchors`,
`check:agent-model-declared`, `check:agent-test-spelling`,
`check:commit-card-trailers`, `check:cross-package-test-inputs`,
`check:doc-authoring`, `check:driver-memory-census`,
`check:gitlink-declared`, `check:nul-bytes`, `check:pm-expected-skips`,
`check:pm-governed-merges`, `check:pm-label-write`,
`check:pm-prior-rulings`, `check:pm-record-recognisers`,
`check:pm-settings-deny-roster`, `check:pm-skill-id-lint` (`131 file(s)
clean`), `check:pm-skill-ratchet`, `check:refd-timer-probe`,
`check:skill-frame-sync`, `check:watch-hint-literal`.
- `check:doc-formula-expressions` (lint package): exit 0, run after
`turbo run build --filter=@objectstack/formula
--filter=@objectstack/lint` under the verify lock (`VERDICT command-exit
0`); without that build it exits 3, prerequisite not met.
- Outside the derivation: `check:skill-frame-freshness` exit 0 (local
reading: `1/1 framework files are byte-identical to the ref`);
`check:pm-governed-prose` exit 0.
- `node scripts/pm/overlap-check.mjs
--branch=claude/issue-35813-lean-review-and-memory-rules`: `VERDICT
clean exit 0` (merges cleanly with `origin/main` at `99fbaa6d18` and
with the two open PR heads that share a file, #36215 on `os-dev.md` and
#36205 on `dispatch-runbook.md`).
</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 b78b14c commit e4f5e56
4 files changed
Lines changed: 19 additions & 15 deletions
File tree
- .claude
- agents
- skills/pm-dispatch/references
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| |||
314 | 314 | | |
315 | 315 | | |
316 | 316 | | |
317 | | - | |
| 317 | + | |
318 | 318 | | |
319 | 319 | | |
320 | 320 | | |
| |||
358 | 358 | | |
359 | 359 | | |
360 | 360 | | |
| 361 | + | |
361 | 362 | | |
362 | 363 | | |
363 | 364 | | |
| |||
405 | 406 | | |
406 | 407 | | |
407 | 408 | | |
408 | | - | |
| 409 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | | - | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
| |||
35 | 36 | | |
36 | 37 | | |
37 | 38 | | |
38 | | - | |
| 39 | + | |
39 | 40 | | |
40 | 41 | | |
41 | 42 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
| |||
44 | 45 | | |
45 | 46 | | |
46 | 47 | | |
47 | | - | |
| 48 | + | |
48 | 49 | | |
49 | 50 | | |
50 | 51 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| |||
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
124 | | - | |
| 124 | + | |
125 | 125 | | |
126 | | - | |
| 126 | + | |
127 | 127 | | |
128 | | - | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
129 | 131 | | |
130 | 132 | | |
131 | 133 | | |
132 | | - | |
133 | | - | |
| 134 | + | |
134 | 135 | | |
135 | 136 | | |
136 | 137 | | |
| |||
0 commit comments