Skip to content

docs: sync /uf.rebase-pr command reference (port-uf-rebase-pr) #340

Open

Description

@jflowers

Docs sync — port-uf-rebase-pr

The UF command set gained /uf.rebase-pr in
unbound-force/unbound-force (branch opsx/port-uf-rebase-pr,
change openspec/changes/port-uf-rebase-pr/); website pages
describing the PR review command set need syncing per the
constitution Cross-Repo Documentation rule.

What changed

  • New command /uf.rebase-pr <PR_NUMBER>: rebases a
    conflicted PR's head branch onto its base branch, resolves
    conflicts, and force-pushes with lease so the PR can be
    merged with rebase once approved
  • Six phases — prerequisites, PR fetch/gating, checkout and
    rebase, conflict resolution, push, verify — under nine
    guardrails (no merge/approve/close, never push the base
    branch, remotes resolved never assumed, --force-with-lease
    never --force, conflicts-only edits, no guessing, clean
    backout, gh verification before API calls, determinism)
  • Joins the post-PR command set alongside /uf.review-pr and
    /uf.address-feedback in the PR review lifecycle

Website impact

Any page listing UF slash commands or the PR review workflow
needs the new command row. A conflicted-PR recovery tutorial
is tracked in unbound-force/unbound-force#855.

Context: unbound-force/unbound-force#851.

Metadata

Metadata

Assignees

No one assigned

    Labels

    docs

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions