/** * The interview protocol, v0. * * Implemented as plain structured tool results so it works on every MCP * client today. Semantically aligned with MCP SEP-2322 (multi round-trip * requests); when clients adopt the 2026-07-28 spec, these questionnaires * move into `inputRequests` unchanged. * * Design rules: * - every question ships a researched default → questions are requests * for correction, not blank fields * - `askHuman: false` → the agent should answer from conversation * context; only `askHuman: true` questions escalate to the user * - every defaulted answer lands in the assumption ledger */ export interface BriefQuestion { id: string; question: string; /** JSON-ish shape hint for the answer. */ expects: string; default: unknown; rationale: string; askHuman: boolean; } export interface Brief { prompt: string; answers: Record; /** Decisions taken from defaults, with rationale — auditable, reversible. */ assumptionLedger: Array<{ question: string; assumed: unknown; rationale: string; }>; } export declare function briefQuestions(prompt: string): BriefQuestion[]; /** Compile answered questions into a brief + assumption ledger. */ export declare function compileBrief(prompt: string, provided: Record): Brief;