80% of a 110-node voice bot is repair logic: how to structure large flows?

RasonYang · reddit · 2026-10-27

A developer with production voice bots describes a structural wall: in a 110-node flow, 88 nodes (80%) were confirm/clarify/re-ask/fallback repair logic; only 15 were business logic. Canvas shows N edges but callers can trigger N² transitions, making them implicit via global handlers. Splitting into separate bots solves ownership, not complexity — handoffs add dead air and context loss. Sub-flows with typed inputs and a deterministic skeleton pushed the wall back but created the next one: ownerless global state like $confirmed. Asks the community about structure, repair logic placement, state scoping, and tooling (diffable DSLs, transcript-based regression tests).

Original post →

More from coding & agent

coding & agent channel →