You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix(run): skills freshness is read from the working tree, but phases use committed skills — an uncommitted sync names the wrong version and silently runs old skills #1354
sequant run checks skill freshness from the files on disk, but phase worktrees check skills out from git. When a sequant sync was never committed, the warning names the wrong version, and the phases silently run older skills.
Found in a dogfood run on 2026-10-06 (downstream project, issue #255 there). The working tree had 2.18.0 skills from a sync on 2026-09-27 that was never committed. HEAD still had 2.15.1.
$ sequant run 255
! Skills are outdated (2.18.0 → 2.19.0)
The phases ran the committed 2.15.1 skills. Exec followed the pre-ADR-0004 contract and stranded itself on a background test suite (#1032), so the PR got the placeholder body. Nothing in the output pointed at the real cause. Finding it took the phase transcripts.
#1257 AC-3 made doctor warn when .claude/skills/ is untracked. This case is tracked but modified: git status shows M .claude/skills/..., which neither doctor nor run flags.
Root: checkAndWarnSkillsOutdated (src/commands/sync.ts:843) reads .claude/skills/.sequant-version (SKILLS_VERSION_PATH, src/commands/sync.ts:49) from the working tree.
Portability: a portable defect. Anyone who runs sync and doesn't commit hits it. The sync output doesn't say a commit is needed.
Acceptance Criteria
AC-1: When .claude/skills/ has uncommitted changes in the main checkout, sequant run warns before provisioning worktrees that phases will use the committed skills and names the committed version (git show HEAD:.claude/skills/.sequant-version). Evidence: test with a temp repo whose committed .sequant-version differs from the working tree's.
AC-3: sequant sync and sequant update end by saying that sequant run uses committed skills, so the changes must be committed, when they wrote any file under .claude/skills/. Evidence: test asserting the message after a sync that wrote a skill.
AC-4: docs/troubleshooting.md has an entry for "phases behave like an older sequant after sync" that names the commit step. Evidence: grep docs/troubleshooting.md for the entry heading.
Activity
docs(#1354): keep one [Unreleased] Fixed heading after merging main
fix(#1354): warn when tracked skills have uncommitted changes — phase…
fix(#1456): uncommitted hook changes go unwarned — phases run the com…