Repository navigation
Conversation
Entire-Checkpoint: 6897e5046cf8
…ks sources before deleting and copies _shared Entire-Checkpoint: 836945d565e4
…lation-disabled remedy says re-run Entire-Checkpoint: a98fdab019bd
admarble
deleted the
feature/1201-fix-adopt-missing-skills-remedies-contradict-each-
branch
September 29, 2026 15:15
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
skills-preflight.ts'sremedyfield now names the fullsequant syncrewrite set (tracked hooks,.claude/settings.json,scripts/dev, sequant-ownedAGENTS.md), andrun-orchestrator.ts's two worktree-missing-skills messages now threadpreflight.remedyinstead of independently hand-written "commit .claude/skills" strings — closing the path that let the two drift apart..claude/skills/{spec,exec,qa}must exist and be committed forsequant run, and points at/sequant:setuporsequant sync./sequant:setup(all three mirrored copies:.claude/skills/setup/SKILL.md,skills/setup/SKILL.md,templates/skills/setup/SKILL.md) now copies the phase skills (spec,exec,qa) from the plugin into.claude/skills/and tells the user to commit them, giving plugin-only users (no npm) a working path to the skillssequant runneeds.AC Verification
sequant syncrewritesnpx vitest run src/lib/workflow/skills-preflight.test.ts— 31/31 passed.claude/skills/{spec,exec,qa}must exist and be committedgrep -n "skills/{spec,exec,qa}" README.md/sequant:setupcopies phase skills into.claude/skills/, in all 3 mirrored copiesgrep -n ".claude/skills/spec" skills/setup/SKILL.md .claude/skills/setup/SKILL.md templates/skills/setup/SKILL.mdRunner follow-up (graph-run #1203, commit
1deb6db5)QA returned
AC_NOT_MET. Fixed here:sequant syncin it" with no rewrite set. The rewrite set is now a sharedSYNC_REWRITES_NOTE(exported fromskills-preflight.ts, used bypreflight.remedyand by this message). The message keeps leading withgit pull, and the "No worktree was provisioned" note stays, as does fix(run): spec runs in the main checkout, which the skills pre-flight never checks — a stale checkout silently degrades spec (#933 regression) #1193'snot.toContain("commit .claude/skills")for this site: sync doesn't fix a stale checkout (ADR-0002).SYNC_REWRITES_NOTE.rm -rf. Without one, it skips and says "runsequant sync". Ran the snippet in a scratch project: withCLAUDE_PLUGIN_ROOTunset, it printed the skip line and the committedspec/SKILL.mdwas untouched. WithCLAUDE_PLUGIN_ROOTset to this repo, it copiedspec exec qa _shared, and the../_shared/references/*links from the copiedspecresolved._sharedlinks. Step 10 copies_sharedtoo, and the commit list names it.Mutation-verified: AC-1 main-checkout site — replaced
SYNC_REWRITES_NOTEin the message with a literal;src/lib/workflow/skills-preflight.test.ts > RunOrchestrator skills pre-flight targets worktrees, not the main checkout (#933) > 1193 AC-1: a main checkout missing .claude/skills/spec/SKILL.md fails pre-flight before any worktree, naming the pathfailed (1/31); restored.Mutation-verified: AC-1 worktree site — replaced
preflight.remedywithpreflight.causein the worktree message;src/lib/workflow/skills-preflight.test.ts > RunOrchestrator skills pre-flight targets worktrees, not the main checkout (#933) > 933: a multi-issue abort removes every worktree this run created and names them allfailed (plus the existing933 AC-1test); restored.Runner follow-up, round 2 (commit
0883e6fd)QA's second pass returned
AC_MET_BUT_NOT_A_PLUS. I fixed itsfix_nowfinding and one of its documented findings:.claude/skills/_sharednext to spec/exec/qa. The AC-2 grep still matches.Mutation-verified: isolation-disabled remedy — removed " Then re-run.";
src/lib/workflow/skills-preflight.test.ts > RunOrchestrator skills pre-flight targets worktrees, not the main checkout (#933) > 933: with worktree isolation disabled the remedy talks about the checkout, not a worktreefailed (1/31); restored.Test plan
npm run build— passesnpm run lint— passesnpm test(full suite, run by the exec agent before the runner follow-up) — 349 files, 8538 passed, 1 expected fail, 3 skipped (baseline)npm run lint:skill-calls— no violations1deb6db5:npx vitest run src/lib/workflow/skills-preflight.test.ts src/lib/workflow/skills-preflight.integration.test.ts src/lib/workflow/run-orchestrator.test.ts— 3 files, 40/40 passed;npx tsc --noEmitclean;npm run lint:skill-callsno violationsgrep -n "skills/{spec,exec,qa}" README.mdand AC-3 grep across the 3 setup copies — both matchCloses #1201
🤖 Generated with Claude Code