Skip to content

No Codex session has ever been observed writing a memory file: four probes, four SKIPs, cause unestablished #461

Closed

Description

@fdaviddpt

Observed across four separate Codex sessions on 2026-08-29, codex-cli 0.150.1, macOS 15.3.2 arm64, against main as each Codex fix landed (#443, #444, #451).

Symptom

Extraction works. Summarisation runs. Nothing is ever written.

12:30:48 [extract] 3 exchanges (1 human)
12:30:49 [haiku] calling (branch: master)
12:30:54 [tokens] tokens: 9+21531cache->277out ($0.011798)
12:30:54 [haiku] SKIP -- position -> 32

find .remember -name '*.md' returns nothing, in every one of the four probe directories.

What was varied, and what did not change

Probe Content Exchanges Result
1 "Say only the word PONG" 0 (pre-#443) no save
2 "capital of France" 2 SKIP
3 "why a silent failure is worse than a loud one" 2 SKIP
4 three named project decisions, each with a stated reason 3 SKIP

Probe 4 was written specifically to be worth remembering — Alembic for migrations, pin Postgres 16, defer auth to phase 2 because a client demo is in three weeks. If anything is store-worthy, that is, and it was not stored.

Why this is filed rather than assumed to be judgement

Three readings, and nothing so far distinguishes them:

  1. Ordinary judgement. One-shot codex exec sessions are short and self-contained; a summariser may reasonably decide none of them is worth keeping. Plausible for probes 2 and 3, much less so for 4.
  2. The summariser receives the exchanges but something about the Codex-shaped input makes it always decline — a prompt assembled around fields a Codex transcript does not carry, a branch name of master in a scratch repo, a turn count below a threshold, a gate keyed on something Claude-Code-shaped.
  3. The save path declines after the summariser answers, for a reason unrelated to the model's verdict.

Reading 1 renders identically to readings 2 and 3 in the log, which is the whole reason this needs establishing rather than assuming. SKIP is exactly the shape this project distrusts everywhere else: an absence produced by the tool, read as an absence in the world.

What is already known

  • Extraction is correct. pipeline/host.codex_exchange returns clean ('HUMAN', ...) / ('AGENT', ...) pairs from the same transcripts — verified directly, not inferred from the count.
  • The summariser genuinely runs and costs money — the token line above is a real Anthropic charge, so this is not a silent no-op before the model call.
  • The position marker advances (position -> 32), so the session is consumed either way.
  • A Claude Code session in this same repository does write memory files routinely. That is the control, and it is what makes four-for-four worth investigating rather than shrugging at.

What would settle it

Run the same content through both hosts and compare. A Claude Code session given probe 4's exact prompt either saves or skips: if it saves, the difference is host-shaped and readings 2 or 3 hold; if it also skips, reading 1 holds and the finding is that the bar is simply high for one-shot sessions — which is worth knowing and worth documenting rather than leaving as folklore.

Then, whichever it is, make the two distinguishable in the log. SKIP should say which of "nothing worth keeping" and "could not decide" it means, the same three-state treatment ExtractResult.envelope got in #443.

Scope note

This is not #460. That issue is about which provider summarises; this is about whether anything is written at all, and it would survive a perfect host-native summariser unchanged. Whoever takes #460 has been warned about this in their brief, because a working provider swap that still writes nothing would look like success.

Part of #406.

Activity

  1. added
    bug
    priority:high
    on Aug 29, 2026
  2. self-assigned this
    on Aug 29, 2026
  3. added 9 commits that reference this issue on Oct 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugpriority:high

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions