diff --git a/OKF/ROADMAP.md b/OKF/ROADMAP.md index d1c11db..7fb15d8 100644 --- a/OKF/ROADMAP.md +++ b/OKF/ROADMAP.md @@ -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 (ferries/python-siblings D-1..D-3; scratch weave run, Verify "OK"). 4. **Upstream pulls** — tautological-test + pre-agreed seams into bdd; - handoff redaction/reference rules; resolve-conflicts (jj port). - **Verify:** resolve-conflicts replayed on a synthetic two-sided + handoff redaction/reference rules; resolve-conflicts-jj (jj port). + **Verify:** resolve-conflicts-jj replayed on a synthetic two-sided conflict; house caps hold. ✅ verified 2026-07-19 (rc-test replay, both intents merged, chain clean; bdd at 110). 5. **Invocation audit + steer** — disable-model-invocation on orchestrators/rituals; steer router; conjure imperative-verb enforcement; README regen. **Verify:** fresh session lists only the ~~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. ✅ verified 2026-07-19 (16 flagged / 11 model-invoked by grep; steer table covers all 34; conjure gather+review reject noun-first). diff --git a/README.md b/README.md index 48988e2..4471444 100644 --- a/README.md +++ b/README.md @@ -74,7 +74,7 @@ All loop skills are user-invoked (`disable-model-invocation: true`). - **conjure-a-skill** — meta-skill that scaffolds new skills consistently. - **write-handoff** — produce a structured handoff doc for a fresh session. - **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. - **talk-caveman** — terse-mode: no preamble, no summaries, code + one-line why. - **spawn-cavecrew** — how to invoke the plugin `caveman:cavecrew-*` agents diff --git a/skills/loop/call-charon/crossing-format.md b/skills/loop/call-charon/crossing-format.md index 0f12bc8..159c7b6 100644 --- a/skills/loop/call-charon/crossing-format.md +++ b/skills/loop/call-charon/crossing-format.md @@ -101,7 +101,7 @@ Re-run `` after fixes; paste output. `jj squash --from charon-NNN@ --into ` (or `jj rebase`), then `jj workspace forget charon-NNN` and remove the dir. Parallel 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 worktree remove` it. Conflicts → resolve-conflicts-git skill. - Either mode: run the blueprint's Verify in the **main workspace diff --git a/skills/loop/steer/SKILL.md b/skills/loop/steer/SKILL.md index f496834..2777fd9 100644 --- a/skills/loop/steer/SKILL.md +++ b/skills/loop/steer/SKILL.md @@ -34,7 +34,7 @@ write-OKF → architect → blueprint → ferry → weave → review+verify → | plan needs stress-testing against the codebase | `/grill-with-docs` | | build test-first (fires on "tdd"/"bdd" too) | `/bdd` | | 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` | | post-green review — correctness angles | `/review-angles` | | post-green review — diff vs its blueprint | `/review-blueprint` | diff --git a/skills/productivity/resolve-conflicts-git/SKILL.md b/skills/productivity/resolve-conflicts-git/SKILL.md index 4331f88..f360f70 100644 --- a/skills/productivity/resolve-conflicts-git/SKILL.md +++ b/skills/productivity/resolve-conflicts-git/SKILL.md @@ -1,11 +1,11 @@ --- 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 -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 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 @@ -80,7 +80,7 @@ under abort-pressure. `grep -rn '<<<<<<<' .` before continuing. ## 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 (`OKF/LEARNINGS.md`) apply verbatim. - [../commit-atomic-git/SKILL.md](../commit-atomic-git/SKILL.md) — diff --git a/skills/productivity/resolve-conflicts/SKILL.md b/skills/productivity/resolve-conflicts-jj/SKILL.md similarity index 96% rename from skills/productivity/resolve-conflicts/SKILL.md rename to skills/productivity/resolve-conflicts-jj/SKILL.md index c320744..518bea5 100644 --- a/skills/productivity/resolve-conflicts/SKILL.md +++ b/skills/productivity/resolve-conflicts-jj/SKILL.md @@ -1,9 +1,9 @@ --- -name: resolve-conflicts -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. +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. Plain git repos (no .jj) → resolve-conflicts-git. --- -# resolve-conflicts +# resolve-conflicts-jj jj-native port of mattpocock/skills `resolving-merge-conflicts`. In jj, conflicts are **first-class committed objects** — no mid-merge limbo, no diff --git a/skills/scaffold/setup-git-guardrails/SKILL.md b/skills/scaffold/setup-git-guardrails/SKILL.md index 8a1a42d..f6b7c0f 100644 --- a/skills/scaffold/setup-git-guardrails/SKILL.md +++ b/skills/scaffold/setup-git-guardrails/SKILL.md @@ -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 jj flow (commit-atomic-jj, call-charon). Only *force* pushes block. - **`--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** — upstream missed both. - jj mutations are not blocked: jj's op log makes them recoverable