Optionalconfig: Partial<FeedbackIntegrationConfig>Optionalcollector: OutcomeFeedbackCollectorRecord a routing decision from CompositeRouter
OptionaltraceId: stringRecord a step outcome from workflow execution
Get feedback statistics
Subscribe to outcome processed events
Reset all collected data
Evicts stale entries from decisionMap that exceed the configured TTL. Called on every recordRoutingDecision (throttled) and on reset.
Gets the total number of evicted entries since creation or last reset.
Gets the current size of the decision map (for testing/monitoring).
Learning exports - Closed-loop feedback and routing improvement Split from index.ts for file size compliance (Issue #285)