Description
A May 2026 arXiv paper, "DeltaBox: Scaling Stateful AI Agents with Millisecond-Level Sandbox Checkpoint/Rollback" (arXiv:2605.22781), presents change-based (copy-on-write) checkpoint/restore for agent sandboxes:
- DeltaFS: filesystem checkpoint/restore via layer freeze+insert, reducing writes to COW; rollback is a layer switch.
- DeltaCR: process-state checkpoint/restore via incremental dumps, rollback by
fork() from a frozen template process.
- Reported ~14ms checkpoint / ~5ms rollback — orders of magnitude faster than full-state duplication.
How this applies to Zeph
zeph-tools' sandbox (crates/zeph-tools/src/sandbox/{macos,linux,noop}.rs) has no checkpoint/rollback primitive — every tool execution is a fresh process. No part of the agent loop (single turn, zeph-orchestration DAG, zeph-subagent fan-out) can cheaply "try, roll back, try again." If Zeph ever wants speculative/branching tool-execution exploration, a DeltaBox-style COW primitive is the enabling mechanism.
Distinct from closed #2409 (PASTE speculative predictive execution, arXiv:2603.18897): PASTE predicts-then-verifies a single path; DeltaBox cheaply explores many branches. No existing duplicate confirmed via gh issue list --search "DeltaBox" / "checkpoint rollback sandbox".
Expected Behavior
A documented team decision (adopt now / adopt later / explicitly decline) on whether a COW-based sandbox checkpoint/rollback primitive is worth building for any current or near-term Zeph subsystem (candidates: zeph-orchestration DAG retry, zeph-subagent fan-out).
Actual Behavior
No such primitive exists; not yet evaluated against a concrete Zeph consumer.
Environment
Logs / Evidence
Spec
.local/specs/073-deltabox-sandbox-checkpoint-rollback/spec.md
Description
A May 2026 arXiv paper, "DeltaBox: Scaling Stateful AI Agents with Millisecond-Level Sandbox Checkpoint/Rollback" (arXiv:2605.22781), presents change-based (copy-on-write) checkpoint/restore for agent sandboxes:
fork()from a frozen template process.How this applies to Zeph
zeph-tools' sandbox (crates/zeph-tools/src/sandbox/{macos,linux,noop}.rs) has no checkpoint/rollback primitive — every tool execution is a fresh process. No part of the agent loop (single turn,zeph-orchestrationDAG,zeph-subagentfan-out) can cheaply "try, roll back, try again." If Zeph ever wants speculative/branching tool-execution exploration, a DeltaBox-style COW primitive is the enabling mechanism.Distinct from closed #2409 (PASTE speculative predictive execution, arXiv:2603.18897): PASTE predicts-then-verifies a single path; DeltaBox cheaply explores many branches. No existing duplicate confirmed via
gh issue list --search "DeltaBox"/"checkpoint rollback sandbox".Expected Behavior
A documented team decision (adopt now / adopt later / explicitly decline) on whether a COW-based sandbox checkpoint/rollback primitive is worth building for any current or near-term Zeph subsystem (candidates:
zeph-orchestrationDAG retry,zeph-subagentfan-out).Actual Behavior
No such primitive exists; not yet evaluated against a concrete Zeph consumer.
Environment
Logs / Evidence
crates/zeph-tools/src/sandbox/linux.rs,sandbox/mod.rsSpec
.local/specs/073-deltabox-sandbox-checkpoint-rollback/spec.md