Commit 3398916
feat(runtime-v2): Wave 3 — workspace manager, checkpoint gating, exec control, gRPC protos
Workspace manager abstraction:
- WorkspaceRuntimeManager gains sandbox-scoped methods (create/terminate/has_sandbox,
create_container_in_sandbox, setup/teardown_sandbox_network)
- Conformance matrix updated for sandbox operations
- StackExecutor doc comments updated for transitional path
Checkpoint API primitives:
- Capability gating: vm_full/fs_quick class validation against backend capabilities
- Enhanced restore response with compatibility fingerprint metadata
- Fork emits CheckpointForked event + receipt
- New /v1/checkpoints/{id}/children lineage query endpoint
Exec resize/cancel:
- POST /v1/executions/{id}/resize with live_resize capability gating
- POST /v1/executions/{id}/signal for in-band signaling
- ExecutionResized and ExecutionSignaled event variants
- Enhanced cancel with event emission
gRPC transport alignment:
- runtime_v2.proto with 8 service groups (Sandbox, Lease, Container,
Execution, Checkpoint, Build, Event, Capability)
- Shared RequestMetadata and ErrorDetail DTOs
- Streaming RPCs for exec output and build events
Beads closed: vz-kn4, vz-8ud, vz-pqs, vz-4s7
742 tests passing (480 vz-stack + 25 vz-api + 50 vz-runtime-contract +
21 vz-agent-proto + 166 vz-cli)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent a4ce57c commit 3398916
11 files changed
Lines changed: 6656 additions & 69 deletions
File tree
- crates
- vz-agent-proto
- proto
- src
- generated
- vz-api/src
- vz-cli/src
- commands
- vz-runtime-contract/src
- vz-stack/src
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | | - | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
7 | 9 | | |
8 | 10 | | |
9 | 11 | | |
| |||
24 | 26 | | |
25 | 27 | | |
26 | 28 | | |
27 | | - | |
| 29 | + | |
28 | 30 | | |
29 | 31 | | |
30 | 32 | | |
0 commit comments