/** * peaks security-audit * CLI surface — independent security audit skill * driver. Per slice v2.12.0 (Group A, Tier 2). Decouples security * review from peaks-rd's 5-way fan-out's `security-reviewer` slot. * * Subcommands: * - `peaks security-audit detect` — JSON envelope describing the * 5-state security-audit runtime (ready / handoff-missing / * template-missing / dispatch-failed / envelope-malformed). * Mirrors the ECC bridge detect semantics. * - `peaks security-audit run` — runs the full pipeline: * detect → read handoff + template → write audit artifact to * `.peaks/_runtime//audit/security-.md`. Reads the * envelope JSON from --envelope file or stdin. * * The actual LLM-in-loop judgement is NOT in this CLI — the parent * LLM (peaks-security-audit skill prompt) is the judgement core. * This CLI is the I/O + validation shell, mirroring the ecc-bridge * pattern (slice 7 Group D). */ import type { Command } from 'commander'; import { type ProgramIO } from '../cli-helpers.js'; export declare function registerSecurityAuditCommands(program: Command, io: ProgramIO): void;