Skip to content

refactor(roadmap): run fix-conflict on the phases with a model fix #6640

Open
1 of 1 issue completed
Open

Description

@dan-petty

Problem

fix-conflict has its own clone, fetch and push code. After #3702 part C, implement and fix-checks share one plain flow: prepare clones and records the main SHA and the lease, the agent phase rebases and settles conflicts, and publish applies the patch and pushes with a lease. The owner decided on 2026-11-21 that conflicts are settled as a developer does: archive skip, --ours plus regeneration for the generated docs and uv.lock, and the model for the rest (#3702 comment 7065393209). No step has the model part yet.

Change

  • Run fix-conflict on the prepare, agent and publish phases, and delete its own clone, fetch and push code.
  • Add one shared step that settles the conflicts that the rules do not settle: the model gets the conflicted files, both sides and the plan scope, and continues the rebase. implement and fix-checks use the same step.

Acceptance criteria

Related

Source

Source: #3702

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

Sub-issues

Sub-issues

1 of 1 Issues completed
Loading 1 sub-issues

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. dan-petty commented on Nov 21, 2026

    @dan-petty
    OwnerAuthor

    A case for this item, found in the review of #6620. Today OriginGit.push updates the remote-tracking ref in the clone with git update-ref --stdin after the remote accepts the push. The hooks of the clone stay on for that call. Tier 1 runs code of the pull request in the clone, and that code can write a reference-transaction hook that refuses the update. The round then reports stopped and resets the clone, although the remote already holds the new head.

    When fix-conflict runs on the phases, publish pushes from a new repository that no code of the pull request has touched, and this case goes away. A test of this item should show that a hook written by tier 1 does not change the result of a pushed round.

  5. added
    owner/agent
    on Nov 21, 2026
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/mediumowner/agentpriority/p2-mediumscope/roadmapsource/agentstatus/newtype/refactorvalue/medium

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions