✔ REQ-DEC an approval outlives its run and a broker restart; a new run of the instance consumes it once (245.918123ms) ✔ REQ-DEC another instance of the same definition cannot consume an approval, and its refusal consumes nothing (150.402369ms) ✖ REQ-DEC REQ-THREAD-1 a thread approval is consumed only by a run holding the same thread (174.682697ms) ✔ REQ-DEC a later run of the same instance supersedes an open decision; another instance cannot (188.708561ms) ✔ REQ-DEC REQ-THREAD-1 a thread decision is superseded only from the same thread (230.235756ms) ✖ REQ-DEC REQ-THREAD-1 a thread instance decision raised before row 121 is not consumed or superseded by any thread run (282.168603ms) ✔ launch identity is stamped, payload identity is refused and stale holder cannot send (171.962834ms) ✔ decision classes route from policy; gated resolution is human-only, choice and target must match (208.99884ms) ✔ claim exclusion, holder release, gated revoke and rerouting to a new holder are atomic (217.29635ms) ✔ launch events require a human CLI capability; generic emit cannot forge authority events (140.225244ms) ✔ within-role decisions close atomically and invalid options or blocking omissions refuse (148.717114ms) ✔ a recommendation that is not exactly one option key refuses invalid-recommendation after the options (228.323782ms) ✔ observer capabilities read human inbox but cannot mutate or forge launch identity (145.26269ms) ✔ task action subjects and linked decision trail are complete and ordered (137.536455ms) ✔ launch binding is durable and reconnecting requires the identical trusted record (83.025859ms) ✔ business isolation includes inherited object names and cross-business message references (145.525133ms) ✔ authority never transfers between action, target, unresolved or replaced role holder; a later run of the instance keeps it (222.187659ms) ✔ task projection uses schema current view, skipping earlier and equal-start polls (100.694549ms) ✔ revocation permanently bars the old run from reclaiming first, including after broker restart (170.745792ms) ✔ empty message references refuse before storage; refusal-evidence failure stays a typed error (98.116341ms) ✔ both arbiters require human resolution when their cross-role route is themselves (104.420831ms) ✔ the shipped coder role raises task.reassign as gated to the human; task.scope.change stays cross-role (74.242547ms) ✔ gated approval authorizes once, survives store reopen, and fresh approval works (221.148345ms) ✔ another run of the same instance consumes an approval once; a failed check leaves it usable (179.044675ms) ✔ two scheduled callers have exactly one grant and one consumed refusal (141.414306ms) ✔ failed commit rolls consumption back; cross-role consumes and within-role stays reusable (255.477191ms) ✔ class drift gated to cross-role refuses before consumption (184.480815ms) ✔ class drift cross-role to gated refuses before consumption (213.837216ms) ✔ class drift gated to within-role refuses before consumption (164.065798ms) ✔ class drift cross-role to within-role refuses before consumption (177.537438ms) ✔ class drift within-role to gated refuses before consumption (151.44183ms) ✔ class drift within-role to cross-role refuses before consumption (148.761132ms) ✔ message.send consumes approval and prevents a later send or authorize (171.765649ms) ✔ role.revoke consumes approval and prevents a later revoke or authorize (199.235087ms) ℹ tests 34 ℹ suites 0 ℹ pass 32 ℹ fail 2 ℹ cancelled 0 ℹ skipped 0 ℹ todo 0 ℹ duration_ms 2472.385965 ✖ failing tests: test at packages/bus/tests/approval-binding.test.mjs:122:1 ✖ REQ-DEC REQ-THREAD-1 a thread approval is consumed only by a run holding the same thread (174.682697ms) AssertionError [ERR_ASSERTION]: Missing expected exception. at TestContext. (file:///home/jwoltje/dewey-scratch/r136/wt/packages/bus/tests/approval-binding.test.mjs:130:10) at Test.runInAsyncScope (node:async_hooks:226:14) at Test.run (node:internal/test_runner/test:1402:25) at Test.processPendingSubtests (node:internal/test_runner/test:974:18) at Test.postRun (node:internal/test_runner/test:1542:19) at Test.run (node:internal/test_runner/test:1467:12) at async Test.processPendingSubtests (node:internal/test_runner/test:974:7) { generatedMessage: false, code: 'ERR_ASSERTION', actual: undefined, expected: { code: 'decision-mismatch' }, operator: 'throws', diff: 'simple' } test at packages/bus/tests/approval-binding.test.mjs:172:1 ✖ REQ-DEC REQ-THREAD-1 a thread instance decision raised before row 121 is not consumed or superseded by any thread run (282.168603ms) AssertionError [ERR_ASSERTION]: Missing expected exception. at TestContext. (file:///home/jwoltje/dewey-scratch/r136/wt/packages/bus/tests/approval-binding.test.mjs:190:10) at Test.runInAsyncScope (node:async_hooks:226:14) at Test.run (node:internal/test_runner/test:1402:25) at Test.processPendingSubtests (node:internal/test_runner/test:974:18) at Test.postRun (node:internal/test_runner/test:1542:19) at Test.run (node:internal/test_runner/test:1467:12) at async Test.processPendingSubtests (node:internal/test_runner/test:974:7) { generatedMessage: false, code: 'ERR_ASSERTION', actual: undefined, expected: { code: 'decision-mismatch' }, operator: 'throws', diff: 'simple' }