Skip to content

feat(hooks): add merge-conflict guardrail#269

Merged
azalio merged 1 commit into
mainfrom
fix/256-merge-conflict-discipline
Jun 23, 2026
Merged

feat(hooks): add merge-conflict guardrail#269
azalio merged 1 commit into
mainfrom
fix/256-merge-conflict-discipline

Conversation

@azalio

@azalio azalio commented Jun 23, 2026

Copy link
Copy Markdown
Owner

Summary

  • add MAP conflict-resolution guidance to the workflow-context injector for git merge/rebase preflight and active unmerged indexes
  • detect conflicted paths read-only via git diff --name-only --diff-filter=U -z -- and keep the existing step_state.json gate
  • document the per-file, intent-preserving, test-after-each-batch protocol

Testing

  • uv run pytest tests/test_workflow_context_injector.py -v
  • make check-render
  • make check

Closes #256

🤖 Generated with Claude Code

@azalio azalio merged commit e867518 into main Jun 23, 2026
6 checks passed
@azalio azalio deleted the fix/256-merge-conflict-discipline branch June 23, 2026 10:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Merge-conflict resolution discipline: per-file, intent-preserving, test-after-each-batch

1 participant