Skip to content

Commit 124c934

Browse files
chore(pm-dispatch): tier and effort live in one section; the build tier is derived, effort tops at high (#36376)
<!-- claude-projects-attribution: {"github_login":"zhuangjianguo"} --> _Requested by **Steedos** · [project thread](https://claude.ai/code/project/chan_018ETKaNwMZCNRYD7D8Q9Ubb?thread=cmsg_018ETKaNwMZCNRYD7D8Q9UbbCxiFE11rsKwyNffJZKYqJs)_ repo:objectstack#7 · zhuangjianguo · session_01QsR2jSQkebczqNyjnNrLRH Part of #36358 (items 1-10, the ruled copy; items 11-15, the five new rule lines the maintainer approved as Q13, stay on the card for a second pull request) Clause-②: no Metadata-protocol: none Rule-change: ruled Ruling-ref: 「要把规则文字同统一整理一下,避免散落在各处,避免ai犯错」 — the maintainer, project thread, 2026-11-22T07:47Z (Q10 of ruling record 7076315104 on #36358, which holds Q1-Q13 verbatim; its addendum 7076338827 holds Q14) ## 维护者速读 - 用户无感:这是车队内部规则文字的整理,档位和 effort 的取值从十几个文件收到一处,其他文件只留指向它的一句话。 - 为什么做:有两张派单把「改产品契约」读成了「要用最高档开发」;现在写明只有改车队自己规则的卡才用最高档开发,effort 最高用 high,更高的只留 ADR 修订和高危安全修复的对抗复核两处。 - 出错会怎样:席位派单时档位或 effort 可能取错,表现为某张卡开错档;撤回本次合并即可恢复原文,不影响产品和用户数据。 - 要你做什么:无。 ## What changes One section now holds every tier and effort value: `### 定档` at the end of the dispatch section of `.claude/skills/pm-dispatch/references/execution-duties.md`. Every other file points at it and states no value. **The home, read top to bottom** - Lines 1-3 answer the question that was misread (items 1 and 3; Q1, Q8). A card is built at the ceiling tier for two reasons only: `dispatch-gates.mjs --tier` prints a MANDATORY line for its paths, or the maintainer's own words name it. Size, difficulty, heavy process, doubt, p1, the `security` label and a product-contract change are named as non-reasons. A product-contract card (`Clause-②: yes`, a `Metadata-protocol` kind, a `packages/spec/src/**` path) is built at the default tier; those three signals decide whether a card thread opens and which L2 review is owed, never the build tier. - Clause ① and the mandated set are re-laid, not changed (Q8): the four surfaces, the one-line-class exit, its absence for `skills/**` and `docs/adr/**`, the compensating L2 review, the two quota exits, no downgrade for a missing grant. The term 协议语义面 is renamed 车队规则面, with the old name kept beside it and a clause saying it never means the product protocol or a product contract (item 10). - By role (item 8a): seat sessions, the director seat (tier only; no effort row, the card orders it left out), decision threads, card threads, area threads, sub-agents. - Effort (item 5; Q2-Q6, Q9, Q12): S, nit and text cards `medium`; M, L and XL `high`; L2 review, design re-read, red-line re-read and the four-axis decision analysis `high`; a medium-severity security change `high`. `high` is the top. Above it only two cases: an ADR revision (the standing order, unchanged), and the read-only adversarial review of a high-severity security change, whose value is passed to that sub-agent and never claimed. That case is graded by consequence whatever its carrier (Q4 and Q12 name no carrier). - Gone: the unattended-over-30-minutes and measured-gain exits to the higher effort, and the top effort level by name or standing order. The measurement line now chooses among `low`, `medium`, `high`. **Former restatements and the pointer that replaced each (item 9)** | File | Was | Now | |---|---|---| | `references/coordinator.md` 四 | its own tier sentence for 协议语义面 cards | "values live only in the home; the coordinator opens the thread as the order says" | | `references/coordinator.md` 五 | decision thread at the ceiling, effort stated | pointer to the home | | `references/decision-analysis.md` | decision-thread tier and effort, the named-only top level | pointer; plus the Q14 line (below) | | `references/dispatch-runbook.md` | probe tier, long-thread reader tier, scope-review agent tier, "the `--tier` line or the difficulty reading" | no tier words; the contract line says the three signals only decide whether a thread opens; the order quotes the `--tier` line for the tier and the difficulty reading for effort (item 2) | | `references/seat-lifecycle.md` | seat-session effort value | pointer | | `references/area-lease.md` | thread effort value, option-set review tier | pointer | | `references/triage-duties.md` | triage sub-agent tier | no tier word (the invariant line in `SKILL.md` names the home) | | `references/lanes/l2-review.md` | seat-session tier and effort | pointer (the account-capability sentence stays: it is a seating condition, not a value) | | `references/lanes/security.md` | review-agent tier | pointer | | `references/lanes/skills.md` | "the pm-dispatch root is always the ceiling" (wrong for `references/**`) | pointer | | `references/lanes/server.md`, `lanes/spec.md` | pointers to a table `SKILL.md` does not hold | pointer to the home | | `references/filing-gate.md`, `.claude/agents/os-dev.md` | "ceiling-tier decision thread" | "decision thread" | | `references/readings-session.md` | the no-downgrade rule restated | pointer | | `references/seat-post-protocol.md` | "pick the tier by duty" | pointer | | `.claude/skills/pm-dispatch/SKILL.md` | triage default tier; "ceiling" before decision thread, twice; the director-tier rule | one invariant line naming the home; the director line keeps only its ledger duty | | `SKILL.md` claim template, effort slot (item 6) | four levels, with timing and measured-record citations | `medium` or `high` by difficulty; the higher level only for an ADR revision; a security change claims `high` and the review value goes to the sub-agent only | | `.claude/skills/checklist-test/SKILL.md` (item 7) | its sentence naming the higher level | "anything higher follows the pm-dispatch home"; its own QA-runner values stay | | `docs/qa/platform-checklist/RUNNER.md` | the security effort values restated in a parenthesis | pointer to the home | - `os-dev.md` keeps its front-matter and the one line a card thread acts on without reading the skill (an order with no derivation is sent back), now pointing at the home for values. - One line is deleted from `dispatch-runbook.md` to pay bytes: "a thread or area that sees an order with no derivation does not start". The same rule stays in `os-dev.md`, which every thread and area reads. - `contract-review.md` is untouched: it keeps the review tier by face, and the home points at it. **Q14 (addendum 7076338827)**, built in as the order says: `decision-analysis.md` gains one line. A simple question, one whose answer no ruling, pull request or other seat will cite, still gets the at-tier independent analysis first and is then asked in chat, and need not be written as a file or a decision card (the ruling's own modality, 「不一定」); a question whose answer will be cited is recorded on a card as before. `SKILL.md` says the exception on each of the three lines of 〈升级与决策〉 it qualifies: "card before the prompt" (277), "do not ask the maintainer in your own session" (280) and "a ruling is put only through the director seat and decision threads" (284). **Review round, folded in at this head**: the L1 item (the "card before the prompt" line contradicted Q14) and the contract review's S1 (the same section, lines 277 and 284), N1 (the chat-question line copies the ruling's modality), N3 (the named effort cases again say they win over the size line, as main's text did), N5 (a pointer in `triage-duties.md` that named no file is dropped) and N6 (three ratchet row comments). N2, N4 and N7 were accepted as they stand; N7 is met anyway, since the invariant line no longer says "nowhere else". The L1 nit on the clause-② line of the dispatch section is left: the card says those lines stay as they are. ## Why Orders for two cards on 2026-11-22 named the ceiling tier for the build because the cards changed a product contract. The rule text never said that, but it was spread over more than a dozen files that disagreed, and one sentence used 协议 for the fleet's own rule files while the same word names the product protocol elsewhere. The maintainer ordered the text into one place (Q10) and set the effort scale (Q2-Q6, Q9, Q12). Two earlier readings are superseded here, both by the maintainer's later words: the red-line re-read moves to `high` (Q3; it was set higher by decision 二 of ruling record 7024443457, landed by #36254), and the long-unattended and measured-gain exits that #35270 had left standing are removed (Q5). #36267 (the adversarial review keyed on the advisory carrier only) is folded in: the home keys it on consequence. One follow-up is filed and not part of this diff: objectstack-ai/hotcrm#2738, whose `AGENTS.md` still states the old review effort. ## Tests No test file changes: the diff is rule text and the ratchet's `CEILINGS` rows. No self-test row changes outside `scripts/pm/check-skill-line-ratchet.mjs`. `scripts/pm/dispatch-gates.mjs` and `dispatch-gates.data.mjs` are not touched. ## Acceptance notes - `git grep -n -E 'xhigh|\bmax\b'` over `.claude/skills/pm-dispatch`, `.claude/agents/os-dev.md`, `.claude/skills/checklist-test/SKILL.md` and `docs/qa/platform-checklist/RUNNER.md` returns five lines: three in the home (the ADR-revision rule, the security adversarial review, the 拿不准 prohibition), the `SKILL.md` claim template's effort slot, and `os-dev.md` 93, which is the Node flag `--max-old-space-size`, not an effort level. - The home's first three lines, read alone, answer "does a `packages/spec/src/**` card build at the ceiling?" with no. - `dispatch-gates.mjs --tier` on `SKILL.md` and `os-dev.md` prints the same MANDATORY rows as on main; the tool is byte-identical. - No skill line carries a card number, a comment id or a dated quotation; the sources are in this body and in the ratchet's row comments. - Tier and effort words that remain outside the home, each on purpose: `checklist-test/SKILL.md` keeps its QA-runner values (item 7); `SKILL.md` keeps the claim template's spelling of the two slots and one `TIER_DEFAULT` in a review-routing pointer; `lanes/l2-review.md` keeps the account capability; `readings-session.md` keeps one measured fact about Routine seats. ## Verification **Bytes** (`node scripts/pm/check-skill-line-ratchet.mjs`, exit 0 at the head; main is ed33f8a, which holds the four rows #36205 raised, and the deltas below are measured on top of them) | File | main | head | delta | ceiling row | |---|---|---|---|---| | `execution-duties.md` (the home) | 20272 | 22158 | +1886 | 20277 → 22158 (+1881), raised by ruling record 7076315104 (Q10); the other 5 bytes are headroom main's row already had | | `decision-analysis.md` | 4892 | 5023 | +131 | 4892 → 5023, raised by addendum 7076338827 (Q14) | | `SKILL.md` | 33865 | 33881 | +16 | 33872 → 33881 (+9), raised by addendum 7076338827 (Q14: the exception on lines 277 and 284); the other 7 bytes are headroom main's row already had | | `coordinator.md` | 4265 | 4230 | -35 | lowered to 4230 | | `readings-session.md` | 4874 | 4828 | -46 | lowered to 4828 | | `filing-gate.md` | 9101 | 9089 | -12 | lowered to 9089 | | `dispatch-runbook.md` | 20354 | 20344 | -10 | lowered to 20344 | | `lanes/skills.md` | 2666 | 2656 | -10 | lowered to 2656 | | `seat-lifecycle.md` | 9076 | 9070 | -6 | lowered to 9070 | | `triage-duties.md` | 13559 | 13544 | -15 | lowered to 13544 | | `lanes/l2-review.md`, `lanes/security.md`, `lanes/server.md`, `checklist-test/SKILL.md` | | | -2 each | lowered to the landed size | | `os-dev.md` | 38845 | 38846 | +1 | 38848, unchanged | | `area-lease.md`, `lanes/spec.md`, `seat-post-protocol.md` | | | 0 | unchanged | The home's raise of +1881 is the measured cost of the section: it takes in the role, sub-agent and decision-thread values that lived in ten other files, and spells out lines 1-3 and the renamed term so that no line needs a second file to be read. The three raised rows quote their ruling ids in the row comments. `docs/qa/platform-checklist/RUNNER.md` has no ratchet row (88986 → 88872). **Gates** (head bc2415b, which merges main ed33f8a and carries the review round): the 51 commands `dispatch-gates.mjs --commands` derives for this diff all exit 0, each code captured before any pipe. `dispatch-gates.mjs --ran` reads the record as "51 derived, 51 run, 0 NOT-MEASURED, 0 UNRUN". `check:doc-formula-expressions` needs `turbo run build --filter=@objectstack/formula --filter=@objectstack/lint` first (run under the verify lock; without it the gate exits 3, nothing measured). The phrase-pin self-tests the card names (`card-pick.mjs`, `check-prior-rulings.mjs`, `fleet-roster.mjs`, `label-write.mjs`) exit 0. `overlap-check.mjs` at this head: clean, no open pull request shares a file. Two merges of main: the first took one conflict, in the ratchet's rows only (the four rows #36205 raised are re-measured on top of its values); the second was clean. **Read first** (by risk) 1. `references/execution-duties.md`, the `### 定档` section: lines 1-7 (the ceiling's two reasons and the mandated set) against Q8. A change in meaning there is REWORK. 2. `SKILL.md` 277, 280 and 284: the Q14 exception, said on each line it qualifies (review finding S1 of the contract review and item 1 of the L1 review, both folded in), and the 9-byte raise of that file's row. 3. `references/dispatch-runbook.md` 122-127: the contract line, the derivation line, and the deleted third line. **Two-minute check**: run `git grep -n -E 'xhigh|\bmax\b' -- .claude/skills/pm-dispatch .claude/agents/os-dev.md .claude/skills/checklist-test/SKILL.md docs/qa/platform-checklist/RUNNER.md` and expect the five lines listed above. ## Human Minimum - [x] 1. Schemas start as Zod; `packages/spec` holds no runtime logic. (No `packages/spec` change.) - [x] 2. Every name I added uses the casing for its kind. (None added.) - [x] 3. No formatter ran; `pnpm lint` passes. (Markdown and one data table.) - [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. (Nothing publishes; `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 the maintainer's Chinese summary.) - [x] The *Before Submitting* list in CONTRIBUTING.md is done. --- 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01QsR2jSQkebczqNyjnNrLRH <!-- signed: repo:objectstack#7 · zhuangjianguo · session_01QsR2jSQkebczqNyjnNrLRH --> --------- Co-authored-by: Claude <noreply@anthropic.com>
1 parent a57efde commit 124c934

20 files changed

Lines changed: 88 additions & 81 deletions

‎.claude/agents/os-dev.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -354,11 +354,11 @@ model: opus
354354
- 同 PR 改,正文点名裁决 id,落地欠达档 L2 记录;⛔ 永不自行翻转裁决,与之相左仍停手。
355355
- 两种读法通向两种架构时同此;⛔ 不写投机代码。
356356
- 返回 `status: "needs_decision"`,每个问题带选项、真实代价与工作量、推荐,写进 `open_questions`。
357-
- 需维护者裁的事 dev ⛔ 不直接问他:报 `needs_decision`,席位转天花板档决策线程。
357+
- 需维护者裁的事 dev ⛔ 不直接问他:报 `needs_decision`,席位转决策线程。
358358
- 派发词标只读读数 ⇒ 不 commit、不开 PR,`status: "reading"` 贴决策卡;要实测才建闭包跑测。
359359
- 框架唯一副本在 pm-dispatch SKILL.md 〈升级与决策〉;派发词逐字粘贴,dev ⛔ 不留副本。
360360
- 每个方案逐轴分析,推荐也按那些轴给理由;派发词没带,停下向 PM 索取,⛔ 不自拟一套轴。
361-
- 卡线程或区:派发令缺档位或 effort 的推导 ⇒ 不开工,退回席位;⛔ 不凭记忆补档位。
361+
- 线程或区:派发令缺档位/effort 推导 ⇒ 退回席位不开工;取值照 `execution-duties.md`,⛔ 不凭记忆。
362362
- `main` 碎了、依赖未合并、CI 基础设施故障 ⇒ 报 `blocked` 附证据,重试到排除你的改动。
363363
- 报 `blocked` 须写明卡的哪部分不等阻塞可先做;只挡一部分 ⇒ 席位把等待部分拆成单卡。
364364

‎.claude/skills/checklist-test/SKILL.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ Tier 1 批量清掉,剩下的预算才对得起 Tier 2。
104104
⛔ 不凭记忆(floor sonnet · default opus · ceiling fable);每个给:该项 JSON、RUNNER.md、dogfood 技
105105
能、自己的端口/DB、结果不进仓规则(§4)。
106106
- **effort 按卡形状定,派发写明,⛔ 不留空。** runner 卡(Tier 1 pin 批、手工 API/CLI 与浏览器
107-
组、P0 冒烟、UX 走查)与争议判定的对抗复核 `high`;`xhigh` 只照 pm-dispatch `execution-duties.md`。
107+
组、P0 冒烟、UX 走查)与争议判定的对抗复核 `high`;更高只照 pm-dispatch `execution-duties.md`。
108108
- **按后端传档。** `Agent` 子代理显式传 `effort`(本条即传参的依据)。云卡(`create_session`)不收
109109
effort,卡的会话记录也不带 `effort_level`,跑在哪档读不回(实测):派发记录写「未指定」并附
110110
发起会话 `get_session` 读到的档位;它高于卡形状时照 pm-dispatch `dispatch-runbook.md`

‎.claude/skills/pm-dispatch/SKILL.md‎

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ PM 的工作是循环:选卡 → 认领 → 派发 → 收集 → L1 审核 →
7979
- 项目席唤醒 = PR 订阅 + 自建自绑巡查 routine(总监席与按需席除外);⛔ 无 `send_later` 链。
8080
- 探针先行:fire 的第一动作是一次最便宜的车道盘点查询,⛔ 在它之前不读任何长文本。
8181
- 队列空(逐卡表见 `references/seat-lifecycle.md`)+ 无在飞 + 无待 L1/L2 + 决策箱无新答复 ⇒ 自退。
82-
- 分诊席与车道席常驻(按需席除外),断粮换号重开席与信箱;分诊默认判断档;裁决归总监。
82+
- 分诊席与车道席常驻(按需席除外),断粮换号重开席与信箱;裁决归总监。
8383
- 子代理裁决逐份过转录核验采信。
8484

8585
## 阶段细则索引
@@ -105,6 +105,7 @@ PM 的工作是循环:选卡 → 认领 → 派发 → 收集 → L1 审核 →
105105
- 席位及其子代理 ⛔ 永不打印环境变量的值;判存在只用不印值的形式 `[ -n "${X+x}" ]`。
106106
- GitHub 上一切新内容用英文;中文只留三通道(维护者速读、轮报、裁决引文)。
107107
- 四维分析写英文、归分析段,只管新记录;存量中文 ⛔ 不追溯改写。
108+
- 档位与 effort 只住 `references/execution-duties.md` 定档节。
108109

109110
## 状态模型
110111

@@ -273,14 +274,14 @@ PM 的工作是循环:选卡 → 认领 → 派发 → 收集 → L1 审核 →
273274
- 长远合理性权重恒 ≥50%:推荐以长远的读数领起,四轴冲突时其余各轴合起来投不翻它。
274275
- 权重只排推荐不授权:读缩小特例与契约增生,⛔ 不背书投机扩张、不放行人工地板事。
275276
- 四维分析从业务角度写;四棱是四轴的卡面序列化,一一对应,是人工裁决的输入。
276-
- 卡先于弹窗:需裁决先落 `needs-user-decision` 卡;列选项等答的聊天即弹窗;⛔ 不 assign 推送。
277+
- 卡先于弹窗:需裁决(简单问题除外)先落 `needs-user-decision` 卡;列选项等答的聊天即弹窗;⛔ 不 assign 推送。
277278
- 决策卡带选项、推荐、证据、四棱块与工作量列;受阻执行卡同笔挂 `pm:blocked`+`Blocked-by:`。
278-
- 需人工裁先过天花板档:卡入决策箱、放认领,席位请协调者开决策线程,裁决由席位录卡。
279-
- ⛔ 席位、分诊与 dev 不在自己会话直接问维护者;细则见 `references/decision-analysis.md`。
279+
- 需人工裁先过决策线程:卡入决策箱、放认领,席位请协调者开线程,裁决由席位录卡。
280+
- ⛔ 席位、分诊与 dev 不在自己会话直接问维护者;简单问题可免卡直问,细则见 `references/decision-analysis.md`。
280281
- 推送维护者:受管 PR 待批合、决策卡待字、发版、仅其可解之阻 ⇒ 另发 `PushNotification`。
281282
- 一行 ≤200 字,先写动作与编号;每项恰一次,例行进展、刚问刚答与在场即见的不推。
282-
- 总监席档位由维护者按项目人工定,每场记入摘要台账;⛔ 无档位硬门、无免档整理态。
283-
- 呈裁只经总监席与天花板档决策线程,恒由维护者人工裁;⛔ 无代裁无自裁无子代理。
283+
- 总监席档位每场记入摘要台账。
284+
- 呈裁(简单问题除外)只经总监席与决策线程,恒由维护者人工裁;⛔ 无代裁无自裁无子代理。
284285

285286
## 报告契约
286287

@@ -315,7 +316,7 @@ Worktree: `<repo>-issue-<n>`
315316
Domain: `domain:<x>`
316317
Seat: `domain:<x>#<n>` (the seat number this PM sits on; absent = seat 1)
317318
File surface: `<预期触碰的目录>` (stop on breach; explain in the report)
318-
Container & model: `<S 级机械卡 / M / L>`, `mode:subagent | mode:cloud | mode:thread`, `model: <档位词,引当次 --tier 输出;天花板拼 CONTRACT_REVIEW_TIER,同行引其 MANDATORY 路径行或 reason:(逐卡裁决,或常设档位令的 id 与时刻);⛔ 不抄模型 id>`, `effort: <medium | high | xhigh | max,按卡难度定;xhigh 同行引其时长读数、实测记录或常设令的 id 与时刻>`
319+
Container & model: `<S 级机械卡 / M / L>`, `mode:subagent | mode:cloud | mode:thread`, `model: <档位词,引当次 --tier 输出;天花板拼 CONTRACT_REVIEW_TIER,同行引其 MANDATORY 路径行或 reason:(逐卡裁决,或常设档位令的 id 与时刻);⛔ 不抄模型 id>`, `effort: <medium | high,按卡难度定;xhigh 仅 ADR 修订;安全修复写 high,对抗复核的值只传子代理>`
319320
Clause-②: yes | no
320321
Metadata-protocol: added | narrowed | semantic | none (the kind of change to what a metadata author can write; levels: AGENTS.md's Post-Task Checklist step 3; the dev copies it beside `Clause-②:` into the PR body and each changeset body; a kind other than `none` or a `(narrowing)` arm owes the PR body a third line, from the diff: `Skills-docs: updated here | follow-up owed — FILES | follow-up #N | none — REASON`; `updated here` = the diff teaches it in the docs (in `skills/**` only on `domain:skills` PRs, else `follow-up #N`) and its evals exercise it; the seat files the owed card, rewriting `owed — FILES` to `#N` before ACCEPT via `references/seat-post-protocol.md`'s PR-body line)
321322
Responsibility: `<whose code produces the risk, and the repo it lives in (objectstack ⇒ a platform card carries the fix, references/cross-repo-coordination.md rule 1) | the platform path that already covers it, or none | who reaches it, and whether anyone uses it today>` (defect cards and cards whose premise is a failing behaviour, else `n/a — not a defect card`; the dispatch prompt's ruling section repeats the three answers)

‎.claude/skills/pm-dispatch/references/area-lease.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,11 +56,11 @@
5656
- 席位每轮照 `execution-duties.md` 四件套行复查全部已 PASS 受管 PR,各区转来的一并在内。
5757
- 性能卡与 PR 的提速数字只引已过 L1 的 bench PR 读数;⛔ 不引估算或未过 L1 的本地测量。
5858
- 席只裁路由(拆并延、归区);改可见行为或解读 ADR 照 SKILL.md〈升级与决策〉呈维护者。
59-
- 仅呈维护者选项组过独立 `CONTRACT_REVIEW_TIER` 评审,多卡一批;席自裁 ⛔ 不起评审,自读码。
59+
- 仅呈维护者选项组过独立评审,多卡一批;席自裁 ⛔ 不起评审,自读码。
6060
均带 `Prior rulings read:` 行,开工前呈 ⛔ 不在施工中途。
6161
- 席信箱只收:待裁、待落地受管 PR、跨区冲突、阻塞、交接完成;安全照 `security-findings.md`。
6262
- 线程约 150k 即在干净点轮换,⛔ 不在 L1/L2 中途;交接写 `/mnt/project-files/<席>/handover-<区>.md`。
63-
- 省耗:dev 推前照 os-dev.md〈本地验证范围〉;跨线程只传指针;线程 effort high;⛔ 不减 dev。
63+
- 省耗:dev 推前照 os-dev.md〈本地验证范围〉;跨线程只传指针;档位与 effort 照 `execution-duties.md`;⛔ 不减 dev。
6464
- 每读一次用量,在座位贴评论记一行:用量 %、关卡数、合并 PR 数。
6565

6666
## 交接与换号

‎.claude/skills/pm-dispatch/references/coordinator.md‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,14 @@
3131
- 槽位只算在建的线程:等人(授权批准、决策卡)或等席位 L1/L2 审核的卡线程不占槽。
3232
- 交回或合入即释放槽位;S 卡的席内子代理只计该席 `batch`,不计本上限。
3333

34-
## 四、effort 与档位按难度(coordinator 开线程时读;席位请线程时读)
34+
## 四、档位与 effort 照派发令(coordinator 开线程时读;席位请线程时读)
3535

36-
- 档位与 effort 的定法住 `execution-duties.md` 派发节:档位引 `dispatch-gates --tier`,effort 按卡难度。
37-
- 改协议语义面卡恒 `CONTRACT_REVIEW_TIER`,⛔ 不抄模型名;隔离子代理照 `--brief-template` L2 审核。
36+
- 档位与 effort 的取值只住 `execution-duties.md` 定档节;coordinator 照派发令所写开线程,⛔ 不另定。
37+
- 隔离子代理照 `--brief-template` L2 审核。
3838

3939
## 五、卡线程的 `needs_decision`(coordinator 收到时读;席位请裁时读)
4040

41-
- 席位请裁 ⇒ 开天花板档决策线程(effort `xhigh`),附 dev 报告;规则住 SKILL.md〈升级与决策〉。
41+
- 席位请裁 ⇒ 开决策线程(档位与 effort 照 `execution-duties.md` 定档节),附 dev 报告;规则住 SKILL.md〈升级与决策〉。
4242
- 等裁的卡线程不占槽(见第三节);裁决记录 = 卡上裁决评论,⛔ 不落项目文件或记忆。
4343

4444
## 六、额度压力(coordinator 每次开线程前读)

‎.claude/skills/pm-dispatch/references/decision-analysis.md‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,9 @@
4141
- ①读数相近而工作量差 ≥3× 推荐须点名;翻字母只凭维护者卡上另裁,唯④新增门禁例外。
4242
- 自检行「只看①选 X;②③④ 是否翻转:否 / 是(理由)」,答是不改字母,唯④新增门禁例外。
4343
- 裁后执行段:写明裁定之后怎么执行,让维护者只裁方向不背执行。
44-
- 分析与速读由 `CONTRACT_REVIEW_TIER` 决策线程写,并在该线程与维护者讨论;⛔ 无席位档退路。
45-
- 决策线程 effort 恒 `xhigh`,`max` 仅维护者点名;席位附报告请协调者开线程,裁后录回卡。
44+
- 分析与速读由决策线程写,并在该线程与维护者讨论;其档位与 effort 照 `execution-duties.md` 定档节。
45+
- 席位附报告请协调者开线程,裁后录回卡。
46+
- 简单问题(答案不被裁决、PR 或他席引用)先过达档独立分析,再在聊天直接问维护者,可不写文件、可不立决策卡;会被引用的照旧落卡。
4647

4748
## 四棱卡面块固定形状
4849

‎.claude/skills/pm-dispatch/references/dispatch-runbook.md‎

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
- 互斥最小尾页读法:尾页配方只覆盖座位贴的两个读数,判空缺另对正文与标题。
4747
- 配方:`issue_read get` 拿评论总数,按小 `perPage`(~15)算末页页码只读尾页。
4848
- 尾页缺读数再回翻一页,⛔ 不读整线程;返回数少于总数 ⇒ 记录可能已消失,报缺口。
49-
- 长线程状态读外包:>~15 条的线程派下限档只读子代理返回结构化摘录,尾部优先。
49+
- 长线程状态读外包:>~15 条的线程派只读子代理返回结构化摘录,尾部优先。
5050
- 状态提取 = 找最新转换评论、抽 `Restart-when:` 行、确认 claim 或 report 在不在。
5151
- ⛔ 裁决级阅读(L2 契约审核、放行判定、呈裁分析)不可外包:那是拿放行质量换 token。
5252

@@ -119,13 +119,12 @@
119119

120120
- 席位会话是项目线程(载 coordinator 通道工具)⇒ M 卡有合适区进区,无则一卡一线程;p1、`security` 只定先后,⛔ 单凭它们不开线程。
121121
- 大卡同上,先于下行,分区亦然,修复轮随卡;大卡 = L/XL,或欠全量验证(`!` 标题或 narrowing 臂),
122-
或改契约:`Clause-②: yes`、`Metadata-protocol` 非 `none`、非测试的 `packages/spec/src/**` 路径。
122+
或改契约:`Clause-②: yes`、`Metadata-protocol` 非 `none`、非测试的 `packages/spec/src/**` 路径;三者只定开不开线程,⛔ 不定档位。
123123
- S 级机械卡留席内或进区 `mode:subagent`:开线程要重新克隆、重读 `os-dev.md`,起步成本不值。
124124
- 披露纪律卡(私密细节不得离开席位会话)也留席内,认领写明。
125125
- coordinator 调度卡线程(即 dev),候选与槽位照 `coordinator.md` 三;交回即告知它,REWORK 再占槽。
126-
- 档位与 effort 席位自推导 ⛔ 不等维护者原话。
127-
- 派发令写两者与推导(`--tier` 行或难度读数),协调者照令开线程;常设原话有则作 `reason:`。
128-
- 线程或区见令缺推导 ⇒ 不开工,退回席位;⛔ 不凭记忆补档位。
126+
- 档位与 effort 席位照 `execution-duties.md` 定档节自推导 ⛔ 不等维护者原话。
127+
- 派发令写两者与推导(档位引 `--tier` 行,effort 引难度读数),协调者照令开线程;常设原话有则作 `reason:`。
129128
- 席位留认领/派发令/ACCEPT/落地/L2 采纳或补缺;线程自己实施、开 draft PR、驱动 CI 与可合并,⛔ 不起 `os-dev` 子代理。
130129
- p1 卡交回且欠 L2 ⇒ L1 线程并行起 L1 与隔离 L2(`contract-review.md`),两份意见同回席。
131130
- 线程 ⛔ 不做 harness 开 PR 后指派/请审。
@@ -140,15 +139,15 @@
140139

141140
## 派发前置:前提核实,再把本地检出钉到 main
142141

143-
- 先核前提后写码:派发前席派只读子代理(下限档;卡线程卡交候选前);区自领卡认领前测。
142+
- 先核前提后写码:派发前席派只读子代理(卡线程卡交候选前);区自领卡认领前测。
144143
- 对 `origin/main` 逐条测:复现、根因句与 file:line、路线对 `check-prior-rulings.mjs`、适用面。
145144
- 成立 ⇒ 派;不成立而改法明确 ⇒ 改卡再派;判不了 ⇒ 入决策箱,⛔ 不占卡线程槽。
146145
- 区与卡线程(写码前再核)测得不成立/偏宽/撞裁 ⇒ 停码报席;改卡则席发 `Premise corrected`。
147146
- 改法明确=目标不变,只换落点/修法或收至读数所证:评论记原前提、读数与改法再改正文。
148147
- 卡项与既裁冲突 ⇒ 席砍该项再派 ⛔ 不问分诊;行首 `Ruling-ref:` 引既裁出处,原话逐字。
149148
- 其余砍范围/降级/关卡归人工地板 ⛔ 不借改卡裁;读数落认领 `Premise:` 行,PR 结论限实测。
150149
- 范围评审:`Source: fleet` 计划命中工作量判据任一或 ≥2 PR ⇒ 派发前过;余源与已裁路线免。
151-
- 隔离 agent(`CONTRACT_REVIEW_TIER`)评,只拿卡与计划 ⛔ 不拿席位推荐;三问:最小改动、超出项、
150+
- 隔离 agent 评(档位照定档节),只拿卡与计划 ⛔ 不拿席位推荐;三问:最小改动、超出项、
152151
每项谁要的(路行、专题卡号、裁决或真实客户原话)。结论落卡一行,diff 超出即 REWORK:
153152
`Scope-review: 照做 | 砍到最小 | 拆分 · 最小项 · 超出项及出处`。无出处 ⇒ 只派最小项,
154153
余拆 `Feature` 卡(⛔ 不算「砍半」);最小项不触人工地板即免决策卡;L2 仍只审契约。

0 commit comments

Comments
 (0)