You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
V48 Gate 3 (implementation-only): #25 route dispatches deposit synthesis to the sandbox host in-box
Closes#25. The deposit route now branches on the configured HostKind: InlineHost runs the synthesis in this box (provision + pipeline in-process, unchanged); SandboxHost runs it IN the box via runDepositInBoxHarness — builds an asset-pack harness in deposit mode (git source + steering), dispatches it on VercelSandboxPipelineHost.runHarness (the pipeline executes in the box over its local checkout), and reads the synthesized options from evidence.depositOptions. Both branches then run the SAME pure projection (validateDepositSynthesisOptions + buildRealDepositAssetPackOptionSynthesis) and persist — identical result.
- runDepositInBoxHarness (deposit-source-provisioning.ts): builds the deposit harness + dispatches (injectable host for tests) + returns evidence.depositOptions.
- route: hostKind branch; the sandbox path rebuilds a minimal inventory from the returned options' covered paths (exclusions already enforced in-box) for the projection/persistence.
Tests: runDepositInBoxHarness (deposit-mode plan + steering + git source; empty evidence -> []); the route sandbox-branch test (dispatches in-box, pipeline+provision NOT called, persists the decision payload). Fixed a mock-isolation leak (reset queued .once() impls in beforeEach). uapi deposit suites 3/14 green; tsc clean.
Real-sandbox execution is verified against deployed sandbox infra; the dispatch + projection are unit-tested with a mocked host.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
0 commit comments