Dashboard › opencode-lore › normalizeCodexResponsesEvent state
01a0a0cc-f9b2-7390-9206-85fabea090bbTrap: sharing one ResponsesAccState between normalizeCodexResponsesEvent() and a caller’s accumulator looks efficient because both process the same stream, but the Codex normalizer mutates state while binding omitted indices and seeding done-only items. Fix: give the normalizer an independent state, because sharing state double-applies lifecycle mutations and can corrupt identity reconciliation.