Repository navigation
docs(investigations): record the Codex 0.154 driver probe for #497 - #1057
Merged
Merged
Conversation
…skills, hooks, sandbox, resume, stdin Empirical results against the real binary that change #497's design: - $skill works in headless exec; all 19 sequant skills discovered via an in-repo .agents/skills -> ../.claude/skills symlink (drops CODEX_PHASE_PROMPTS) - hooks run in exec only with --dangerously-bypass-hook-trust, else silently skipped; the flag is CLI-only, so the driver is a subprocess, SDK for types - git commit inside a linked worktree succeeds under workspace-write - exec resume adopts the caller's cwd (openai/codex#4791 still live) - non-TTY stdin blocks exec until timeout; ErrorItem carries warnings Ships the scrubbed run-1 JSONL as a fixture for the future parser. Claude-Session: https://claude.ai/code/session_01LKP1FKm7sK7PEegt7vWhaJ Entire-Checkpoint: a84d4009e2b9
This was referenced Sep 14, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Records the 2026-09-12 empirical probe of Codex CLI /
@openai/codex-sdk0.154.0 against sequant's assumptions for #497, asdocs/investigations/codex-driver-probe-2026-09.md(precedent:opencode-driver-spike.md). Docs + one recorded fixture; no code.Findings that change #497's design:
$skillworks in headlessexec; all 19 real skills discovered under bare names via an in-repo.agents/skills → ../.claude/skillssymlink →CODEX_PHASE_PROMPTSis unnecessary.execonly with--dangerously-bypass-hook-trust; otherwise silently skipped (no stderr, no event). The flag is CLI-only with no config-key equivalent (proved via--strict-config), and the SDK doesn't pass it → driver must be a subprocess, SDK imported for types only.tool_name: "Bash",tool_input.command,cwd,session_id) — existingpre-tool.shmay run unmodified.git commitinside a linked worktree succeeds underworkspace-write.exec resumestill adopts the caller's cwd (Resuming a session silently switches the agent cwd to the caller’s directory openai/codex#4791) — refactor: normalize agent-driver resume semantics (origin-cwd-bound ResumeHandle, driver-owned validation) #674's gate stays mandatory.execuntil timeout;item.completed/erroritems are warnings, not failures.Also ships
src/lib/workflow/drivers/__fixtures__/codex-exec-skill-hook.jsonl(run-1 stream, 10 events, paths scrubbed) for the future parser to be written against.Not done here: the #497 issue comment (drafted separately), and the build itself (deferred to the #497 fullsolve).
Test plan
npm run lintclean🤖 Generated with Claude Code