Explore disposable agent execution with rollback #15
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
User story: So that I can discard or recover agent execution state without confusing it with source history, Allod needs a rollback model where Git and the forge remain the authoritative collaboration record.
Part of the "Agent isolation & security boundary" arc.
Context
Allod's current development workflow treats Git branches and Forgejo PRs as the durable collaboration surface. Agent worktrees, VM checkouts, and generated runtime state are operational machinery around that source of truth. As agent sessions become longer-running and more stateful, Allod should preserve that distinction: execution state may be useful to checkpoint or discard, but it should not become confused with canonical source history.
This issue is inspired by both MicroVM-oriented comparison projects and Netclode:
Stapelberg's setup is useful because it emphasizes ephemeral NixOS MicroVMs where only explicitly shared state survives. microvm.nix is relevant because it provides declarative lightweight VMs with read-only root images and explicit stateful shares. Netclode is useful because it separates persistent agent sessions from disposable microVM compute and includes workspace/session snapshots and rollback concepts. These are inspirations and comparison points, not an instruction to adopt any specific VM, storage, or orchestration design.
Goal
Explore a model where agent execution environments are cheap to discard, recover, or roll back, while Git and Forgejo remain the authoritative record of source changes and review intent. Snapshots should help recover a session, inspect intermediate state, or reset a compromised or confused environment; they should not replace commits, PRs, issue comments, or reviewed source history.
Questions to explore
Non-goals for now