HEAD: c14360c6db032ba4ebc8bc1e698bc8dd51201e01 COMMAND: vp test run apps/server/src/orchestration-v2/ThreadManagementService.test.ts 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 /tmp/issue-24667-red-c14360c6db stdout | src/orchestration-v2/ThreadManagementService.test.ts > sendToThread with agent=true mode=auto keeps skill dispatch only for the user: PREFIX: $technical-writing mid-sentence… [07:19:42.188] ERROR (#3581): Error [AssertionError]: expected true to be false // Object.is equality at /tmp/issue-24667-red-c14360c6db/apps/server/src/orchestration-v2/ThreadManagementService.test.ts:533:31 { actual: true, expected: false, showDiff: true, operator: 'strictEqual', [cause]: undefined } stdout | src/orchestration-v2/ThreadManagementService.test.ts > sendToThread with agent=true mode=steer keeps skill dispatch only for the user: PREFIX: €technical-writing mid-sentence… [07:19:42.376] ERROR (#3904): Error [AssertionError]: expected true to be false // Object.is equality at /tmp/issue-24667-red-c14360c6db/apps/server/src/orchestration-v2/ThreadManagementService.test.ts:533:31 { actual: true, expected: false, showDiff: true, operator: 'strictEqual', [cause]: undefined } stdout | src/orchestration-v2/ThreadManagementService.test.ts > sendToThread with agent=true mode=auto keeps skill dispatch only for the user: PREFIX: 𑿝technical-writing mid-sentenc… [07:19:42.453] ERROR (#4227): Error [AssertionError]: expected true to be false // Object.is equality at /tmp/issue-24667-red-c14360c6db/apps/server/src/orchestration-v2/ThreadManagementService.test.ts:533:31 { actual: true, expected: false, showDiff: true, operator: 'strictEqual', [cause]: undefined } stdout | src/orchestration-v2/ThreadManagementService.test.ts > sendToThread with agent=true mode=auto keeps skill dispatch only for the user: /technical-writing PREFIX: report the t… [07:19:42.597] ERROR (#4550): Error [AssertionError]: expected true to be false // Object.is equality at /tmp/issue-24667-red-c14360c6db/apps/server/src/orchestration-v2/ThreadManagementService.test.ts:533:31 { actual: true, expected: false, showDiff: true, operator: 'strictEqual', [cause]: undefined } stdout | src/orchestration-v2/ThreadManagementService.test.ts > sendToThread with agent=true mode=steer keeps skill dispatch only for the user: /technical-writing PREFIX: report the t… [07:19:42.702] ERROR (#4873): Error [AssertionError]: expected true to be false // Object.is equality at /tmp/issue-24667-red-c14360c6db/apps/server/src/orchestration-v2/ThreadManagementService.test.ts:533:31 { actual: true, expected: false, showDiff: true, operator: 'strictEqual', [cause]: undefined } ❯ |t3| src/orchestration-v2/ThreadManagementService.test.ts (17 tests | 5 failed) 2817ms × sendToThread with agent=true mode=auto keeps skill dispatch only for the user: PREFIX: $technical-writing mid-sentence… 103ms × sendToThread with agent=true mode=steer keeps skill dispatch only for the user: PREFIX: €technical-writing mid-sentence… 176ms × sendToThread with agent=true mode=auto keeps skill dispatch only for the user: PREFIX: 𑿝technical-writing mid-sentenc… 90ms × sendToThread with agent=true mode=auto keeps skill dispatch only for the user: /technical-writing PREFIX: report the t… 145ms × sendToThread with agent=true mode=steer keeps skill dispatch only for the user: /technical-writing PREFIX: report the t… 90ms ⎯⎯⎯⎯⎯⎯⎯ Failed Tests 5 ⎯⎯⎯⎯⎯⎯⎯ FAIL |t3| src/orchestration-v2/ThreadManagementService.test.ts > sendToThread with agent=true mode=auto keeps skill dispatch only for the user: PREFIX: $technical-writing mid-sentence… FAIL |t3| src/orchestration-v2/ThreadManagementService.test.ts > sendToThread with agent=true mode=steer keeps skill dispatch only for the user: PREFIX: €technical-writing mid-sentence… FAIL |t3| src/orchestration-v2/ThreadManagementService.test.ts > sendToThread with agent=true mode=auto keeps skill dispatch only for the user: PREFIX: 𑿝technical-writing mid-sentenc… FAIL |t3| src/orchestration-v2/ThreadManagementService.test.ts > sendToThread with agent=true mode=auto keeps skill dispatch only for the user: /technical-writing PREFIX: report the t… FAIL |t3| src/orchestration-v2/ThreadManagementService.test.ts > sendToThread with agent=true mode=steer keeps skill dispatch only for the user: /technical-writing PREFIX: report the t… AssertionError: expected true to be false // Object.is equality - Expected + Received - false + true ❯ src/orchestration-v2/ThreadManagementService.test.ts:533:31 531| [...providerText.matchAll(SKILL_MENTION_PATTERN)].length > 0; 532| expect(providerText).toContain("technical-writing"); 533| expect(dispatchesSkill).toBe(!agent); | ^ 534| }), 535| ); ❯ ~effect/Effect/successCont ../../../../home/ubuntu/wt/issue-24667/node_modules/.pnpm/effect@4.0.5/node_modules/effect/src/internal/effect.ts:1422:28 ❯ ~effect/Effect/evaluate ../../../../home/ubuntu/wt/issue-24667/node_modules/.pnpm/effect@4.0.5/node_modules/effect/src/internal/core.ts:585:30 ❯ FiberImpl.runLoop ../../../../home/ubuntu/wt/issue-24667/node_modules/.pnpm/effect@4.0.5/node_modules/effect/src/internal/effect.ts:654:41 ❯ FiberImpl.evaluate ../../../../home/ubuntu/wt/issue-24667/node_modules/.pnpm/effect@4.0.5/node_modules/effect/src/internal/effect.ts:595:23 ❯ FiberImpl.evaluate ../../../../home/ubuntu/wt/issue-24667/node_modules/.pnpm/effect@4.0.5/node_modules/effect/src/internal/effect.ts:589:27 ❯ Array. ../../../../home/ubuntu/wt/issue-24667/node_modules/.pnpm/effect@4.0.5/node_modules/effect/src/internal/effect.ts:1025:13 ❯ MixedSchedulerDispatcher.runTasks ../../../../home/ubuntu/wt/issue-24667/node_modules/.pnpm/effect@4.0.5/node_modules/effect/src/Scheduler.ts:254:17 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[1/5]⎯ Test Files 1 failed (1) Tests 5 failed | 12 passed (17) Start at 07:18:00 Duration 102.78s (transform 84%, import 11%, tests 3%, setup 2%) TEST_EXIT=1 COMMAND: vp test run apps/server/src/orchestration-v2/ThreadManagementService.test.ts --reporter=verbose 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 /tmp/issue-24667-red-c14360c6db ✓ |t3| src/orchestration-v2/ThreadManagementService.test.ts > the dispatch chokepoint refuses a continuation message.dispatch on a project-disabled instance before reaching the orchestrator 112ms ✓ |t3| src/orchestration-v2/ThreadManagementService.test.ts > a replay of an already-accepted command id dispatches despite the instance now being disabled 69ms ✓ |t3| src/orchestration-v2/ThreadManagementService.test.ts > uses thread-not-found only after a projection loads outside the project 73ms ✓ |t3| src/orchestration-v2/ThreadManagementService.test.ts > waitForThread follows a restart continuation instead of the cut run 68ms ✓ |t3| src/orchestration-v2/ThreadManagementService.test.ts > waitForThread returns the cut run once its continuation is declined 62ms ✓ |t3| src/orchestration-v2/ThreadManagementService.test.ts > marks background work awaited on the thread's active provider thread with state live 70ms ✓ |t3| src/orchestration-v2/ThreadManagementService.test.ts > marks background work awaited on the thread's active provider thread with state no-session 69ms ✓ |t3| src/orchestration-v2/ThreadManagementService.test.ts > marks background work awaited on the thread's active provider thread with state unsupported-runtime 75ms ✓ |t3| src/orchestration-v2/ThreadManagementService.test.ts > settleAfterRun settles only when the run completed 59ms ✓ |t3| src/orchestration-v2/ThreadManagementService.test.ts > settleAfterRun settles only when the run failed 62ms ✓ |t3| src/orchestration-v2/ThreadManagementService.test.ts > settleAfterRun settles only when the run interrupted 55ms stdout | src/orchestration-v2/ThreadManagementService.test.ts > sendToThread with agent=true mode=auto keeps skill dispatch only for the user: PREFIX: $technical-writing mid-sentence… [07:20:21.821] ERROR (#3581): Error [AssertionError]: expected true to be false // Object.is equality at /tmp/issue-24667-red-c14360c6db/apps/server/src/orchestration-v2/ThreadManagementService.test.ts:533:31 { actual: true, expected: false, showDiff: true, operator: 'strictEqual', [cause]: undefined } stdout | src/orchestration-v2/ThreadManagementService.test.ts > sendToThread with agent=true mode=steer keeps skill dispatch only for the user: PREFIX: €technical-writing mid-sentence… [07:20:21.884] ERROR (#3904): Error [AssertionError]: expected true to be false // Object.is equality at /tmp/issue-24667-red-c14360c6db/apps/server/src/orchestration-v2/ThreadManagementService.test.ts:533:31 { actual: true, expected: false, showDiff: true, operator: 'strictEqual', [cause]: undefined } × |t3| src/orchestration-v2/ThreadManagementService.test.ts > sendToThread with agent=true mode=auto keeps skill dispatch only for the user: PREFIX: $technical-writing mid-sentence… 76ms → expected true to be false // Object.is equality × |t3| src/orchestration-v2/ThreadManagementService.test.ts > sendToThread with agent=true mode=steer keeps skill dispatch only for the user: PREFIX: €technical-writing mid-sentence… 58ms → expected true to be false // Object.is equality stdout | src/orchestration-v2/ThreadManagementService.test.ts > sendToThread with agent=true mode=auto keeps skill dispatch only for the user: PREFIX: 𑿝technical-writing mid-sentenc… [07:20:21.940] ERROR (#4227): Error [AssertionError]: expected true to be false // Object.is equality at /tmp/issue-24667-red-c14360c6db/apps/server/src/orchestration-v2/ThreadManagementService.test.ts:533:31 { actual: true, expected: false, showDiff: true, operator: 'strictEqual', [cause]: undefined } stdout | src/orchestration-v2/ThreadManagementService.test.ts > sendToThread with agent=true mode=auto keeps skill dispatch only for the user: /technical-writing PREFIX: report the t… [07:20:21.997] ERROR (#4550): Error [AssertionError]: expected true to be false // Object.is equality at /tmp/issue-24667-red-c14360c6db/apps/server/src/orchestration-v2/ThreadManagementService.test.ts:533:31 { actual: true, expected: false, showDiff: true, operator: 'strictEqual', [cause]: undefined } stdout | src/orchestration-v2/ThreadManagementService.test.ts > sendToThread with agent=true mode=steer keeps skill dispatch only for the user: /technical-writing PREFIX: report the t… [07:20:22.056] ERROR (#4873): Error [AssertionError]: expected true to be false // Object.is equality at /tmp/issue-24667-red-c14360c6db/apps/server/src/orchestration-v2/ThreadManagementService.test.ts:533:31 { actual: true, expected: false, showDiff: true, operator: 'strictEqual', [cause]: undefined } × |t3| src/orchestration-v2/ThreadManagementService.test.ts > sendToThread with agent=true mode=auto keeps skill dispatch only for the user: PREFIX: 𑿝technical-writing mid-sentenc… 56ms → expected true to be false // Object.is equality × |t3| src/orchestration-v2/ThreadManagementService.test.ts > sendToThread with agent=true mode=auto keeps skill dispatch only for the user: /technical-writing PREFIX: report the t… 57ms → expected true to be false // Object.is equality × |t3| src/orchestration-v2/ThreadManagementService.test.ts > sendToThread with agent=true mode=steer keeps skill dispatch only for the user: /technical-writing PREFIX: report the t… 59ms → expected true to be false // Object.is equality ✓ |t3| src/orchestration-v2/ThreadManagementService.test.ts > sendToThread with agent=false mode=auto keeps skill dispatch only for the user: PREFIX: $technical-writing mid-sentence… 66ms ⎯⎯⎯⎯⎯⎯⎯ Failed Tests 5 ⎯⎯⎯⎯⎯⎯⎯ FAIL |t3| src/orchestration-v2/ThreadManagementService.test.ts > sendToThread with agent=true mode=auto keeps skill dispatch only for the user: PREFIX: $technical-writing mid-sentence… FAIL |t3| src/orchestration-v2/ThreadManagementService.test.ts > sendToThread with agent=true mode=steer keeps skill dispatch only for the user: PREFIX: €technical-writing mid-sentence… FAIL |t3| src/orchestration-v2/ThreadManagementService.test.ts > sendToThread with agent=true mode=auto keeps skill dispatch only for the user: PREFIX: 𑿝technical-writing mid-sentenc… FAIL |t3| src/orchestration-v2/ThreadManagementService.test.ts > sendToThread with agent=true mode=auto keeps skill dispatch only for the user: /technical-writing PREFIX: report the t… FAIL |t3| src/orchestration-v2/ThreadManagementService.test.ts > sendToThread with agent=true mode=steer keeps skill dispatch only for the user: /technical-writing PREFIX: report the t… AssertionError: expected true to be false // Object.is equality - Expected + Received - false + true ❯ src/orchestration-v2/ThreadManagementService.test.ts:533:31 531| [...providerText.matchAll(SKILL_MENTION_PATTERN)].length > 0; 532| expect(providerText).toContain("technical-writing"); 533| expect(dispatchesSkill).toBe(!agent); | ^ 534| }), 535| ); ❯ ~effect/Effect/successCont ../../../../home/ubuntu/wt/issue-24667/node_modules/.pnpm/effect@4.0.5/node_modules/effect/src/internal/effect.ts:1422:28 ❯ ~effect/Effect/evaluate ../../../../home/ubuntu/wt/issue-24667/node_modules/.pnpm/effect@4.0.5/node_modules/effect/src/internal/core.ts:585:30 ❯ FiberImpl.runLoop ../../../../home/ubuntu/wt/issue-24667/node_modules/.pnpm/effect@4.0.5/node_modules/effect/src/internal/effect.ts:654:41 ❯ FiberImpl.evaluate ../../../../home/ubuntu/wt/issue-24667/node_modules/.pnpm/effect@4.0.5/node_modules/effect/src/internal/effect.ts:595:23 ❯ FiberImpl.evaluate ../../../../home/ubuntu/wt/issue-24667/node_modules/.pnpm/effect@4.0.5/node_modules/effect/src/internal/effect.ts:589:27 ❯ Array. ../../../../home/ubuntu/wt/issue-24667/node_modules/.pnpm/effect@4.0.5/node_modules/effect/src/internal/effect.ts:1025:13 ❯ MixedSchedulerDispatcher.runTasks ../../../../home/ubuntu/wt/issue-24667/node_modules/.pnpm/effect@4.0.5/node_modules/effect/src/Scheduler.ts:254:17 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[1/5]⎯ Test Files 1 failed (1) Tests 5 failed | 12 passed (17) Start at 07:19:59 Duration 22.49s (transform 61%, import 28%, setup 6%, tests 6%) VERBOSE_TEST_EXIT=1