Repository navigation
Open
1 / 11 of 1 issue completedOpen
1 / 11 of 1 issue completed
Copy link
Labels
effort/mediumEffort Mediumowner/agentOwner Agent: an agentic coder works on the itempriority/p2-mediumPriority P2: standard workscope/roadmapThe roadmap jobs: intake, refine, stage, implement and the Service that runs themsource/agentFiled by an agentstatus/newStatus New: the item is not ready yettype/refactorType refactor: a new structure, same behaviorvalue/mediumValue Medium
Description
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,agentandpublishphases, 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
- fix-conflict uses the phase code of feat(roadmap): run implement and fix-checks as prepare/agent/publish phases #3702 part C, and its own network git code is gone.
- A conflict in a source file is settled by the model step in the agent phase, which has no GitHub credential.
- A conflict that the model does not settle stops the round with the class
conflictand pushes nothing.
Related
- feat(roadmap): run implement and fix-checks as prepare/agent/publish phases #3702 part C, fix(roadmap): fix-conflict runs its fixers only in a runner Job #6618 and fix(roadmap): fix-conflict runs its fixers only in a runner Job #6620 (fix-conflict runs only in a runner Job), fix(roadmap): fix-conflict stops on almost every uv.lock conflict #6623 (the release path rule).
Source
Source: #3702
Alternatives check of 2026-11-21: not-applicable.
Class: refactor, no search.
Tool: none found.
Sub-issues
Collapse Sub-issuesSub-issues
Loading 1 sub-issues
Metadata
Metadata
Assignees
Labels
effort/mediumEffort Mediumowner/agentOwner Agent: an agentic coder works on the itempriority/p2-mediumPriority P2: standard workscope/roadmapThe roadmap jobs: intake, refine, stage, implement and the Service that runs themsource/agentFiled by an agentstatus/newStatus New: the item is not ready yettype/refactorType refactor: a new structure, same behaviorvalue/mediumValue Medium
Activity
dan-petty commentedon Nov 21, 2026
Both work on fix-conflict's clone and fetch code, but #6618 fixes the shallow-clone bug in place while the candidate deletes that code and uses shared phases.dan-petty commentedon Nov 21, 2026
A case for this item, found in the review of #6620. Today
OriginGit.pushupdates the remote-tracking ref in the clone withgit update-ref --stdinafter 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 areference-transactionhook that refuses the update. The round then reportsstoppedand resets the clone, although the remote already holds the new head.When fix-conflict runs on the phases,
publishpushes 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.feat(roadmap): run implement as prepare, agent and publish phases (#6670