refactor(skills): rename resolve-conflicts to resolve-conflicts-jj

- refactor(resolve-conflicts-jj): move dir, update name frontmatter and H1
- refactor(resolve-conflicts-jj): description routes plain git repos to
  resolve-conflicts-git, mirroring the reverse pointer
- docs: update references in resolve-conflicts-git, setup-git-guardrails,
  steer routing table, call-charon crossing-format, README, OKF/ROADMAP
This commit is contained in:
Łukasz Boryń 2026-07-20 01:49:37 +02:00
parent 0a81ac6691
commit 39692758ed
7 changed files with 13 additions and 13 deletions

View File

@ -54,15 +54,15 @@ See [ARCHITECTURE.md](ARCHITECTURE.md); loop diagram in `README.md`.
blueprint end-to-end with pasted Verify output. ✅ verified 2026-07-19 blueprint end-to-end with pasted Verify output. ✅ verified 2026-07-19
(ferries/python-siblings D-1..D-3; scratch weave run, Verify "OK"). (ferries/python-siblings D-1..D-3; scratch weave run, Verify "OK").
4. **Upstream pulls** — tautological-test + pre-agreed seams into bdd; 4. **Upstream pulls** — tautological-test + pre-agreed seams into bdd;
handoff redaction/reference rules; resolve-conflicts (jj port). handoff redaction/reference rules; resolve-conflicts-jj (jj port).
**Verify:** resolve-conflicts replayed on a synthetic two-sided **Verify:** resolve-conflicts-jj replayed on a synthetic two-sided
conflict; house caps hold. ✅ verified 2026-07-19 (rc-test replay, conflict; house caps hold. ✅ verified 2026-07-19 (rc-test replay,
both intents merged, chain clean; bdd at 110). both intents merged, chain clean; bdd at 110).
5. **Invocation audit + steer** — disable-model-invocation on 5. **Invocation audit + steer** — disable-model-invocation on
orchestrators/rituals; steer router; conjure imperative-verb orchestrators/rituals; steer router; conjure imperative-verb
enforcement; README regen. **Verify:** fresh session lists only the enforcement; README regen. **Verify:** fresh session lists only the
~~8~~ 11 model-invoked descriptions (superseded: spawn-cavecrew, ~~8~~ 11 model-invoked descriptions (superseded: spawn-cavecrew,
review-blueprint, resolve-conflicts must fire from natural phrasing); review-blueprint, resolve-conflicts-jj must fire from natural phrasing);
steer names every skill; conjure rejects a noun-first name. steer names every skill; conjure rejects a noun-first name.
✅ verified 2026-07-19 (16 flagged / 11 model-invoked by grep; steer ✅ verified 2026-07-19 (16 flagged / 11 model-invoked by grep; steer
table covers all 34; conjure gather+review reject noun-first). table covers all 34; conjure gather+review reject noun-first).

View File

@ -74,7 +74,7 @@ All loop skills are user-invoked (`disable-model-invocation: true`).
- **conjure-a-skill** — meta-skill that scaffolds new skills consistently. - **conjure-a-skill** — meta-skill that scaffolds new skills consistently.
- **write-handoff** — produce a structured handoff doc for a fresh session. - **write-handoff** — produce a structured handoff doc for a fresh session.
- **grill-me** — Socratic loop to remove ambiguity before implementing. - **grill-me** — Socratic loop to remove ambiguity before implementing.
- **resolve-conflicts** — jj conflict discipline: topology first, both - **resolve-conflicts-jj** — jj conflict discipline: topology first, both
intents preserved, headless-safe squash. intents preserved, headless-safe squash.
- **talk-caveman** — terse-mode: no preamble, no summaries, code + one-line why. - **talk-caveman** — terse-mode: no preamble, no summaries, code + one-line why.
- **spawn-cavecrew** — how to invoke the plugin `caveman:cavecrew-*` agents - **spawn-cavecrew** — how to invoke the plugin `caveman:cavecrew-*` agents

View File

@ -101,7 +101,7 @@ Re-run `<Verify command>` after fixes; paste output.
`jj squash --from charon-NNN@ --into <dest>` (or `jj rebase`), then `jj squash --from charon-NNN@ --into <dest>` (or `jj rebase`), then
`jj workspace forget charon-NNN` and remove the dir. Parallel `jj workspace forget charon-NNN` and remove the dir. Parallel
builders → run `jj workspace update-stale` in the main workspace builders → run `jj workspace update-stale` in the main workspace
first. Conflicts → resolve-conflicts skill. first. Conflicts → resolve-conflicts-jj skill.
- **git**: merge the builder's worktree branch into the mainline, then - **git**: merge the builder's worktree branch into the mainline, then
`git worktree remove` it. Conflicts → resolve-conflicts-git skill. `git worktree remove` it. Conflicts → resolve-conflicts-git skill.
- Either mode: run the blueprint's Verify in the **main workspace - Either mode: run the blueprint's Verify in the **main workspace

View File

@ -34,7 +34,7 @@ write-OKF → architect → blueprint → ferry → weave → review+verify →
| plan needs stress-testing against the codebase | `/grill-with-docs` | | plan needs stress-testing against the codebase | `/grill-with-docs` |
| build test-first (fires on "tdd"/"bdd" too) | `/bdd` | | build test-first (fires on "tdd"/"bdd" too) | `/bdd` |
| non-obvious bug, flake, regression, perf issue | `/diagnose` | | non-obvious bug, flake, regression, perf issue | `/diagnose` |
| jj conflict markers on screen | `/resolve-conflicts` | | jj conflict markers on screen | `/resolve-conflicts-jj` |
| committing; splitting mixed changes | `/commit-atomic-jj` | | committing; splitting mixed changes | `/commit-atomic-jj` |
| post-green review — correctness angles | `/review-angles` | | post-green review — correctness angles | `/review-angles` |
| post-green review — diff vs its blueprint | `/review-blueprint` | | post-green review — diff vs its blueprint | `/review-blueprint` |

View File

@ -1,11 +1,11 @@
--- ---
name: resolve-conflicts-git name: resolve-conflicts-git
description: Resolve git merge/rebase conflicts by intent, not by picking sides — check topology first (phantom conflicts from wrong rebase bases), read both parents' purpose via git show :1:/:2:/:3: and zdiff3 markers, merge meanings, continue with editor guarded. Use when the user says "resolve the conflict", "fix the conflict", git reports "CONFLICT", or a merge/rebase stopped with unmerged paths, in a repo where `[ -d .jj ]` fails. jj repos → resolve-conflicts. description: Resolve git merge/rebase conflicts by intent, not by picking sides — check topology first (phantom conflicts from wrong rebase bases), read both parents' purpose via git show :1:/:2:/:3: and zdiff3 markers, merge meanings, continue with editor guarded. Use when the user says "resolve the conflict", "fix the conflict", git reports "CONFLICT", or a merge/rebase stopped with unmerged paths, in a repo where `[ -d .jj ]` fails. jj repos → resolve-conflicts-jj.
--- ---
# resolve-conflicts-git # resolve-conflicts-git
git-native counterpart of [resolve-conflicts](../resolve-conflicts/SKILL.md). git-native counterpart of [resolve-conflicts-jj](../resolve-conflicts-jj/SKILL.md).
Unlike jj, git conflicts are **mid-operation limbo** — `MERGE_HEAD` or a Unlike jj, git conflicts are **mid-operation limbo** — `MERGE_HEAD` or a
paused rebase holds the repo until you continue or abort. The limbo is paused rebase holds the repo until you continue or abort. The limbo is
still not an emergency: `--abort` is a clean reset to before the still not an emergency: `--abort` is a clean reset to before the
@ -80,7 +80,7 @@ under abort-pressure.
`grep -rn '<<<<<<<' .` before continuing. `grep -rn '<<<<<<<' .` before continuing.
## See also ## See also
- [../resolve-conflicts/SKILL.md](../resolve-conflicts/SKILL.md) — jj - [../resolve-conflicts-jj/SKILL.md](../resolve-conflicts-jj/SKILL.md) — jj
counterpart; topology-first rule and real-world phantom-conflict case counterpart; topology-first rule and real-world phantom-conflict case
(`OKF/LEARNINGS.md`) apply verbatim. (`OKF/LEARNINGS.md`) apply verbatim.
- [../commit-atomic-git/SKILL.md](../commit-atomic-git/SKILL.md) — - [../commit-atomic-git/SKILL.md](../commit-atomic-git/SKILL.md) —

View File

@ -1,9 +1,9 @@
--- ---
name: resolve-conflicts name: resolve-conflicts-jj
description: Resolve jj conflicts by intent, not by picking sides — check topology first (phantom conflicts from wrong rebase roots), read both parents' purpose, merge meanings, squash with the destination message. Use when the user says "resolve the conflict", "fix the conflict", jj shows (conflict) markers, or a rebase left conflicted commits. description: Resolve jj conflicts by intent, not by picking sides — check topology first (phantom conflicts from wrong rebase roots), read both parents' purpose, merge meanings, squash with the destination message. Use when the user says "resolve the conflict", "fix the conflict", jj shows (conflict) markers, or a rebase left conflicted commits. Plain git repos (no .jj) → resolve-conflicts-git.
--- ---
# resolve-conflicts # resolve-conflicts-jj
jj-native port of mattpocock/skills `resolving-merge-conflicts`. In jj, jj-native port of mattpocock/skills `resolving-merge-conflicts`. In jj,
conflicts are **first-class committed objects** — no mid-merge limbo, no conflicts are **first-class committed objects** — no mid-merge limbo, no

View File

@ -15,7 +15,7 @@ is enforced by the harness on every Bash call. This installs the hook.
`grep "git push"` also matches `jj git push`, which would break every `grep "git push"` also matches `jj git push`, which would break every
jj flow (commit-atomic-jj, call-charon). Only *force* pushes block. jj flow (commit-atomic-jj, call-charon). Only *force* pushes block.
- **`--force-with-lease` allowed** — the sanctioned force path when a - **`--force-with-lease` allowed** — the sanctioned force path when a
force-push is the agreed plan (resolve-conflicts' immutable rule). force-push is the agreed plan (resolve-conflicts-jj's immutable rule).
- **Short `-f` force and `clean -df`-style flag combos caught** — - **Short `-f` force and `clean -df`-style flag combos caught** —
upstream missed both. upstream missed both.
- jj mutations are not blocked: jj's op log makes them recoverable - jj mutations are not blocked: jj's op log makes them recoverable