/** * Brainstorm session tool. * * The parent LLM drives the brainstorm lifecycle (UNDERSTAND → CONFIRM → * scan gate → DISCUSS) through conversation, but the hard-lock state must * live in state.json — not in chat memory. This tool is the LLM-callable * bridge to the state helpers in core/state.ts: * * - confirm-understanding: releases the hard lock after the user confirms * the parent's one-paragraph understanding (records the mission type). * - set-scans: persists the scan kinds picked at the scan-plan gate. * - upsert-question: records one DISCUSS-loop question state change. * * All writes run inside withFileMutationQueue (tools execute in parallel in * pi) and withRunLock (cross-session exclusion, per the saveState contract). */ import { type ExtensionAPI } from "@earendil-works/pi-coding-agent"; export declare function registerBrainstormSessionTool(pi: ExtensionAPI): void;