Codex is an upstream-first fork of openai/codex that keeps the official CLI, TUI, desktop app, and app-server surfaces as the baseline while moving zapabob-specific value into plugins, sync automation, and Windows-first release operations.
Current release line:
v3.1.0(2026-04-18)
Stable branch:release/3.1.0-stable
Stable tag:v3.1.0-stable.0
Main tag:v3.1.0
- Stay close to upstream Codex instead of carrying a permanently divergent core fork.
- Keep fork-only capabilities in repo-local plugins and marketplace entries.
- Make Windows-native build, packaging, install, and smoke verification first-class.
- Use
scripts/upstream_sync.pyas the authoritative sync and release-closeout driver.
These are the pieces this fork still wants to be known for:
- DeepResearch as a plugin-facing research workflow layered onto the official Codex app and app-server model
- Git4D as an optional visualization path instead of a mandatory forked core experience
- VR and AR capability as opt-in plugin surfaces with no-device and no-WebXR fallback
- Repo-local plugin marketplace support for shipping fork-only value without permanently diverging the main product surface
- Windows-first release operations, where packaging, overwrite install, and smoke verification are treated as product features instead of afterthoughts
Current sync target:
- baseline:
rust-v0.121.0released on April 15, 2026 - hardening watch:
upstream/mainthrough April 17, 2026 - required security checkpoint: the writable-root hardening that landed as
fix: reduce writable root (#17947)
- branch:
release/3.1.0-stable - tag:
v3.1.0-stable.0 - intent: slower-moving install target for users who want the validated Windows bundle without tracking day-to-day mainline churn
- branch:
main - tag:
v3.1.0 - intent: latest upstream-first sync state, plugin migration status, and release packaging changes
gh release download v3.1.0 --pattern "codex-v3.1.0-windows-x86_64.tar.gz"
tar -xzf codex-v3.1.0-windows-x86_64.tar.gzEach Windows tar.gz bundle contains codex.exe, README.md, LICENSE, and VERSION.
The product direction is intentionally narrow:
codexremains the CLI and TUI entrypointcodex appremains the desktop GUI baselinecodex app-serverremains the integration surface for rich clients- plugin marketplaces and plugin mentions carry fork-only extension value
When upstream and fork behavior overlap, this repository adopts the upstream implementation and reinjects only the fork-specific advantage that still matters operationally.
That means this repository is not trying to out-fork upstream on every surface. It is trying to keep the official Codex experience intact while making a few distinctive workflows genuinely stronger.
flowchart LR
Upstream["OpenAI Codex upstream<br/>CLI / TUI / App / App Server"] --> Sync["upstream-first sync<br/>scripts/upstream_sync.py"]
Sync --> Runtime["Rust workspace<br/>codex-rs/"]
Runtime --> Plugins["Repo-local marketplace<br/>.agents/plugins/ + plugins/"]
Plugins --> Features["Fork-only capabilities<br/>DeepResearch / Git4D / VR-AR"]
Runtime --> Windows["Windows release path<br/>build -> package -> install -> smoke"]
Legacy GUI trees are no longer the primary interface:
gui/codex-gui-x/codex-rs/guicodex-rs/tauri-gui
Those paths are in migration mode and should not receive new feature work. Their replacement path is the repo-local marketplace at .agents/plugins/marketplace.json and the bundled plugin at plugins/zapabob-legacy-suite/.codex-plugin/plugin.json.
That plugin carries forward:
- DeepResearch as a plugin-facing research workflow on top of the official app and app-server model
- Git4D as an optional plugin capability with non-visual fallback
- VR and AR as optional plugin capabilities with graceful no-device and no-WebXR fallback
This repository intentionally does not preserve fork-only virtual OS, custom computer-operation, or OS-control surfaces. Those are deprecated in favor of future official Codex App platform work, especially on Windows.
Use scripts/upstream_sync.py as the authoritative sync driver.
It can:
- fetch upstream refs and tags
- classify upstream delta paths against
rust-v0.121.0 - create or refresh an integration branch ref
- run
git merge --no-commit --no-ff - apply rule-based conflict resolution through
scripts/resolve_merge_conflicts.py - emit Markdown and JSON reports of adopted, reinjected, migrated, retired, and manual-review paths
Examples:
python scripts/upstream_sync.py
python scripts/upstream_sync.py --merge
python scripts/upstream_sync.py --repair-workspace --validate
python scripts/upstream_sync.py --repair-workspace --validate --build-release --windows-installOn native Windows, the authoritative closeout signal is the report emitted by scripts/upstream_sync.py.
codex.exeoverwrite install and runtime smoke can complete without elevated privileges- full
cargo test --workspacerequires Developer Mode or equivalent symlink privilege because thev8build script creates symlinks - when that prerequisite is missing, the report should treat the failure as an environment blocker rather than a repo regression
The repo-local marketplace follows the same seams used by upstream:
plugin/listplugin/readplugin/install- mention-based invocation via
plugin://zapabob-legacy-suite@zapabob-repo-local
For rich clients, start codex app or codex app-server and then discover the plugin from the repo-local marketplace.
codex-rs/: Rust workspace for CLI, TUI, app-server, protocol, core, plugins, and retained backend logicscripts/: sync automation, repo maintenance, and validation tooling.agents/plugins/: tracked repo-local plugin marketplaceplugins/: bundled repo-local plugin implementations_docs/: implementation logs and migration rationale
This repository is actively being reorganized toward official Codex layout and APIs. Cleanup and deletion of legacy GUI trees is deferred until plugin parity is verified.
Phase 2 closeout status:
- Windows install and runtime smoke are complete on native Windows
- the remaining full-workspace validation gate is a native Windows
v8symlink privilege prerequisite, not a known code regression