Task: Discover notification channels dynamically
This page documents a task in the Comms substrate evolution story. It captures the goal, current status, acceptance, and any notes or results.
1. Goal
Replace client-side hardcoded channel lists with server-side dynamic discovery.
2. Status
| Field | Value |
|---|---|
| State | DONE |
| Parent story | Comms substrate evolution |
| Now | Completed 2026-01-11. |
| Waiting on | None. |
| Next | None. |
| Last touched | 2026-01-11 |
3. Acceptance
- Server-side
event_channel_registryservice. - New protocol messages:
list_event_channels_request(0x0015),list_event_channels_response(0x0016). - Shell
events channelsqueries the registry;events listen *subscribes to every discovered channel. - Registry covers
country_changed,change_reason_changed,change_reason_category_changedalongside existing channels.
4. Plan
Captured during execution; cleared into the parent story on close.
5. Notes
Removes the per-feature client edit when a new channel is added on the server.
6. Result
Event channels are discoverable; clients self-update when the server adds channels.