Skip to content

Keep planned cleanup ahead of primary review - #1948

Merged
mergify[bot] merged 2 commits into
mainfrom
lean178/575-review-head-freeze
Nov 26, 2026
Merged

mergify[bot] merged 2 commits into
mainfrom
lean178/575-review-head-freeze

Conversation

@eowca

@eowca eowca commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

Keep planned cleanup ahead of primary review

Context and goal

  • Goal: Keep an approved pull request eligible by finishing planned edits before primary review and deferring optional follow-ups after approval.
  • Problem: In a 48-hour audit of 154 merged IntelFlo PRs, 39 repeat reviews followed a changed head that already had approval. GitHub comparisons identified 37 ordinary updates, including nine test-only, three Markdown-only and one same-tree update. These changes include legitimate repairs, so the audit does not count all 39 as avoidable.
  • Context: The implementation skill already points to the contract's review budget. It can tell builders when to finish cleanup and when a changed head needs new coverage.

Refs #575

Acceptance

  • The implementation skill tells builders to finish planned test, documentation and generated-file edits before primary review, and defer optional polish after approval.
  • The skill preserves in-scope review suggestions and tells builders to fix newly discovered acceptance failures and obtain coverage for the changed head without changing the review policy.

Notes

  • Based on the r59 IntelFlo review latency audit. Examples of Markdown-only updates followed by a delta are IntelFlo #14521, #14523 and #14630. IntelFlo #14387 had a same-tree update.
  • Guidance only. The CLI and hosted consumers are unchanged.

Base

main @ 4f72fb8

Validation

Recorded for e16080bab847

  • 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

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

Review

  • primary, claude, e16080b, approve

eowca and others added 2 commits November 26, 2026 15:42
Architecture-Review: unchanged; the skill changes edit timing without changing review or readiness policy.
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 e16080bab847631fbca05752fd66747fd7ee3d05, 18.4s: approve (0 critical, 0 important, 1 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.

Keep review suggestions within scope. Finish planned test, documentation and
generated-file edits before primary review.
After approval, defer optional polish to a follow-up. Fix new evidence of an
acceptance failure and get review coverage for the changed head.

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: Changed-head coverage line doesn't say what to do once the review budget is used up

"Fix new evidence of an acceptance failure and get review coverage for the changed head" reads as an instruction to request another review in every case. The Review budget in core/CONTRACT.md:186-205 allows one primary and one ordinary delta, plus a conflict-merge delta only in limited cases. Otherwise it says to "merge with readiness passing or split a head that needs more review." A builder whose delta is already approved could take this line to mean a third review is allowed. The budget link two lines up limits the risk, so this doesn't block the change. Smallest fix: end the sentence with "within the review budget", e.g. "…and get review coverage for the changed head within the review budget." That keeps the review policy unchanged, as the task requires.

@eowca
eowca marked this pull request as ready for review November 26, 2026 14:49
@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 7c9efe2 at 14:59 UTC

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

So far

  • ✅ Entered the queue Thu 26 Nov, 14:52 · rule main · triggered by @eowca with the @mergifyio queue command
  • ✅ Passed · draft #1954
  • ✅ Merged 14:59 · 7c9efe2 · 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

@eowca

eowca commented Nov 26, 2026

Copy link
Copy Markdown
Contributor Author

No description provided.

@mergify
mergify Bot merged commit 7c9efe2 into main Nov 26, 2026
16 checks passed
@mergify mergify Bot removed the queued label Nov 26, 2026
@eowca
eowca deleted the lean178/575-review-head-freeze branch November 26, 2026 14:59
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