/** * v2.15.0 follow-up — G15: release / hotfix CLI. * * - `peaks release plan ` — start a new release * - `peaks release canary --percent <10|50>` — advance to canary stage * - `peaks release promote` — promote to 100% + start watch * - `peaks release watch` — show watch window status * - `peaks release rollback` — emergency rollback * - `peaks release hotfix ` — start a hotfix (forces * rollback of any active * release; skips 'planned' * stage) * * State machine: planned → canary-10 → canary-50 → promoted → watching → done * Side branches: → rolled-back (from any pre-done stage). A hotfix is an ENTRY * POINT into that pipeline, not a stage: `hotfix ` rolls the active * release back and starts the hotfix version at canary-10 (see `hotfixRelease`). * * Real deployment (k8s rollout, LB config, monitoring integration) is * OUT OF SCOPE for this slice. * * The verb implementations live beside this file, one module per verb: * `release-plan-command.ts`, `release-canary-command.ts`, * `release-promote-command.ts`, `release-watch-command.ts`, * `release-done-command.ts`, `release-rollback-command.ts`, * `release-hotfix-command.ts`, `release-precheck-command.ts`, with their shared * project-root / canary-percent vocabulary in `release-command-shared.ts`. */ import type { Command } from 'commander'; import type { ProgramIO } from '../cli-helpers.js'; export declare function registerReleaseCommands(program: Command, io: ProgramIO): void; export { executeCanaryAction } from './release-canary-command.js'; export { isReleaseStage } from '../../services/release/release-state.js';