RAGit
CommandsHarness

harness capture

Materialize harness resources as local artifacts

What It Does

harness capture stores harness resources such as case, oracle, checker, fixture, and suite as local JSON artifacts under .ragit/artifacts/harness/**.

Syntax

pnpm ragit harness capture --input <path|-> \
  [--dry-run] [--format text|json|both] [--cwd <path>]

Key Points

  • Use it when you want to materialize a suite before review or execution.
  • --dry-run validates payload shape and planned artifact ids without writing files.
  • capture does not execute the suite. Use harness run for execution.
  • The safe init gitignore policy keeps .ragit/artifacts/harness/** local. Choose the dogfood policy during init only when reviewed harness assets should become part of the repository contract.