Skip to content

Commit d347942

Browse files
docs(pm-dispatch): triage does not spread words the maintainer said to one seat (#33285)
<!-- claude-projects-attribution: {"github_login":"os-project-manager"} --> _Requested by **Leehom** · [project thread](https://claude.ai/code/project/chan_01TenzsRopZj4jMbvjX8uz1X?thread=cmsg_01TenzsRopZj4jMbvjX8uz1XSdNtqRQKeJWctg8Q28AycX)_ domain:skills#1 · os-project-manager · session_01FEkQ5oMJqtgxDGnJRCAnoK Fixes #33226 Clause-②: no Metadata-protocol: none ## 维护者速读 - 改了什么:分诊席章程 `lanes/triage.md` 加四行。首行即规则「维护者对某座位说的话不扩散」,下面三行是卡上三条细则。 - 为什么改:分诊读所有座位的座位贴、信箱和简报,曾把您对某个账户说的「下班」当成对全体的令,再回头问您是否也适用于分诊,白占您一轮。 - 风险与回滚:只改给 agent 读的章程文字和该文件的行数上限(20 改 24),不动代码与门禁逻辑;回滚即还原本 PR。 - 先看:`.claude/skills/pm-dispatch/references/lanes/triage.md` 第 20–23 行;再看 `scripts/pm/check-skill-line-ratchet.mjs` 中该文件的上限行与注释。 - 两分钟验证:`node scripts/pm/check-skill-line-ratchet.mjs`,预期 `lanes/triage.md is 24 lines (ceiling 24; headroom 0)`。 - 需要你做的:无,席位落地(Tier S,`.claude/**`,席内契约复审后入队)。 ## What changes - `.claude/skills/pm-dispatch/references/lanes/triage.md`: four lines after the seat-hand-over line (L19), before the security line. Line 1 is the maintainer's one-line rule in the shape comment 6872810212 asks for, first and short: words the maintainer said to one seat are not spread; what triage reads quoted in another seat's post, mailbox, release note or brief binds that seat's account only. Lines 2–4 are the card body's three bullets: - triage does not apply such words to itself or to other seats, does not relay them onward as fleet-wide, and does not ask the maintainer to confirm their scope; - a RELAYED fleet-wide or triage-directed order counts only when said in triage's own session or recorded on triage's seat post as a ruling to triage (the line opens with 转述的, so the maintainer's own words on a card stay in force, per `untrusted-text.md` and `lanes/director.md`; contract review 6880199037); - a relayed order's effect that is triage's job is still recorded (a seat going offline in the round record, a card back in the queue), but the order is never extended. - `scripts/pm/check-skill-line-ratchet.mjs`: the `lanes/triage.md` CEILINGS row moves 20 → 24, with a comment beside it quoting the ruling and the measured delta. Comment and number only; no gate logic changes. ## Why - Premise checked on `origin/main` d4fbb4d: `lanes/triage.md` (20 lines) carried no scope rule for relayed maintainer words. `grep -nE '转述|扩散|bind|relay|scope'` on it returns nothing. - Placement: the rule is stated once, in triage's own charter, as the card and the order rule (not a fleet-wide rule). `triage-duties.md` gets no pointer: its only seat-post read (L6) is triage's own seat post as the `since` anchor, and it reads no other seat's post, mailbox or brief. The other-seat reads (knocks, progress answers, signed-off seats) all live in `lanes/triage.md` L13, L18–L19, right above the new lines. - Ceiling raise, paid by a ruling, not by deletion: the file was at ceiling 20 with headroom 0, and nothing in it restates text whose home is elsewhere. The text is ordered by the maintainer's words on the card, verbatim: 「所有座位当前任务处理完就下班,我说的都是针对某个具体 agent 账户」, 「转述指令要写明对谁说, 其实问题的关键你是分诊你才会关心别人的座位帖」 (card body) and 「也就是说,对某个座位说的话不要扩散就行」 (comment 6872810212). Measured delta +4 (20 → 24 lines). `lanes/triage.md` is not a CROSS_FILE_MOVES destination, so no `ruledRaises` record applies, same as its 15 → 17 and 17 → 20 raises. - Line widths, all ≤ 120 bytes: 120, 94, 120, 105. Line 2 says 余席 (the remaining seats), so its referent does not shift from line 1's 他席. - Not folded with #33157: a different rule in a different file; the two file surfaces do not intersect. ## Tests None owed: governed prose plus a ceiling number. No behaviour changed, so no new test and no ablation. The ratchet script's own suite was run because its file changed: `node scripts/pm/check-skill-line-ratchet.mjs --self-test` exit 0, "164 cases pass". ## Acceptance notes - Governed surface, `node scripts/pm/check-governed-merges.mjs --branch claude/project-thread-x0z4x9` on e9e87b4 (rework round 1 changes wording only in the same two files): ```text governed-surface predicate: 1 of 2 path(s) hit the register (13 surfaces govern objectstack). ⛔ GOVERNED — Tier S(席内达档复核落地): every governed path here lies under a Tier S surface, so the OWNING seat lands this PR through the queue once its thread (or its card) carries a `## Contract review` record for the CURRENT head — `Served-tier: CONTRACT_REVIEW_TIER`, `**VERDICT: PASS**` — and every check green (AGENTS.md Prime Directive #14). .claude/** ×1 — the agent instruction tree (skills, agents, hooks, settings) - .claude/skills/pm-dispatch/references/lanes/triage.md paths not on the register: scripts/pm/check-skill-line-ratchet.mjs size: 15 changed line(s) (+14 / -1) ≤ 3000 — under the human-merge threshold (generated files included in the count). ``` - `node scripts/pm/dispatch-gates.mjs --tier`: "Model tier — no path-derived mandate: the surface hits none of the 4 declared glob(s)". ## Verification Gate union derived by `node scripts/pm/dispatch-gates.mjs --commands --repo objectstack-ai/objectstack` (37 families for this diff), run on head `71f95d19` (rework round 1; first run on e9e87b4, same 37, all exit 0), each exit code captured before any pipe: - **37 run, exit 0 each**, among them `pnpm check:pm-skill-ratchet`, `pnpm check:ratchet-remedy-authority`, `pnpm check:skill-frame-sync`, `pnpm check:pm-governed-merges` and `pnpm check:pm-dispatch-gates`. `pnpm --filter @objectstack/lint run check:doc-formula-expressions` ran after building formula and lint under the verify lock. - `--ran`: "37 derived famil(ies) accounted for — 37 run, 0 NOT-MEASURED (a DERIVED zero — all 37 recorded an exit code and none of them is 3)". - Also run, outside the derivation: `node scripts/pm/check-skill-line-ratchet.mjs` exit 0 (`lanes/triage.md is 24 lines (ceiling 24; headroom 0)`), `node scripts/check-skills-token-ratchet.mjs` exit 0, `pnpm check:pm-governed-prose` exit 0. - `pnpm lint`: the diff touches no package, so there is no scoped package lint. - CI families are read from this PR's check-runs, not re-run here. `skip-changeset`: `.claude/**` and `scripts/pm/**` only, published by no package. ## 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. (none added) - [x] 3. No formatter ran; `pnpm lint` passes. - [x] 4. One issue, one branch off an up-to-date `main`, one pull request. - [x] 5. A change that publishes carries a 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 维护者速读 section is Chinese by the dispatch contract). - [x] The *Before Submitting* list in CONTRIBUTING.md is done. --- _Generated by [Claude Code](https://claude.ai/code/session_01FEkQ5oMJqtgxDGnJRCAnoK)_ 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01FEkQ5oMJqtgxDGnJRCAnoK <!-- signed: domain:skills#1 · os-project-manager · session_01FEkQ5pjSPT7ui2EUcunaVb --> --------- Co-authored-by: Claude <noreply@anthropic.com>
1 parent dd966fc commit d347942

2 files changed

Lines changed: 14 additions & 1 deletion

File tree

‎.claude/skills/pm-dispatch/references/lanes/triage.md‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,8 @@
1717
- 每轮扫 `pm:dispatched` 卡与非信箱 open PR,进展=head 提交/非分诊评论/其席改标,非 `updated_at`。
1818
- 进展逾 3h 即敲认领席 `Request: progress`,下轮读答复,无答列轮次记录;两轮无答视为掉线。
1919
- 掉线或下班席的项归在线兄弟席(`seat-lifecycle.md`),下轮敲兄弟席一次;⛔ 分诊永不释放。
20+
- 维护者对某座位说的话不扩散:他席座位贴、信箱、发版说明或简报所引只约束该席账户。
21+
- 分诊不套用于自身或余席,⛔ 不当全车队令转述、不问维护者其范围。
22+
- 转述的全车队或对分诊的令只认维护者在分诊会话所说,或分诊座位贴所记对本席的裁决。
23+
- 转述令属分诊职责的后果照记(下班席入轮次记录、卡回队列),⛔ 不扩展该令。
2024
- 安全发现:即推 ① 后转交归属席即止(`security.md` 座位);有公开卡只定 `security`+p1,余不判。

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

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1730,7 +1730,16 @@ export const CEILINGS = new Map([
17301730
// the escalation) and amendment 6595840476 (maintainer 「同意:下班席位的卡交给
17311731
// 兄弟席」, the idle reading and the sibling hand-over, which names this
17321732
// file). Measured delta +3 (17 → 20 lines); landed count, headroom 0.
1733-
['.claude/skills/pm-dispatch/references/lanes/triage.md', 20],
1733+
// 20 → 24 (#33226): words the maintainer said to one seat are not spread —
1734+
// the one-line rule first, then the card body's three bullets (bind that
1735+
// seat's account only; relayed fleet-wide or triage-directed orders only from
1736+
// triage's own session or seat post; record a relayed order's effect, never
1737+
// extend it). Ruling of record: the maintainer in the triage#1 session,
1738+
// 2026-11-14, 「所有座位当前任务处理完就下班,我说的都是针对某个具体 agent 账户」,
1739+
// 「转述指令要写明对谁说, 其实问题的关键你是分诊你才会关心别人的座位帖」 (card
1740+
// body) and 「也就是说,对某个座位说的话不要扩散就行」 (comment 6872810212).
1741+
// Measured delta +4 (20 → 24 lines); landed count, headroom 0.
1742+
['.claude/skills/pm-dispatch/references/lanes/triage.md', 24],
17341743
// Review seat charter (`review#N`): the seat whose only job is the contract
17351744
// review, held on any account that reaches CONTRACT_REVIEW_TIER — its seat
17361745
// word, mailbox, review-seat-first routing of `Request: contract-review`

0 commit comments

Comments
 (0)