openai / openai/codex-plugin-cc

[Bug] codex app-server crashes on macOS inside Claude Code sandbox (SCDynamicStore NULL panic)

Open
#141 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
33.3k
Forks
2.3k
PR merge metrics
No merged PRs in 30d

Description

Environment

  • Claude Code: v2.1.91 (native)
  • Codex CLI: v0.118.0
  • codex-plugin-cc: v1.0.2
  • OS: macOS (Apple Silicon)
  • IDE: Google Antigravity (VS Code-based)

Problem

codex app-server crashes with a Rust panic inside Claude Code's sandboxed bash environment,
making all plugin commands (/codex:review, /codex:rescue, etc.) fail with exit code 101.

Error

codex app-server exited unexpectedly (exit 101).

Underlying panic (from stderr):
thread 'main' panicked at system-configuration-0.6.1/src/dynamic_store.rs:154:1:
Attempted to create a NULL object.

Root Cause

Claude Code's sandbox restricts macOS Mach ports required by the system-configuration
crate. SCDynamicStoreCreate returns NULL in this environment, causing an immediate panic on
any codex command that goes beyond --version or --help.

Reproduction

  1. Install codex-plugin-cc in Claude Code
  2. Run /codex:review — fails with "codex app-server exited unexpectedly (exit 101)"
  3. Running codex review directly in Terminal.app works fine

Workaround

Use codex review in Terminal.app (outside Claude Code's sandbox).

Request

Make SCDynamicStore initialization optional/lazy so the CLI can run in sandboxed macOS
environments.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the codex app-server startup path and inspect system-configuration-0.6.1/src/dynamic_store.rs at line 154, where SCDynamicStore initialization panics. Reproduce the failure with /codex:review inside Claude Code's sandbox, then verify that the app-server no longer exits with code 101 while codex review still works in Terminal.app.

Written by the indexing model from the issue text.

Assessment

Tech stack
macos, rust
Domain
cli, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.