mirror of
https://github.com/yashshah9/agentbox.git
synced 2026-11-20 20:33:18 +00:00
Context: - Agent workflows need files written in one run to exist in the next without a gVisor backend. - Tar the sandbox workspace (minus the entry script) and restore it when snapshot_id is sent. Test Plan: - docker compose run --rm test - tests/test_api.py::test_snapshot_restore_keeps_workspace_file - tests/test_api.py::test_unknown_snapshot_returns_400 Additional Notes: - Snapshots live under AGENTBOX_SNAPSHOT_DIR (default /tmp/agentbox-snapshots). Isolation is still subprocess.