/** * fireTrigger - the proactive intervention: a fired TriggerSignal recalls its * agent-authored memoryQuery (mama-core) and gathers requiredEvidence, then surfaces * both to the agent. Read-only and self-activating (G4): no human gate, no outward send. * * This is "memory triggered like a skill" - the agent's memoryQuery decides what is * recalled; the recall itself is a mechanical system assist. */ import type { OperatorMemoryPort } from './operator-interfaces.js'; import type { TriggerSignal } from './trigger-types.js'; /** Resolver for a requiredEvidence key the operator can supply (channel_history, task_state, ...). */ export type EvidenceProvider = () => Promise; export interface FireResult { recalled: { topic: string; content: string; }[]; evidence: Record; } export interface FireOptions { limit?: number; /** Observability hook - every fire is surfaced here (log + alarm at integration). */ onFire?: (info: { signal: TriggerSignal; result: FireResult; }) => void; } export declare function fireTrigger(signal: TriggerSignal, memory: OperatorMemoryPort, evidenceProviders?: Record, opts?: FireOptions): Promise; //# sourceMappingURL=trigger-fire.d.ts.map