/** * Write Gate for UAM Memory System * * Evaluates candidate memories against 5 criteria before persisting. * Inspired by Total Recall's write gate: "Does this change future behavior?" * * Gate Criteria: * 1. Behavioral change - changes how the agent operates in future * 2. Commitment with consequences - deadline, deliverable, follow-up * 3. Decision with rationale - why X was chosen over Y * 4. Stable recurring fact - not transient, will matter again * 5. Explicit user request - user said "remember this" */ export interface WriteGateResult { passed: boolean; score: number; criteria: GateCriteria[]; rejectionReason?: string; } export interface GateCriteria { name: string; matched: boolean; confidence: number; evidence?: string; } export interface WriteGateConfig { minScore: number; enableFuzzyMatching: boolean; } /** * Evaluate whether a candidate memory should be persisted. * Returns a WriteGateResult with score and matched criteria. */ export declare function evaluateWriteGate(content: string, config?: WriteGateConfig): WriteGateResult; /** * Format a human-readable summary of the write gate evaluation. */ export declare function formatGateResult(result: WriteGateResult): string; //# sourceMappingURL=write-gate.d.ts.map