Skip to content

Commit 9e5be7b

Browse files
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/cross-repo-coordination.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
- 单车道仓 `repo:*` 席自理机械三务,⛔ 不产 `domain:*`;决策卡入本仓收件箱,不落 objectstack。
77
- 机械三务 = 自扫 sweep、自打 `type`、自做首触(含 `finding`;业务理由归召唤的总监席)。
88
- 新仓登记是一张清单:座位贴、标签、类别归属、门禁盘点、写身份锁移植(deny + hooks)。
9-
- 新仓三件:加入 `GOVERNED_REPOS`、安装车队 App、写 `lanes/<repo>.md` 宪章;应用仓无分诊席。
9+
- 新仓三件:加入 `GOVERNED_REPOS`、安装车队 App、宪章住新仓(`lanes/<repo>.md` 仅指针);应用仓无分诊席。
1010
- 新仓准入只问一句:真需要常设席位吗;hotcrm 宪章住 hotcrm 仓 `docs/PRIORITIES.md`(The seat 节)。
1111
- 车道可分席(席号 `· seat N`):忙时一车道开多席,闲时收归一席;每席独立座位贴。
1212
- 认领评论带 `Seat: <席>#N` 行申报席号(缺省席 1);同席认领互斥,他席认领不触发自退。

‎scripts/pm/check-skill-line-ratchet.mjs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ export const CEILINGS = new Map([
111111
['.claude/skills/pm-dispatch/references/security-findings.md', 3934],
112112
['.claude/skills/pm-dispatch/references/external-contributions.md', 2006],
113113
['.claude/skills/pm-dispatch/references/reading-discipline.md', 3822],
114-
['.claude/skills/pm-dispatch/references/cross-repo-coordination.md', 4920],
114+
['.claude/skills/pm-dispatch/references/cross-repo-coordination.md', 4936], // raised 4920 → 4936 (+16, the landed bytes) by the ruled text (a new repository's charter lives in that repository; objectstack keeps a pointer file under `lanes/`), the maintainer's ruling quoted in the body of card #35238, step 7 (「包括 hotcrm 每个仓库的规则都在自己仓库」, 2026-11-18)
115115
['.claude/skills/pm-dispatch/references/triage-duties.md', 13692], // lowered 13709 → 13692 by the decision-analysis tier-line PR (its pointer to the deleted worked 速读 example dropped); before that: edited byte-neutral by the re-basing PR (12399 → 12399); raised 12399 → 13559 (+1160, the landed bytes) by the rulings whose rows are written in it: ruling records 7031931263 (rows 2–5: 「adr接受你的建议」, 「只考虑合并没人认领的,没开始开发的,你负责处理」, 「影响评测的卡不能关,这个会影响到AI的开发效果」, 「adr和skills修改相对是重要的」), 7032145340 (row 6: 「同意」) and 7032418455 (row 7: 「你分诊的时候是不是应该同时评估大概的卡大小作为参考」); review record 7038100802 triggered the part of rows 2, 3 and 6 added in fix round 1 (one close reason, the sweep roll-over, the never-fold list of standing exclusions) and is a trigger, not a ruling; lowered 13559 → 13544 by the PR that moved the tier and effort values to the one home; raised 13544 → 13709 (+165, the landed bytes) by ruling record 7135874506 (items B4, B7 and C1: 「照推荐:采纳 5 条」)
116116
['.claude/skills/pm-dispatch/references/execution-duties.md', 22249], // raised 19810 → 20148 (+338) by ruling records 7031931263 (row 2, the weekly ADR card: 「adr接受你的建议」) and 7032145340 (row 6, the lane seat claims the weekly sweep card: 「同意」); 20148 → 20154 (+6) by ruling record 7073679594 (the L2 review effort line moves to `high` on the review sweep's readings: 「C」, under ruling 7073045669 point 4); 20154 → 20277 (+123) by ruling record 7075909669 (#36203 items 1-5: 「同意五条都改」): a hold is Blocked-by + pm:blocked on the card, the probe covers card threads; 20277 → 22158 (+1881) by ruling record 7076315104 (the one home for tier and effort, the 定档 section: 「要把规则文字同统一整理一下,避免散落在各处,避免ai犯错」); raised 22158 → 22316 (+158) by ruling record 7076315104 (Q13, the decision card 「定一下:五条新增规则要不要写进技能」: 「五条都写」) (the coordinator session, the area thread and the director's effort); lowered 22316 → 22307 by the PR that drops the triage suggestion line (item C1 of ruling record 7135874506); lowered 22307 → 22249 to its landed size by the #35237 slice-12 pointer PR
117117
['.claude/skills/pm-dispatch/references/filing-gate.md', 9124], // raised 9096 → 9101 (+5) by ruling record 7075909669 (#36203 items 1-5: 「同意五条都改」): same-epic order is the later card's Blocked-by; raised 8386 → 9096 (+710, the landed bytes) by the rulings whose rows are written in it: the rule card's body ruling (row 1, a dedupe hit on an open same-mechanism card ends in a comment: 「感觉你的第二种方案也很好啊」) and ruling record 7032145340 (row 6, the weekly sweep card entry rule and triage's move at first touch: 「同意」); review record 7038100802 triggered the quota line's pointer to row 1 (fix round 1) and is a trigger, not a ruling; lowered 9101 → 9089 by the PR that moved the tier and effort values to the one home; raised 9089 → 9124 (+35, the landed bytes) by ruling record 7135874506 (item A1: 「照推荐:采纳 5 条」)

0 commit comments

Comments
 (0)