/** * v2.14.0 G1 AC-1.4 — `peaks fixture capture` CLI surface. * * Producer-side CLI for the G1 fixture-replay anti-fake-green test * suite. Captures a real envelope artifact from * `.peaks/_runtime///` and writes a sanitized + * checksummed fixture pair (body + `fixture.meta.json`) into * `tests/fixtures/replay/`. Two sub-modes: * * peaks fixture capture --from-rid \ * --sid --envelope \ * --out tests/fixtures/replay * * peaks fixture capture --variant-from \ * --variant \ * --out tests/fixtures/replay * * Why a CLI (not just a service function): * - AC-1.4 mandates the CLI as the producer. A1.4 honesty test: * every fixture under `tests/fixtures/replay/` MUST have a * `producer: 'peaks-fixture-capture-cli'` in its `fixture.meta.json` * and a `capturedAt` timestamp within a window where the CLI was * invoked. * - Dogfood: this CLI is itself used by the v2.14.0 release prep to * rebuild the fixture set. Reviewers can replay the exact * command from the meta to regenerate any fixture. * * File budget: ≤ 200 lines (Karpathy §2). */ import { Command } from 'commander'; import { type ProgramIO } from '../cli-helpers.js'; export declare function registerFixtureCommands(program: Command, io: ProgramIO): void;