/** * W5 Fix M2 — `peaks prepare-final-review ` CLI wrapper. * * Exposes the `prepareFinalReview()` service (added in W2 T9 on * `feature/slice-topology-multipass`) via the CLI surface. The service * depends on an injected `LlmRunner`; this slice wires the CLI route * with a `stub` provider that returns a structured "scaffold ready" * envelope so CI can verify the route without a real LLM. A follow-up * slice will bind a real provider. Until then, non-stub providers fail * loudly with `LLM_PROVIDER_NOT_IMPLEMENTED` so callers cannot silently * no-op. * * Per the dev-preference "Default-no on new CLI commands" rule and the * W4 T14 spec, this is a NEW top-level command (`prepare-final-review`), * not a subcommand of `audit`. The two primitives are distinct: * - `peaks audit goal` — propose a 6-dim goal from a human need * - `peaks prepare-final-review` — produce a 4-dim review evidence * pack for human acceptance */ import { Command } from 'commander'; import { type ProgramIO } from '../cli-helpers.js'; export type FinalReviewStatus = 'scaffold-only' | 'not-applicable'; export interface FinalReviewData { readonly status: FinalReviewStatus; readonly rid: string; readonly sessionId: string; readonly auditGoalPath: string; readonly serviceWired: boolean; readonly providerBinding: 'pending-follow-up-slice' | 'unknown'; } export declare function registerFinalReviewCommands(program: Command, io: ProgramIO): void;