/** * `peaks code lint` — read-only ESLint verifier (Gate B5). * * PRD-002b slice: three subcommands expose the runner's new * incremental-first / no-touch-stockcode options to the CLI surface. * * - `peaks lint baseline` — one-shot full-repo scan; writes * `.peaks/lint/baseline.json`. Each project regenerates its own * baseline (the file is project-aware, D6 binding). Whether that * file is committed is the project's choice, and this repository * commits it — `git ls-files` matches it here and `git check-ignore` * reports it is NOT ignored (measured on this checkout). It is * tracked deliberately, as the reference fixture the `baseline` * subcommand's own nextAction describes. `file` keys are written * repo-relative (`repoRelativeKey`), so a committed baseline stays * valid on a different checkout — an absolute key would not. * - `peaks lint check` — default; diffOnly=true + baselineFile * waiver + redLineMode='baseline-aware'. This is the LLM-facing * Gate B5 entry point. * - `peaks lint --red-line` — write * `.peaks/memory/lint-redline-summary.md` so the next LLM * invocation can read the cross-project red-line before * writing more code (supplementary S2 dual-track). */ import type { Command } from 'commander'; import { type ProgramIO } from '../cli-helpers.js'; export declare function registerLintCommands(program: Command, io: ProgramIO): void;