Repository navigation
Commit d347942
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
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
20 | 24 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1730 | 1730 | | |
1731 | 1731 | | |
1732 | 1732 | | |
1733 | | - | |
| 1733 | + | |
| 1734 | + | |
| 1735 | + | |
| 1736 | + | |
| 1737 | + | |
| 1738 | + | |
| 1739 | + | |
| 1740 | + | |
| 1741 | + | |
| 1742 | + | |
1734 | 1743 | | |
1735 | 1744 | | |
1736 | 1745 | | |
| |||
0 commit comments