Skip to content

Commit 9900366

Browse files
pm-dispatch(decision-analysis): write or re-read a decision card's four-axis analysis at the ceiling tier when available (#27942)
<!-- claude-projects-attribution: {"github_login":"os-elon-musk"} --> _Requested by **Elon** · [project thread](https://claude.ai/code/project/chan_01WedDzV26nniwxv7jC88B9D?thread=cmsg_01WedDzV26nniwxv7jC88B9D7umuhQHbtifzCQo7sEiZzA)_ Fixes #27265 ## What changes One line of guidance at the end of `.claude/skills/pm-dispatch/references/decision-analysis.md` 〈落卡分析模板〉: > - 四维与推荐:天花板档可用即用它写成或复读后落卡;否则按席位档落,加 `Analysis-tier:` 行。 A seat filing a decision card writes or re-reads the four-axis analysis and the recommendation at the ceiling tier (`CONTRACT_REVIEW_TIER`) when it is available. When it is not, the seat files at its own tier and adds an `Analysis-tier:` body line. ⛔ No gate, no recogniser, no half-state row: the line is per-card guidance, not a surface mandate (standing ruling 「同意,维持面强制,不全上 fable」). ## Why The maintainer's words on the card, verbatim and in order: 1. 「立决策卡时,如果有fable,是否建议先用 fable 审核之后再立?」 2. On the seat's recommendation (four-axis analysis only, use when available, not a new gate, one line, an `Analysis-tier:` line otherwise): 「同意」 ## Line budget (paid in the same file, as #27846 did) - Ceiling row `['.claude/skills/pm-dispatch/references/decision-analysis.md', 49]` in `scripts/pm/check-skill-line-ratchet.mjs` is unmoved: 49 → 49. - +1: the new line, 119 bytes (cap 120). - −1: the two opening bullets of 〈四棱卡面块固定形状〉 folded into one 110-byte line. Only restated words were deleted, with no re-wrap: - 「⛔ 不留待维护者到场再补」 restates 「落卡即带」. - 「用中文写」 restates SKILL.md's invariant (四维 is one of the four Chinese channels; 四维中文只管新记录). - 「机器可寻」 is restated by the next line's 「提取按字面 grep」. - 「任一即满足」 restates 「等价」. - Home is not SKILL.md: SKILL.md is at its ceiling and the template a filing seat copies from is this file. - The wording names the ceiling tier (天花板档), not a model id. SKILL.md's claim template spells the ceiling `CONTRACT_REVIEW_TIER` and refuses copied model ids. ## The claim-line checker (reported, not changed) `post-stamped.mjs`'s claim-line owner (`containerModelRefusal`, imported from `dispatch-gates.mjs`) accepts a ceiling `model:` line that carries `reason: …` naming the per-card ruling. The value is free text, so it needs no stable anchor. A claim cites this rule as `reason: decision-analysis.md 〈落卡分析模板〉, maintainer ruling on #27265`. No checker change is owed. ## Verification `node scripts/pm/dispatch-gates.mjs --commands` derived 17 families on `194b3ea06`. All 17 ran and exited 0. `--ran` reports 「17 run, 0 NOT-MEASURED」. `check:doc-formula-expressions` first exited 3 (prerequisite: unbuilt `@objectstack/formula` and `@objectstack/lint`); it exited 0 after the printed `turbo run build`. The list was re-derived after the commit and is identical. `check:pm-skill-ratchet` and `check:pm-skill-id-lint` are green. No changeset is derived as owed (nothing published), so this PR carries `skip-changeset`. Clause-②: no Metadata-protocol: none ## 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. - [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, 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. - [x] The *Before Submitting* list in CONTRIBUTING.md is done. ## 维护者速读 - 改了什么:决策卡分析模板加一行,四维分析与推荐在 fable 可用时用它写成或复读后再落卡,不可用则正文注 `Analysis-tier:`。 - 为什么改:落实您 10-28 对 #27265 的「同意」;决策卡是您亲自裁的文本,值得最高档来写。 - 风险与回滚:只是一行指引,不加门禁也不加检查;同文件合并两行旧文字付行,行数仍 49;回滚就是 revert 本 PR。 - 先看:`decision-analysis.md` 新增的第 32 行,以及第 36 行合并后的那一行。 - 两分钟验证:`pnpm check:pm-skill-ratchet && pnpm check:pm-skill-id-lint` 两项绿。 - 需要你做的:暂无;本 PR 欠一次 fable 契约复审,落地档位以登记册在 PR 时的读数为准。 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_016WV4cwL4FAJsMLvKcqSyo9 Co-authored-by: Claude <noreply@anthropic.com>
1 parent 5b17215 commit 9900366

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,11 @@
2929
- ①读数相近而工作量差 ≥3× 推荐须点名;翻字母只凭维护者卡上另裁,唯④新增门禁例外。
3030
- 自检行「只看①选 X;②③④ 是否翻转:否 / 是(理由)」,答是不改字母,唯④新增门禁例外。
3131
- 裁后执行段:写明裁定之后怎么执行,让维护者只裁方向不背执行。
32+
- 四维与推荐:天花板档可用即用它写成或复读后落卡;否则按席位档落,加 `Analysis-tier:` 行。
3233

3334
## 四棱卡面块固定形状
3435

35-
- 落卡即带,⛔ 不留待维护者到场再补;四棱各一行,用中文写。
36-
- 首行机器可寻标记 `os-decision-facets`:纯文本单行与其 HTML 注释形等价,任一即满足。
36+
- 落卡即带,四棱各一行;首行标记 `os-decision-facets`:纯文本单行与其 HTML 注释形等价。
3737
- 写后回读,提取按字面 grep;⛔ 注释形读不到永不读作无四棱块。
3838
- ① 项目长远合理性:本方案缩小还是扩大特例与契约增生。
3939
- ② 实际业务拉动:今天谁撞上;零拉动默认 defer 或 remove。

0 commit comments

Comments
 (0)