Task: Discover notification channels dynamically

Table of Contents

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

Goal

Replace client-side hardcoded channel lists with server-side dynamic discovery.

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

Acceptance

  • Server-side event_channel_registry service.
  • New protocol messages: list_event_channels_request (0x0015), list_event_channels_response (0x0016).
  • Shell events channels queries the registry; events listen * subscribes to every discovered channel.
  • Registry covers country_changed, change_reason_changed, change_reason_category_changed alongside existing channels.

Plan

Captured during execution; cleared into the parent story on close.

Notes

Removes the per-feature client edit when a new channel is added on the server.

Result

Event channels are discoverable; clients self-update when the server adds channels.

Emacs 29.1 (Org mode 9.6.6)