Skip to content

docs: sync /uf.finale nine-step flow and base-sync gate (rebase-upstream-before-push) #320

Open

Description

@jflowers

Docs sync — rebase-upstream-before-push

The /uf.finale workflow changed in unbound-force/unbound-force (branch opsx/rebase-upstream-before-push, change openspec/changes/rebase-upstream-before-push/); website pages describing the finale flow need syncing per the constitution Cross-Repo Documentation rule.

What changed

  • /uf.finale is now a nine-step flow with a new step 4 "Sync with Base Branch" between commit and push
  • New uf_finale_base_state plugin tool (uf-finale now registers 9 tools): resolves the PR base branch (upstream else origin, symbolic-ref with main fallback), fetches it, and reports ahead/behind counts
  • When the branch is behind the base, a confirmation gate offers: rebase onto <remote>/<base> (recommended), continue without rebase (PR will be behind), or abort; rebase conflicts abort cleanly via git_rebase_abort and stop
  • After a rebase, the push step uses git_push_force_with_lease when the branch has an upstream (never git push --force)
  • A base-state check failure (fetch or count, e.g. offline) is a soft gate: warn that base freshness or counts are unknown and proceed

Website impact

Any page describing the /uf.finale step sequence, the finale push behavior, or the uf-finale tool set needs the nine-step flow and the base-sync gate.

Activity

  1. self-assigned this
    on Oct 23, 2026
  2. added
    docs
    on Oct 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

docs

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions