/** * matchTriggers - registry-driven trigger matching (system-assist). * * Ports Kagemusha `workflowMatchesMessage` * (~/project/mama-suite/apps/kagemusha/src/agent/contracts/workflow-situation-detector.ts:42): * keyword any/every + scope filter. Deliberately DROPS two things: * - the `approvedAt`/`approvedBy` human-approval gate (`:43`) -> triggers self-activate (G4). * - the per-kind special-case (`:46` feedback_artifact_followup + hasConcreteFeedbackArtifactSignal) * -> that is a hardcoded marker (G1) and carries chatwork:/slack: PII. This matcher has * ZERO per-kind branches; a trigger matches purely on its agent-authored keywords + scope. * * The keywords were authored by the agent (trigger-author.ts); mechanically checking them * is a legitimate system assist, not judgment. */ import type { OperatorChannelEvent } from './operator-interfaces.js'; import type { TriggerSignal } from './trigger-types.js'; import type { TriggerRegistry } from './trigger-registry.js'; export declare function matchTriggers(event: OperatorChannelEvent, registry: TriggerRegistry): TriggerSignal[]; //# sourceMappingURL=trigger-matcher.d.ts.map