Skip to content

README's Codex section does not mention the stdout contract, and its 'Not yet known' list predates knowing about it #453

Closed

Description

@fdaviddpt

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.

Part of #406.

Activity

  1. added
    documentation
    priority:low
    cohort-3
    on Aug 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    cohort-3documentationpriority:low

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions