/** * IntentPatchProposal — read-only patch proposal generator (PRI-471, SPEC §10). * * When an Owner chooses `revise_intent`, the system generates a read-only * patch proposal that the Owner can review and manually apply. The proposal * is NEVER auto-applied to `.principles/INTENT.md`. * * SPEC §10 format: * ```md * ## Intent Patch Proposal * ### Reason * ### Evidence (max 3) * ### Proposed Diff * ### Risk * ``` * * ERR checklist: * - EP-01: no untrusted input — operates on already-validated IntentDecisionRecord * - EP-09: pure function, independently testable */ import type { IntentDecisionRecord } from './intent-decision-record.js'; /** * A read-only Intent Patch Proposal generated from an Owner decision. * `id` is deterministic: `patch-` so it can be referenced without * a separate storage table. `markdown` is the SPEC §10 formatted text. */ export interface IntentPatchProposal { id: string; decisionId: string; markdown: string; } /** * Generate a read-only Intent Patch Proposal from an Owner decision. * * The proposal summarizes why INTENT may need revision, lists the evidence * (max 3 items from the decision's evidenceRefs), identifies the related * INTENT fields, and includes a placeholder diff for the Owner to fill in. * * The proposal is marked "Display only, cannot be auto-applied" per SPEC §22.1.4. */ export declare function generateIntentPatchProposal(decision: IntentDecisionRecord): IntentPatchProposal; //# sourceMappingURL=intent-patch-proposal.d.ts.map