You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
README's Codex section does not mention the stdout contract, and its 'Not yet known' list predates knowing about it #453
cohort-3Open at the v0.24.0 tag; frozen, can only shrinkdocumentationImprovements or additions to documentationpriority:lowReal, but neither blocking nor compounding fast
Routed out of the #451 lane, which correctly declined to touch README.md because a concurrent lane held it.
Symptom
README.md's Codex section describes the host as working, and says nothing about the one thing that made every prompt print Failed to a Codex user until #451. A reader installing on Codex gets no warning that the two hosts' hook stdout contracts differ at all.
Location
README.md:55-72, the ### Codex (verified against a live install) section. Line 72 is the specific one:
Not yet known: whether PostToolUse fires and what its payload carries (the probe sessions ran no tools), and whether codex resume behaves correctly once extraction returns a non-zero count. Summarization still shells claude -p, so ...
Mechanism
That paragraph was written when the known-unknowns were about input: which events fire, what payloads carry. #451 established that the interesting divergence is on the way out — Codex's hook engine sniffs the first non-whitespace byte of UserPromptSubmit stdout, and a [ or { that then fails its schema marks the run Failed regardless of exit code. That is a different axis than anything the section currently discusses, and it is the axis that bit.
The section also still frames #410's contribution as "binds Codex's lifecycle events to the same scripts". True, and now known to be insufficient on its own: the events match, the stdin payload matches, the stdout contract does not.
What would settle it
After #452 merges, rewrite the section to record: the stdout-contract divergence and how the hook now handles it, that SessionStart was checked against three store shapes and does not have the same defect (#451's lane established this rather than assuming it), and a Not yet known list rebuilt from what is actually still unknown rather than from what was unknown in August.
cohort-3Open at the v0.24.0 tag; frozen, can only shrinkdocumentationImprovements or additions to documentationpriority:lowReal, but neither blocking nor compounding fast
Activity
docs: rewrite README's Codex stdout-contract section and rebuild its …