Repository navigation
Context Engine for Codex 0.1.5
Pre-releaseContext Engine for Codex 0.1.5 is the first release of this distribution. It is an experimental, opt-in plugin that lets the agent edit its Working Context with ordinary tools. It starts off in every project until the project is enabled. No default-on recommendation or accuracy gain is claimed.
Source: commit 11cb19e3de64226305b102ef0c6d772e3cecfd64 (this tag). Shared core 0.1.5, identical to Context Engine for Claude Code 0.1.5.
Install
Download context-engine-codex-0.1.5.tar.gz, check its SHA-256 against context-engine-codex-0.1.5.tar.gz.sha256, extract it outside node_modules, keep the folder at its installed path, then follow the README: npm ci, npm link, context-engine-codex install, trust the project and review the five hooks with /hooks, context-engine-codex enable in a disposable project, context-engine-codex status. Always use context-engine-codex for setup commands. Supported for stateful use: Linux with /proc, Node 24 or newer, Codex 0.161.0 baseline. The plugin relies on Codex's UnderDevelopment features.token_budget flag.
Verification of this release
- CI on
11cb19e: Linux maintained suite 1,251 tests, 1,244 pass, 0 fail, 7 skipped, 0 todo, plus 1 of 1. Windows and macOS pure operations and refusal pass. - Independent release review of the full promotion diff: no blocker. It verified credential refusal before every backup copy, event redaction, refusal paths, restoration (byte-exact against a pinned real Codex 0.161.0 binary in CI), the retirement cycle, and all 68 vendored core hashes, identical to the Claude distribution.
- Lifecycle smoke of an archive of this commit in scratch homes with no credentials (Node 24.21.0, Codex CLI 0.162.1): fresh install, enable (project and subdirectory), disable and uninstall behave as documented. After enable, uninstall and reinstall, the hook's own activation check stays off until
enable(retirement record) andstatusreports Codex inactive with the remedy. Disable, uninstall, reinstall stays disabled. A state root that is not private (0700) is refused. Every created state entry is private. The smoke ran on an archive of this same commit. This release archive matches the commit tree byte for byte (178 files).
Known limitations
- Killed or refused completions (issue #4). If Codex kills a Stop or completed-tool hook at its 30-second limit, later events in that session can stay refused. Disable Context Engine for the project to continue. See the README for the distinct cases. #4 tracks recovery without disabling.
- Unverifiable participation (CDX-002). If participation state becomes unverifiable, the hook stands aside. It records no turns and does not gate
new_context, so turns from that period are missing from the Event Log and cannot be recovered into it. Repair the state directory permissions, then checkstatus. - Shared participation. Enabling a project with Context Engine for Claude also turns this plugin's hooks on there, unless this plugin enabled that project and was then uninstalled, or
CONTEXT_ENGINE=offis set. Uninstall of a project enabled through Codex writes a retirement record, so reinstall stays inactive untilenable. - Config refusals. Setup refuses Codex configuration it cannot back up safely, including tables whose names mark environment variables or HTTP headers (common in MCP server entries). Remove or move those tables before installing. See #11.
- Stateful Windows and macOS backends are unsupported. Their CI covers pure operations and refusal only.
- Interactive TUI behavior and live hook loading are not accepted for this release version. One scripted session on 2026-10-15 covered an earlier source version.
- Deferred hardening: #11.
No npm or marketplace package is published.