Skip to content

Rebase on main before the review and again before merging - #8

Merged
refraction-ray merged 1 commit into
mainfrom
docs/rebase-before-merge
Dec 1, 2026
Merged

refraction-ray merged 1 commit into
mainfrom
docs/rebase-before-merge

Conversation

@refraction-ray

Copy link
Copy Markdown
Member

Docs only. Sets the merge discipline now that several worktrees can be in flight.

  • Merge gate (docs/autonomy.md): the branch must be based on the current origin/main — rebase, --force-with-lease, and CI passing on the rebased head. main now requires branches to be up to date before merging.
  • Conflicts: mechanical resolutions are recorded in the change record; a resolution that changes behavior is a change of its own and gets one more review. The owner is asked only for decisions the hard limits reserve for them.
  • Reproduce workflow (SKILL.md): rebase before requesting the review, again before opening the pull request, and again if main moved while CI ran.
  • Review: a rebase on a newer main is not a new change and does not need another review.

The merge gate now requires the branch to be based on the current
origin/main: rebase, resolve conflicts, force-push with
--force-with-lease, and let CI pass on the rebased head. A conflict
resolution that changes behavior is a new change and gets its own
review; mechanical resolutions are recorded in the change record.
The reproduce workflow rebases before requesting the review and again
before opening the pull request, and repeats the rebase if main moved
while CI ran. A rebase alone does not invalidate the one-round review.
@refraction-ray
refraction-ray merged commit f255a4a into main Dec 1, 2026
1 check passed
@refraction-ray
refraction-ray deleted the docs/rebase-before-merge branch December 1, 2026 09:57
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