Repository navigation
Commit 975e34e
<!-- claude-projects-attribution: {"github_login":"os-elon-musk"} -->
_Requested by **Elon** · [project
thread](https://claude.ai/code/project/chan_01WedDzV26nniwxv7jC88B9D?thread=cmsg_01WedDzV26nniwxv7jC88B9DDypKu7B9nwbu5WuV7AEio8)_
Part of #35237 (slice 11: carrier items 20, 21, 22; the card keeps its
other items)
Clause-②: no
Metadata-protocol: none
Rule-change: none
## 维护者速读
- 用户无感:车队席位读到的「一轮多长」只剩一处来源,在飞检查命令照文档敲即可运行,查祖先判断的规则能被搜到。
- 属于车队规则收口专题,替各席位解决三条上一轮评审留下的指针与重复常量问题。
- 出错只会让欠审清单或开轮自退按错的轮长判断,不碰产品代码,可直接撤回本 PR。
- 无。
## What changes
- **Item 20** (`scripts/pm/check-owed-reviews.mjs`):
`TRIAGE_ROUND_MINUTES` is now `ROUND_MINUTES` imported from
`round-open.mjs` (no import cycle: the round-open closure is 5 modules
and none of them imports check-owed-reviews). The exported name is kept.
Both comments now point at the `seat-lifecycle.md` round line instead of
the retired contract-review.md phrase.
- **Item 21 (a)** `references/landing-operations.md` 约定③ drops its 「(~60
分钟)」 figure, as slice 9 did for contract-review.md.
- **Item 21 (b)** `references/contract-review.md` trigger (b) 「已等满一轮」
now carries the pointer `(seat-lifecycle.md)`. Paid for in the same file
by five prose tightenings that keep every rule (`不起第二个 agent` to `不另起
agent`, `所定`, `的`, `而`, `、且`).
- **Item 21 (c)** `scripts/pm/round-open.mjs`: the exported `ROUND_RULE`
has no `g` flag now (`/一轮 (\d+) 分钟/u`). `roundMinutesOfRule` scans with
a local global copy. A new self-test case pins the export as neither
global nor sticky, checks that three `.test()` calls answer the same,
and checks that the scan still reads every figure. The battery floor
goes from 3 to 4.
- **Item 22 (a)** `SKILL.md` 〈车道与域〉 spells the in-flight check as the
usage line does: `check-handover.mjs --inflight --paths=PATH[,PATH…]`.
Paid for in the same file by six tightenings (`绝`, `的`, `就还` to `即`,
`自己读的` to `自读`, `自己的` to `自有`, `的`), and no rule is removed.
- **Item 22 (b)** The `AGENTS.md` git-history sentence now reads "an
`is-ancestor` containment one", so a search for the command lands on it.
- **Item 22 (c)** The "why" link went to a section that covered only the
windowed half. The section is renamed `Shallow-clone history` (the new
anchor is shorter, and that pays for (b)), and one sentence now covers
the containment half: a cut only withholds an ancestor path, so exit 0
stands in any clone and a "not an ancestor" result may be the cut;
`git-history.mjs ancestor` proves the negative with a control leg, or it
refuses. The anchor had no other referrer (git grep).
### Bytes per ratcheted file (`wc -c`, origin/main bd5407e to this
head)
| File | origin/main | this head | net | ceiling (unchanged) |
|:--|--:|--:|--:|--:|
| `AGENTS.md` | 78709 | 78708 | -1 | 78712 |
| `.claude/skills/pm-dispatch/SKILL.md` | 33342 | 33340 | -2 | 33351 |
| `.claude/skills/pm-dispatch/references/contract-review.md` | 6403 |
6402 | -1 | 6419 |
| `.claude/skills/pm-dispatch/references/landing-operations.md` | 10673
| 10661 | -12 | 10717 |
No CEILINGS row moved. `docs/agents/multi-agent-discipline.md` carries
no ceiling.
## Tests
All runs are on head `329c808fc8`.
<details><summary>Self-tests and ablations (on-disk mutation, then
restore)</summary>
- `node scripts/pm/round-open.mjs --self-test`: exit 0, `✓ round-open
self-test: 39 cases pass across 6 batteries`.
- `node scripts/pm/check-owed-reviews.mjs --self-test`: exit 0, `96
cases pass in 10 batteries`.
- Ablation A1, `ROUND_MINUTES = 60` changed to `45` in round-open.mjs
only. check-owed-reviews goes red through the import (exit 1, `✗ … under
a full round, nothing else holding ⇒ WAIT`, 1 of 96). round-open goes
red against the seat-lifecycle.md line (exit 1, 2 of 39).
- Ablation A2, the `g` flag put back on the export. round-open goes red
(exit 1, the new case reads `got [true,[true,false,true],[60,45]]`).
That is the `lastIndex` state the card names.
- Ablation A3, the seat-lifecycle.md line changed from 60 to 45.
round-open goes red (exit 1, `got [45], want [60]`). The 60 to 45 pin
still holds.
- After each ablation the file was restored, and both suites are green
again (exit 0).
</details>
## Acceptance notes
- `docs/agents/multi-agent-discipline.md` is outside the fence's file
list, but item 22 (c) says to fix the link, and fixing the link target
there is the cheap way to do it. It is not ratcheted.
- No changeset: nothing in the diff ships (`scripts/pm/**`,
`.claude/**`, `AGENTS.md` and `docs/agents/**` are fast-lane paths).
Hence `skip-changeset`.
## Verification
- Files to read first, by risk: `scripts/pm/round-open.mjs` (the
`ROUND_RULE` hunk), `scripts/pm/check-owed-reviews.mjs` (the import and
constant hunk), and `AGENTS.md` (the history sentence).
- Two-minute check: run `node scripts/pm/round-open.mjs --self-test &&
node scripts/pm/check-owed-reviews.mjs --self-test`. You should see two
✓ lines, with 39 and 96 cases.
<details><summary>Local gates: 50 of 50 derived families, every one exit
0</summary>
- `node scripts/pm/dispatch-gates.mjs --ran FILE`: `✓ 50 derived
famil(ies) accounted for — 50 run, 0 NOT-MEASURED (a DERIVED zero — all
50 recorded an exit code and none of them is 3)`.
- `pnpm check:pm-skill-ratchet` exit 0. `pnpm check:pm-governed-prose`
exit 0. `pnpm check:pm-dispatch-gates` exit 0. `pnpm check:nul-bytes`
exit 0.
- `pnpm --filter @objectstack/lint run check:doc-formula-expressions`
first exited 3 (dist not built, so it measured nothing). After the
formula and lint build under the verify lock (VERDICT command-exit 0) it
exits 0.
- `node scripts/pm/overlap-check.mjs
--branch=claude/issue-35237-slice11-round-and-pointers`: `VERDICT clean
exit 0`.
- CI families: read them from this PR's check-runs. They were not re-run
here.
</details>
---
_Generated by [Claude
Code](https://claude.ai/code/session_016WV4cxRDKprCtjpEdtiPFW)_
<!-- signed: repo:objectstack#1 · os-elon-musk ·
session_016WV4cxRDKprCtjpEdtiPFW -->
Co-authored-by: Claude <noreply@anthropic.com>
1 parent 360c494 commit 975e34e
7 files changed
Lines changed: 31 additions & 24 deletions
File tree
- .claude/skills/pm-dispatch
- references
- docs/agents
- scripts/pm
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
148 | 148 | | |
149 | 149 | | |
150 | 150 | | |
151 | | - | |
152 | | - | |
| 151 | + | |
| 152 | + | |
153 | 153 | | |
154 | 154 | | |
155 | 155 | | |
| |||
163 | 163 | | |
164 | 164 | | |
165 | 165 | | |
166 | | - | |
| 166 | + | |
167 | 167 | | |
168 | 168 | | |
169 | 169 | | |
| |||
181 | 181 | | |
182 | 182 | | |
183 | 183 | | |
184 | | - | |
| 184 | + | |
185 | 185 | | |
186 | 186 | | |
187 | 187 | | |
| |||
198 | 198 | | |
199 | 199 | | |
200 | 200 | | |
201 | | - | |
| 201 | + | |
202 | 202 | | |
203 | 203 | | |
204 | 204 | | |
| |||
212 | 212 | | |
213 | 213 | | |
214 | 214 | | |
215 | | - | |
| 215 | + | |
216 | 216 | | |
217 | 217 | | |
218 | 218 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
| 44 | + | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
| 55 | + | |
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
93 | | - | |
| 93 | + | |
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
391 | 391 | | |
392 | 392 | | |
393 | 393 | | |
394 | | - | |
| 394 | + | |
395 | 395 | | |
396 | | - | |
397 | | - | |
| 396 | + | |
| 397 | + | |
398 | 398 | | |
399 | 399 | | |
400 | 400 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
| 62 | + | |
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
68 | | - | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
69 | 71 | | |
70 | 72 | | |
71 | 73 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
85 | | - | |
| 85 | + | |
| 86 | + | |
86 | 87 | | |
87 | 88 | | |
88 | 89 | | |
| |||
115 | 116 | | |
116 | 117 | | |
117 | 118 | | |
| 119 | + | |
118 | 120 | | |
119 | 121 | | |
120 | 122 | | |
| |||
135 | 137 | | |
136 | 138 | | |
137 | 139 | | |
138 | | - | |
139 | | - | |
| 140 | + | |
| 141 | + | |
140 | 142 | | |
141 | 143 | | |
142 | 144 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
112 | | - | |
113 | | - | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
114 | 115 | | |
115 | 116 | | |
116 | 117 | | |
| |||
577 | 578 | | |
578 | 579 | | |
579 | 580 | | |
580 | | - | |
| 581 | + | |
| 582 | + | |
581 | 583 | | |
582 | 584 | | |
583 | 585 | | |
| |||
647 | 649 | | |
648 | 650 | | |
649 | 651 | | |
| 652 | + | |
650 | 653 | | |
651 | 654 | | |
652 | 655 | | |
| |||
0 commit comments