2026-11-27 16:42 UTC

Beta tool checks whether Codex test claims are stale

state: expiredheat: lowuncertainty: mediumrelevance: mediumcoding-agent-reliability test-verification

What is this?

Agent-polygraph is a beta, MIT-licensed local tool described by its creator in a Reddit post. It reads Codex session logs to check whether a claimed passing test run happened after the most recent code edit; it can also act as an approved Codex Stop hook, and the post says it can read Claude Code logs. The creator reports results from three months of personal Codex sessions: 274 pass claims, including 15 made after later edits, one made after a failing run, and 15 the tool could not classify. These are the author’s figures, not independently verified results. The post says detection is heuristic and invites corrections. Search results offer general context about agent logs and hooks but no independent confirmation of this project or its reported accuracy.

Why it matters

This is a practical verification layer for a consequential weakness in AI coding workflows: a genuine green test result can become stale after subsequent edits, while a polished summary still presents it as current. If it works reliably, the local audit and hook could make validation claims easier to check and prompt agents to rerun tests before finishing. The evidence is an early creator report, so its measured rate and effectiveness should not be generalized.

Current assessment

New: the creator presents agent-polygraph as a local, no-API-key, zero-dependency tool that audits Codex session command logs against later code edits, and optionally blocks a final pass claim when the session cannot support it. The Reddit post says it inspects exit codes and full command output, reports receipts, stays quiet when uncertain, and can flag weakened tests and repeated unchanged failures. Its author reports 243 of 274 pass claims backed by a fresh passing run, 15 after code changes, one after a failing run, and 15 indeterminate across personal sessions; the post’s “94%” is the author’s characterization, not an independent benchmark. The source describes beta heuristic detection, Codex hook approval requirements, and Claude Code log support. No linked primary repository content or independent validation is supplied here, so installation details, compatibility, false-positive rates, and broader performance remain unconfirmed. The key implication is modest but useful: session-log checks may add an auditable guardrail against stale validation claims without requiring new model access, but a fresh run still does not establish that tests adequately cover the changes.

Measured heat

no measured readings yet — the hourly heat pass fills this in

How the heat travelled

10-31 20:05⭐ origin directly observedCodex's "all tests pass" is right 94% of the time. Here's how to catch the other 6%.
-ele- on r/codex
—
10-31 20:05amplified on r/codex 👑reddit.post.1xkjzbf
-ele-
peak 0 · 3 comments · 104% of case engagement
10-31 22:24our radar first saw it · +2.3hdiscovery anchor: reddit.post.1xkjzbf—

Evidence (1) — ⭐ canonical anchor

sourceobjectauthorscorecomments
🟠 reddit ⭐Codex's "all tests pass" is right 94% of the time. Here's how to catch the other 6%.
codex
-ele-03

Interpretation history

Decision trace