Files
EvaandTyler Longwell 6ad58ab796 feat(acp): add channel description/topic/purpose to [Context] block
The agent [Context] block rendered only the channel name. This adds the
channel's description, topic, and purpose — already carried as about/topic/
purpose tags on the NIP-29 group metadata event the harness fetches, so no
extra relay round-trips.

Each field inlines verbatim when under a 200-char budget; longer values
collapse to a placeholder pointing at `buzz channels get` to keep the prompt
compact. Fields are wired through both ingestion paths: the discovery-time
ChannelInfo cache (relay.rs) and the on-demand fetch_channel_info fallback
(pool.rs).

Canvas is deliberately out of scope: it is a separate event kind (40100),
not on the metadata event, so surfacing it costs an extra fetch — left as a
follow-up.

Co-authored-by: Tyler Longwell <tlongwell@block.xyz>
Signed-off-by: Tyler Longwell <tlongwell@block.xyz>
2026-06-23 21:17:33 -04:00
..