Repository navigation
Commit dd1ffcc
docs(pm-dispatch): the retired domain lane files move to references/domains; lanes/ holds seat files only (#37495)
<!-- claude-projects-attribution: {"github_login":"os-bill"} -->
_Requested by **Bill** · [project
thread](https://claude.ai/code/project/chan_016iMXWSZDzqWRWvWzdNo8wg?thread=cmsg_016iMXWSZDzqWRWvWzdNo8wgGo1SKQRsAmfMVbN1gcmG7S)_
Fixes #35235
Rule-change: none
Clause-②: no
Metadata-protocol: none
## 维护者速读
-
用户能看到什么变化:用户无感;车队派工说明里,五份按代码域写的参考文件从「座位说明」文件夹搬到单独的「域参考」文件夹,座位说明文件夹里只剩各座位的说明。
- 为什么做:这是「车队技能评审」整改顺序里「车道改为座位加专题」的第三步(整理文件),让文件摆放和前两步改好的说法一致。
- 出错会怎样:某处指向旧位置的引用漏改,座位会找不到那份参考;把这次合并整体撤回就恢复原样,规则内容没有改动。
- 要你做什么:契约复核通过后,批准这次文件整理。
## Rule source
- The maintainer's 「同意」 (2026-11-18 16:19Z) to the fleet skills review
and its order of improvements, as recorded in the body of the card this
PR carries: "lanes become seats plus epics (text → scripts → lane
files)". This PR is the lane-files step.
- The card's own scope, verbatim: "Reorganise
`.claude/skills/pm-dispatch/lanes/` into seat files and epic files to
match steps 4a and 4b. The retired domain lane files go, after their
still-live content has moved. Pointers to old lane paths are updated."
Done when: "The lanes folder holds only seat and epic files, no link
points at a removed file, and the skill gates pass."
`Rule-change: none` because no rule is added, removed or reworded: five
files change directory, and every other edit is a path that follows
them, or a clause that only described where those files sat.
## What changes
### How "the retired domain lane files go" is met
The five domain references `devx.md`, `server.md`, `skills.md`,
`spec.md` and `ui.md` leave
`.claude/skills/pm-dispatch/references/lanes/` and now live in
`.claude/skills/pm-dispatch/references/domains/` (git renames, 89 to 99
percent similarity). `domain:*` stays as the file-ownership label, as
the text step (#35232) wrote it, so the ownership tables, standing
commitments and judgement notes in these files still have readers: the
seat that takes a card reads the file of the domain its file surface
falls in, and triage reads them to judge a domain. Their content
therefore moves whole; none of it is cut.
`references/lanes/` now holds twelve files, all seat files: `cloud.md`,
`hotcrm.md`, `mobile.md`, `objectstack.md` (repository seats),
`director.md`, `triage.md`, `queue.md`, `security.md`, `l2-review.md`,
`qa.md`, `eval.md` (role seats), and `review.md` (the one-line old-name
pointer for seats that still sign `review#N`). These twelve are
byte-identical to `main`.
### No epic file, and why
No epic file is created. The rules of an epic lane are not a per-lane
job description: they are one section, 〈Epic 子树车道〉, of
`references/seat-lifecycle.md`, which `SKILL.md` points at from the
`epic:#n` role row and from its reference table. Moving that section
into `lanes/` would be an edit of rule-carrying text in two more files
for no reader's gain, and it is outside this card's file surface. The
lanes folder holding "only seat and epic files" is met with zero epic
files.
### Edits inside the moved files
- Opening line of each of the five: the clause that said the file's fate
waited for this step (「去留待车道文件重组」 in three, 「去留待重组」 in two) is dropped.
The rest of the line stays (the domain seat is retired, the file is a
domain reference, 「本席」 reads as the seat that took the card).
- `domains/skills.md`: two links to seat files that are no longer
siblings become `../lanes/director.md` and `../lanes/qa.md`.
- Sibling links between domain files (`spec.md`, `devx.md` named from
`server.md` and `skills.md`) and `../` links to other references still
resolve from the new directory and are unchanged.
### Pointers updated
| File | Line | Old | New |
|:--|:--|:--|:--|
| `.claude/skills/pm-dispatch/SKILL.md` | `domain:server` row | 详见
`references/lanes/server.md` | 见 `references/domains/server.md` |
| same | `domain:devx` row | `lanes/devx.md` | `domains/devx.md` |
| same | `domain:spec` row | `references/lanes/spec.md` |
`references/domains/spec.md` |
| same | `domain:ui` row | 详见 `references/lanes/ui.md` | 见
`references/domains/ui.md` |
| `references/area-lease.md` | 留道 line | `lanes/spec.md` |
`domains/spec.md` |
| `references/execution-duties.md` | 取卡全序 line |
`references/lanes/spec.md` | `references/domains/spec.md` |
| same | 例外仅新增 line | `lanes/skills.md` | `domains/skills.md` |
| `references/triage-duties.md` | devx 六项度量 line | `lanes/devx.md` |
`domains/devx.md` |
| `references/untrusted-text.md` | 涉安全 line | `lanes/server.md` |
`domains/server.md` |
| `references/project-forms.md` | 席位词 line | (去 `.md`,域参考除外) | (去 `.md`)
|
| `.claude/skills/spec-property-retirement/SKILL.md` | Skills checklist
item, 例外 sentence | `lanes/skills.md` | `domains/skills.md` |
| `scripts/pm/card-pick.mjs` | header comment, `DUTIES_PHRASES`,
`UNREAD_LEGS` | `references/lanes/spec.md` |
`references/domains/spec.md` |
| `scripts/pm/check-skill-line-ratchet.mjs` | five `CEILINGS` keys, five
`MAX_TABLE_ROW_BYTES` keys | `references/lanes/…` |
`references/domains/…` |
| `scripts/pm/ensure-pm-labels.sh` | one comment |
`references/lanes/ui.md` | `references/domains/ui.md` |
Three of these are more than a path swap, each for a byte or truth
reason:
- `SKILL.md`, `domain:server` and `domain:ui` rows: 「详见」 becomes 「见」.
The server row was the file's widest table row, at its pin (341 of 341);
the longer path alone would put it at 343. It is now 340, and the widest
row is the `domain:devx` row at 341 of 341. The `domain:ui` row takes
the same one-word change so the file stays inside its byte headroom with
room to spare.
- `untrusted-text.md` and `spec-property-retirement/SKILL.md` were at
byte headroom 0, so the two extra bytes of the path are paid by
un-wrapping one continuation line in each (the ratchet's header names
un-wrapping as real freed bytes). No word changes.
- `project-forms.md`: 「域参考除外」 excepted the domain references from "a
seat word is a file name under `lanes/`". With no domain reference left
in `lanes/`, the exception has nothing to except and is dropped.
### Scripts: strings only, and what each string does
- `scripts/pm/check-skill-line-ratchet.mjs`: ten map keys re-keyed, no
number and no logic changed. The ratchet reads every `CEILINGS` path (a
missing file is red), so the keys have to follow the files.
- `scripts/pm/card-pick.mjs`: `DUTIES_PHRASES` pins the 取卡全序 sentence of
`execution-duties.md` verbatim, so the path inside that sentence changes
in both in the same commit; `UNREAD_LEGS` prints the same path under
every run, so the printed path changes and nothing else does.
- `scripts/pm/ensure-pm-labels.sh`: a comment.
### Bytes (the ratchet's unit)
| File | main | this PR | delta | ceiling |
|:--|--:|--:|--:|--:|
| `SKILL.md` | 33343 | 33345 | +2 | 33351 |
| `references/area-lease.md` | 6575 | 6577 | +2 | 6586 |
| `references/execution-duties.md` | 22297 | 22301 | +4 | 22307 |
| `references/triage-duties.md` | 13696 | 13698 | +2 | 13709 |
| `references/untrusted-text.md` | 3280 | 3279 | -1 | 3280 |
| `references/project-forms.md` | 4880 | 4864 | -16 | 4889 |
| `references/domains/devx.md` | 2517 | 2489 | -28 | 2533 |
| `references/domains/server.md` | 4826 | 4798 | -28 | 4830 |
| `references/domains/skills.md` | 2649 | 2651 | +2 | 2656 |
| `references/domains/spec.md` | 3295 | 3267 | -28 | 3299 |
| `references/domains/ui.md` | 1041 | 1025 | -16 | 1041 |
| `spec-property-retirement/SKILL.md` | 26922 | 26917 | -5 | 26922 |
Total -110 bytes. No ceiling and no table-row pin is raised or lowered;
the four files that grow do so inside headroom they already had.
## Tests
No test file changes. Local readings, all on this branch:
- Head `bb8ae5c4` (the one content commit): `node
scripts/pm/dispatch-gates.mjs --commands` derives 48 gate commands for
this file list (20 paths against merge base `eaa9e5447`); all 48 were
run and recorded with their exit codes, and `--ran` answers "48 derived,
48 run, 0 NOT-MEASURED, 0 UNRUN". `check:doc-formula-expressions` exited
3 (prerequisite not met) on its first run because the workspace was not
built, and 0 after the lint package's dependency closure was built under
the verify lock (VERDICT command-exit 0).
- Among the 48, the ones that read this surface: `pnpm
check:pm-skill-ratchet` (every file at or under its ceiling; "all 12
lane/seat job descriptions in the tree carry a ceiling row"), `pnpm
check:pm-skill-id-lint`, `pnpm check:pm-prior-rulings` (it runs
`card-pick.mjs --self-test`, which reads the pinned sentence out of
`execution-duties.md`), `pnpm check:pm-half-states`, `pnpm
check:pm-record-recognisers`, `pnpm check:pm-governed-prose`, `pnpm
check:pm-dispatch-gates`, `node
scripts/pm/check-governed-queue-guard.mjs --self-test`, `pnpm
check:skill-frame-sync`, `pnpm check:doc-authoring`, `pnpm
check:nul-bytes`.
- Outside the derived list: `bash
.claude/hooks/session-start-fleet.selftest.sh` exit 0, `pnpm
check:skill-frame-freshness` exit 0.
- Head `53e4b8c7` (`main` merged once before opening, one commit, two
files under `skills/` and `.changeset/`): `pnpm check:pm-skill-ratchet`,
`pnpm check:pm-skill-id-lint`, `node scripts/check-nul-bytes.mjs` and
`node scripts/check-commit-card-trailers.mjs --range origin/main..HEAD`
exit 0; the derived gate list is byte-identical to the one above.
## Acceptance notes
Known effect, not changed here (out of scope):
- `.claude/hooks/session-start-fleet.sh` reads
`references/lanes/NAME.md` for the lane named by `OS_FLEET_LANE`. For
the five retired names (`devx`, `server`, `skills`, `spec`, `ui`) its
lane line changes from "seat post: not recorded in" that file to "no"
such file "on this checkout". No seat of those names exists any more.
The hook and its self-test are not edited; the self-test builds its own
fixture tree, where `lanes/skills.md` and `lanes/devx.md` are fixture
names, and passes.
- The ratchet derives its lane roster from the `lanes/` directory, so a
new file there is red until it has a ceiling row. The five moved files
leave that derived check; they keep their ceiling rows and table-row
pins like every other reference file.
Old paths left in place on purpose:
- `scripts/pm/check-governed-queue-guard.mjs`, self-test fixture
`REF_B`: a path string fed to the tier classifier, never opened. It
classifies the same whether or not the file exists, and the file is a
guard instrument, so it is not edited for a fixture name.
- `scripts/pm/check-skill-line-ratchet.mjs`, two comments that record
history (the line-era move declarations, and the lowering of the
`SKILL.md` table-row pin): they describe what those changes did at the
time.
- `packages/lint/CHANGELOG.md`: a released entry.
Not done here, by the card's fence: the ceilings of the files that
shrank are not lowered (numbers are not paths); the 110 freed bytes stay
as headroom.
## Verification
Read first, by risk:
1. `.claude/skills/pm-dispatch/SKILL.md`, the four domain rows of the
〈车道与域〉 table. The risk is a path that does not resolve, or a row wider
than the pin.
2. `scripts/pm/check-skill-line-ratchet.mjs`, the ten re-keyed rows. The
risk is a number that moved with its key; none should.
3. `.claude/skills/pm-dispatch/references/project-forms.md`, the 席位词
line. The risk is that the dropped exception still had something to
except.
Two-minute check: `git grep -nE 'lanes/(devx|server|skills|spec|ui)\.md'
-- .claude/skills scripts/pm` prints three lines only (the `REF_B`
fixture and the two history comments named above), `ls
.claude/skills/pm-dispatch/references/lanes` prints twelve seat files,
and `pnpm check:pm-skill-ratchet` exits 0.
---
_Generated by [Claude
Code](https://claude.ai/code/session_01Utp6CbVtFNKR3FUJJSEsL8)_
Co-authored-by: Claude <noreply@anthropic.com>1 parent b7bddeb commit dd1ffcc
15 files changed
Lines changed: 32 additions & 34 deletions
File tree
- .claude/skills
- pm-dispatch
- references
- domains
- spec-property-retirement
- scripts/pm
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
167 | 167 | | |
168 | 168 | | |
169 | 169 | | |
170 | | - | |
171 | | - | |
| 170 | + | |
| 171 | + | |
172 | 172 | | |
173 | | - | |
174 | | - | |
| 173 | + | |
| 174 | + | |
175 | 175 | | |
176 | 176 | | |
177 | 177 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
| 47 | + | |
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| 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 | | |
12 | 12 | | |
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
| 51 | + | |
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| |||
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
100 | | - | |
| 100 | + | |
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
0 commit comments