Skip to content

fix(j5): test servers start Codex with ChatGPT apps and plugins off (#1235) - #1237

Merged
Jacksondr5 merged 2 commits into
j5/mainfrom
j5code/1235-codex-connectors-off
Nov 24, 2026
Merged

Jacksondr5 merged 2 commits into
j5/mainfrom
j5code/1235-codex-connectors-off

Conversation

@Jacksondr5

@Jacksondr5 Jacksondr5 commented Nov 24, 2026 •

Copy link
Copy Markdown
Owner

Problem

A test server's Codex shares ~/.codex, sign-in included, and starts with ChatGPT apps and plugins on. During #956's live test, a Luna child on a test server called the account's J5 connector (codex_apps), which reaches the developer's live install. It got a 429 and nothing went through. This happened once before, on 2026-11-17.

Closes #1235.

What changed

  • The rig sets Codex's launch args. liveTestEnvironment in scripts/j5/setup-agent-live-test.ts builds the environment for every rig server: web, peer and mobile. It now sets upstream's own T3CODE_CODEX_LAUNCH_ARGS to the eval runner's switches (evals/j5-cli/codex-requirements.toml): -c features.apps=false, plugins, remote_plugin, plugin_sharing and tool_suggest.
    • Every Codex launch reads it. Upstream's resolveCodexLaunchArgs reads this variable for every Codex launch: app-server, provider checks, title generation. So every Codex turn a test server starts has them off.
    • The caller's own value is kept: the rig's switches go after it, and Codex takes the last value given for a key.
  • What stays untouched: ~/.codex/auth.json and the developer's ~/.codex/config.toml, and no upstream file changes.
  • Checked by hand on this host: codex features list with these -c switches reports all five false, where it reports them true without.

Live testing

Nothing new ran live. Starting a Codex app-server here would load the developer's ~/.codex MCP servers, and those can include the live J5 connector this PR exists to keep away. The check is the rig test below plus the codex features list check above.

Checklist

  • One concern: the description has no "also"
  • Tests cover the changed behavior. In setup-agent-live-test.test.ts:
    • the liveTestEnvironment case now expects the variable;
    • a new case checks that the last value of each of the five features is false, also when the caller sets features.apps=true.
    • Both fail on j5/main.
  • UI changes: none
  • Live testing: the section above says what ran and why not live
  • Upstream-owned files: none
  • Upstream product: no change to what upstream does
  • Surfaces: every rig entry point (web, --peer, mobile) goes through liveTestEnvironment
  • Docs: none; the rig enforces the switches itself

Built by Claude Opus 5.5 in Claude Code (J5 Code Crew builder seat).

🤖 Generated with Claude Code

…1235)

A test server's Codex shares ~/.codex, sign-in included, so a live-test
agent could reach the account's ChatGPT connectors, one of which leads to
the developer's live install. liveTestEnvironment now sets upstream's
T3CODE_CODEX_LAUNCH_ARGS with the eval runner's feature switches, after any
the caller set, so every Codex a rig server launches has them off.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@vercel

vercel Bot commented Nov 24, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
j5-code Ready Ready Preview Nov 24, 2026 3:01am UTC

Request Review

@Jacksondr5
Jacksondr5 enabled auto-merge (squash) November 24, 2026 02:59
@coderabbitai

coderabbitai Bot commented Nov 24, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

  • Run on-demand review

This review includes 2 billable files and costs up to $0.50.

  • Ask an admin to make reviews automatic

Open in CodeRabbit

Reviews can continue after your included limit without a manual trigger. An admin must approve usage-based billing.

Or wait 3 minutes for your next included review.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available. Your 64 included PR review attempts over the past 7 days set your current allowance at 1 review per hour.

Learn how review limits work.

Review configuration:

Run configuration

Commits

Reviewing files that changed from the base of the PR and between 85a5f9d and da56e68.

Files selected for processing: 2

  • scripts/j5/setup-agent-live-test.test.ts
  • scripts/j5/setup-agent-live-test.ts
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

@Jacksondr5
Jacksondr5 enabled auto-merge (squash) November 24, 2026 03:00
@github-actions github-actions Bot added vouch:trusted Author is trusted by repo permissions or the VOUCHED list. size:S 10-29 effective changed lines (test files excluded in mixed PRs). labels Nov 24, 2026
@Jacksondr5
Jacksondr5 merged commit b9f4cf6 into j5/main Nov 24, 2026
45 of 47 checks passed
@Jacksondr5
Jacksondr5 deleted the j5code/1235-codex-connectors-off branch November 24, 2026 03:49

This branch was successfully deployed

1 active deployment
Preview — da56e68d Deployed Nov 24, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:S 10-29 effective changed lines (test files excluded in mixed PRs). vouch:trusted Author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Live-test Codex agents run with ChatGPT apps on and can reach the live J5 install

1 participant