No changes detected, skipping sync (4ms) No changes detected, skipping sync (3ms) note: You are running `vp test` as a Vite+ built-in command. If you meant to run the test npm script, use `vpr test` instead. RUN v5.0.5 /home/runner/_work/maria-blacksmith/maria-blacksmith-source stdout | src/orchestration-v2/Adapters/ClaudeAdapterV2.test.ts > ClaudeAdapterV2 background wake turns > ignores ambient tasks across turns when learned from task_started [12:27:10.586] ERROR (#21): Error [AssertionError]: ambient task must not become a subagent in turn 1: expected true to be false at /home/runner/_work/maria-blacksmith/maria-blacksmith-source/apps/server/src/orchestration-v2/Adapters/ClaudeAdapterV2.test.ts:7463:20 { actual: true, expected: false, showDiff: true, operator: 'strictEqual', [cause]: undefined } stdout | src/orchestration-v2/Adapters/ClaudeAdapterV2.test.ts > ClaudeAdapterV2 background wake turns > ignores ambient tasks across turns when learned from background_tasks_changed [12:27:10.592] ERROR (#41): Error [AssertionError]: only ordinary background work belongs in the Waiting roster: expected [ 'bdqirlcyw', 'artifact-watch' ] to deeply equal [ 'bdqirlcyw' ] at /home/runner/_work/maria-blacksmith/maria-blacksmith-source/apps/server/src/orchestration-v2/Adapters/ClaudeAdapterV2.test.ts:7467:20 { actual: [ 'bdqirlcyw', 'artifact-watch' ], expected: [ 'bdqirlcyw' ], showDiff: true, operator: 'deepStrictEqual', [cause]: undefined } stdout | src/orchestration-v2/Adapters/ClaudeAdapterV2.test.ts > ClaudeAdapterV2 background wake turns > tracks a task that explicitly stops being ambient [12:27:10.595] ERROR (#61): Error [AssertionError]: expected true to equal false at /home/runner/_work/maria-blacksmith/maria-blacksmith-source/apps/server/src/orchestration-v2/Adapters/ClaudeAdapterV2.test.ts:7521:18 { actual: true, expected: false, showDiff: true, operator: 'strictEqual', [cause]: undefined } stdout | src/orchestration-v2/Adapters/ClaudeAdapterV2.test.ts > ClaudeAdapterV2 background wake turns > clears registered subagent activity when its task becomes ambient [12:27:10.598] ERROR (#81): Error [AssertionError]: expected { …(4) } to deeply equal { …(4) } at /home/runner/_work/maria-blacksmith/maria-blacksmith-source/apps/server/src/orchestration-v2/Adapters/ClaudeAdapterV2.test.ts:7610:16 { actual: { pendingAfterClassification: true, pendingAfterTerminal: true, subagentStillRunning: true, stopRequests: [] }, expected: { pendingAfterClassification: false, pendingAfterTerminal: false, subagentStillRunning: false, stopRequests: [] }, showDiff: true, operator: 'deepStrictEqual', [cause]: undefined } ----------------------------------------------------------------·----------------------------------------------------------------------------------------xxxx-----------------------------------------------------------------------------·----- Test Files 1 failed (1) Tests 4 failed | 2 passed | 234 skipped (240) Start at 12:27:04 Duration 5.89s (transform 62%, import 21%, setup 16%, tests 1%) ⎯⎯⎯⎯⎯⎯⎯ Failed Tests 4 ⎯⎯⎯⎯⎯⎯⎯ FAIL t3 src/orchestration-v2/Adapters/ClaudeAdapterV2.test.ts > ClaudeAdapterV2 background wake turns > ignores ambient tasks across turns when learned from task_started AssertionError: ambient task must not become a subagent in turn 1: expected true to be false - Expected + Received - false + true ❯ src/orchestration-v2/Adapters/ClaudeAdapterV2.test.ts:7463:20 7461| const terminal = yield* Queue.take(harness.terminalReceipt… 7462| assert.equal(terminal.status, "completed"); 7463| assert.isFalse( | ^ 7464| harness.events.some((event) => event.type === "subagent.… 7465| `ambient task must not become a subagent in turn ${ordin… ❯ ~effect/Effect/successCont ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/src/internal/effect.ts:1422:28 ❯ ~effect/Effect/evaluate ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/src/internal/core.ts:585:30 ❯ ~effect/Effect/evaluate ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/src/Queue.ts:2548:86 ❯ FiberImpl.runLoop ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/src/internal/effect.ts:654:41 ❯ FiberImpl.evaluate ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/src/internal/effect.ts:595:23 ❯ FiberImpl.evaluate ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/src/internal/effect.ts:589:27 ❯ Object.resume ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/src/internal/effect.ts:1159:17 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[1/4]⎯ FAIL t3 src/orchestration-v2/Adapters/ClaudeAdapterV2.test.ts > ClaudeAdapterV2 background wake turns > ignores ambient tasks across turns when learned from background_tasks_changed AssertionError: only ordinary background work belongs in the Waiting roster: expected [ 'bdqirlcyw', 'artifact-watch' ] to deeply equal [ 'bdqirlcyw' ] - Expected + Received [ "bdqirlcyw", + "artifact-watch", ] ❯ src/orchestration-v2/Adapters/ClaudeAdapterV2.test.ts:7467:20 7465| `ambient task must not become a subagent in turn ${ordin… 7466| ); 7467| assert.deepEqual( | ^ 7468| [ 7469| ...new Set( ❯ ~effect/Effect/successCont ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/src/internal/effect.ts:1422:28 ❯ ~effect/Effect/evaluate ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/src/internal/core.ts:585:30 ❯ ~effect/Effect/evaluate ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/src/Queue.ts:2548:86 ❯ FiberImpl.runLoop ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/src/internal/effect.ts:654:41 ❯ FiberImpl.evaluate ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/src/internal/effect.ts:595:23 ❯ FiberImpl.evaluate ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/src/internal/effect.ts:589:27 ❯ Object.resume ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/src/internal/effect.ts:1159:17 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[2/4]⎯ FAIL t3 src/orchestration-v2/Adapters/ClaudeAdapterV2.test.ts > ClaudeAdapterV2 background wake turns > tracks a task that explicitly stops being ambient AssertionError: expected true to equal false - Expected + Received - false + true ❯ src/orchestration-v2/Adapters/ClaudeAdapterV2.test.ts:7521:18 7519| }), 7520| ); 7521| assert.equal(yield* harness.hasPendingBackgroundWork, !ambie… | ^ 7522| } 7523| yield* harness.offerAndWait(turnOneResult); ❯ ~effect/Effect/successCont ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/src/internal/effect.ts:1422:28 ❯ ~effect/Effect/evaluate ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/src/internal/core.ts:585:30 ❯ FiberImpl.runLoop ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/src/internal/effect.ts:654:41 ❯ FiberImpl.evaluate ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/src/internal/effect.ts:595:23 ❯ FiberImpl.evaluate ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/src/internal/effect.ts:589:27 ❯ Array. ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/src/internal/effect.ts:1159:17 ❯ doneUnsafe ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/src/Deferred.ts:1707:17 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[3/4]⎯ FAIL t3 src/orchestration-v2/Adapters/ClaudeAdapterV2.test.ts > ClaudeAdapterV2 background wake turns > clears registered subagent activity when its task becomes ambient AssertionError: expected { …(4) } to deeply equal { …(4) } - Expected + Received { - "pendingAfterClassification": false, - "pendingAfterTerminal": false, + "pendingAfterClassification": true, + "pendingAfterTerminal": true, "stopRequests": [], - "subagentStillRunning": false, + "subagentStillRunning": true, } ❯ src/orchestration-v2/Adapters/ClaudeAdapterV2.test.ts:7610:16 7608| event.subagent.nativeTaskRef?.nativeId === task.task_id, 7609| ); 7610| assert.deepEqual( | ^ 7611| { 7612| pendingAfterClassification, ❯ ~effect/Effect/successCont ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/src/internal/effect.ts:1422:28 ❯ ~effect/Effect/evaluate ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/src/internal/core.ts:585:30 ❯ FiberImpl.runLoop ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/src/internal/effect.ts:654:41 ❯ FiberImpl.evaluate ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/src/internal/effect.ts:595:23 ❯ FiberImpl.evaluate ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/src/internal/effect.ts:589:27 ❯ Object.resume ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/src/internal/effect.ts:1159:17 ❯ releaseTakers ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/src/Queue.ts:2506:11 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[4/4]⎯