Describe the bug
Agents generate correct, complete responses — visible in the agent's own Activity/Thinking panel — but the response never reaches the channel/thread it was mentioned in (or, in an earlier variant before a partial mitigation, only a truncated/garbled fragment lands there). This has now been reproduced with:
- 3 different local models behind an OpenAI-compatible
llama-server (llama.cpp) backend: Qwen3VL-8B-Instruct, Gemma-4-12B-it, and Qwen3.6-35B-A3B — response quality varies a lot between them, but the "never published" symptom is identical across all three.
- 2 different agent harnesses: the
OpenCode ACP adapter and the native Buzz Agent harness.
This strongly suggests the bug is in Buzz's publish pipeline itself, not in model capability, prompt content, or harness choice. Related: #4709, #4352, #5046 all describe the same "generated but not delivered" pattern.
Steps to reproduce
- Self-host the relay via
deploy/compose/ (Docker Compose bundle), BUZZ_REQUIRE_RELAY_MEMBERSHIP=false, BUZZ_REQUIRE_AUTH_TOKEN=false, single tenant (no multi-tenancy involved).
- Point any local OpenAI-compatible model (
OPENAI_COMPAT_BASE_URL at a local llama-server) as the agent's LLM provider, via either the OpenCode or native Buzz Agent harness.
- Create an agent in a channel, mention it.
- Observe: full response appears in the agent's Activity/Thinking panel; the channel/thread stays empty (no reply visible), even though the composer shows the message was "sent" (checkmark) and the agent shows as processing/online.
Expected behavior
The full response generated by the agent should be published to the channel/thread it was mentioned in.
What we found while investigating (may help narrow it down)
- With the
OpenCode harness, the buzz-acp harness log never showed any line about receiving a mention or attempting to publish, despite agent_pool_ready and successful channel subscription — across multi-hour windows with zero other log activity.
- With the native
Buzz Agent harness, first attempt failed outright with Turn error · error: Community access denied this agent — check its community membership, even with BUZZ_REQUIRE_RELAY_MEMBERSHIP=false at the relay level. Running buzz-admin add-member <agent-pubkey> resolved the outright denial.
- After the membership fix, responses started reaching the channel sometimes, but a newly-created channel (agent added via the "Create agent"/"Add people" UI at channel-creation time) again failed to deliver until the agent's harness was manually restarted — suggesting channel discovery only happens reliably at harness startup, not on live membership-notification events, matching the "membership changes do not re-resolve on a running harness" finding from a comment on a related issue.
- Even after the restart-fixes-it pattern worked once, it did not hold reliably across new channels/sessions — the same "generated in Activity, never published" symptom recurred in a brand-new channel with a freshly restarted harness and a completely different (larger, presumably more capable) model, which rules out model quality as a factor.
- Separately (a real but distinct bug worth splitting out if useful): when an agent's tool-calling loop repeatedly fails a file edit (wrong
old_str match) with a small local model, nothing caps the retry loop — context grows every retry until it exceeds the model's context window, at which point the harness enters an unrecoverable retry-with-backoff loop that can never succeed (context is already over the limit) but keeps retrying with exponentially growing delays forever.
Version and platform
- Buzz: built from source,
main branch, self-hosted via deploy/compose/
- OS: Windows 11
- Harnesses tested: OpenCode (
buzz-acp + opencode acp), native Buzz Agent (buzz-agent.exe)
- Models tested: Qwen3VL-8B-Instruct-Q4_K_M, Gemma-4-12B-it-Q4_K_M, Qwen3.6-35B-A3B-UD-Q4_K_M — all via local
llama-server
Logs / additional context
Happy to provide full buzz-acp/buzz-agent harness logs and relay logs (secrets redacted) on request — have several captures across the different failure variants described above.
Describe the bug
Agents generate correct, complete responses — visible in the agent's own Activity/Thinking panel — but the response never reaches the channel/thread it was mentioned in (or, in an earlier variant before a partial mitigation, only a truncated/garbled fragment lands there). This has now been reproduced with:
llama-server(llama.cpp) backend: Qwen3VL-8B-Instruct, Gemma-4-12B-it, and Qwen3.6-35B-A3B — response quality varies a lot between them, but the "never published" symptom is identical across all three.OpenCodeACP adapter and the nativeBuzz Agentharness.This strongly suggests the bug is in Buzz's publish pipeline itself, not in model capability, prompt content, or harness choice. Related: #4709, #4352, #5046 all describe the same "generated but not delivered" pattern.
Steps to reproduce
deploy/compose/(Docker Compose bundle),BUZZ_REQUIRE_RELAY_MEMBERSHIP=false,BUZZ_REQUIRE_AUTH_TOKEN=false, single tenant (no multi-tenancy involved).OPENAI_COMPAT_BASE_URLat a localllama-server) as the agent's LLM provider, via either theOpenCodeor nativeBuzz Agentharness.Expected behavior
The full response generated by the agent should be published to the channel/thread it was mentioned in.
What we found while investigating (may help narrow it down)
OpenCodeharness, thebuzz-acpharness log never showed any line about receiving a mention or attempting to publish, despiteagent_pool_readyand successful channel subscription — across multi-hour windows with zero other log activity.Buzz Agentharness, first attempt failed outright withTurn error · error: Community access denied this agent — check its community membership, even withBUZZ_REQUIRE_RELAY_MEMBERSHIP=falseat the relay level. Runningbuzz-admin add-member <agent-pubkey>resolved the outright denial.old_strmatch) with a small local model, nothing caps the retry loop — context grows every retry until it exceeds the model's context window, at which point the harness enters an unrecoverable retry-with-backoff loop that can never succeed (context is already over the limit) but keeps retrying with exponentially growing delays forever.Version and platform
mainbranch, self-hosted viadeploy/compose/buzz-acp+opencode acp), native Buzz Agent (buzz-agent.exe)llama-serverLogs / additional context
Happy to provide full
buzz-acp/buzz-agentharness logs and relay logs (secrets redacted) on request — have several captures across the different failure variants described above.