Skip to content

M7: Skip the redundant Codex resume on a live connection #296

Description

@Sandstorm831

Parent

Spec #276; implementation sub-issue of M7 #275.

What to build

When a Turn's requested resume names the thread already live on this Codex app-server connection, and the Adapter has not marked the Session detached, the Codex Adapter skips thread/resume and sends turn/start. A reopened Run or a detached Session still resumes the exact conversation. The change sits inside the Codex Adapter behind the Harness Seam; Claude Code is unchanged (stories 112–113).

Acceptance criteria

  • Codex replayer conformance proves a second human Turn on a live connection sends exactly turn/start with no thread/resume.
  • Conformance proves a reopened or detached Session still resumes exactly.
  • The shared conformance suite still passes against the fake.
  • CI scenario: runtime conformance is green on Windows x64, macOS arm64, and Linux x64.

Blocked by

Implementation packet

Owner: Codex Harness Adapter, behind the Harness Seam

Ratchet: conformance for no redundant resume on a live connection

Deletes: the redundant thread/resume on a live connection

Gate: ADR 0027 three-OS CI and recorded human evidence, with the slice scenario above.

Dependencies: no new runtime dependency

Activity

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

    ready-for-agentFully specified and ready for an AFK agent

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions