Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.compose.market/llms.txt

Use this file to discover all available pages before exploring further.

Manowar has several checkpoint concepts. They serve different readers.

MAL Checkpoints

MAL checkpoints are Redis snapshots for typed plans.
PropertyValue
Keymal:run:{agentWallet}:{composeRunId}
TTL24 hours
Saved afterEach successful non-terminal top-level step.
Cleared afterCompleted, stopped, errored, or aborted plan.
ContentsplanId, composeRunId, completed step index, step results, saved values, aggregate usage.
Nested if, loop, and inline fanout blocks do not create separate checkpoint streams. The top-level plan snapshot captures their step result.

Workflow Checkpoints

Workflow checkpoints are annotations:
FunctionMeaning
recordObservation()What the workflow noticed.
recordDecision()A decision and its reason.
recordInsight()A reusable lesson.
recordError()A failure signal.
persistCheckpoints()Persists run annotations to memory/feedback paths.

Agent Filesystem Checkpoints

agent/checkpoint.ts provides a local JSON checkpoint saver with retention and health helpers. It is separate from MAL Redis checkpoints and workflow annotations.