Skip to content

fix(pm): the arm audit settles a measured Tier H past an unread input, names an edited carry hop, and the verifier refuses hand-offs in any spelling - #33951

Merged
objectstack-fleet[bot] merged 1 commit into
mainfrom
claude/project-thread-nuzp24
Nov 15, 2026
Merged

objectstack-fleet[bot] merged 1 commit into
mainfrom
claude/project-thread-nuzp24

Conversation

@objectstack-fleet

Copy link
Copy Markdown
Contributor

Requested by Steve · project thread
Fixes #33765

Clause-②: no
Metadata-protocol: none

维护者速读

  • 改了什么:受管合并审计的低风险臂读数在“有读不到的输入、但已读到的输入本身就足以判 Tier H”时,改记 Tier H(并点名没读到什么),不再整条记为 NOT MEASURED;标签列表没读到也算“没读到”;被改过的 Regen-provenance: 承接行会在 BREACH 原因里点名;审稿档位校验器能识别驼峰、连字符写法和其他动词下的转交工具。
  • 为什么改:pm: the governed-merges audit reads unread arm inputs as NOT MEASURED and a dismissed approval as it stood, and the verifier refuses skill and connector hand-offs #33762 评审留下的七条小尾巴(N-a…N-g),都朝“更保守/更说清楚”的方向收口,不改变今天任何一条判定的严格度。
  • 风险与回滚:只动 scripts/pm/ 下两个审计/校验脚本,不发布任何包;回滚即 revert 本 PR。
  • 先看:scripts/pm/check-governed-merges.mjs 的 armSettledWithoutUnread 与 readArmLanding 的 N-e 段;scripts/pm/verify-review-tier.mjs 的 connectorHandsOff。
  • 两分钟验证:node scripts/pm/check-governed-merges.mjs --self-test && node scripts/pm/verify-review-tier.mjs --self-test,预期分别 756 条断言通过、33 个用例通过。
  • 需要你做的:无,席位落地。

What changes

Every hunk, by file and line range on the head (no hunk near the register/arm regions #33539 holds, L519 and L1339):

scripts/pm/check-governed-merges.mjs

  • L4466-4467 — readArmLanding jsdoc: one sentence naming the review follow-ups of PR #33762 #33765 items.
  • L4509-4517 — N-a, N-b: when the arm reads H and some input was unread, armSettledWithoutUnread decides whether the measured inputs alone settle it. If they do, the entry is tier-h with those reasons and an unread list; otherwise it stays not-measured with the old words.
  • L4545-4547 — N-c: the N11 no-trusted-author-list branch's comment says it is defensive only (loadRecordRecognisers answers available: false instead, and a list it builds always holds the relay's login). No code change; record-recognisers.mjs untouched.
  • L4592-4602 — N-e: when the unedited threads would have reached the record through a carry, each other edited row is left out of the unedited threads once; if that changes what the record leg would have read, the row is named on the BREACH reason as a Regen-provenance: hop.
  • L4616-4618 — N-g: reviewsAsLanded jsdoc says a same-second dismissal is read as after the landing (pinned as is).
  • L4641-4724 — N-a, N-b, N-f helpers: armReadsNotMeasured keeps its export and words (new optional labels argument), built on armUnreadInputs. ARM_CHANGESET_SHOW is the one spelling of the guard's show SHA:PATH read, used by the deletion exception and by favourableArmGitRead. armSettledWithoutUnread re-runs the guard's own decomposeGovernedWork → readLowRiskTier → landsOnLowRiskArm, answering each unread input the way that gives the arm no reason: a clean changeset, every path a modified regular file, no fork, no labels.
  • L4736-4737 — armCell: a settled Tier H row also names what it was settled without.
  • L9278-9323 — self-test: 11 new pins in the pm: the post-merge governed audit has no owner or schedule, and shows a seat landing through the low-risk arm as a breach #33603 battery.

scripts/pm/verify-review-tier.mjs

  • L99-127 — N-d: connectorToolWords / connectorHandsOff. A connector tool's name is split into words (_, -, camelCase). It refuses when the first word is a hand-off verb (send, message, start, fire, spawn, dispatch, delegate, interrupt), or when it names a hand-off target (session, agent, subagent, copilot, thread, trigger, worker) under any first word except a read verb.
  • L130 — handsWorkToAnotherAgent ORs the new check onto the exact names and the existing regexes. Nothing that refused before now passes.
  • L299-307 — self-test: 3 new cases.

Direction held. No current Tier H verdict moves to S, and no not-measured verdict moves to measured S. N-a can only turn not-measured into tier-h, and only when the arm still reads H with every unread input answered its way. The arm's verdict is a conjunction of conditions, so the reasons that remain come from measured inputs. A read with no favourable answer (anything other than the guard's show or diff-tree), or a read that fails again, stays NOT MEASURED. N-b only moves tier-h to not-measured, or to tier-h when N-a settles it. N-d only adds refusals. N-e changes a BREACH reason's words, not its state. N-c and N-g are comments plus a pin.

N-g: harmless, pinned as is. GitHub times are whole seconds, so the order of a same-second dismissal and the landing cannot be known. The approval it restores is an authorized one, so the entry reads cleared (the maintainer's merge), never pass. Flipping it would turn a cleared row into a BREACH on a guess, so the behaviour is pinned instead.

Tests

  • node scripts/pm/check-governed-merges.mjs --self-test: 745 → 756 assertions, exit 0 (head 7c84b661).
  • node scripts/pm/verify-review-tier.mjs --self-test: 30 → 33 cases across 6 batteries, exit 0.
  • ui/scripts/__tests__/check-governed-queue-guard.test.ts (the one test file that spawns check-governed-merges.mjs), under the lock: Test Files 1/1, Tests 10/10, VERDICT command-exit 0.
  • No forced test edits: every existing pin passes unchanged.
Ablations: 6 legs, each reds its pins and restores to the HEAD blob

Run through scripts/ablation-replace.mjs on 7c84b66. In every leg the anchor hit 1 → 0, and afterwards git diff HEAD was 0 bytes.

Leg Mutation Self-test Pins that went red
N-a if (settled) → if (settled && false) exit 1, 3 failures N-a measured-H (diff-tree + security label), N-a changeset/fork pair, N-b labels + Clause-② Tier H
N-b delete the its labels unread push exit 1, 1 failure N-b unread labels alone is NOT MEASURED
N-e if (would?.carriedFrom) → … && false exit 1, 2 failures N-e edited hop named, N-e edited claim beside a carry
N-f ARM_CHANGESET_SHOW → ^refs/… exit 1, 4 failures N-f spelling pin, #33729 N5 deleted-changeset control, N-a changeset pin, N-a no-favourable-answer pin
N-g at < landed → at <= landed exit 1, 1 failure N-g same-second dismissal pinned as is
N-d drop || connectorHandsOff(name) exit 1, 2 failures N-d camelCase/hyphen verbs, N-d hand-off under other verbs

N-c is a comment only, so it has no ablation.

Acceptance notes

  • SELF_TEST_BATTERIES floors are not raised. The new pins join existing batteries, and raising a floor would be a hunk outside this card's regions. The seat can raise them when it lands.
  • Same class as N-b, not changed here: a timeline answer that is not an array would still read inside tier-h through the guard's "its timeline was not read" reason. fetchTimeline throws instead (that path is already NOT MEASURED), so nothing reaches it today.
  • N-d fails closed, as the existing shapes do. A target word under a non-read first word refuses even when the tool only reads (for example archive_session). The remedy is the same one the file already gives: review in an agent that calls none of these.

Verification

Local subset on head 7c84b661 (origin/main 895783a1 unmoved; nothing to merge), after the last commit:

  • node scripts/pm/dispatch-gates.mjs --commands --repo objectstack-ai/objectstack derived 33 families; all 33 were run, plus both scripts' own self-tests.
  • dispatch-gates --ran: 33 derived famil(ies) accounted for — 33 run, 0 NOT-MEASURED (a DERIVED zero — all 33 recorded an exit code and none of them is 3).
  • CI runs every other family on this PR; its check-runs are the record.
Each command and its exit code (35)
  • node scripts/check-closing-keyword-parity.mjs → exit 0
  • node scripts/check-closing-keyword-parity.mjs --self-test → exit 0
  • node scripts/check-comment-mask-corpus.mjs → exit 0
  • node scripts/check-declaration-mirrors.mjs → exit 0
  • node scripts/check-declaration-mirrors.mjs --self-test → exit 0
  • node scripts/check-self-test-wired.mjs → exit 0
  • node scripts/check-self-test-wired.mjs --self-test → exit 0
  • node scripts/check-self-test-workflow-commands.mjs → exit 0
  • node scripts/check-self-test-workflow-commands.mjs --self-test → exit 0
  • node scripts/check-skills-token-ratchet.mjs → exit 0
  • node scripts/check-skills-token-ratchet.mjs --self-test → exit 0
  • node scripts/check-whole-set-label-write.mjs → exit 0
  • node scripts/check-whole-set-label-write.mjs --self-test → exit 0
  • node scripts/ci/plan-test-core-shards.mjs --self-test → exit 0
  • node scripts/pm/bare-root-worklist.mjs --self-test → exit 0
  • pnpm check:agent-test-spelling → exit 0
  • pnpm check:bash32-floor → exit 0
  • pnpm check:ci-filter-parity → exit 0
  • pnpm check:cli-command-ids → exit 0
  • pnpm check:cross-package-test-inputs → exit 0
  • pnpm check:driver-memory-census → exit 0
  • pnpm check:entry-guard → exit 0
  • pnpm check:gitlink-declared → exit 0
  • pnpm check:nul-bytes → exit 0
  • pnpm check:parse-guard → exit 0
  • pnpm check:pm-dispatch-gates → exit 0
  • pnpm check:pm-governed-merges → exit 0
  • pnpm check:pnpm-filter-targets → exit 0
  • pnpm check:pnpm-flag-spellings → exit 0
  • pnpm check:ratchet-remedy-authority → exit 0
  • pnpm check:refd-timer-probe → exit 0
  • pnpm check:scripts-symbol-anchors → exit 0
  • pnpm check:watch-hint-literal → exit 0
  • node scripts/pm/check-governed-merges.mjs --self-test → exit 0
  • node scripts/pm/verify-review-tier.mjs --self-test → exit 0

Generated by Claude Code

…, names an edited carry hop, and the verifier refuses hand-offs in any spelling

The governed-merges arm leg no longer reads NOT MEASURED where its measured
inputs alone settle Tier H (the guard's own arm re-read with each unread
input answered the way that gives it no reason); an unread labels list is an
unread input; an edited Regen-provenance hop that breaks a carry is named on
the BREACH reason; the guard's changeset read spelling is pinned to the
deletion exception; a same-second dismissal is pinned as is. The review-tier
verifier refuses camelCase and hyphenated hand-off verbs and hand-offs under
other verbs (a copilot review, a session created, run or interrupted).

Claude-Session: https://claude.ai/code/session_01ADHkmRnBQzshoJUDvT6keE
Co-authored-by: Claude <noreply@anthropic.com>
@objectstack-fleet objectstack-fleet Bot added the skip-changeset PR has no user-facing published change; bypasses the changeset gate label Nov 15, 2026
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

domain:skills#2 · os-steve · session_01ADHkmRxXmVQ41fqnaTPGAv

席位核对

Verdict: ACCEPT, the seat lands · head 7c84b6618116d2fba0ae327539be00d17067ab40 · card #33765 · report 6896351444 · read 2026-11-15T15:05Z.

@objectstack-fleet
objectstack-fleet Bot marked this pull request as ready for review November 15, 2026 15:05
@objectstack-fleet
objectstack-fleet Bot added this pull request to the merge queue Nov 15, 2026
Merged via the queue into main with commit 348e701 Nov 15, 2026
50 checks passed
@objectstack-fleet
objectstack-fleet Bot deleted the claude/project-thread-nuzp24 branch November 15, 2026 15:52
@objectstack-fleet objectstack-fleet Bot mentioned this pull request Nov 15, 2026
7 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/m skip-changeset PR has no user-facing published change; bypasses the changeset gate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

review follow-ups of PR #33762

1 participant