Python Parity Checklist

View Source

This checklist tracks coverage of Python Codex SDK features in the Elixir port. Each entry notes the canonical fixture, associated Elixir tests, and current status.

FeatureFixtureElixir TestsStatusNotes
Thread lifecycle (start/resume, single turn)python/thread_basic.jsonlCodex.Contract.ThreadParityTest, Codex.ThreadTest, Codex.ThreadAutoRunTest, Codex.Integration.TurnResumptionTest, Codex.EventsTest✅ ImplementedTyped event structs, auto-run retries, and continuation-aware resumption validated against fixtures.
Tool auto-run with retrypython/thread_tool_auto_step1.jsonl + thread_tool_auto_step2.jsonlCodex.ThreadAutoRunTest✅ ImplementedTool registry + auto-run loop exercising continuation tokens and tool callbacks.
Structured output success casepython/structured_output_success.jsonlTBDPlannedRequires schema snapshot.
Attachment staging & reusepython/thread_basic.jsonlCodex.FilesTest, Codex.Integration.AttachmentPipelineTest✅ ImplementedStaging deduplication and CLI propagation validated via captured fixtures.
Sandbox approval denialpython/thread_tool_auto_pending.jsonlCodex.ThreadAutoRunTest✅ ImplementedStatic approval policy denies tool invocation and halts auto-run.
Error taxonomy coveragepython/errors_transport.jsonlCodex.ErrorTest✅ ImplementedTyped transport errors mirror Python exit diagnostics.
Telemetry lifecycle eventsN/ACodex.TelemetryTest✅ ImplementedThread start/stop/exception events and default logger attached via telemetry.

Update this table as fixtures land and Elixir parity tests are implemented.

See Codex.TestSupport.ParityMatrix (validated by Codex.ParityMatrixTest) for a fuller matrix that mirrors the Python suite categories (runner/loop, guardrails, function tools, hosted tools, MCP, sessions, streaming, tracing/usage, approvals/safety) and the fixtures backing each bucket, including the new thread_file_search_step1/2.jsonl coverage.