返回 Skill 列表
extension
分类: 开发与工程无需 API Key

gait-capture-runpack

捕获并验证从标准化运行输入中得到的确定性步态运行包。在被要求记录一次运行、生成运行ID或运行包工件、生成可用于票据的证明,或在交接前验证工件完整性时使用。

person作者: jakexiaohubgithub

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

  1. Validate required input path: <run_record.json>.
  2. Run record with JSON output (required):
    • gait run record --input <run_record.json> --json
  3. Parse output fields:
    • ok, run_id, bundle, manifest_digest, ticket_footer
  4. Verify artifact integrity (required):
    • gait verify <run_id_or_bundle_path> --json
  5. 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 record or gait verify as blocking errors.
  • Keep this skill wrapper-only: do not parse policy YAML or implement custom evaluator logic.

Determinism Rules

  • Always use --json and parse structured fields.
  • Do not rely on text-only output for workflow decisions.
  • Keep output grounded in recorded artifact values only.