Skip to content

refactor(roadmap): fix-checks rebases onto main in its agent phase #6639

Description

@dan-petty

Problem

fix-checks stops when main moved under the pull request (the main-skew stop, #6116). Branch protection needs an up-to-date branch, so the stop only moves the rebase to nobody. The owner decided on 2026-11-21 that the agent phase rebases as a developer does (#3702 comment 7065393209).

Change

The fix-checks agent phase rebases onto the main SHA that prepare records, and settles conflicts with the same code as implement (#3702 part C): git rebase --skip for a commit that changes only archive, spec or generated-docs paths, and git checkout --ours plus regeneration for the generated docs and uv.lock. Delete the main-skew stop.

After a rebase, the base is the main SHA, so publish replaces the whole branch. judge_round and head_moved use the lease of the state file, and the archive stays its own commit.

Acceptance criteria

  • A fix-checks round on a branch that is behind main rebases, fixes the check and pushes with a lease on the judged head.
  • The main-skew stop and its tests are gone.
  • A conflict that the rules do not settle stops the round with the class conflict.

Related

Source

Source: #3702

Alternatives check of 2026-11-21: not-applicable.
Class: refactor, no search.
Tool: none found.

Activity

  1. added
    type/refactor
    source/agent
    scope/roadmap
    status/new
    value/medium
    effort/medium
    on Nov 21, 2026
  2. dan-petty commented on Nov 21, 2026

    @dan-petty
    OwnerAuthor
  3. added
    priority/p2-medium
    on Nov 21, 2026
  4. added
    owner/agent
    status/in-progress
    status/in-review
    and removed
    status/new
    status/in-progress
    on Nov 21, 2026
  5. removed
    status/in-review
    owner/agent
    on Nov 21, 2026
  6. added a commit that references this issue on Nov 21, 2026
  7. devops-cli-service commented on Nov 21, 2026

    @devops-cli-service
    Contributor

    Live since 2026-11-21 23:18 UTC

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    effort/mediumpriority/p2-mediumscope/roadmapsource/agenttype/refactorvalue/medium

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions