Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions apps/web/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ FROM docker:29-cli AS docker-cli

# Compile against the worker's libc; a binary from the development host may
# require a newer glibc even when the Codex source and architecture match.
FROM rust:1.95.0-bookworm AS codex-backend
FROM rust:1.99.1-bookworm AS codex-backend
RUN apt-get update && apt-get install -y --no-install-recommends \
python3 cmake pkg-config libssl-dev libcap-dev libasound2-dev \
&& rm -rf /var/lib/apt/lists/*
Expand Down Expand Up @@ -60,7 +60,7 @@ ENV ELAN_HOME=/opt/elan \
DEEPSCIENTIST_MATH_SANDBOX_BACKEND=bwrap \
DEEPSCIENTIST_MATH_TRUSTED_ELAN_ROOTS=/opt/elan
COPY scripts/install-elan.sh ./scripts/install-elan.sh
RUN npm install --global @openai/codex@0.162.0 \
RUN npm install --global @openai/codex@0.172.0 \
&& sh scripts/install-elan.sh \
&& elan toolchain install leanprover/lean4:v4.33.0 \
&& chmod -R a+rX /opt/elan \
Expand Down
10 changes: 5 additions & 5 deletions scripts/codex-backend/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
`upstream.json` pins the official Codex tag, commit, lockfiles and Rust toolchain.
The build applies two reviewable patches:

- `derived-lock.patch` aligns 173 local workspace package versions with the
release's `0.169.0` workspace version, and records the adapter's internal
`codex-app-server` dependency on `codex-rollout-trace`. External dependencies,
- `derived-lock.patch` aligns 174 local workspace package versions with the
release's `0.172.0` workspace version. The upstream lock already includes
`codex-rollout-trace` for `codex-app-server`. External dependencies,
sources and checksums are unchanged.
- `agent-control.patch` adds the TheoremOS protocol adapter to the official
AgentControl implementation. It excludes `Cargo.lock`.

These patches are changes made by TheoremOS. The upstream code shown in them
comes from [OpenAI Codex at the pinned revision](https://github.com/openai/codex/tree/d32063f96c2dff1dc96af839b3952abb6acfeda4).
comes from [OpenAI Codex at the pinned revision](https://github.com/openai/codex/tree/3d86e43b075adeba2193ec5c22ac92f55afd82e6).
This directory includes the upstream [Apache-2.0 license](LICENSE.codex) and
[NOTICE](NOTICE.codex), including its credit to Ratatui. Both files also ship in
the Web worker at `/opt/theorem-os/scripts/codex-backend/`. For a separate
Expand All @@ -28,7 +28,7 @@ scripts/build-codex-backend.sh \
--jobs 16
```

Install the explicitly pinned toolchain with `rustup toolchain install 1.95.0
Install the explicitly pinned toolchain with `rustup toolchain install 1.99.1
--profile minimal` if needed. The script does not change the default toolchain,
Codex configuration or model credentials. `--prepare-only` fetches and verifies
the official source without applying patches or compiling.
Expand Down
Loading
Loading