Dashboardopencode-loreCodex terminal failure and reasoning-su…

Codex terminal failure and reasoning-summary validation

Category: gotcha
Confidence: 1.00
ID: 01a0b3bd-f322-7e6a-9556-00a0ac4c2463
Project ID: 6f4be9ff-ed84-4cca-a9e7-732a0b0b8677
Cross-project: No
Recalled in other projects: 0
Source session: 0IiwozJmFR9A6QyFo
Created: 2026-08-28 18:01:54
Updated: 2026-09-18 08:59:25

Content

Codex terminal reconstruction is fail-closed. Accept only reasoning_summary events part.added, part.done, text.delta, and text.done; reject unknown suffixes before mutation. Reconcile every nonempty terminal summary/content part bidirectionally with dense, contiguous, bounded, contradiction-free completed lifecycle state at the same coordinate; reject missing, extra, unfinished, contradictory, oversized, or forged parts. A validated matching output_item.done is completion authority even if seeded text lacks valueDone or partDone. Classify failed/cancelled aliases before requiring repeated metadata: response ID or model may be omitted when established by trusted accumulator state. Resolve identity only from that state, sanitize and account exactly once, and never run recall after failure. Invalid summaries must not leak reconstructed text, callbacks, follow-ups, private fields, or diagnostics.

Move to: