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
Evidence (1) — ⭐ canonical anchor
Interpretation history
2026-10-31T22:28:18Z
audience grounding: medium — 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.
Decision trace
- 11-15 10:20expireexpired deterministically: single-evidence seed quiet 14 days (lifecycle)
- 11-01 09:30attention_candidatecreate
- 11-01 09:28groundThis 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
- 11-01 09:28createThe tool addresses a concrete, mechanically checkable reliability gap, though the reported 94% figure and the tool’s effectiveness are not independently established.