Repository navigation
Clarify rebase conflict repair prompts - #321
Jhacarreiro wants to merge 1 commit into
Conversation
|
Codex review: needs real behavior proof before merge. Reviewed June 18, 2026, 5:04 PM ET / 21:04 UTC. Summary Reproducibility: yes. for the review finding: source inspection shows production Review metrics: 1 noteworthy metric.
Merge readiness Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch. Rank-up moves:
Proof guidance:
Risk before merge
Maintainer options:
Next step before merge
Security Review findings
Review detailsBest possible solution: Keep the conflict-first prompt direction, but plumb actual unmerged paths from the rebase path into the prompt and add redacted real output proof before merge. Do we have a high-confidence way to reproduce the issue? Yes for the review finding: source inspection shows production Is this the best way to solve the issue? No, not yet; the conflict-first wording is narrow, but the path-list part should be solved by passing or storing actual unmerged paths rather than relying on a field no production caller sets. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against a6ee02e323c1. Label changesLabel changes:
Label justifications:
Evidence reviewedWhat I checked:
Likely related people:
What the crustacean ranks mean
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics. How this review workflow works
|
Validation evidenceLocal validation run against this branch: Result: Behavior covered by the updated regression test: The test now verifies that conflicted rebase prompts include: This is a prompt-only hardening change. It does not alter the repair executor state machine. |
|
Closing as superseded by current I checked the current main implementation after rebasing this branch, and the conflict-first prompt behavior is already present there: The rebase conflict on this PR is therefore a duplicate test/context conflict, not a missing behavior. Keeping this PR open would only duplicate current-main behavior. |
|
Closed as superseded by current main; the conflict-first prompt behavior is already implemented there. |
Summary
Make repair prompts more explicit when a deterministic pre-edit rebase reports conflicts.
Instead of a single generic sentence, the prompt now enters a conflict-first mode that tells the editor to resolve the active rebase conflicts before broadening the repair patch.
Changes
Validation
corepack pnpm run build:repairnode --test dist/repair/fix-prompt-builder.test.js