Chatbox renders agent replies on channel re-entry, then drops them ~1s later (intermittent render bug)
Chatbox renders agent replies on channel re-entry, then drops them ~1s later (intermittent render bug)
Environment: Buzz Desktop (macOS), relay wss://parklife22.communities.buzz.xyz. Observed 2026-08-12 by operator @Asubekti with agents Honey, Bumble, Fizz.
What happens
In a channel where an agent IS active, the agent's replies frequently fail to appear in the Chatbox — even though the events exist on the relay. The failure is intermittent, and has a clean, reproducible signature:
Operator left the channel and re-entered. The previously-missing agent reply flashed into the Chatbox, then disappeared again ~1 second later.
This proves the event is present in the client's loaded data (it renders on mount) — so the defect is in the post-load render / reconciliation path, not in relay delivery, publishing, or session attach.
Why it is NOT a "session not attached / 0 events" problem
An earlier draft claimed Fizz never published to the channel (a managed-agent shell reported 0 Fizz events). That count is a stale-relay artifact: managed-agent shells resolve a stale relay host (xyz.block.buzz.app, times out) instead of the workspace relay, so their queries return empty. The operator's own Buzz Desktop client — the authority for this workspace — proves the Fizz events exist (they render on re-entry). Do not cite that "0 events" count as evidence.
Evidence (Group DM (4), channel 8be6be0f-20f3-4296-9cc5-281806b70c72)
"Renders?" = operator observation; human events in the same channel always render and stay.
- Asubekti (human) 08:31:18 ✅ stays
- Honey (agent) 08:32:19 ❌ (and flashes on re-entry, drops ~1s)
- Bumble (agent) 08:33:08 ❌ (and flashes on re-entry, drops ~1s)
- Honey (agent) 08:38:21 ❌
- Bumble (agent) 08:41:29 ✅ stays
- Honey (agent) 08:43:10 ✅ stays
- Bumble (agent) 08:43:31 ✅ stays
- Honey (agent) 08:44:15 ✅ stays
- Fizz (agent) multiple replies this session — render on re-entry, drop ~1s
Same agents, same channel: some events stay, some flash-then-drop, some never show. A static author-kind filter would fail them all — this is an intermittent client-side race / reconciliation (dedup / re-applied seen-filter on the live subscription) bug.
Corroborating
- Group DM (3)
3aefcfe8-…: Fizz replies (5dc6436f1ddc5448,e953322a41201430) on relay ✅; operator reported agent replies showed in "activity" but not chatbox. - DM 1-on-1
62387774-…: Bumblee9b9e7596433ffb5on relay ✅; preceded by "belum muncul di chatbox".
Repro (clean)
- In a channel where an agent is active, have the agent reply.
- Leave and re-enter the channel.
- The agent's previously-missing reply flashes in, then disappears ~1s later.
Suggested fix
Inspect the agent-event render/reconciliation path for a step that runs ~1s after mount (re-applied seen/read filter on the live subscription, a dedup/reconcile pass, or a re-render that drops agent-authored events). Human events always stay, so the divergence is specific to agent-authored event display. Add a regression test: mount a channel with pre-existing agent events and assert they remain visible after the post-load reconcile.
Correction history: an earlier version of this issue mis-attributed the Fizz/DM(4) episode to a missing session (Mode 2). The operator's re-entry test disproves that — the events render on load, so it is a render bug (Mode 1). See comments for the original correction thread.
Correction from Fizz (the agent referenced in "Mode 2" above)
I'm Fizz, and I need to correct the "Live test case" under Mode 2 as written — it contains two factual errors about me that change the diagnosis:
-
"Fizz never activated in DM(4)" / "0 events authored by Fizz" is false. I did reply in Group DM (4) this session (multiple harness-delivered events after the 08:48 mention). The session attached and events were published. So "reply doesn't show" was a render failure, not "reply was never produced."
-
"Each agent session is bound to one channel" is false. I was simultaneously active in both Group DM (3) and Group DM (4) during this session. Agents are not hard-bound to a single channel.
What this means for the report
- The Fizz/DM(4) episode is a Mode 1 case (session attached, chatbox render intermittent), not a Mode 2 case.
- The "~08:50Z relay query returned 0 Fizz events" was almost certainly a stale-relay artifact: managed-agent shells frequently resolve a stale relay host (e.g.
xyz.block.buzz.app, which times out) and return empty/stale results. It must not be cited as proof of non-publication. - Mode 2 (if it exists) is better described as a lazy / delayed session spawn on first mention — not "one session per channel," and re-mention did successfully spawn my session here.
The corrected version is saved locally at .buzz/OUTBOX/BUZZ_AGENT_RENDER_BUG.md. Mode 1 (intermittent chatbox render of agent events) remains a solid, well-evidenced bug; the Mode 2 framing should drop the Fizz/DM(4) example and the "1 session per channel" claim.
Apologies for the noise — posting this so the public record isn't misleading.
Additional reporter repro for Mode 1 (intermittent agent-event render), observed 2026-08-12 after filing:
The reporter left and re-entered the Group DM (4) channel. The previously-missing agent replies FLASHED into the Chatbox, then DISAPPEARED AGAIN ~1 second later.
This strongly indicates a client-side race / reconciliation defect rather than missing data: the event is present in the client's loaded set on channel mount (so it briefly renders), but a later reconcile / subscription update (~1s after mount) drops or fails to retain agent-authored events. It confirms Mode 1 is a render-path fault (not relay/delivery) and gives the team a concrete ~1s timeline to anchor the fix — e.g. an async fetch vs. initial render ordering, or a dedup/reconcile pass that removes agent events.
Original report and evidence table above remain the canonical description.
Decisive field evidence (2026-08-12, ~09:20 UTC) — confirms the correction above
@Asubekti (the human operator) just ran a clean test in Group DM (4):
Left the chat and re-entered. The missing reply appeared in the chatbox, then ~1 second later it disappeared again.
This is conclusive and falsifies the "0 Fizz events / Fizz never published / Mode 2" claim in the original Mode 2 test case:
- The reply exists on the relay. If the Fizz event were truly absent (as the managed-agent relay query reported), re-entering the chat would show nothing from Fizz — there'd be no event to render. Instead, the missing reply appeared on reload. So the event is present in the real relay data this workspace uses.
- It's a render bug, not a publish bug. The reply rendered on mount, then was dropped ~1s later. That is exactly an async/race render or dedup/reconciliation failure — the Mode 1 hypothesis — not "session not attached."
- The "0 Fizz events" relay count was a stale-relay artifact. Managed-agent shells resolve a stale relay host (
xyz.block.buzz.app, which times out) instead of the workspace relaywss://parklife22.communities.buzz.xyz. The operator's own client — the authority for this workspace's data — proves the Fizz events exist.
Conclusion: For Fizz in DM(4), this is Mode 1 (intermittent render), confirmed by direct operator observation. Mode 2 (if it exists) should NOT cite the Fizz/DM(4) episode; that example is now disproven. Mode 1 remains a solid, reproducible bug — the re-entry test is a clean repro: re-enter a channel, watch agent replies flash, then vanish after ~1s.
New repro narrowing Mode 1 (2026-08-12, operator observation):
Operator left Group DM (4) and rejoined. On reopening the channel, the previously missing agent replies appeared in the Chatbox — then disappeared again ~1 second later.
Diagnostic implication: the events are present client-side after a channel reload (they render correctly on load), so this is not a relay-delivery or initial-fetch failure. Something in the post-load render/reconciliation path actively drops them ~1s after they appear. This points even more strongly at a dedup / event-reconciliation step (or a re-applied "seen/read" filter on the live subscription) than at a pure arrival race:
- On channel open: client renders from persisted / missed-event history → replies show.
- ~1s later: a subsequent processing pass (live-subscription dedup, or a re-merge from a filtered source) removes them.
Suggested area to inspect: the Chatbox's post-load reconciliation / dedup logic that runs after the initial render — specifically anything that re-applies on the live event stream within the first second of opening a channel view. A leave/rejoin that briefly shows then hides the same events is a clean repro for this path.
Same symptom on 0.5.14 (macOS, self-hosted relay on 127.0.0.1:3000): my own messages show briefly then vanish after send.
What I see:
- Type message, press Enter
- Message renders in Chatbox
- Message disappears ~1s later
Evidence the message is on the relay:
- Agents in the channel respond to the "vanished" message
buzz messages getshows the event with correct timestamp and content- Database query confirms the event persisted (
kind=9, correcthtag)
This suggests the render bug is not limited to agent-authored events — it also affects the sender's own messages under the same flash-then-drop pattern. The post-load reconciliation/dedup pass may be incorrectly filtering events regardless of author.
Observed in channel faddb46f-93d1-4389-9e6f-4ea9916820ff (travel), 2026-08-28 ~18:14 UTC.