Repository navigation
Decision Spec Kit Upgrade
docs/llm-wiki-plan.md deferred this upgrade as decision D2, to avoid
changing Spec Kit's generated files while the wiki workflow was still being
adopted. Decision-Wiki-As-Knowledge-Base landed in
PR #22; this is the follow-up
that deferral reserved.
Per the hybrid rule in Wiki-Conventions this is tooling work, so it is
tracked on this page and in a pull request rather than as a new specs/NNN-*
feature.
Upgrade to v1.0.12 using the manifest-aware path, and remove the abandoned
iterate extension.
uv tool install specify-cli --force \
--from git+https://github.com/github/spec-kit.git@v1.0.12
specify integration status
specify integration upgrade copilot --force
specify extension updatespecify self upgrade does not exist on the old baseline — it was added in
v0.7.5 — so the CLI itself had to be reinstalled by hand. On Windows, keep
reinstalling by hand even now that it exists; see
Never specify self upgrade on Windows.
This page previously carried four values taken from the source plan. Testing the upgrade disproved all four. The disagreement is recorded in Log.
| Claim on the deferred page | What is actually true |
|---|---|
Installed version 0.7.4.dev0
|
The baseline was 0.7.3. The build came from commit c118c1c, "release 0.7.3, begin 0.7.4.dev0", dated 2026-04-17 — the dev line after 0.7.3 shipped. Roughly five months and twenty-plus releases behind. |
Upgrade command is specify init --here --force
|
No longer the documented path. Upstream treats init --force as an escape hatch; specify integration upgrade is the supported route. |
| The catalog/extension format changed | It did not. extensions.yml and .registry were updated in place. |
16 .github/prompts/* files would be regenerated |
The core prompt files are three-line pointers to .github/agents/*.agent.md and were unchanged. The agent files carry the content. |
Only one tier is safe, and the difference is what decided the iterate removal.
| Tier | Covers | Protection |
|---|---|---|
| Integration-managed |
.github/prompts/, .github/agents/, .specify/scripts/, .specify/templates/, .vscode/settings.json
|
A per-file SHA-256 in .specify/integrations/*.manifest.json. An upgrade aborts cleanly rather than overwriting a modified file. |
| Extension-provided | .specify/extensions/*/ |
Only a whole-manifest hash in .specify/extensions/.registry. specify extension update has no per-file comparison and no --force; it removes the directory and reinstalls. |
Local edits in the second tier disappear silently on any version bump.
imviancagrace/spec-kit-iterate is third-party, has two commits in total, was
last pushed 2026-03-17, and this project's PowerShell-support issue against it
has been unanswered since 2026-04-22. The extension had been patched locally for
PowerShell — in the unprotected tier, so that patch was one upgrade away from
vanishing without a diff.
The new /speckit.converge command assesses drift between the codebase and its
spec, plan and tasks, which is the capability this project actually wanted from
iterate. See Source-Tasks-001 for the drift this repo already carries, and
Guide-Spec-Kit-Iteration for its append-only contract and when to reach for
it.
Spec Kit's uninstall iterates manifest keys, never directory globs, so
hand-written files that merely share a directory with generated ones are not
touched. Verified in a throwaway clone before running the real upgrade:
.github/prompts/tdd.prompt.md and .github/skills/tdd/ both survived, and the
upgrade deleted nothing it did not own.
Copilot's default layout flipped to skills at v0.16.0, but this repo stays on
commands/prompts: the integration falls back to on-disk detection when the
manifest records no skills paths. No flag was needed.
specify integration status reports OK with zero modified files, and keeps
doing so across commit and checkout — which required the .gitattributes fix
listed in Gotchas.
Two items were left open rather than hidden; both are now closed:
-
The bundledResolved 2026-09-28. The cause was narrower than first recorded:gitextension is orphaned..specify/extension-catalogs.ymldoes not extend Spec Kit's built-in catalog stack, it replaces it (get_active_catalogs(),extensions/__init__.py). The file was added in0ad8722to install the community-catalogiterateextension, and in doing so it silently dropped the default catalog — the only one that listsgit(absent fromcatalog.community.json; confirmed by fetching both). Re-adding the default catalog at priority 5 restored the link:.registrynow recordssource: {kind: catalog, catalog: default}instead oflocal, andspecify extension updatemovedgit1.0.0 → 1.0.1. The same change demoted the community catalog toinstall_allowed: false, which is what the CLI itself advises for unvetted public catalogs. Recorded in Gotchas. Closed by issue #24. -
Resolved 2026-09-28 — by deciding to keep them. The recorded risk was that "those two hooks fail, and the failure will surface mid-workflow". They cannot. Hooks are pull-based:.specify/extensions.ymlstill wires two hooks totaskstoissues.hooks.before_taskstoissuesis read byspeckit.taskstoissuesitself, so when upstream removes that command the hook simply stops being read. It becomes dead config, not a failure. Unwiring them by hand is also not durable —.specify/extensions.ymlis generated from the git extension's ownextension.yml(which declares both hooks), and a throwawayspecify init --extension gitreproduced them, so anyextension updatewould restore them silently. At the time, the bundled GitHub issues replacement had not shipped; the community-catalog entry was an unrelated third-party extension we deliberately made discovery-only. Updated 2026-10-04: Spec Kit v1.0.13 shipped the bundled, opt-ingithubextension. Its/speckit.github.taskstoissuescommand now exists alongside the still-supported core/speckit.taskstoissues. Upgrading the CLI does not install the extension; migration would be a separate decision, not a prerequisite for v1.1.0. The existing hooks remain valid for both commands, and a leftover stanza is inert if core later removes its command. A CI guard asserting the hook-to-command mapping was written and then deliberately dropped: both sides are generated by Spec Kit from the same manifest in one install transaction, so it only restated upstream's own invariant over files we never author, and its red build would have pushed a future contributor toward exactly the hand-edit that regenerates. The durable output is the rule inAGENTS.mdand the traps in Gotchas, which do not need a failure to be read. Closed by issue #25.
Note that specify extension add git would not have fixed this: add falls
back to the bundled copy shipped inside the CLI, so it installs the current
version once, but extension update skips any extension absent from a
configured catalog — the freeze would have returned at v1.0.2.
How much the extension is actually used, checked while resolving this: every one
of its 18 auto-commit hooks is enabled: false in
.specify/extensions/git/git-config.yml, and core ships its own
create-new-feature.ps1. Only before_specify → speckit.git.feature is live.
Its [Spec Kit] … commit messages also conflict with this repo's Conventional
Commits rule, so auto-commit stays off.
Removed CLI flags — --ai, --ai-commands-dir, --no-git — no longer exist.
New surfaces worth knowing: /speckit.converge, presets, the workflow
subsystem, and specify version --features --json.
| Alternative | Rejected because |
|---|---|
specify init --here --force |
Overwrites managed files with no comparison step. Upstream calls it an escape hatch, and it would have silently reverted the .vscode/settings.json customisation. |
Keep iterate and re-patch after each upgrade |
The patch lives in the unprotected tier, so its loss is silent. Re-patching depends on someone noticing. |
Fork iterate
|
Real maintenance cost for a capability /speckit.converge now covers. |
Stay on 0.7.3
|
Leaves feature work on tooling five months stale, against Concept-Supply-Chain-Discipline. |
Upgraded and merged 2026-09-26 in
PR #23. Verified by
pnpm run validate (green — 45 test files, 424 tests) and by
specify integration status (OK, 0 modified, re-checked after commit and
checkout). See Guide-Validation-Gate.
Upgraded 1.0.12 → 1.1.0 along the same manifest-aware path.
specify integration status reported OK with 0 modified files both before
and after, and pnpm run validate stayed green. The git extension was
already current at 1.0.1.
What changed in the repo: version metadata in .specify/*.json, and two
integration-managed scripts. create-new-feature.ps1 now keeps Unicode letters
in generated branch names and truncates by UTF-8 bytes. common.ps1 honors a
SPECKIT_PYTHON_EXECUTABLE override. No .github/agents/*.agent.md
definition changed, so the command-scope table in
Guide-Spec-Kit-Iteration still holds.
Running specify self upgrade on 2026-10-04 failed with
failed to remove directory …\uv\tools\specify-cli\Scripts: Access is denied (os error 5). The command runs uv tool install --force from inside the
running specify.exe, and Windows will not let a process delete the
executable it is running from.
Deleting that Scripts\ directory by hand made it worse: the uv launcher in
~\.local\bin then pointed at a virtual environment that no longer existed, and
every specify call failed with uv trampoline failed to canonicalize script path. The fix for both is to run the reinstall from the shell rather than from
specify:
uv tool install specify-cli --force --from git+https://github.com/github/spec-kit.git@<tag>On Windows the v1.1.0 upgrade rewrote the git extension's
.github/agents/speckit.git.*.agent.md files with CRLF line endings. Git
stores them as LF (* text=auto eol=lf), so they show as modified while
git diff shows nothing. Restore them with git checkout -- .github/agents/;
integration status stays OK afterwards. Do not commit them, and do not let
Prettier "fix" them — .github/agents/ is deliberately in .prettierignore
because Spec Kit owns it.
See also: Gotchas, Wiki-Conventions, Guide-Spec-Kit-Iteration, Log.
- Concept-Cloud-Only-Inference
- Concept-Budget-Ceiling
- Concept-Personality-Gate
- Concept-IP-And-Legal-Posture
- Concept-Supply-Chain-Discipline
- Concept-Graceful-Degradation
- Concept-Observability
- Concept-Testing-And-TDD
- Concept-Credential-Hygiene
Editing in the browser? Wiki edits are live and bypass wiki:lint. Read
Guide-Wiki-Contributing first.