Task: Implement the event bus

Table of Contents

This page documents a task in the Infrastructure features story. It captures the goal, current status, acceptance, and any notes or results.

Goal

Add an in-process event bus so components can publish/subscribe without coupling — basis for the upcoming Postgres-listener-driven notifications.

Status

Field Value
State DONE
Parent story Infrastructure features
Now Completed 2025-12-15.
Waiting on None.
Next None.
Last touched 2025-12-15

Acceptance

  • Event bus exposes publish + subscribe with typed events.
  • At least one consumer wired (variability or sessions).

Plan

(Plan was distilled into the parent story's * Decisions and cleared when the task closed.)

Notes

  • Future basis for the Postgres LISTEN/NOTIFY work (cancelled in this sprint but on the roadmap).

Result

Event bus operational; first consumers wired.

Emacs 29.1 (Org mode 9.6.6)