From 016310d3cc44688779a7d517a13d9cc8024ddfa8 Mon Sep 17 00:00:00 2001 From: ngoodger-block Date: Fri, 23 Oct 2026 14:48:13 +1100 Subject: [PATCH] docs(cli): drop private references from the agent format comment (#8508) ### Why? #8234 merged before its last review fix landed, so the `agent_event` doc comment on main names a private repository and its internal class. Public code should not reference private implementations. ### What? Keeps the public pointer to buzz-app's MCP formatter and replaces the private one with a generic note that other agent read surfaces trim the same fields. Signed-off-by: Nikolaj Goodger Co-authored-by: Claude Opus 5.5 --- crates/buzz-cli/src/commands/event_output.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/crates/buzz-cli/src/commands/event_output.rs b/crates/buzz-cli/src/commands/event_output.rs index 5c915a107d..e5738e06b1 100644 --- a/crates/buzz-cli/src/commands/event_output.rs +++ b/crates/buzz-cli/src/commands/event_output.rs @@ -47,9 +47,9 @@ fn compact_event(event: &Value) -> Value { /// markers into `reply_to`, plus `thread_root` for nested replies; every other /// tag (channel, mentions, edit targets, diff provenance, ...) is kept verbatim. /// -/// Other agent read surfaces trim the same fields; change them together: -/// buzz-app's MCP (`src/buzz-mcp/tools.ts`, `Tools.messages`) and kgoose's -/// hosted read tools (squareup/cash-server `BuzzExtensionClient.messageJson`). +/// Other agent read surfaces trim the same fields, so change them together, +/// including buzz-app's MCP (block/buzz-app `src/buzz-mcp/tools.ts`, +/// `Tools.messages`). fn agent_event(event: &Value) -> Value { let raw_tags = event.get("tags").unwrap_or(&Value::Null); let thread = thread_markers(raw_tags).resolve();