Files
reliquary/plugins/spire/providers/runtimes/codex/spawning.md
T
g4borg f6dc43be19 ✨ export: 36 files (features)
M plugins/gitea/.claude-plugin/plugin.json
M plugins/gitea/.codex-plugin/plugin.json
M plugins/gitea/README.md
M plugins/gitea/skills/gitea/SKILL.md
M plugins/gitea/skills/gitea/scripts/fetch_ticket.py
M plugins/gitea/skills/gitea/scripts/start_ticket.py
A plugins/spire/UPGRADES.md
A plugins/spire/agents/designer.md
M plugins/spire/agents/planner.md
A plugins/spire/providers/README.md
A plugins/spire/providers/hosts/claude-desktop/spawning.md
A plugins/spire/providers/hosts/t3-code/spawning.md
A plugins/spire/providers/runtimes/codex/spawning.md
M plugins/spire/skills/gremlins/grm/call.py
M plugins/spire/skills/gremlins/grm/cli.py
A plugins/spire/skills/gremlins/grm/codex.py
A plugins/spire/skills/gremlins/grm/errors.py
A plugins/spire/skills/gremlins/grm/harness.py
M plugins/spire/skills/gremlins/grm/launch.py
A plugins/spire/skills/gremlins/grm/scrub.py
M plugins/spire/skills/gremlins/grm/stream.py
A plugins/spire/skills/gremlins/grm/title.py
A plugins/spire/skills/gremlins/tests/_pin.py
M plugins/spire/skills/gremlins/tests/fake_claude.py
A plugins/spire/skills/gremlins/tests/fake_codex.py
M plugins/spire/skills/gremlins/tests/test_cli.py
A plugins/spire/skills/gremlins/tests/test_cli_codex.py
A plugins/spire/skills/gremlins/tests/test_codex.py
A plugins/spire/skills/gremlins/tests/test_harness.py
A plugins/spire/skills/gremlins/tests/test_scrub.py
A plugins/spire/skills/gremlins/tests/test_title.py
A plugins/spire/skills/igor/references/upgrades.md
A plugins/spire/skills/igor/tests/test_upgrade_notes.py
A plugins/spire/skills/igor/upgrade-notes.sh
R plugins/spire/skills/implementation/references/spawning-claude-code.md -> plugins/spire/providers/runtimes/claude-code/spawning.md
M plugins/spire/skills/project/SKILL.md
2026-11-25 01:52:10 +01:00

3.8 KiB

Codex runtime: spawning (partly verified)

Read only when dispatching into Codex (T3 delegate_task to Codex, Codex gremlins). Spire's own agents run on claude-code. Legend: README. codex-cli 0.172.0.

Claim Status
codex exec --json runs non-interactively; first event is thread.started{thread_id}. No preassigned session id verified 2026-11-24 (help, source, live runs)
codex exec fork <id> [PROMPT] and exec resume [id] [PROMPT]; exec, --ephemeral fork, resume read the prompt from stdin -; concurrent forks ran. --ignore-user-config keeps auth verified 2026-11-24 (help, source, P3 live, gpt-6-luna)
-s, -C, --add-dir, -p are not global: for fork/resume they precede the subcommand (codex exec -s read-only -C <dir> --json fork <id> "<prompt>") verified 2026-11-24 (source)
A fork takes model, effort, sandbox and cwd from the current call, not the base: repeat -m, -c model_reasoning_effort=…, -s, -C verified 2026-11-24 (source)
exec forces approval_policy = never, never prompts verified 2026-11-24 (source, live runs)
No trust entry: default sandbox read-only, project config, hooks, rules off. Outside a git repo exec exits without --skip-git-repo-check observed 2026-11-24 (live runs)
Tool shells inherit the full env; the *KEY*/*SECRET*/*TOKEN* filter is off (leak itself not seen) verified 2026-11-24 (source)
Multi-agent tools exist; -c agents.enabled=false disables them (accepted live) verified 2026-11-24 (source, P3 live)
--ephemeral forks wrote no rollout and read the base prefix from cache (2/2); persisted forks missed (0/3) observed 2026-11-24 (research, P3; turn-delta estimate)
A resumed base keeps its thread id and cache key observed 2026-11-24 (research, P3)
turn.completed.usage is the thread's running total, base included observed 2026-11-24 (research)
Nested codex exec works with --add-dir <CODEX_HOME> plus network on (n1 failed, n3 worked); escalation per helper call is untried (P4) observed 2026-11-24 (n1/n3); escalation assumed
Under workspace-write .git is read-only: a fork's git commit fails (index.lock: Read-only file system); forks never commit verified 2026-11-24 (source); observed 2026-11-24 (P3)
Native subagent tool is spawn_agent, then wait assumed 2026-11-23 (T3 0.1.11 host rules, dirigent reports/2026-11-23-11-t3-code-mcp-tools.md §1, reports/2026-11-23-11-harnesses.md; not checked against Codex)
AGENTS.md is the instruction file; skills via .agents/skills; Claude plugins do nothing observed 2026-09-28 (dirigent reports/2026-11-23-11-harnesses.md, citing ai-developer reports)
Spire ships a Codex manifest exposing skills/; whether Codex loads them and expands the plugin-root path variable unknown
Codex desktop, its sessions and worktrees unknown

Consequence for Spire

A Codex child gets a self-contained brief: no subagent_type, no Spire skills relied on, no plugin-root path variable; paste what it needs. Keep secrets out of the brief: Codex does not scrub its tool shells, but the gremlins helper scrubs secret-shaped inherited env (--pass-env lets one through). Repeat model, effort, sandbox and cwd on every fork. Igor under Codex is unsupported in 0.4.0.

Unknowns

  • Manifest and skill loading; Codex desktop, worktrees.
  • spawn_agent arguments and wait semantics.
  • Which of --add-dir <CODEX_HOME> and network is needed for a nested codex exec is not isolated.
  • Rule syntax to deny git push or codex in a child; explicitly untrusted dirs.

Sources

reliquary quire (unshipped): research/2026-11-24-09-codex-gremlins-verification.md. dirigent workpad (separate repo): reports/2026-11-23-11-harnesses.md, reports/2026-11-23-11-t3-code-mcp-tools.md.