Severity: LOW. Found in the 2026-07-16 storage/AI sweep (deferred).
agent-do.ts + agent-think.ts: if a later tool round's provider call throws, runAgentThink throws and handleChat shows only "Error:…". Side effects already committed in earlier rounds (memory writes, create_task, record inserts) persist, and allToolLog is discarded — the user gets no confirmation that a task/record was created.
Note this is NOT the FGS drop-the-assistant-message bug (the user message is persisted and an error message is recorded) — the gap is that partial completed work is invisible.
Files:workers/api/src/agent-do.ts (:326-380 chat loop), workers/api/src/agent-think.ts (:371-451 tool rounds).
Fix sketch: on a late-round throw, still surface allToolLog (what succeeded) alongside the error, so committed side effects are acknowledged.
Severity: LOW. Found in the 2026-07-16 storage/AI sweep (deferred).
agent-do.ts+agent-think.ts: if a later tool round's provider call throws,runAgentThinkthrows andhandleChatshows only "Error:…". Side effects already committed in earlier rounds (memory writes,create_task, record inserts) persist, andallToolLogis discarded — the user gets no confirmation that a task/record was created.Note this is NOT the FGS drop-the-assistant-message bug (the user message is persisted and an error message is recorded) — the gap is that partial completed work is invisible.
Files:
workers/api/src/agent-do.ts(:326-380 chat loop),:371-451 tool rounds).workers/api/src/agent-think.ts(Fix sketch: on a late-round throw, still surface
allToolLog(what succeeded) alongside the error, so committed side effects are acknowledged.