[PR #1398] [CLOSED] docs: keeping Codex CLI off the network with Strata #3428

Closed
opened 2026-11-07 14:41:25 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Niko1221/Strata/pull/1398
Author: @fioruccione
Created: 10/7/2026
Status: ❌ Closed

Base: main ← Head: docs-codex-offline


📝 Commits (1)

  • bed0f44 docs: keeping Codex CLI off the network with Strata

📊 Changes

1 file changed (+55 additions, -0 deletions)

View changed files

📝 docs/DETAILS.md (+55 -0)

📄 Description

Adds a short paragraph to the Codex CLI section of docs/DETAILS.md: how to keep Codex itself off the network when the model is Strata. Docs only.

Why: with the existing recipe, prompts and answers go only to 127.0.0.1:8080, but Codex still contacts OpenAI. Measured on Linux with Codex CLI 0.160.1, tracing every connect():

Codex setup Connections outside 127.0.0.1 during one codex exec
~/.codex logged in to ChatGPT, default settings (the documented recipe) 4 HTTPS to chatgpt.com / ab.chatgpt.com
same, with analytics, feedback and the update check off 1
a separate CODEX_HOME with no ChatGPT login, plus the settings below 0

The paragraph gives that home's config.toml. It also says what the interactive TUI still does: it fetches the start-up tip from raw.githubusercontent.com (nothing of the user's is sent), and its app-server daemon logs a remote-control websocket loop to chatgpt.com, which did not connect without a login. It ends with a strace one-liner to check again after a Codex update. The one-liner covers IPv4 and IPv6, and I checked that it catches the logged-in case (it lists the chatgpt.com addresses) and prints nothing for the documented config.

The content of the 4 connections was not inspected (TLS), and the docs say so. Codex changes quickly, which is why the docs give the check rather than a promise.

Measured on my machine, with an AI coding assistant helping on the tracing and the write-up.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Niko1221/Strata/pull/1398 **Author:** [@fioruccione](https://github.com/fioruccione) **Created:** 10/7/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `docs-codex-offline` --- ### 📝 Commits (1) - [`bed0f44`](https://github.com/Niko1221/Strata/commit/bed0f44a6e68beee2db9ee6d5feff4e39295412d) docs: keeping Codex CLI off the network with Strata ### 📊 Changes **1 file changed** (+55 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `docs/DETAILS.md` (+55 -0) </details> ### 📄 Description Adds a short paragraph to the Codex CLI section of `docs/DETAILS.md`: how to keep Codex itself off the network when the model is Strata. Docs only. **Why:** with the existing recipe, prompts and answers go only to `127.0.0.1:8080`, but Codex still contacts OpenAI. Measured on Linux with Codex CLI 0.160.1, tracing every `connect()`: | Codex setup | Connections outside 127.0.0.1 during one `codex exec` | | --- | ---: | | `~/.codex` logged in to ChatGPT, default settings (the documented recipe) | 4 HTTPS to `chatgpt.com` / `ab.chatgpt.com` | | same, with analytics, feedback and the update check off | 1 | | a separate `CODEX_HOME` with no ChatGPT login, plus the settings below | **0** | The paragraph gives that home's `config.toml`. It also says what the interactive TUI still does: it fetches the start-up tip from `raw.githubusercontent.com` (nothing of the user's is sent), and its app-server daemon logs a remote-control websocket loop to `chatgpt.com`, which did not connect without a login. It ends with a `strace` one-liner to check again after a Codex update. The one-liner covers IPv4 and IPv6, and I checked that it catches the logged-in case (it lists the `chatgpt.com` addresses) and prints nothing for the documented config. The content of the 4 connections was not inspected (TLS), and the docs say so. Codex changes quickly, which is why the docs give the check rather than a promise. Measured on my machine, with an AI coding assistant helping on the tracing and the write-up. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-07 14:41:25 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Niko1221/Strata#3428
No description provided.