Skip to content

docs: record the live Codex validation and Codex's missing exit codes - #34

Merged
akosidencio merged 1 commit into
devfrom
docs/codex-live-validation
Nov 27, 2026
Merged

akosidencio merged 1 commit into
devfrom
docs/codex-live-validation

Conversation

@akosidencio

Copy link
Copy Markdown
Member

Docs-only. Corrects statements that the v0.4.0 release gate made out of date.

A live Codex 0.171.0 session ran on macOS: codex exec with hook trust granted per run, against TailFlow dev plus #31. It covered:

  • session start and end, resume and subagents;
  • Bash success and failure;
  • apply_patch add, update and delete;
  • token counts;
  • spool replay with the daemon down;
  • metadata-mode privacy.

Everything matched the adapter. No code change was needed.

What changes in the docs:

  • README, docs/agent-capture.md, docs/limitations.md and docs/roadmap.md said Codex had never run live. They now say it ran live on macOS, and what is still unconfirmed: the interactive /hooks trust review, and Linux and Windows.
  • New fact, now documented: Codex sends no exit code for shell commands. Bash tool_response is the plain output string, empty for a failed exit 3. A failed Codex command is therefore outcome unknown, the same as a successful one. TailFlow already behaved this way; the docs said only that the outcome depends on an exit code being present.
  • The fixture README notes that the guessed Bash response shape was confirmed, and that the live apply_patch tool_response is a string rather than the fixture's object. This is harmless, because file events come from tool_input.

python3 scripts/docs/check_docs.py: 19 files, 0 problems.

Not changed: the "v0.4.0 (upcoming, on dev)" banners in docs/. They belong to the version-bump PR.

A live Codex 0.171 session on macOS (codex exec, hook trust granted per
run) exercised sessions, resume, subagents, apply_patch create/modify/
delete, token counts, spool replay and metadata-mode privacy. All matched
the adapter. It also showed that Codex sends a shell command's output as a
plain string with no exit code, so a failed Codex command is recorded as
outcome unknown, the same as a successful one.

The README, agent-capture, limitations and roadmap pages said Codex had
never run live. They now say what was verified (macOS only) and what is
still unconfirmed: the interactive /hooks trust review, and Linux and
Windows. The synthetic fixture README notes that the guessed Bash response
shape was confirmed.
@akosidencio
akosidencio merged commit 13d8bfc into dev Nov 27, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant