No streaming, for now

· Decision D004 · How Otto came to be

We kept Otto’s chat to whole answers, and the choice outlived the chat it was made for.

Otto’s workspace chat let you ask Claude about your projects and tasks. Its answers could stream in as Claude wrote them, or arrive whole.

We chose whole. The chat sends batch requests, and streaming “is deferred to a later version”. Batch is simpler because it needs no stream of IPC events (IPC is the messaging between the app’s main process and its window), and the wait was acceptable for workspace questions. Streaming would have needed event listeners in the window and more complex state there.

The entry set its own condition for coming back to it: “Revisit when conversation latency becomes a pain point.” We didn’t record anything else we considered.

As with our other early decisions, the code came first. The chat loop arrived on 2026-04-20 (4c7ac71c, “add chat loop with tool dispatch”), and it already waited for Claude’s full reply. The decision followed on 2026-05-05, one of eleven in a commit with no message.

Later, on 2026-06-11, a check against the code found the chat still batch.

Later, on 2026-09-18, the workspace chat itself went. One commit dropped the Plan page’s side chat and removed “the unreachable Workspace panel, old workspace chat backend” (e6e48748). Otto’s chat drawers took over, and they are batch too. The commit doesn’t say why the old chat went beyond calling its panel unreachable.

Later, on 2026-10-22, a fix in those drawers was filed as an addendum to this decision (36be8a19). When Claude proposed several changes at once, each as a card to approve, the first click used to decline every other card. Now Otto records each decision as it comes and runs an approved change at once. Only when the last card is decided does it send every answer back to Claude in one turn, “as the API requires every tool_use of a turn to be answered in the next”. The drawer gained Apply all and Skip all.

Decision D004 · 2026-05-05 · ba6e1975, 9399ca23, e6e48748, 36be8a19 (moved to its own file in 94a000a6, wording unchanged)

All posts