Integration & Release Readiness Plan
View SourceThis guide outlines the remaining operational work to integrate the Elixir Codex SDK into production environments and release it as a Hex package.
Dependency Management Tasks
- Add
vendor/codexgit submodule with sparse checkout ofcodex-rs. - Implement
Mix.Tasks.Codex.Installto build/download codex binaries. - Store version pins in
config/native.exsand expose viaCodex.Native.version/0. - Document build prerequisites (Rust toolchain, optional prebuilt download).
Configuration & Auth
- Finalize environment variable contract (
CODEX_API_KEY,CODEX_BASE_URL,CODEX_PATH). - Implement runtime validation and helpful error messages for missing creds.
- Provide README section describing Hex package configuration and OTP release integration.
Release Packaging
- Split native binaries into optional Hex package (
codex_sdk_native) or attach to GitHub releases. - Update
mix.exspackage[:files]list once module scaffolding complete. - Automate changelog generation linked to milestone completion.
Documentation Deliverables
- Update
README.mdwith comprehensive getting started examples (blocking, streaming, tools). - Generate HexDocs with module docs for newly added namespaces (
Codex.Tools,Codex.Files, etc.). - Maintain parity checklist (
docs/python-parity-checklist.md) through release sign-off.
Operational Readiness
- Provide sample supervision tree for integrating Codex SDK into host applications.
- Document telemetry events and recommended dashboards.
- Supply sandbox/approval policy examples for security review.
Release Checklist (Pre-1.0)
- All milestones M0–M5 marked complete with passing tests.
- Contract suite green across Python + Elixir comparisons.
- CI matrix (Linux/macOS) fully passing with coverage, credo, dialyzer.
- HexDocs published and README updated.
- Codex binary version pin documented; release artifacts signed.
Post-Release Follow-Up
- Monitor telemetry from early adopters; gather feedback on API ergonomics.
- Track upstream Python/Rust changes; schedule parity audits quarterly.
- Plan 1.1 milestone for Chaos/Performance helpers integration (optional).