# PR 14732 focused behavior proof Server-only persisted-state regression checks, not live provider timing or client verification. Base: 3a78a2d15acb96d68e47bb6e12138ec5f298cbd3 Head: 4397659cb253786b76974773562b61f0d95494f0 ## Baseline on main before implementation 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.1 /home/ubuntu/wt/composer-chat-18 Test Files 1 passed (1) Tests 20 passed (20) Start at 04:49:32 Duration 17.43s (transform 65%, import 23%, tests 11%, setup 1%) Transform transforming modules took 11.16s · 65% of tracked time, re-done on every run persist transforms across runs with fsModuleCache: true learn more: https://vitest.dev/guide/improving-performance#caching-between-reruns ## Main plus six new regressions (expected failures) ⎯⎯⎯⎯⎯⎯⎯ Failed Tests 5 ⎯⎯⎯⎯⎯⎯⎯ FAIL apps/server/src/orchestration-v2/DelegatedCompletionDelivery.test.ts > delegated steer settlement > rejected: delivers only surviving results after the receiving run settles FAIL apps/server/src/orchestration-v2/DelegatedCompletionDelivery.test.ts > delegated steer settlement > acknowledged: delivers only surviving results after the receiving run settles FAIL apps/server/src/orchestration-v2/DelegatedCompletionDelivery.test.ts > delegated steer settlement > acknowledged-queued: delivers only surviving results after the receiving run settles AssertionError: settlement must offer the stranded delegated result: expected [] not to be empty FAIL apps/server/src/orchestration-v2/DelegatedCompletionDelivery.test.ts > delegated steer settlement > rolled-back-parent: delivers only surviving results after the receiving run settles AssertionError: a stale wake must not revive discarded work: expected [ { …(16) }, { …(15) }, { …(17) } ] to deeply equal [ { …(16) }, { …(15) } ] FAIL apps/server/src/orchestration-v2/DelegatedCompletionDelivery.test.ts > delegated steer settlement > rolled-back-receiver: delivers only surviving results after the receiving run settles AssertionError: a stale wake must not revive discarded work: expected [ { …(16) }, { …(15) }, { …(17) } ] to deeply equal [ { …(16) }, { …(15) } ] Test Files 1 failed (1) Tests 5 failed | 21 passed (26) Duration 12.56s (transform 60%, import 26%, tests 13%, setup 1%) ## Round 1 head plus restart regression (expected failure) ⎯⎯⎯⎯⎯⎯⎯ Failed Tests 1 ⎯⎯⎯⎯⎯⎯⎯ FAIL apps/server/src/orchestration-v2/DelegatedCompletionDelivery.test.ts > delegated steer settlement > acknowledged-restart: delivers only surviving results after the receiving run settles AssertionError: startup recovery must release the empty reservation and offer its pending sibling: expected [] not to be empty Test Files 1 failed (1) Tests 1 failed | 27 passed (28) Duration 12.09s (transform 63%, import 24%, tests 13%, setup 1%) ## Round 1 head plus rollback release assertion (expected failure) ⎯⎯⎯⎯⎯⎯⎯ Failed Tests 1 ⎯⎯⎯⎯⎯⎯⎯ FAIL apps/server/src/orchestration-v2/DelegatedCompletionDelivery.test.ts > delegated steer settlement > rolled-back-receiver: delivers only surviving results after the receiving run settles AssertionError: rollback must release the surviving parent's obsolete reservation: expected { generation: 1, …(2) } to equal null Test Files 1 failed (1) Tests 1 failed | 27 skipped (28) Duration 13.68s (transform 71%, import 26%, tests 2%, setup 1%) ## Final rebuilt head 4397659cb253786b76974773562b61f0d95494f0 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.1 /home/ubuntu/wt/composer-chat-18 Test Files 8 passed (8) Tests 126 passed (126) Start at 05:07:38 Duration 31.06s (transform 42%, import 31%, tests 26%, setup 1%) Import 841 modules were evaluated 4424 times · 27.99s total, 31% of tracked time ~4.17s faster with isolate: false — shared modules are evaluated once per worker instead of once per file learn more: https://vitest.dev/guide/improving-performance#test-isolation ## Targeted lint note: You are running `vp lint` as a Vite+ built-in command. If you meant to run the lint npm script, use `vpr lint` instead. apps/server/src/orchestration-v2/Orchestrator.ts:11821:7: warning eslint(no-unused-vars): Variable 'layerUnavailable' is declared but never used. Unused variables should start with a '_'. help: Consider removing this declaration. apps/server/src/orchestration-v2/Orchestrator.ts:9701:11: warning t3code(no-inline-schema-compile): Hoist Schema.is(...) to module scope: the compiled function is rebuilt on every call. Move it to a module-level const. ## Format check note: You are running `vp fmt` as a Vite+ built-in command. If you meant to run the fmt npm script, use `vpr fmt` instead. Checking formatting... All matched files use the correct format. Finished in 700ms on 2 files using 4 threads. ## Final merge validation Head: 2fae83e2007592e39bfe8a096c8cef92824e1b62 Base: 9f52dc28a9 The reviewed diff is byte-for-byte identical after merging this main revision. 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.1 /home/ubuntu/wt/composer-chat-18 Test Files 9 passed (9) Tests 150 passed (150) Start at 05:12:11 Duration 28.75s (transform 42%, import 33%, tests 24%, setup 1%) Import 844 modules were evaluated 4614 times · 27.53s total, 33% of tracked time ~4.31s faster with isolate: false — shared modules are evaluated once per worker instead of once per file learn more: https://vitest.dev/guide/improving-performance#test-isolation Server tsc-rs --noEmit -p apps/server/tsconfig.json: exit 0 (Effect suggestions only).