Capture Runpack
Execute this workflow to record an artifact safely and deterministically.
Workflow
- •Validate required input path:
<run_record.json>. - •Run record with JSON output:
- •
gait run record --input <run_record.json> --json
- •
- •Parse output fields:
- •
ok,run_id,bundle,manifest_digest,ticket_footer
- •
- •Verify artifact integrity:
- •
gait verify <run_id_or_bundle_path> --json
- •
- •Return a concise handoff block that includes:
- •
run_id - •
bundle - •
manifest_digest - •
ticket_footer - •verify status
- •
Safety Rules
- •Keep default capture mode as
reference. - •Do not switch to raw capture unless explicitly requested.
- •For replay workflows, prefer
gait run replay(stub mode default); require explicit unsafe flags for real tool replay. - •Do not invent
run_id, digests, or verify results. - •Treat non-zero exit from
gait run recordorgait verifyas blocking errors.
Determinism Rules
- •Always use
--jsonand parse structured fields. - •Do not rely on text-only output for workflow decisions.
- •Keep output grounded in recorded artifact values only.