Skip to content

The codex exec provider shipped without the means of judging summary quality that #406 said had to come with it #492

Closed

Description

@fdaviddpt

Carve-out from #406, filed as that epic closes. #406's plan for C was two things, not one: "codex exec provider, plus a way to judge summary quality", and the reason was stated in the same comment -- "A green contract suite passes while summaries quietly become useless." v0.24.0 shipped the first half. The second half was never built, and nothing on the board records that.

What exists, verified 2026-09-01 at f3232bd

tests/test_summarizer_routing_460.py has 10 tests. Read by name, every one of them is about routing and liveness: which provider a call resolves to, what an override does, and how an unavailable, empty-output or declined codex spawn is reported. tests/test_nested_summarizer.py adds 6 in the same class. All of that is correct and worth having -- and none of it looks at what the summary says.

Four prompts drive the summarizer: prompts/save-session.prompt.txt, prompts/consolidate-staging.prompt.txt, prompts/compress-ndc.prompt.txt and prompts/session-history-hint.txt. Each was written and tuned against one model's behaviour. codex exec now runs all four against a different one, and the only assertion made about the result anywhere in the suite is that it is non-empty (test_codex_empty_output_is_a_loud_failure_not_a_silent_skip).

Why this is a filing rather than a shrug

This is the project's own defect class, aimed at the project. A summarizer that returns fluent, plausible, non-empty prose that fails to preserve what actually happened in the session is indistinguishable, to every test in the suite and to the doctor, from one that works. Non-empty is the proxy, and a proxy standing in for the property is exactly what #483 and #487 were both about in a smaller way.

Nothing here says the Codex summaries are bad. Nobody has looked, which is the point.

Direction, not a prescription

Some way to compare a summary against the session it came from, runnable on demand rather than in CI (it needs a live provider and costs a call). Candidates worth weighing: a small fixture set of recorded sessions with the facts a good summary must carry, asserted by substring or by a judge call; or a differential run -- same fixture through both providers, output diffed for dropped facts rather than scored for prose.

Ranked

fails-to-preserve, unmeasured. The gap is in the evidence, not established in the behaviour.

Platform

Nothing platform-specific. The file and test inspection is observed on macOS/arm64 (Darwin 24.3.0); it is a property of the source, so it holds everywhere -- reasoned.

Activity

  1. added
    cohort-4
    priority:low
    on Sep 1, 2026
  2. self-assigned this
    on Sep 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

cohort-4priority:low

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions