Run state directory
Every RStack run creates a versioned directory under.rstack/runs/:
Registry files
The registry is generated on demand and indexes all available assets:| File | Contents |
|---|---|
registry.json | Full combined manifest of all assets |
agents.json | All agents with role, domain, and tools |
skills.json | All skills with tags and location |
plugins.json | All plugin packs with domain mapping |
routing.json | Pipeline-stage-to-agent routing map |
Spec artifacts
RStack generates first-class spec files — not just task JSON:Traceability
traceability.json maps every requirement through the entire lifecycle:
Approvals
approvals.json records explicit human decisions:
Events log
events.jsonl is an append-only log of every lifecycle event:
Evidence ledger
evidence.jsonl is a separate append-only file that records only validator-approved task results. Unlike events.jsonl (which logs everything), evidence.jsonl is a compliance-grade ledger — every entry requires task_id, kind, status, and an evidence path:
Metrics
metrics.json tracks cumulative run-level metrics updated after each task:
sdlc_dashboard to populate the live metrics panels.
Stage checkpoints
After each successfulsdlc_validate, RStack snapshots the stage artifact directory to checkpoints/<stage-id>/. This enables point-in-time rollback without losing prior work:
stage_checkpoint_reverted event to events.jsonl. If no checkpoint exists, the tool returns NO_CHECKPOINT and makes no changes.
Memory
learnings.jsonl accumulates cross-run learnings. Each entry is one learning:
sdlc_memory() before planning to avoid repeating mistakes.
Project-local overrides
Projects can extend or override package defaults without forking:rstack-agents validate run.