/** * peaks loop * CLI (Slice #14 + M7 add). * * #14 sub-features (L4 Agent Loop integration): distill / preflight / * detect-pattern / check-consistency, plus `peaks goal compose`. * * M7 (2026-07-07 spec §7A.2): `peaks loop export --loop --out ` * and `peaks loop import --in [--as ]`. `export` reads * the loop_release + relations + bees + evidence briefs and hard-blocks on * `shareable=false`; `import` validates `format_version_major=1` and lands * the release as `candidate` (spec §7A.2) — the receiver must run an * independent evaluation before promoting to `stable`. M7 only ADDs these * two verbs; the existing 14.x surface is not modified. * * This module owns the `loop` parent, the registrar order, and `distill` — the * one verb that spawns a child process, kept here so the `node:child_process` * import stays on the module `tests/unit/spawn-windows-hide-guard.test.ts` * pins it to. Every other verb lives beside this file, one module per verb. */ import type { Command } from 'commander'; import { type ProgramIO } from '../cli-helpers.js'; export declare function registerLoopCommands(program: Command, io: ProgramIO): void;