implement-issue: resolve merge conflicts section by section, test before committing the merge #35
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "dario/skill-merge-hunks"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Adds rules for resolving merge conflicts to step 1.4 of the
implement-issueskill (continuing an existing pull request):<<<<<<<to>>>>>>>); never write a conflicted file out as a whole.git diff --checkis clean and the tests pass.git checkout -m <file>orgit merge --abort, never change the default branch's code or tests to fit.Evidence
Interactive run
20261120-103812-implement-issue-dario-factory-27-a03618(OpenCode,mlx-community/Qwen3-Coder-Next-6bit), continuing PR #28 for #27, onmainat4ba5369:git merge origin/mainreported conflicts indocs/developing-the-factory.mdandinternal/dispatch/dispatch.go.writetool (dispatch.go: 39.2 KB written, 41.5 KB onmain), dropping changes frommain(Outcome.Conflicts, the conflict check,Interactiveinprompts.Data), and committed the merge (95bf2b6) without running the tests.go vetand the tests then failed on code frommain. The model re-addedmain's code piece by piece and changed a test frommain(TestContinuedPRConflictsAreReported) to make it pass, then went in circles (the same 30 lines read three times, a context compaction mid-debugging) and ended without a result after 136 messages. Nothing was pushed.The session itself is not attached: it is in the run's directory in the
factory-devsandbox.just checkpasses.🤖 Generated with Claude Code