Skip to content

Check the resolved head after a required base refresh - #1940

Merged
mergify[bot] merged 2 commits into
mainfrom
lean178/1938-check-after-base-refresh
Nov 26, 2026
Merged

mergify[bot] merged 2 commits into
mainfrom
lean178/1938-check-after-base-refresh

Conversation

@eowca

@eowca eowca commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

Closes #1938.

The implement skill now tells builders to confirm the existing review path and finish a required conflict refresh before starting checks for the resolved head. The instruction applies only when the reviewed branch needs that refresh.

Slot tickets 18161, 18842 and 18050 show checks cancelled when a reviewed head was replaced during a base refresh. git diff --check and the size budget pass. Source and test deltas are both zero. The architecture still describes the same review and receipt rules.


Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

Validation

Recorded for b1f475f8d641

  • uv run --group dev ruff check src tests: exit 0
  • uv run --group dev tach check: exit 0
  • uv run --python 3.14 python scripts/check_architecture_docs.py: exit 0
  • scripts/size_budget.sh: exit 0
  • uv run --group dev pytest -q: exit 0

Review

  • primary, claude, b1f475f, approve

eowca and others added 2 commits November 26, 2026 15:33
Architecture-Review: unchanged; skill text clarifies check sequencing under the existing review and receipt rules.
Co-Authored-By: Codex <noreply@openai.com>

@loopzero-feder-positronics loopzero-feder-positronics 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.

loopzero primary review by claude on b1f475f8d6413df21b1f9b3898e57c46008e599f, 34.8s: 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.

Leave base merges out of a branch awaiting its delta.
For base or check-script changes after review, follow the
[Review budget](../../CONTRACT.md#review-budget).
If a reviewed branch needs a conflict refresh, confirm the review path and

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

suggestion: New conflict-refresh rule is not reconciled with "Leave base merges out of a branch awaiting its delta"

Line 62 says to leave base merges out of a branch awaiting its delta. The new sentence on lines 65-66 says a "reviewed branch" with a conflict should merge the base. A branch that has its primary review and is waiting for its delta is a reviewed branch. When that branch conflicts, the two lines give opposite instructions, and the reader has to guess that the conditional sentence overrides line 62. That kind of guessing is how a check gets scheduled on a head that is replaced afterwards, which is the problem in #1938. Smallest fix: make the exception explicit, for example "Leave base merges out of a branch awaiting its delta unless it needs a conflict refresh; then confirm…". Or put the new sentence directly after line 62 and start it with "Exception:".

Leave base merges out of a branch awaiting its delta.
For base or check-script changes after review, follow the
[Review budget](../../CONTRACT.md#review-budget).
If a reviewed branch needs a conflict refresh, confirm the review path and

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

suggestion: "conflict refresh" and "review path" are undefined; the "leave eligible heads alone" part of the acceptance is only implied

The contract uses "base merges containing a conflict" and "modified merges" (CONTRACT.md:204-211). It never says "conflict refresh", and "confirm the review path" does not point the reader to the rule it means. That rule is: one more delta after an approved ordinary delta, or new review coverage after a modified merge. The acceptance criterion "Leave eligible reviewed heads alone" is also only implied by the "if … needs" condition. Consider using the contract's terms and adding a short clause such as "(per Review budget); otherwise leave an eligible reviewed head unchanged." This would also let you drop the separate Review-budget link on lines 63-64.

@eowca
eowca marked this pull request as ready for review November 26, 2026 14:40
@eowca

eowca commented Nov 26, 2026

Copy link
Copy Markdown
Contributor Author

@Mergifyio queue

@mergify

mergify Bot commented Nov 26, 2026 •

Copy link
Copy Markdown

✅ Merged into main as f79325f at 14:47 UTC

6 min in the queue, 4 min of it CI.

So far

  • ✅ Entered the queue Thu 26 Nov, 14:41 · rule main · triggered by @eowca with the @mergifyio queue command
  • ✅ Passed · draft #1949
  • ✅ Merged 14:47 · f79325f · squash
3 merge conditions met
  • github-review-approved · required by GitHub repository ruleset rule main: PR only, Mergify queue, existing checks required
  • any of · required by GitHub repository ruleset rule main: PR only, Mergify queue, existing checks required:
    • check-success = checks
    • check-neutral = checks
    • check-skipped = checks
  • any of · required by GitHub repository ruleset rule main: PR only, Mergify queue, existing checks required:
    • check-success = Loop-zero Eligibility
    • check-neutral = Loop-zero Eligibility
    • check-skipped = Loop-zero Eligibility

Times in UTC · dashboard · how the merge queue works

@mergify mergify Bot added the queued label Nov 26, 2026
@eowca

eowca commented Nov 26, 2026

Copy link
Copy Markdown
Contributor Author

No description provided.

@mergify
mergify Bot merged commit f79325f into main Nov 26, 2026
16 checks passed
@eowca
eowca deleted the lean178/1938-check-after-base-refresh branch November 26, 2026 14:47
@mergify mergify Bot removed the queued label Nov 26, 2026
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.

Check the final head after a required post-review base refresh

1 participant