Reference workflow
SMALL is designed to make agent work resumable and verifiable. This workflow is the default.
This workflow is defined in detail in How to Use SMALL.
Replay IDs identify executions. Progress entries record evidence of work completed. Handoff enables deterministic resumption.
Workflow
-
Initialize SMALL artifacts
- Create
.small/and commit it.
- Create
-
Define intent and constraints
- Intent is the why.
- Constraints are the hard rules.
-
Generate a plan
- Plans are disposable and allowed to change.
-
Execute work
- Make changes in the repo normally.
-
Append progress with evidence
- Commit hashes, commands run, screenshots, links, test output.
-
Generate a handoff
- Run
small handoffat checkpoints to generate a deterministic summary for another agent to resume.
- Run
-
Verify
- Run
small checkas the default enforcement gate. If check fails, the run is not compliant. - This command runs validate + lint + verify (workspace, replayId, progress evidence).
small verifyis also valid for CI-specific enforcement.
- Run
Rules of the road
- Progress is append-only.
- Handoff is the only resume entrypoint.
- If it is not evidenced, it did not happen.
- Plans may change; reconcile to reality when they do.
Plan Reconciliation
Plans are forward-looking proposals and may be wrong or need adjustment.
When work completed does not match the plan:
- Update
plan.small.ymlto reflect the actual work that was completed - Record the reconciliation as progress:
bash
small progress add --task meta/reconcile-plan --status completed --evidence "Reconciled plan to match completed work: [description of changes]"
This keeps the audit trail accurate and prevents confusion between planned vs. actual work.
Replay ID vs Progress
Understanding the relationship between Replay IDs and Progress is essential:
replayIdrepresents execution identity - a deterministic fingerprint of declared intent- Progress entries record evidence of completed work and reference tasks
- Handoff captures the current state and includes the replayId for resumption
Deterministic Replay Guarantee
- Reordering keys → same
replayId- Changing intent, plan, or constraints content → different
replayIdThis is intentional. Identical intent produces identical execution fingerprints.
For more details on how Replay IDs work, see How SMALL Works.