Repository navigation
Preserve passing receipts across late check checkpoints - #1415
Conversation
Architecture-Review: document which completed receipts a checkpoint may replace. Co-Authored-By: Codex <noreply@openai.com>
There was a problem hiding this comment.
loopzero primary review by claude on 717403809eddedb679d9fc0063f2d514ab7cc5d3, 28.3s: approve (0 critical, 0 important, 2 suggestion)
Settings per native call (launch configuration and CLI claims, not backend attestation):
- Call 1: requested model claude-opus-5-5 (effort medium); CLI-reported model claude-opus-5-5 (effort unknown); configured model claude-opus-5-5 (effort medium)
Native Claude output is retained in the restricted local review receipt.
| validation. Runners cannot select stages or mint receipts. Stage admission | ||
| for reuse. A checkpoint cannot replace a clean pass for the same head and | ||
| settings or satisfy readiness before final worktree validation. Completed | ||
| failures still replace passes. Runners cannot select stages or mint receipts. Stage admission |
There was a problem hiding this comment.
suggestion: Reflow the edited paragraph
The new sentence leaves failures still replace passes. Runners cannot select stages or mint receipts. Stage admission on one line that is much longer than the surrounding ~80-column wrap. Reflow the paragraph so it matches the rest of the file.
|
@Mergifyio queue |
🚫 Left the queue · queue conditions no longer match5 min in the queue, with no time running CI. So far
Reason Pull request #1415 has been dequeued Queue conditions are not satisfied:
To get back in the queue
Times in UTC · dashboard · how the merge queue works |
|
No description provided. |
Architecture-Review: unchanged; preserve both the configured workflow pin and matching-input checkpoint protection. Co-Authored-By: Codex <noreply@openai.com>
|
Mergify dequeued the approved head 7174038 after main introduced a conflict in the check callback. The local resolution at eac98e3 preserves the workflow pin and the checkpoint guard, and all 25 focused tests pass. The integrated tree is 20 test lines over the current cap. Hosted eligibility cannot inherit approval across a conflict resolution, and the current reviewer cannot take that merge in a delta until #1259. The remote branch remains at the approved head. |
Carry the checkpoint preservation rule into the current worktree state writer and exercise the actual check callback. Architecture-Review: unchanged; the existing receipt rule is enforced by the current locked state writer. Co-Authored-By: Codex <noreply@openai.com>
There was a problem hiding this comment.
loopzero delta review by claude on 85ce583f8f0eb1fa7c45fb807aed21962d8b7648, 25.3s: approve (0 critical, 0 important, 2 suggestion)
Settings per native call (launch configuration and CLI claims, not backend attestation):
- Call 1: requested model claude-opus-5-5 (effort medium); CLI-reported model claude-opus-5-5 (effort unknown); configured model claude-opus-5-5 (effort medium)
Native Claude output is retained in the restricted local review receipt.
| import stat | ||
| import subprocess | ||
| from collections.abc import Iterator | ||
| from collections.abc import Callable |
There was a problem hiding this comment.
suggestion: Merge the new Callable import into the existing collections.abc import
The diff adds a second line, from collections.abc import Callable, right below from collections.abc import Iterator. It works, but it is redundant style. cli.py already uses the combined form (from collections.abc import Callable, Iterator). Smallest fix: use one line, from collections.abc import Callable, Iterator.
| @@ -4814,3 +4814,26 @@ def test_pr_marks_legacy_same_head_check_unverified(wt, gh, capsys, refresh): | |||
| draft = json.loads(gh.calls[-1]["--input"])["body"] | |||
| assert "unverified" not in draft | |||
| assert_contains(draft, f"Recorded for `{head[:12]}`\n- `echo ok`: exit 0", "Manual validation evidence.") | |||
There was a problem hiding this comment.
suggestion: Test silently depends on workflow.toml declaring at least two checks
The 'commands differ' step saves replace(passed, results=results[:1]) and then expects the checkpoint to overwrite it. If the test fixture's workflow ever lists only one check, results[:1] equals passed. The checkpoint would then preserve it, and the test would fail with no clear reason. Add assert len(cfg.checks) > 1 at the top of the fake run_checks so the precondition is explicit.
|
@Mergifyio queue |
✅ Merged into
|
|
No description provided. |
Preserve a completed pass when an overlapping check writes a checkpoint
Review
Validation
Recorded for
85ce583f8f0euv run --group dev ruff check src tests: exit 0uv run --group dev tach check: exit 0uv run --python 3.14 python scripts/check_architecture_docs.py: exit 0scripts/size_budget.sh: exit 0uv run --group dev pytest -q: exit 0Context and goal
Closes #1368
Acceptance
Notes
Base
Base: 3c2697f
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.