@hashgraph-online/resolve-merge
AResolve an active merge or rebase conflict, including safe renumbering of colliding plans and chronicles.
Install
agr install @hashgraph-online/resolve-merge --target claudeWrites 1 file into .claude/skills/, pinned to git-770de497.
- .claude/skills/resolve-merge/SKILL.md
Document
name: resolve-merge description: "Resolve an active merge or rebase conflict, including safe renumbering of colliding plans and chronicles." user-invocable: true allowed-tools: Glob, Grep, Read, Bash, Edit, Write, AskUserQuestion
Resolve Merge Conflicts
- Verify
MERGE_HEADorREBASE_HEAD; otherwise stop withNo merge in progress. - Before any write, list conflicts and classify each as AUTO or JUDGMENT.
- AUTO requires mechanical proof; default to JUDGMENT. AUTO cases:
- Sides byte-identical (
git show :2:<f>vs:3:<f>) or differing only in whitespace/EOL → take either. - AU →
git add, butgit rmif its slug already exists in theirs at another number (duplicate). - Lock file → checkout one side, regenerate via the package manager.
CHANGELOG.md→ merge unique entries, dedupe, keep category order.
- Sides byte-identical (
- For numbered plans/chronicles, keep THEIRS numbers. Renumber colliding OURS-only files from the next free number without gaps or duplicates; fix self, research, and cross-references.
- Show every conflict with file, code, action, and classification. Ask once: Approve / Modify / Abort. Abort writes nothing.
- Apply approved AUTO actions; report only counts and failures.
- For each JUDGMENT file, show exact OURS and THEIRS hunks plus the proposed merge. Ask Approve / Edit / Skip; Skip leaves it conflicted.
- A file failure stays conflicted and goes under
Skipped; continue with others. - Verify no tracked conflict markers, valid numbering and references when relevant, and known build/lint checks.
- Report
N resolved: X AUTO, Y JUDGMENT; Skipped: …, then hand off to/commitwithout committing. Stop on failed checks.
On Codex, translate gates with codex-tools.md.
Trustgrade A
- passBody integrity
Whether the stored document is plausibly the kind of file the artifact declares, rather than something fetched by mistake.
- passType matchnot applicable to this artifact type
Whether the artifact is really the kind of thing its metadata claims it is.
- passFreshness
How long since the source repository was last pushed to.
- passPrompt injection
Scans the artifact's own text for instructions aimed at your agent rather than at you.
- passLicense
Whether the source repository declares an SPDX license permissive enough to redistribute.
How the grade is calculated
Each check contributes 0 points when it passes, 1 when it warns, and 2 when it fails. The total maps to a letter:
- Aevery check passed
- Bone warning
- Ctwo warnings
- Dprompt injection or body integrity failed, or three warnings
- Fone of those failed, and something else is wrong
These are automated hygiene checks, not a security audit, and not a dependency or vulnerability scan. A grade of A means nothing was flagged — not that the artifact is safe.
Versions
git-770de497f7bc2026-07-31