Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions core/skills/implement/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ Before the check and draft push for primary review, rebase your own commits onto
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:".

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.

merge the base before starting the check for the resolved head.
Preserve the primary for the delta and the delta for post-review fixes.

Never bypass the sandbox, change the check list or enable `[checks].network` to pass checks.
Expand Down
Loading