Skip to content

feat(devtools): skip a complete-corpus run for a verified head - #4509

Merged
Sinity merged 12 commits into
masterfrom
fix/nightly-skips-verified-head
Sep 2, 2026
Merged

Sinity merged 12 commits into
masterfrom
fix/nightly-skips-verified-head

Conversation

@Sinity

@Sinity Sinity commented Sep 1, 2026

Copy link
Copy Markdown
Owner

Summary

devtools verify --all skips itself when the current head and environment digest already have a successful complete-corpus run on a clean tree, recording that run as its evidence. --recompute forces a run.

Problem (evidence)

The nightly verify_all (03:17) ran unconditionally: on an unchanged master it recomputed the whole corpus (hours, 16 GB) for no new fact. .cache/verify/history.jsonl already records every complete run with head, environment digest, and corpus coverage.

Solution

_corpus_already_verified(head, environment) reads the history for a successful all row with matching source_revision, environment_digest, and complete_corpus_covered; on a hit and a clean tree the run finishes with diagnosis corpus_already_verified and covered_by_run naming the prior run. A new head, a changed environment (dependency bump), or a dirty tree runs in full.

Verification

.venv/bin/python -m pytest tests/unit/devtools/test_verify.py -q -p no:randomly -n 4

27 passed; ruff and mypy clean; quick gate at push.

Receipt: session-01YGi8wLWGR2HYBh8p8fXFXz

🤖 Generated with Claude Code

https://claude.ai/code/session_01YGi8wLWGR2HYBh8p8fXFXz

@coderabbitai

coderabbitai Bot commented Sep 1, 2026 •

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Team

Run ID: 5cd20d37-74ad-489d-b2ca-1696be688164


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 1, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-09-02T10:55:44.406704Z a8881cb Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 2578b03edb

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread devtools/verify.py Resolved
Comment thread devtools/verify.py Resolved
Comment thread devtools/verify.py Resolved
Comment thread devtools/verify.py Resolved
Comment thread devtools/verify.py Resolved
@Sinity

Sinity commented Sep 1, 2026

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 66f08ffd38

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread devtools/testmon_bootstrap.py Resolved
Comment thread devtools/verify.py Resolved
Comment thread devtools/verify.py Resolved
Comment thread devtools/verify.py Resolved
Comment thread devtools/verify.py Resolved
@Sinity

Sinity commented Sep 2, 2026

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: d900e69118

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread devtools/verify.py Resolved
Comment thread devtools/verify.py Resolved
Comment thread devtools/verify_runs.py Resolved
Comment thread devtools/testmon_bootstrap.py Resolved
@Sinity

Sinity commented Sep 2, 2026

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: d900e69118

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread devtools/verify.py Resolved
@Sinity

Sinity commented Sep 2, 2026

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: d900e69118

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread devtools/verify.py Resolved
Comment thread devtools/verify.py Resolved
Comment thread devtools/verify.py Resolved
@Sinity

Sinity commented Sep 2, 2026

Copy link
Copy Markdown
Owner Author

@codex review

@Sinity
Sinity force-pushed the fix/nightly-skips-verified-head branch from d900e69 to ace2271 Compare September 2, 2026 00:50

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: ace2271441

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread devtools/verify.py Resolved
Comment thread devtools/verify.py Resolved
@Sinity
Sinity force-pushed the fix/nightly-skips-verified-head branch from ace2271 to 7df8972 Compare September 2, 2026 01:11
@Sinity

Sinity commented Sep 2, 2026

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 7df8972244

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread devtools/verify.py Resolved
@Sinity

Sinity commented Sep 2, 2026

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 7df8972244

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread devtools/verify.py Resolved
Comment thread devtools/verify.py Resolved
@Sinity

Sinity commented Sep 2, 2026

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 5dbfc99b64

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread devtools/verify.py Resolved
Comment thread devtools/verify.py Resolved
@Sinity

Sinity commented Sep 2, 2026

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: b61fa0f80d

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread devtools/verify.py Resolved
Comment thread devtools/verify.py Resolved
@Sinity

Sinity commented Sep 2, 2026

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: b61fa0f80d

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread devtools/verify.py Resolved
Comment thread devtools/verify_runs.py Resolved
Sinity and others added 5 commits September 2, 2026 06:40
The nightly reran the whole corpus on an unchanged master every night. A
complete run on a clean tree whose head and environment digest already have
a successful complete run now records that run as its evidence and exits;
--recompute forces the run. A new head, a moved dependency set, or a dirty
tree still runs in full.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01YGi8wLWGR2HYBh8p8fXFXz
…an newest attempt

- uv.lock and the installed set no longer name the testmon environment: a
  dependency version changes nothing pytest collects, and hashing it
  discarded a complete graph on every dependabot merge. The installed set is
  recorded per run as packages_digest, and the plan's execution inputs
  (worker count, Node toolchain) as plan_digest.
- A complete run is reused only when the newest attempt on the same head,
  environment, packages, and plan succeeded on a clean tree; a prior skip is
  not an attempt; a graph that needs bootstrapping always runs.
- The public receipt names the inherited run (covered_by_run).
- .lane/title and .lane/body.md were tracked despite the ignore rule; they
  are untracked.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01YGi8wLWGR2HYBh8p8fXFXz
…ord package drift

- Reuse requires the source run's starting head to equal its final head.
- The plan digest includes the npm toolchain the js-tests gate depends on.
- Package and plan digests are computed inside the guarded preparation path,
  so malformed distribution metadata is a typed preparation failure.
- Retention excludes skipped complete runs from the successful-detail quota
  and pins any run a receipt names as inherited coverage.
- A dependency version still does not rename the testmon environment;
  drift from the newest complete run's package set is recorded on the
  receipt (packages_drift) and re-traced by the next complete run.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01YGi8wLWGR2HYBh8p8fXFXz
The skip requires the current HEAD to still equal the head it evaluated;
the plan digest includes whether ruff, mypy and dmypy can be launched;
retention pins only the coverage named by the newest max_successful
skips; TESTING.md and the collection contract describe the environment
key as implemented. The successful-retention test now passes its frozen
clock, so its aged failure fixture no longer depends on the wall date.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01YGi8wLWGR2HYBh8p8fXFXz
@Sinity

Sinity commented Sep 2, 2026

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 2a89bba3ef

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread devtools/verify.py Resolved
@Sinity

Sinity commented Sep 2, 2026

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 9ea8858f6d

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread devtools/verify.py Resolved
Comment thread devtools/verify.py Resolved
Comment thread devtools/verify.py Resolved

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 9ea8858f6d

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread devtools/verify.py Resolved
Comment thread devtools/verify.py Resolved
…ples; reuse only the newest run anywhere

The plan digest carries the resolved origin/master commit, the merge
base with it, and the Hypothesis example database listing. A complete
run is reusable only if it is the newest complete attempt at any head,
since a later run rewrote the shared graph. --recompute requires --all.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01YGi8wLWGR2HYBh8p8fXFXz
@Sinity

Sinity commented Sep 2, 2026

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: d4c6eb0758

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread devtools/verify.py Resolved
Sinity added a commit that referenced this pull request Sep 2, 2026
## Summary
`.lane/body.md` and `.lane/title` leave the index; `.gitignore` already
lists `.lane/`.

## Problem
Every merged lane PR rewrote the two tracked files, so every other open
lane branch conflicted with master on them (#4509 rebased four times
tonight, #4513/#4515/#4516/#4520/#4522 all cycled through the rebase
reaction for this alone). The harvest reads the publication text from
the worktree, not from the commit.

## Solution
Untrack the two files. Lane branches that still carry them conflict once
more (delete versus modify) and then never again.

## Verification
```
devtools verify --quick   # exit 0
```

## Residual risk
A lane that force-adds `.lane/` reintroduces the churn for itself only.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

https://claude.ai/code/session_01YGi8wLWGR2HYBh8p8fXFXz

Receipt: session-01YGi8wLWGR2HYBh8p8fXFXz

Co-authored-by: Claude Fable 5.1 <[email protected]>
@Sinity

Sinity commented Sep 2, 2026

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: d4c6eb0758

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread devtools/verify.py Resolved
Comment thread devtools/verify.py Resolved
@Sinity

Sinity commented Sep 2, 2026

Copy link
Copy Markdown
Owner Author

@codex review

… recomputed at the decision

Any mismatch of head, environment, package set or plan on the newest
complete attempt means the graph on disk is not this invocation's, so
the corpus runs. Package and plan digests are recomputed at the skip
decision.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01YGi8wLWGR2HYBh8p8fXFXz
@Sinity

Sinity commented Sep 2, 2026

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: e65d783d4e

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread devtools/verify.py Resolved
Comment thread devtools/verify.py Resolved
Comment thread devtools/verify.py Resolved
Comment thread devtools/testmon_bootstrap.py Resolved
… untracked files; unreadable inputs run

Any traced run since the complete run, at any head, rewrote the shared
graph; the reuse inputs are recomputed inside a guard so unreadable
metadata runs the corpus; git_dirty forces --untracked-files=all.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01YGi8wLWGR2HYBh8p8fXFXz
@Sinity

Sinity commented Sep 2, 2026

Copy link
Copy Markdown
Owner Author

@codex review

@Sinity
Sinity merged commit 18d99e3 into master Sep 2, 2026
2 of 3 checks passed
@Sinity
Sinity deleted the fix/nightly-skips-verified-head branch September 2, 2026 10:50

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: a8881cb347

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread devtools/verify.py Resolved
Comment thread devtools/verify.py Resolved
Sinity added a commit that referenced this pull request Sep 2, 2026
…rules (#4533)

## Summary
`devtools verify` reruns a pytest step's failed tests once, alone and
unselected; a test failing twice is red, one passing on rerun is
recorded as flaky. AGENTS.md gains a `## Code Review Rules` section.

## Problem
The complete corpus run beside six lanes reported 559 failed / 67
errors; `tests/unit/devtools/test_reindex_packets.py` had 76 failures
there and passes 80/80 alone at the same head (run
`20260902T063819Z-all-1443122-d4a9b46d`). Red counts mixed load-induced
flakes with real defects. Hosted review on #4509 reached ten rounds with
findings drifting to environment enumeration; Codex applies `## Code
Review Rules` from AGENTS.md.

## Solution
`_rerun_failed_once`: exact node ids, `-p no:testmon -p no:randomly`,
single process, same managed environment; results patched into the
canonical report (`flaky: true`, `first_outcome`, summary `flaky` count)
so the receipt and evidence evaluation see flakes as passed-with-record.
Capped at 300 node ids. Rules section: findings name a concrete input
and outcome; caches keyed on declared inputs; answered threads are
closed; tests judged by their anti-vacuity condition.

Beads: polylogue-2g55j, polylogue-xulmu.

## Verification
```
devtools test tests/unit/devtools/test_verify.py   # 27 passed (includes test_failed_tests_are_rerun_once_and_flakes_are_named)
devtools verify --quick                             # exit 0
```

## Residual risk
Flaky tests are visible in receipts but not yet filed automatically;
that follow-up stays in the bead.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

https://claude.ai/code/session_01YGi8wLWGR2HYBh8p8fXFXz

Receipt: session-01YGi8wLWGR2HYBh8p8fXFXz

Co-authored-by: Claude Fable 5.1 <[email protected]>
@Sinity

Sinity commented Sep 28, 2026

Copy link
Copy Markdown
Owner Author

Codex review threads on this PR whose cited code is gone (checked against master at 23f91a5):

Resolving these threads.

@Sinity

Sinity commented Sep 29, 2026

Copy link
Copy Markdown
Owner Author

Closing out open Codex review threads on this PR (evidence checked against master at 64a9bd0):

  • P1 devtools/verify.py:533: Stale: The complete-run reuse digest and devtools/verify_js_tests.py no longer exist. _main builds and executes the step plan on every run (devtools/verify.py:1409-1416), and JavaScript checks are the separate webui gate (devtools/gate.py:199-205). (checked at 64a9bd0)

Resolving every thread listed; confirmed defects are fixed under the named bead.

@Sinity

Sinity commented Sep 29, 2026

Copy link
Copy Markdown
Owner Author

Closing out open Codex review threads on this PR (evidence checked against master at bf68918):

  • P2 devtools/verify.py:864: Stale: Nothing in devtools produces covered_by_run any more; it appears only as a field read by retention code in verify_runs.py. A complete run now executes the whole corpus with testmon selection disabled instead of emitting an inherited-coverage skip (devtools/verify.py:278). (checked at bf68918)
  • P2 devtools/verify.py:551: Fixed on master (checked at bf68918): packages_drift and the history scan over packages_digest no longer exist under devtools. Package drift is now judged against the environment key stored in the testmon graph itself (devtools/testmon_provision.py:169-173), so an interrupted --all attempt cannot mask it.
  • P2 devtools/verify.py:649: Stale: verify.py no longer produces corpus_already_verified skips that reuse a prior run's coverage; the diagnosis is only read during retention pruning (devtools/verify_runs.py:1259). (checked at bf68918)
  • P2 devtools/verify.py:658: Stale: The focused runner no longer points TESTMON_DATAFILE at the checkout graph or forwards testmon options; it records only preselection metadata (devtools/run_tests.py:1392), and the full-green reuse check this finding relies on is gone from verify.py. (checked at bf68918)
  • P2 devtools/verify_runs.py:961: Stale: verify.py no longer emits corpus_already_verified skip receipts; the retention code reads that diagnosis only from historical rows (devtools/verify_runs.py:1252-1266). (checked at bf68918)

Resolving every thread listed; confirmed defects are fixed under the named bead.

@Sinity

Sinity commented Sep 29, 2026

Copy link
Copy Markdown
Owner Author

Closing out open Codex review threads on this PR (evidence checked against master at c0dda6f):

  • P2 devtools/testmon_bootstrap.py:52: Stale: devtools/testmon_bootstrap.py was deleted in bc34061 (refactor(devtools): excise self-attesting machinery; testmon as one seed (refactor(devtools): excise self-attesting machinery; testmon as one seed #4551)); the cited code no longer exists at 64a9bd0. (checked at 64a9bd0)
  • P2 devtools/verify.py:796: Stale: installed_packages_digest no longer exists in devtools; environment currency is taken from the devshell dependency-sync marker (devtools/verify.py:1228-1232). (checked at 64a9bd0)
  • P2 devtools/verify.py:972: Fixed on master (checked at 64a9bd0): Skipped runs are excluded from the successful-detail quota and their covered runs are pinned (devtools/verify_runs.py:1252-1280).
  • P2 devtools/verify.py:855: Fixed on master (checked at 64a9bd0): git_dirty now returns True when git status exits nonzero (devtools/verify_runs.py:233-235), so an unreadable status is treated as dirty instead of proven clean.
  • P2 devtools/verify.py:612: Stale: devtools/verify.py no longer produces corpus_already_verified skip receipts or covered_by_run references; only the retention reader in devtools/verify_runs.py:1259 still recognizes historical rows. (checked at 64a9bd0)
  • P2 devtools/verify.py:550: Stale: devtools/consumer_reachability.py and its CONSUMER_REACHABILITY overrides were deleted; the quick tier is now the static gate set (AGENTS.md:159). (checked at 64a9bd0)
  • P2 devtools/verify.py:878: Stale: The --recompute option no longer exists in devtools/verify.py; the parser declares the remaining tiers such as --quick (devtools/verify.py:1257). (checked at 64a9bd0)
  • P2 devtools/verify.py:950: Stale: There is no decision-time installed_packages_digest call anymore; environment currency comes from the devshell sync marker (devtools/verify.py:1231). (checked at 64a9bd0)
  • P2 devtools/verify_runs.py:949: Fixed on master (checked at 64a9bd0): Pins are limited to runs covered by the newest max_successful skips (devtools/verify_runs.py:1266).

Resolving every thread listed; confirmed defects are fixed under the named bead.

@Sinity

Sinity commented Sep 30, 2026

Copy link
Copy Markdown
Owner Author

Historical Codex triage: evidence checked at 5ebcfe5. This records that source revision; it does not claim a fresh review of current master.

Only the rows listed above are dispositioned. Held findings remain open.

@Sinity

Sinity commented Sep 30, 2026

Copy link
Copy Markdown
Owner Author

Historical Codex triage: evidence checked at 5ebcfe5. This records that source revision; it does not claim a fresh review of current master.

  • 56.F001 / P1: stale at the checked revision: The complete-verification history shortcut and its execution-plan digest are absent at the pin. devtools/verify.py:1405 builds the current plan and devtools/verify.py:1465 executes it, so changing npm cannot reuse an earlier whole-plan green through the reported path.
  • 56.F002 / P1: stale at the checked revision: The verifier no longer accepts a historical complete-run receipt in place of execution. devtools/verify.py:1408 supplies the effective requested Hypothesis profile to the newly built plan, which is executed at devtools/verify.py:1465; a reduced-profile green no longer suppresses a later complete invocation.
  • 56.F003 / P1: stale at the checked revision: The reported digest-based whole-plan reuse mechanism has been removed. devtools/verify.py:1405 builds this invocation's verification plan and devtools/verify.py:1465 executes it rather than inheriting success from a JavaScript run with a different worker budget.
  • 56.F004 / P1: stale at the checked revision: There is no retained-green return that skips the complete pytest plan at this pin. devtools/verify.py:1405 builds the plan and devtools/verify.py:1465 executes its steps, so changing the Hypothesis example database cannot cause the reported cached-success bypass.
  • 56.F005 / P1: stale at the checked revision: The plan-identity comparison against an earlier complete green no longer exists. The current route builds and runs its gates at devtools/verify.py:1405 and devtools/verify.py:1465, so advancing a default consumer-reachability base does not skip them via the reported reuse key.
  • 56.F006 / P1: stale at the checked revision: The complete-run reuse key and early historical-success return have been removed. devtools/verify.py:1405 and devtools/verify.py:1465 build and execute the current plan, rather than treating unchanged HEAD as permission to skip gates after origin/master changes.
  • 56.F007 / P1: stale at the checked revision: The verifier no longer returns an earlier full-plan green before constructing the required gates. devtools/verify.py:1405 builds the current plan and devtools/verify.py:1465 runs it, so removal of ast-grep cannot take the reported cached-success route.
  • 56.F008 / P1: stale at the checked revision: The ignored-dependency-state reuse digest is no longer an execution authority. devtools/verify.py:1405 builds and devtools/verify.py:1465 executes the current verification plan; a previous whole-plan receipt no longer bypasses execution after node_modules changes.
  • 56.F009 / P1: stale at the checked revision: The .bin-only digest and its complete-run reuse branch are gone. The invocation now builds and executes its plan at devtools/verify.py:1405 and devtools/verify.py:1465, so corruption elsewhere in an installed JavaScript tree cannot produce the reported inherited green.
  • 56.F010 / P1: stale at the checked revision: Whole-plan success is no longer reused from a provision-stamp digest. devtools/verify.py:1405 constructs the current plan and devtools/verify.py:1465 executes it, removing the reported shortcut after a JavaScript executable is deleted or corrupted.
  • 56.F011 / P1: stale at the checked revision: There is no historical full-green return before build_verify_steps at the pin. devtools/verify.py:1405 constructs the gates for the current invocation and devtools/verify.py:1465 executes them, so a missing Python gate executable cannot be hidden by the reported package-metadata reuse key.
  • 56.F012 / P1: stale at the checked revision: The backwards history search that reused an older complete receipt while ignoring newer affected graph writers has been removed. devtools/verify.py:1405 and devtools/verify.py:1465 build and execute a new complete plan instead of accepting the old H1 green over H2's testmon graph.
  • 56.F013 / P1: stale at the checked revision: The history-search branch that skipped a newer package trace to reuse an older green is absent. devtools/verify.py:1405 and devtools/verify.py:1465 construct and run the current complete plan, so cycling installed packages A-B-A no longer authorizes the reported historical-success shortcut.
  • 56.F014 / P1: stale at the checked revision: The reported reuse of a prior mixed-worktree run no longer exists: a subsequent clean complete invocation builds and executes its own plan at devtools/verify.py:1405 and devtools/verify.py:1465. A prior receipt's initial cleanliness is not used to skip that invocation.
  • 56.F015 / P1: stale at the checked revision: The history-based acceptance of a mixed-revision run as reusable H2 coverage has been removed. The next complete invocation at H2 builds and executes its own plan at devtools/verify.py:1405 and devtools/verify.py:1465 instead of skipping on that earlier receipt.
  • 56.F016 / P1: stale at the checked revision: The testmon-environment-only comparison no longer grants whole-plan reuse. devtools/verify.py:1405 constructs this invocation's plan and devtools/verify.py:1465 executes it, rather than allowing an earlier serial or different-toolchain run to suppress it.
  • 56.F017 / P1: stale at the checked revision: A dirty-tree complete receipt is no longer accepted as a reason to skip a later clean invocation. The complete plan is built at devtools/verify.py:1405 and run at devtools/verify.py:1465; the reported source-receipt cleanliness omission has no remaining reuse consumer.
  • 56.F018 / P1: stale at the checked revision: The retained-green shortcut that bypassed bootstrap has been removed. devtools/verify.py:1405 builds the complete pytest plan and devtools/verify.py:1465 executes it, so an absent or corrupt graph cannot repeatedly divert --all into the reported cached-success return.
  • 56.F019 / P1: stale at the checked revision: The inherited-coverage decision using a previously captured HEAD is absent at the pin. devtools/verify.py:1405 and devtools/verify.py:1465 build and run a new plan; there is no old-head coverage lookup that can return success before executing it.
  • 56.F020 / P1: stale at the checked revision: The package/plan digest capture and later inherited-green decision have been removed. devtools/verify.py:1405 builds and devtools/verify.py:1465 executes the current plan, eliminating the reported race in which changed execution inputs still accepted an older full receipt.
  • 56.F021 / P1: stale at the checked revision: Structural validity of a partial testmon graph no longer authorizes reuse of an older complete green. devtools/verify.py:1405 and devtools/verify.py:1465 build and execute the complete plan rather than skipping it after an interrupted graph rebuild.
  • 56.F022 / P1: stale at the checked revision: Returning to an older HEAD no longer reuses that HEAD's historical full-green receipt. devtools/verify.py:1405 and devtools/verify.py:1465 construct and execute a new complete plan, so the described H1-H2-H1 history shortcut cannot leave H2's graph in place by skipping H1's run.
  • 56.F023 / P1: fixed-already at the checked revision: devtools/verify_runs.py:225 explicitly passes --untracked-files=all to git status. This overrides status.showUntrackedFiles=no, so newly added untracked tests are not hidden from git_dirty by the reported configuration setting.
  • 56.F024 / P1: stale at the checked revision: The successful inherited-coverage return that needed a covered_by_run reference is absent from the verifier. devtools/verify.py:1465 executes the plan and devtools/verify.py:1253 derives complete coverage from this run's successful complete pytest steps rather than an inherited receipt.

Only the rows listed above are dispositioned. Held findings remain open.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant