pr-conflict-resolver

Resolves git merge conflicts on pull requests in multi-lane governance repositories.

Updated Jun 20, 2026
One-click install
npx skills add https://github.com/Noetfield-Systems/SourceA --skill pr-conflict-resolver-noetfield-systems
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pr-conflict-resolver
Source: https://github.com/Noetfield-Systems/SourceA/tree/main/.cursor/skills/pr-conflict-resolver
Command: npx skills add https://github.com/Noetfield-Systems/SourceA --skill pr-conflict-resolver-noetfield-systems

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Pull requests in lane-based governance repositories often fail to merge when two lanes edit the same registry or ledger file, or when a branch falls behind main and cannot fast-forward. This Skill provides a governed, mandatory procedure for resolving those git merge conflicts safely. ## Core Features & Use Cases - Guided conflict resolution: Resolve conflicting files on pull requests in the sina-governance-SSOT system and compatible venture repos (SourceA, TrustField, NOOS, Noetfield website). - Mandatory first-check gate: On SourceA, run the pr_conflict_resolver_first_check_v1.py script with --ack before resolving, enforced by machine law. - Validation workflow: Verify the resolution with the validate-pr-conflict-resolver-mandatory-v1.sh script and review results in the PR-Conflict-Resolver-Report app. - Use Case: Two agents edited the same JSON registry file and your branch will not merge; invoke this Skill to follow the canonical SSOT procedure and clear the conflict. ## Quick Start Ask the assistant to resolve the merge conflict on your pull request by following the canonical SG skill and running the mandatory first-check script before merging main into your branch.

Frequently Asked Questions about pr-conflict-resolver

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I resolve a git merge conflict on a pull request?

Follow the canonical SG skill procedure: run the first-check script with --wire and --ack flags, merge main into your branch, resolve conflicting files according to lane ownership rules, then validate with the provided shell script before pushing.

What should I do when two agents edited the same JSON registry file?

Treat it as a lane conflict under the governance law. Identify which lane owns the registry or ledger file, apply that lane's changes as authoritative, and reconcile the other lane's edits before re-running validation.

Why won't my branch merge even after fixing conflicts?

The branch is likely behind main and cannot fast-forward, or the mandatory first-check gate was not acknowledged. Merge main into your branch first and run pr_conflict_resolver_first_check_v1.py --ack --json before attempting the merge again.

Is the first-check script required on every repository?

No, the machine gate is mandatory only on SourceA, enforced by PR_CONFLICT_RESOLVER_MANDATORY_LOCKED_v1.md. Other compatible repos like TrustField, NOOS, and Noetfield follow the same lane law but without the hard gate.

What access does this conflict resolution workflow require?

It requires read access to the repo's AGENTS.md, the PARALLEL_AUTOMATION_GOVERNANCE document, and the github_automation_registry JSON for lane context, plus the git CLI for merge operations.