| Command | Description |
|---|---|
small version |
Print CLI and supported spec versions |
small init |
Initialize .small/ artifacts |
small validate |
Schema validation |
small lint |
Invariant enforcement |
small check |
Run validate, lint, and verify |
small handoff |
Generate resume checkpoint |
small reset |
Reset workspace for new run |
small verify |
CI/local enforcement gate |
small doctor |
Diagnose workspace issues |
small selftest |
Built-in CLI self-test |
small archive |
Archive run state for lineage |
small run |
Run history snapshots and diff |
| Command | Description |
|---|---|
small plan |
Manage plan tasks |
small status |
Project state summary |
small emit |
Emit structured JSON state |
small apply |
Execute and record bounded commands |
small progress |
Progress utilities (add, migrate) |
small checkpoint |
Update plan and progress atomically |
| Flag | Description |
|---|---|
--dir |
Target directory containing .small/ |
--workspace |
Workspace scope (root, examples, or any) |
--strict |
Enable strict mode (lint, verify, check) |
--json |
Output in JSON format (status, check) |
--help |
Show help for any command |
Initialize a new workspace:
small init --intent "Build authentication service"Validate all artifacts:
small validateCheck project status:
small statusEmit JSON for integrations:
small emit --check --workspace rootGenerate a handoff checkpoint:
small handoffSnapshot and list run history:
small run snapshot
small run listReset workspace for a new run:
small reset --yes
small reset --keep-intent # Preserve intent.small.ymlVerify artifacts for CI:
small verify # Exit 0 if valid, 1 if invalid, 2 if system error
small verify --ci # Minimal output for CI pipelines
small verify --strict # Enable strict checks (invariants, secrets, insecure links)The verify command enforces:
- All completed tasks must have progress entries with evidence
handoff.small.ymlmust include a validreplayId- Schema validation for all artifacts
- Ownership rules (human/agent) for each artifact type
- Strict mode adds S1-S3 invariants for evidence, task ids, and handoff alignment
If you forget to update SMALL files after completing work, verify will fail.
Diagnose workspace issues:
small doctor # Read-only, never mutates state