Stage 4: Persistent Agent

Stage 4 is described in the curriculum as preserving and recovering useful state across interruption.

The current repository does not contain a stage/4-* branch or v4 tag in local refs or upstream refs. Because this book is generated from observable branch history, this page does not invent implementation chapters, motivations, failures, or architecture.

When the Stage 4 implementation history exists, this chapter should be rebuilt from:

  • the Stage 4 branch commit history;
  • commit diffs;
  • tests added or changed by each commit;
  • visible corrections and architectural decisions;
  • the stable v4 checkpoint.

Planned curriculum source: docs/stages/04-persistent.md.