/** * confirm_scars Tool * * Validates scar confirmations (refute-or-obey protocol) for CLI agents. * Ported from CODA-1's verify-completion.js but adapted for structured input * (agents send JSON params, not free-text output to parse). * * Flow: * recall(plan) → surfaces scars → agent reads scars * → confirm_scars(confirmations) → validates each → writes to session state * → PreToolUse hook checks confirmation state before consequential actions * * Each recalled scar must be addressed with: * APPLYING — Scar is relevant, past-tense evidence with artifact reference * N_A — Scar doesn't apply, scenario comparison required * REFUTED — Overriding scar, risk acknowledgment required */ import type { ConfirmScarsParams, ConfirmScarsResult } from "../types/index.js"; /** * Main tool implementation: confirm_scars */ export declare function confirmScars(params: ConfirmScarsParams): Promise; //# sourceMappingURL=confirm-scars.d.ts.map