Capture Runpack
Execute this workflow to record an artifact safely and deterministically.
Gait Context
Gait is an offline-first runtime for AI agents that enforces tool-boundary policy, emits signed and verifiable evidence artifacts, and supports deterministic regressions.
Use this skill when:
- incident triage needs captured run artifacts for reproduction
- CI gate failures need verifiable artifact identity and integrity
- receipt/evidence generation depends on runpack metadata and digests
Do not use this skill when:
- Gait CLI is unavailable in the environment
- no Gait run input or artifact source is available
Workflow
- Validate required input path:
<run_record.json>. - Run record with JSON output (required):
gait run record --input <run_record.json> --json
- Parse output fields:
ok,run_id,bundle,manifest_digest,ticket_footer
- Verify artifact integrity (required):
gait verify <run_id_or_bundle_path> --json
- Return a concise handoff block that includes:
run_idbundlemanifest_digestticket_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. - Keep this skill wrapper-only: do not parse policy YAML or implement custom evaluator logic.
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.