Stateful Context Tracking Engine for AI Conversation Continuity
STATE is a checkpoint/restore system for AI conversations that persists project context, decisions, and next actions across multiple Claude conversations.
-
Each new Claude conversation starts with zero context about ongoing projects
-
Complex project interdependencies get lost between sessions
-
Progress gets reset; decisions already made must be repeated
-
Token limits force mid-project context loss
-
Single declarative file (
STATE.a2ml) in A2ML (Annotated Markup Language) -
Human-readable TOML-like key-value format (not JSON/binary)
-
Download at end of session → Upload at start of next
-
Claude reads it and resumes exactly where you left off
-
Includes: current project focus, blockers, next actions, completion percentages
Primary (Guix):
guix shell -m manifest.scm
just testFallback (Nix):
nix develop
just testContainer (Wolfi + Guix):
nerdctl build -t state:latest .
nerdctl run -it --rm state:latestUser: "Create STATE handover and prepare for next session" Claude: 1. Updates all project completion percentages 2. Lists critical blockers 3. Exports STATE.a2ml 4. Says: "Download STATE.a2ml now - you'll upload it next session"
Language: A2ML (Annotated Markup Language)
-
TOML-like key-value format, human-readable
-
Machine-parseable with standard TOML tooling
-
Typed and verified document format
Package Management: Guix (primary), Nix (fallback)
Containers: Wolfi base image with Guix
The STATE.a2ml file contains these major sections:
Complete list of all projects with:
-
Status (in-progress, blocked, paused, complete, abandoned)
-
Completion percentage
-
Category and phase
-
Dependencies and blockers
-
Next actions
Categorized questions requiring human input. Prevents AI from making assumptions.
Categories: architecture, priorities, integration, deployment, testing, community
Extended roadmap with:
-
post-v1- Planned releases after initial major version -
vision-items- Aspirational features without timeline -
research-tracks- Exploratory work with goals and status
-
README.adoc- This documentation -
USAGE.adoc- Comprehensive usage guide -
CHANGELOG.adoc- Version history -
CONTRIBUTING.adoc- Contribution guidelines -
GOVERNANCE.adoc- Project governance -
CODE_OF_CONDUCT.adoc- Community standards
-
✓ Basic STATE.a2ml structure
-
✓ Project metadata encoding
-
✓ Session checkpoint
-
✓ Manual download/upload cycle
-
✓ Modular architecture
-
✓ GraphViz DOT visualization
-
✓ Mermaid diagram generation
-
✓ History tracking
-
✓ Velocity calculation
-
✓ Time estimation
-
❏ Elixir service for STATE.a2ml read/write
-
❏ Integration with Echomesh for automatic state capture
-
❏ Periodic exports
-
❏ Diff tracking