/** * The `peaks contract` / `peaks classify` entry point. * * Pre-merge originals (now deleted): * - src/cli/commands/contract-commands.ts (167 lines) * - src/cli/commands/classify-classify-commands.ts (190 lines) * * Both `register*Commands` functions are preserved **verbatim** (function name, * signature, body). The merge was a structural refactor only — no behavior * change — and `autoRegisterAllCommands` discovers both exports from this single * file. This module is now the entry point and no longer holds the verbs: * * `contract-write-command.ts` `peaks contract write` * `classify-run-command.ts` `peaks classify run` * `classify-downgrade-command.ts` `peaks classify downgrade` (always refused) * `classify-signals.ts` the diff signals + the audit log */ import type { Command } from 'commander'; import type { ProgramIO } from '../cli-helpers.js'; export { registerContractCommands } from './contract-write-command.js'; /** * peaks classify CLI (Slice L1a + L1b). * * Subcommands: * - peaks classify run --project [--override --reason ""] * Classify the current diff via the heuristic + return a JSON envelope * with the chosen level, gate set, and audit log. * - peaks classify downgrade --level --reason "" --project * Always refused (per spec §4: "peaks classify downgrade" always errors * out). LLM may ask; the CLI never grants. */ export declare function registerClassifyCommands(program: Command, io: ProgramIO): void;