Herald Service: Add Matrix output adapter for status broadcasts #382
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Extend the Herald service to broadcast job status updates to Matrix rooms in addition to (or instead of) Discord threads.
Context
Herald currently formats status updates and sends them via the Discord bridge. It needs to become bridge-agnostic — broadcasting to all active chat providers.
Implementation
Option A: Bridge Registry (recommended)
Herald receives an injected list of active
IChatProviderinstances and broadcasts to all of them:Option B: Direct injection
Herald gets both
DiscordServiceandMatrixServiceinjected (simpler but less extensible).Verbosity Levels
Same noise management as Discord:
Matrix-Specific Formatting
m.noticemessage type for bot updates (notm.text) to avoid notification noiseAcceptance Criteria
Refs
apps/api/src/bridge/discord/discord.service.tsCompleted in commit
ad24720on branch feature/m12-matrix-bridge.