Repository navigation
feat(#1209): init --manifest-only and sync --only skills — cheap, documented adoption - #1221
Merged
admarble merged 4 commits intoSep 29, 2026
Conversation
Entire-Checkpoint: 922aedcefbff
…st mock Entire-Checkpoint: ef5c98e6b010
…ls summary stops claiming hooks/memory Entire-Checkpoint: 33484bf05ac4
init --manifest-only and sync --only skills — cheap, documented adoption; the manifest stays the single installed markerinit --manifest-only and sync --only skills — cheap, documented adoption
…pt-init-manifest-only-and-sync-only-skills
admarble
deleted the
feature/1209-feat-adopt-init-manifest-only-and-sync-only-skills
branch
September 29, 2026 19:03
3 tasks
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
The manifest stays the only "installed" marker, and creating it is now cheap and documented.
sequant runexits 1. It names.sequant-manifest.json, prints the minimal manifest JSON (version,stack,installedAt,files: {}), says that file alone is enough, and points tosequant init --manifest-only. The message lives insrc/commands/run-manifest.ts, which keepsrun.tsunder its 200-LOC cap.sequant init --manifest-onlywrites only.sequant-manifest.jsonand leaves an existing manifest alone. It is registered with.option()inbin/cli.ts.sequant sync --only skillslimits both the apply and the--dry-runpreview to.claude/skills/**plus the manifest. It skips the MCP pin, the opencode shim, AGENTS.md, scripts/dev and settings. It is registered with.option()and an allow-list validator.SYNC_ONLY_SKILLS_NOTE) and the README's "Commit.claude/skills/" note both namesequant sync --only skills. fix(adopt): missing-skills remedies contradict each other, and the README plugin path omits the skills that runs need #1201's plugin-only paragraph (README:52) is unchanged.Runner fixes after QA (AC_MET_BUT_NOT_A_PLUS, 4/4)
QA's two
fix_nowfindings were real, and both are fixed:no .sequant-manifest.json in this directory, and the AC-1 test asserts it.sync --only skillsfinished by printing "Skills, hooks, and memory files have been updated.", which that mode no longer does. Under--only skillsthe summary now says only skills and the manifest were written. There is a new test.sync.test.tsthat saidonlywas "not yet on SyncOptions".Mutation-verified: AC-1 — dropped the filename from the message;
prints the minimal manifest JSON shape…failed (1/145); restored.Mutation-verified: AC-3 — forced the unscoped summary under
--only skills;prints a completion summary that does not claim hooks or memory were updatedfailed (1/51); restored.Known limitation (QA, recommended action "document")
The AC-2 and AC-3 write-set tests assert on mocked
copyTemplates/createManifestcalls. No test runs against a real filesystem. QA smoke-ran both commands in a temp repo instead.Test plan
npx tsc --noEmit: cleannpx vitest run src/commands/run.test.ts src/commands/sync.test.ts src/commands/init.test.ts src/lib/workflow/skills-preflight.test.ts src/commands/run-preflight-exit.test.ts: 291 passed (runner, after the fixes)Closes #1209
Refs #1203
🤖 Generated with Claude Code