Repository navigation
Commit 9e5be7b
chore(pm-dispatch): a new repository's charter lives in that repository; objectstack keeps a lanes/ pointer (#38522)
<!-- claude-projects-attribution: {"github_login":"os-project-manager"}
-->
_Requested by **Leehom** · [project
thread](https://claude.ai/code/project/chan_01TenzsRopZj4jMbvjX8uz1X?thread=cmsg_01TenzsRopZj4jMbvjX8uz1XHogQ9ogKPxHhiFfT2UQgJi)_
Part of #35238
Clause-②: no
Metadata-protocol: none
Rule-change: yes — a new repository's onboarding step changes: its seat
charter is now written in that repository, and objectstack keeps only a
pointer file under `lanes/` (before, objectstack wrote the charter
itself). The text applies the maintainer's step-7 ruling quoted in the
body of the parent card (「包括 hotcrm 每个仓库的规则都在自己仓库」, 2026-11-18), but the
onboarding sentence itself is this PR's wording, so it is declared
`yes`, not `ruled`.
## 维护者速读
- 用户无感:车队内部的接入说明里,新仓库的岗位规则从“写在本仓”改为“写在新仓库自己那里,本仓只留一个指路文件”。
- 属于“每个仓库的规则回到自己仓库”那一步,补上合并后的 hotcrm 指路改动留下的一句旧说法。
- 出错的影响只是下一个新仓库接入时规则写错地方,可直接撤回这一行。
- 要你做什么:本改动动了车队规则,需要你审阅并合并。
## What changes
**Round 2 (head `9d2dd69b34`):** a merge of `origin/main` (`63acc6cde5`,
after #38480 landed) that resolves the adjacent-row conflict in the
ratchet script by keeping both rows, plus body fixes from the review
records. The net diff against `main` is still the same two hunks (+2
−2).
One line of
`.claude/skills/pm-dispatch/references/cross-repo-coordination.md` (line
9), and that file's ceiling row in
`scripts/pm/check-skill-line-ratchet.mjs`.
Before:
```text
- 新仓三件:加入 `GOVERNED_REPOS`、安装车队 App、写 `lanes/<repo>.md` 宪章;应用仓无分诊席。
```
After:
```text
- 新仓三件:加入 `GOVERNED_REPOS`、安装车队 App、宪章住新仓(`lanes/<repo>.md` 仅指针);应用仓无分诊席。
```
The first two steps and the closing clause (application repositories
have no triage seat) are unchanged. The pointer form is the one
`lanes/hotcrm.md` took in #38488.
**Byte ceiling: raised 4920 → 4936 (+16, the landed bytes).** The file
sat at headroom 0, and this wording, which names both halves (charter in
the new repository; `lanes/<repo>.md` as a pointer only), costs 16 bytes
more than the old third step. No other rule was trimmed to pay, per the
dispatch order. The raise cites the ruled text it carries: the
maintainer's step-7 ruling quoted in the body of card #35238 (「包括 hotcrm
每个仓库的规则都在自己仓库」, 2026-11-18 16:19–16:20Z). That ruling has no separate
ruling-record comment id. The closest precedents for citing a ruling
quoted in a card body with no record id are the `filing-gate.md` row
(the rule card's body ruling) and the ratchet header's own citation of
the ruling quoted in the body of card #35229. The `area-lease.md` row
also names a record id, which this row does not.
**Restatement sweep.** `grep` over `.claude/**` and `scripts/pm/` for
宪章, `lanes/<repo>.md`, `新仓` and "charter": the old step appears only on
this line. Line 10 of the same file already says hotcrm's charter lives
in hotcrm (`docs/PRIORITIES.md`). The English "charter" hits in
`scripts/pm/` are unrelated senses (a gate's own purpose, the
pm-dispatch skill as a whole). Nothing else to fix.
## Tests
No behaviour changed (one prose line and one ceiling number), so there
is no new test and no ablation. Read at head `9d2dd69b34`:
- `node scripts/pm/check-skill-line-ratchet.mjs`:
`.claude/skills/pm-dispatch/references/cross-repo-coordination.md is
4936 bytes (ceiling 4936; headroom 0)`, and the table-row pin for it
reads 0 (pin 0).
- `node scripts/pm/check-skill-line-ratchet.mjs --self-test`: `116 cases
pass`. This is the only script that reads this file's size; no other
script reads the sentence (grep for its words under `scripts/` finds
nothing).
<details><summary>Derived gates (dispatch-gates --commands, 40
families): 40 exit 0, at head 9d2dd69</summary>
Round 2: all 40 ran in one `os-verify-lock.sh` call at head `9d2dd69b34`
(VERDICT command-exit 0, held 1104s on a shared box). Before them, the
same call built `@objectstack/lint` and its dependencies (exit 0), so
`check:doc-formula-expressions` had its prerequisite. Every family
exited 0, among them `pnpm check:pm-skill-ratchet`, `pnpm
check:pm-dispatch-gates`, `pnpm --filter @objectstack/lint run
check:doc-formula-expressions`, `pnpm check:skill-frame-sync`, `pnpm
check:pm-governed-merges`, `pnpm check:pm-record-recognisers`, `pnpm
check:nul-bytes` and `node scripts/pm/check-harness-current.mjs
--self-test`. In round 1, `check:pm-dispatch-gates` and
`check:doc-formula-expressions` were NOT MEASURED; both are measured now
(delta contract review N3).
`dispatch-gates --ran`: `40 derived famil(ies) accounted for — 40 run, 0
NOT-MEASURED`.
</details>
`overlap-check` at head `9d2dd69b34`: merges cleanly onto `origin/main`
(`63acc6cde5`), with no open PR sharing a file. #38480, which edited the
`triage-duties.md` row right below this row, merged at 07:49Z; the
round-2 merge keeps that row as `main` has it and this row at 4936.
## Acceptance notes
- `skip-changeset`: `.claude/**` and `scripts/pm/**` are not published,
so the label goes on at creation.
- The ceiling raise (+16) is explained under What changes. It needs the
contract review to accept the citation, a ruling quoted in the card
body.
## Verification
Two-minute check: `node scripts/pm/check-skill-line-ratchet.mjs | grep
cross-repo` prints `cross-repo-coordination.md is 4936 bytes (ceiling
4936; headroom 0)`. Then read line 9 of
`.claude/skills/pm-dispatch/references/cross-repo-coordination.md`
beside `references/lanes/hotcrm.md`.
## Human Minimum
- [x] 1. Schemas start as Zod; `packages/spec` holds no runtime logic.
(not touched)
- [x] 2. Every name I added uses the casing for its kind. (no names
added)
- [x] 3. No formatter ran; `pnpm lint` passes. (CI runs `pnpm lint`)
- [x] 4. One issue, one branch off an up-to-date `main`, one pull
request.
- [x] 5. A change that publishes carries a changeset, and both
declaration lines are filled in here and in the changeset. (publishes
nothing: `skip-changeset`)
- [x] 6. `packages/spec` touched: its generated artifacts are
regenerated and committed. (not touched)
- [x] 7. No hand edits to `content/docs/references/`,
`packages/*/CHANGELOG.md` or `content/docs/releases/`.
- [x] 8. Title, body and comments are in English. (the 维护者速读 block is in
Chinese, as the fleet rules require)
- [x] The *Before Submitting* list in CONTRIBUTING.md is done.
---
_Generated by [Claude
Code](https://claude.ai/code/session_01FEkQ5oPfjnm2yWHEwkiYrn)_
<!-- signed: repo:objectstack#5 · os-project-manager ·
session_01FEkQ5oPfjnm2yWHEwkiYrn -->
Co-authored-by: Claude <noreply@anthropic.com>1 parent 0a71cde commit 9e5be7b
2 files changed
Lines changed: 2 additions & 2 deletions
File tree
- .claude/skills/pm-dispatch/references
- scripts/pm
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
114 | | - | |
| 114 | + | |
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
| |||
0 commit comments