Repository navigation
docs(pm-dispatch): decision card before popup — AskUserQuestion becomes a presence accelerator - #11226
Merged
Conversation
…presence accelerator only The PM skill's self-description already routes maintainer decisions to `needs-user-decision` cards, but the body never stated the ORDER between a card and a blocking popup. Seats therefore treated AskUserQuestion as the default channel: the whole seat round halts while it is pending, and its content lands on no queryable surface. Three rules now sit in "升级与决策", where a seat reads them at decision time: 1. Card first — file the `needs-user-decision` card as the first action (options + recommendation + evidence + facet block, the same content the popup would carry); the blocked execution card takes `pm:blocked` + `Blocked-by:` in the SAME write; the rest of the queue keeps moving. 2. AskUserQuestion is a presence accelerator only — allowed when the maintainer gave human input in this session within ~30 minutes, every ask carries a recommended option, a Skip or a long-pending ask falls back to the card channel and is never re-popped. 3. Batch intake — the maintainer saying 「处理决策卡」 sweeps every open decision card for one batch ruling, the standing trigger for the already ruled "定期和ai讨论" consumption path. Paid for by genuine deletion in the same file (line ratchet 682/682, unchanged): duplicated enumerations that references/decision-analysis.md and references/dispatch-runbook.md already own verbatim, plus one narrative case that belongs on a card. Payment ledger in the PR body. Co-Authored-By: Claude <noreply@anthropic.com>
Contributor
|
ACCEPT — session 全量 diff 复核(SKILL.md 单文件 +20/−20,682→682 零余量持平)+ 付账抽验:
留 draft、已 assign 维护者——合并后各席位下次加载技能生效:维护者不在场时席位落卡续跑,回来一句「处理决策卡」清积压。 Generated by Claude Code |
os-zhuang
marked this pull request as ready for review
August 23, 2026 04:14
os-zhuang
enabled auto-merge
August 23, 2026 04:14
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #11212
What this lands
The pm-dispatch skill's own description already routes maintainer decisions to
needs-user-decisioncards, but the body never stated the order between a card and a blocking popup. Seats therefore readAskUserQuestionas the default channel: the whole seat round halts while one is pending, and its content lands on no queryable surface — not on a card, not visible to sibling seats, not sweepable, not batch-answerable when the maintainer returns.Three rules now sit in
## 升级与决策, immediately after the four-axis frame — the paragraph a seat is reading at the exact moment it is deciding whether to ask:needs-user-decisioncard as its first action (options + recommendation + evidence + facet block, the same content the popup would carry); the blocked execution card takespm:blocked+Blocked-by:pointing at it in the same write; the rest of the queue keeps moving — never idle the whole seat on a pending answer.AskUserQuestionis allowed only when the maintainer has given human input in this session within ~30 minutes; every ask carries a recommended option; a Skip or a long-pending ask falls back to the card channel and is never re-popped. Because the card exists first, however the popup dies the board stays honest.The old closing sentence 「交互会话可另发
AskUserQuestion,带标签的 issue 恒为持久记录」 — the permissive default this card is about — is gone.Landing ruling (verbatim, untranslated)
Maintainer, 2026-08-23: 「A:立即派发,真删付账(推荐)」
No ceiling was raised. Payment is genuine deletion in the same file.
Payment ledger —
.claude/skills/pm-dispatch/SKILL.md, 682 → 682 linesCeiling 682, headroom 0 before and after. Every deletion is text another covered file already owns verbatim, or a narrative the ratchet's own verdict message rules out of operational text. No re-wrap was used as a source of lines: each reflow below is the consequence of characters actually removed.
references/decision-analysis.md§落卡分析模板 numbers those six items 1–6 in full, and §四棱卡面块固定形状 owns the block shape in full. The same sentence already said 细则见 that file — this is the collapse-to-pointer the compressed references exist for. Kept as the named list 「落卡分析模板、写法六项、适用边界与四棱块固定形状」.needs-user-decision卡与决策箱讨论,dev 派发四维照旧、不强加行业类比;只管新记录,存量 ⛔ 不回改。」 (~71 chars)references/decision-analysis.md§适用面(边界) owns both boundary rules verbatim. Folded into the pointer as the word 「适用边界」.references/decision-analysis.mdlines 3–5 are that ruling's 出处: same date, same verbatim quote, same 实测, in fuller form. SKILL.md keeps the rule + date and now says 「细则连同出处原话见」 so the words are one hop away, not lost.references/decision-analysis.md§四棱卡面块固定形状 (「首行机器可寻固定标记…提取按字面文本 grep,不依赖注释形状」).subscribe_pr_activity硬步骤)」 (~106 chars)references/dispatch-runbook.md§云卡四课 carries all four as numbered bold headings with their full text. The same sentence says 全文见 runbook. Now reads 「云卡四课全文见 runbook」.references/dispatch-runbook.md§派发词构造细则 → 「全仓 pin 清扫两句原文」 owns both sentences in fuller form, and the section header already points there. Now reads 「两句缺一不可(两句原文见 runbook)」.Line math (per file, the only file touched)
Character accounting for the tail paragraph: 820 chars before → 859 after; ~375 chars of duplication removed, ~414 chars of new rule text added. The paragraph grew in content and shrank in duplication — it did not get re-wrapped tighter.
Nothing was compressed lossily: no rule changed meaning, and every deleted passage's full text still exists, verbatim, in a file the surviving sentence points at.
Frame isomorphism
The four-axis frame block (
check:skill-frame-sync, 4 hand-written copies across 3 files) was not touched — the start anchor, the axis entries and the binding sentence 「推荐意见必须基于这四条轴给出理由」 are byte-identical; only text after the binding sentence moved. Gate re-run and green below.Gates — all run on the final commit
43e751535cDerived with
node scripts/pm/dispatch-gates.mjs(no paths passed; it took the change set from the merge base itself). 7 families matched; all run, pluscheck:nul-bytesand the ratchet self-test. Verdict lines as each gate printed them:packages/lintneeded its dependency closure built first (pnpm --filter '@objectstack/lint^...' build) — before that,check:doc-formula-expressionsfailed withERR_MODULE_NOT_FOUNDon@objectstack/formula/dist, which is a missing build, not a finding.Landing class — GOVERNED
node scripts/pm/check-governed-merges.mjs --test .claude/skills/pm-dispatch/SKILL.md:This PR stays a draft. No ready flip, no merge queue, no auto-merge — the human merge is the review record. Assigned to
os-zhuang(request-review is rejected on self-authored PRs).Changeset
.claude/**-only — publishes nothing. Declared with theskip-changesetlabel per this repo's mechanism (label written additively after the size labeler settles, then read back; the read-back is what closes the step, not the write).Generated by Claude Code