feat(#188): add merge-conflict-first ordering to fix agent#208
feat(#188): add merge-conflict-first ordering to fix agent#208fullsend-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 step 3b with procedural commands for detecting divergence, merging the base branch, resolving conflicts, and verifying the merge Closes #188
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. |
ReviewFindingsMedium
Low
Previous runReviewFindingsMedium
Low
Previous run (2)Review — commentThe PR correctly implements the merge-conflict-first ordering requested in #188. The architectural split between the agent definition (behavioral rule with rationale) and the skill procedure (step-by-step commands) follows established project patterns. Style, documentation currency, and security all check out clean. Two medium-severity consistency issues are worth addressing before or after merge. Findings1. Cross-document inconsistency on implicit merge trigger scope ·
|
|
/fs-review |
|
/fs-fix |
- Add scan-secrets call before merge commit (api-contract) - Update agent description for merge conflicts (scope-exceeded) - Wrap conflict resolution sub-steps in conditional (edge-case) - Add progress marker for merge conflict check (consistency) - Remove novel "Steps:" heading label (pattern-inconsistency) - Rename step 3b heading to standalone section (naming) Addresses review feedback on #208
🔧 Fix agent — iteration 1 (human-triggered)Addressed 6 of 7 review findings. Fixed: missing scan-secrets before merge commit, updated agent description for expanded responsibility, added conditional branching for clean merges, added progress marker, removed novel heading style, fixed step numbering. Disagreed with 1 finding (disallowedTools asymmetry is intentional by design). Fixed (6):
Disagreed (1):
Tests: passed Updated by fullsend fix agent |
| ### Resolve merge conflicts (conditional — after step 3) | ||
|
|
||
| ```bash | ||
| echo "::notice::Merge conflict check" |
There was a problem hiding this comment.
[low] naming-consistency
The progress marker '::notice::Merge conflict check' doesn't follow the 'STEP N: title' convention used by all other progress markers in this file.
Suggested fix: Use '::notice::STEP 3b: Merge conflict resolution'.
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
commands for detecting divergence, merging the base branch,
resolving conflicts, and verifying the merge
Closes #188
Post-script verification
agent/188-fix-merge-conflict-ordering)f96750babbed5ada406a9ae04e8068449701d9c7..HEAD)