feat(#244): add merge-conflict-first ordering to fix agent#266
feat(#244): add merge-conflict-first ordering to fix agent#266fullsend-ai-coder[bot] wants to merge 2 commits into
Conversation
When a /fs-fix instruction includes merge conflict resolution, the fix agent now resolves the merge before making any other code changes. This prevents redundant fix iterations caused by stale-branch conflicts. Changes: - agents/fix.md: new Task ordering section establishing the behavioral rule and its rationale - skills/fix-review/SKILL.md: new conditional step after step 3 with procedural commands for detecting divergence, merging the base branch, resolving conflicts, and verifying the merge Closes #244
E2E tests did not runE2E tests run automatically for org/repo members and collaborators on pull requests. For other contributors, a maintainer must add the See E2E testing guide for details. |
|
🤖 Finished Review · ❌ Failure · Started 12:58 PM UTC · Completed 12:58 PM UTC |
|
/fs-review |
|
🤖 Finished Review · ✅ Success · Started 3:57 PM UTC · Completed 4:08 PM UTC |
Review — commentWell-scoped change that directly addresses the incident described in #244. The split between behavioral guidance in Findings1. Contradictory merge-skip logic when
|
|
/fs-fix |
|
🤖 Finished Fix · ✅ Success · Started 5:38 PM UTC · Completed 5:47 PM UTC |
- Add protected-path guidance to merge conflict resolution procedure: accept base branch version for protected-path files to prevent post-fix.sh from discarding the entire run - Align skill procedure with agent definition: always merge when branch is behind (BEHIND > 0), not only when conflicts exist - Sanitize BASE_BRANCH in echo output to prevent GHA workflow command injection via :: sequences in branch names Addresses review feedback on #266
🔧 Fix agent — iteration 1 (human-triggered)Addressed all 3 review findings (1 medium, 2 low). Added protected-path awareness to merge procedure, aligned behind-branch handling between agent definition and skill, and sanitized branch name in echo output. Fixed (3):
Tests: passed Updated by fullsend fix agent |
|
🤖 Finished Review · ✅ Success · Started 5:50 PM UTC · Completed 6:01 PM UTC |
When a /fs-fix instruction includes merge conflict resolution, the fix agent now resolves the merge before making any other code changes. This prevents redundant fix iterations caused by stale-branch conflicts.
Changes:
behavioral rule and its rationale
with procedural commands for detecting divergence, merging the
base branch, resolving conflicts, and verifying the merge
Closes #244
Post-script verification
agent/244-fix-merge-conflict-ordering)c776c248ac9a91f10998ca7107e974a6c9d76514..HEAD)