Task · CAOT-0013

Codex decoder: items, spans and command exit codes

Description

event_msg:item_completed gives every item real start and end milliseconds, which is a span with true boundaries rather than an approximation. CommandExecution carries the exit code, the parsed command and the cwd for every shell command Codex ran, which exists nowhere else, not even in the codex-lb wire capture.

Acceptance Criteria

Definition of Done

Implementation Plan

Wave 1 lane 5: write table-driven tests first, implement Codex sessions/items/dedup within the frozen model, and prove duplicate representations count once; root integrates and runs the final gate.

Final Summary

Codex completed items, commands, exits, MCP calls, file changes, and collaboration waits decode into typed items; tests passed.

References

View the source file on GitHub