# Function createFeedbackSubscriber

- createFeedbackSubscriber(bus: IEventBus, store: OutcomeStore): Unsubscribe

  Creates a subscriber that bridges EventBus events to OutcomeStore.

  Listens for `model.called` and `stage.failed` events and records them as TaskOutcome entries in the OutcomeStore.

  #### Parameters

  - bus: IEventBus
  - store: OutcomeStore

  #### Returns Unsubscribe

  Unsubscribe function to stop the bridge.

  - Defined in packages/nexus-agents/src/pipeline/feedback-subscriber.ts:31