Repository navigation
pm-dispatch: a pending-changeset correction is confirmed by the dispatching seat's record, never by a maintainer wait - #30845
Conversation
…tching seat's record, never by a maintainer wait The DELIBERATE CORRECTION remedy in check-empty-changeset.mjs names the confirmer by pointing at landing-operations.md (the seat's ACCEPT for a text-only diff, otherwise its same-head at-tier contract-review PASS); the verdict is unchanged and the self-test pins the new wording. The dev side (os-dev.md) declares the correction on the PR and asks no maintainer to confirm; execution-duties.md points at the one home instead of restating it. The os-dev.md line is paid by deleting the pkill rule that AGENTS.md multi-agent §8 states and guard-process-kill.sh enforces. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L9qibxpHybSfTtRNdGnUZZ
Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L9qibxpHybSfTtRNdGnUZZ
… budget Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L9qibxpHybSfTtRNdGnUZZ
…ever what the unguarded code does security-findings.md §6: the PR body, its Verification section and its ablation notes describe the rule and the counts (red, then restored); what the unguarded code does goes only into the dev's private security_findings. Paid by deleting the §5 line that restated §5's first line and §3. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L9qibxpHybSfTtRNdGnUZZ
|
domain:skills#2 · os-tesla · session_01L9qibz5RLVEYDFco93jZ7u Contract reviewServed-tier: ① Derived judgments
② Semver level
③ Boundary flags
④ Design judgment
Read, not reviewed (the rest of the diff is the seat's ACCEPT at Must-fix: none. Should-fix: none. Implemented-by: VERDICT: PASS |
|
domain:skills#2 · os-tesla · session_01L9qibz5RLVEYDFco93jZ7u 维护者速读
席位意见:可以落地。 席位核对ACCEPT · seat
|
Requested by Tesla · project thread
Fixes #30271
Clause-②: no
Metadata-protocol: none
维护者速读
check-empty-changeset的 DELIBERATE CORRECTION 补救句现在点名由谁确认:派发席自己的记录(纯文字 diff 用 ACCEPT,其余用同 head 达档契约复审 PASS,出处landing-operations.md),⛔ 不等维护者;dev 侧(os-dev.md)改为在 PR 正文申报 DELIBERATE CORRECTION、逐 note 引改后句、不请维护者确认;execution-duties.md那行改为指向唯一成文处。判决不变:该类照旧拒收。landing-operations.md,但 dev 与门禁实际读到的文字只说「get it confirmed」不说由谁,本周三张安全修复 PR 在正文里请维护者确认,席位等到维护者答复才落地。维护者已说「changeset 改写确认都同意」;本 PR 只是把既有规则写进读者会看到的那几行。scripts/check-empty-changeset.mjs(常量FOREIGN_CORRECTION_REMEDY与reportForeign的 DELIBERATE CORRECTION 段)、.claude/agents/os-dev.mdL300–301(新两行,付账删原 L100)、.claude/skills/pm-dispatch/references/execution-duties.mdL180。node scripts/check-empty-changeset.mjs --self-test,预期末行✓ check-empty-changeset --self-test: 167 assertions …;pnpm check:pm-skill-ratchet预期全绿且os-dev.md is 405 lines (ceiling 405; headroom 0)。.claude/**加非受管脚本)。What changes
scripts/check-empty-changeset.mjs(card item 1 — the gate's remedy line)FOREIGN_CORRECTION_REMEDYnow names the confirmer by pointing at the record that confirms: "do NOT restore it -- declare the DELIBERATE CORRECTION on the PR, naming each note; the dispatching seat confirms it by its own record (its ACCEPT, or its same-head at-tier contract-review PASS: pm-dispatch references/landing-operations.md), never a maintainer wait". The one-source / two-renderings construction is untouched: the constant is still interpolated intoFOREIGN_TWO_CLASS_LINES, which the body renders as indented lines and the::errorannotation as one line, and the equality pin still reads the block back out of the rendered body.reportForeignsays the same in prose (declare it, name each note, quote the corrected sentences; the dispatching seat confirms by ACCEPT or same-head at-tier PASS; do not ask the maintainer and do not wait) and keeps "this gate stays red either way".scanForeign,--diff-filter=MD,--no-renames, the merge-base derivation and both exemptions are not touched; the "D strength" fixture (a PR that adds its own changeset and rewrites a foreign one) is still refused by name.references/landing-operations.md; the body says "Do not ask the maintainer to confirm it"); the D battery's floor moves 12 → 14 to match..claude/agents/os-dev.md(card item 2 — the dev's side; the PR-body duties live here, under 「Definition of done」).changeset/*.md:… 确认走 PR 文字。」 with two: the dev declares the DELIBERATE CORRECTION in the PR body, names each note and quotes the corrected sentences, and ⛔ does not ask the maintainer to confirm — the dispatching seat's record confirms (landing-operations.md).pkill -f…);记下你启动的 PID,只对它操作。」, which restates AGENTS.md › Multi-agent working discipline §8 word for word and is hook-enforced by.claude/hooks/guard-process-kill.sh; os-dev.md's own charter (L21) keeps only clauses a hook cannot enforce. Items 6 and 7 renumber to 5 and 6; nothing references them by number. 405 lines before and after, ceiling 405..claude/skills/pm-dispatch/references/execution-duties.md(one home per rule)landing-operations.mdand says the confirmation is the dispatching seat's own record. 188 lines before and after..claude/skills/pm-dispatch/references/landing-operations.md— not changed: it is the rule's home (L14–17) and already says ⛔ 不等维护者, ACCEPT for a text-only diff, same-head at-tier PASS otherwise.Why
The rule existed only where the seat reads it. The two texts a dev and the gate actually meet said "get it confirmed" with no confirmer, so devs wrote "please confirm" to the maintainer in PR bodies and the seat held the landings. The maintainer's 「changeset 改写确认都同意」 restates the rule; this PR moves the wording, not the verdict.
Tests
node scripts/check-empty-changeset.mjs --self-testatb297730a:✓ check-empty-changeset --self-test: 167 assertions over real temp git repos (real scan() path), exit 0 (the D battery registers 14 cases against its floor of 14).node scripts/check-empty-changeset.mjs --base origin/main: exit 0 on this branch (it adds no changeset and changes none).Verification
Derived at
b297730awithnode scripts/pm/dispatch-gates.mjs --commands --repo objectstack-ai/objectstack— 43 commands (17 direct node, 26 pnpm); each run in the foreground with stdin from /dev/null, its exit code landed on disk before any pipe, then reconciled:✓ dispatch-gates --ran: 43 derived famil(ies) accounted for — 43 run, 0 NOT-MEASURED. All 43 exit 0 atb297730a. The ran-list is atskills-seat-2/r2026-11-06/out/30271-gates-ran-b297730a.listin the project files.Two readings from the first sweep at
a566bb6d, both resolved before the final sweep:pnpm --filter @objectstack/lint run check:doc-formula-expressionsexited 3 (prerequisite:@objectstack/formulaand@objectstack/lintnot built in a fresh worktree; built under the verify lock, rerun exit 0 — not a finding), andpnpm check:pm-skill-ratchetexited 1 on the 120-byte line budget (os-dev.md L300–301 at 129B/132B, execution-duties.md L180 at 138B; shortened in05ae6a85andb297730a, rerun exit 0, every ceiling still at headroom 0).Not run locally, CI's own:
pnpm lint(repo-wide eslint),test:repo, the type-check lanes, the 8 whole-tree families and the 11 wide-population families the derivation names; the PR's check-runs are the reading for those.Families named only when a changeset exists (7): not applicable, this PR carries
skip-changeset.The 43 derived commands with their exit codes at b297730
node scripts/check-closing-keyword-parity.mjs :: exit 0node scripts/check-closing-keyword-parity.mjs --self-test :: exit 0node scripts/check-comment-mask-corpus.mjs :: exit 0node scripts/check-declaration-mirrors.mjs :: exit 0node scripts/check-declaration-mirrors.mjs --self-test :: exit 0node scripts/check-empty-changeset.mjs --base origin/main :: exit 0node scripts/check-empty-changeset.mjs --self-test :: exit 0node scripts/check-self-test-wired.mjs :: exit 0node scripts/check-self-test-wired.mjs --self-test :: exit 0node scripts/check-self-test-workflow-commands.mjs :: exit 0node scripts/check-self-test-workflow-commands.mjs --self-test :: exit 0node scripts/check-whole-set-label-write.mjs :: exit 0node scripts/check-whole-set-label-write.mjs --self-test :: exit 0node scripts/ci/plan-test-core-shards.mjs --self-test :: exit 0node scripts/pm/bare-root-worklist.mjs --self-test :: exit 0node scripts/pm/check-governed-queue-guard.mjs --self-test :: exit 0node scripts/pm/check-harness-current.mjs --self-test :: exit 0pnpm --filter @objectstack/lint run check:doc-formula-expressions :: exit 0pnpm check:agent-model-declared :: exit 0pnpm check:agent-test-spelling :: exit 0pnpm check:bash32-floor :: exit 0pnpm check:changeset-gate-self-tests :: exit 0pnpm check:ci-filter-parity :: exit 0pnpm check:cli-command-ids :: exit 0pnpm check:commit-card-trailers :: exit 0pnpm check:cross-package-test-inputs :: exit 0pnpm check:doc-authoring :: exit 0pnpm check:driver-memory-census :: exit 0pnpm check:entry-guard :: exit 0pnpm check:gitlink-declared :: exit 0pnpm check:nul-bytes :: exit 0pnpm check:parse-guard :: exit 0pnpm check:pm-dispatch-gates :: exit 0pnpm check:pm-governed-merges :: exit 0pnpm check:pm-skill-id-lint :: exit 0pnpm check:pm-skill-ratchet :: exit 0pnpm check:pnpm-filter-targets :: exit 0pnpm check:pnpm-flag-spellings :: exit 0pnpm check:ratchet-remedy-authority :: exit 0pnpm check:refd-timer-probe :: exit 0pnpm check:scripts-symbol-anchors :: exit 0pnpm check:skill-frame-sync :: exit 0pnpm check:watch-hint-literal :: exit 0Acceptance notes
references/security-findings.md§6, and seat 1's pm-dispatch skill: on a private repository (objectstack-ai/cloud), a security finding is an ordinary issue labelledsecurity, not a draft advisory #30114 (branchclaude/project-thread-shi9ig) rewrites the very line this edit would delete to pay for the addition and adds a §6 line of its own. Plan agreed with the seat: once pm-dispatch skill: on a private repository (objectstack-ai/cloud), a security finding is an ordinary issue labelledsecurity, not a draft advisory #30114 merges, mergeorigin/mainhere and add the §6 line, paid by a deletion pm-dispatch skill: on a private repository (objectstack-ai/cloud), a security finding is an ordinary issue labelledsecurity, not a draft advisory #30114 left alone, as its own commit on this PR. The exact line and payment were named to the seat before any edit..github/workflows/pr-automation.ymlroute 0 (the "This PR adds no changeset" message, near L727) still says "get it confirmed there in writing" and "the approver merges over it" without naming the confirmer. Left as is per the seat; a workflow edit is Tier H and not this card.skip-changeset: the root package isprivate: trueand.claude/**is on the no-publish fast track, so this PR releases nothing; the label is declared in thepr_createaction.pr_createcarries no assignee and no reviewer by design; the harness's assignee/reviewer step is skipped (no GitHub MCP write tools were used).Human Minimum
packages/specholds no runtime logic. (No schema touched.)pnpm lintis CI's run.main, one pull request.skip-changeset); both declaration lines are at the top.packages/specnot touched.content/docs/references/,packages/*/CHANGELOG.mdorcontent/docs/releases/.Generated by Claude Code