State outside Context

When auto_compact fires, the entire conversation is replaced with a summary. Any in-memory state is gone. The task manager phase solves this by storing tasks as JSON files on disk. Each task has an ID, status, and a blockedBy list forming a dependency graph. When a task completes, it automatically unblocks dependent tasks.

Task dependency graph (dag)

Tasks form a directed acyclic graph. Completing task 1 unblocks tasks 2 and 3.

Matching exercise: Task manager operations

Loading practice…

Terminal
bash
# Run the task system agent
make 07-task-system

# Try: "Create 3 tasks: setup, implement, and test.
#       Make implement blocked by setup, and test blocked by implement.
#       Then complete setup and check what gets unblocked."

See dependency resolution in action. Completing a task automatically unblocks dependents.