specify-cli 1.3.0__py3-none-any.whl → 1.3.2__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
specify_cli/_version.py CHANGED
@@ -769,6 +769,26 @@ def _installer_binary_name(method: _InstallMethod) -> str | None:
769
769
  return None
770
770
 
771
771
 
772
+ def _runs_from_uv_tool_env_on_windows() -> bool:
773
+ """Return whether this process runs from a uv tool environment on Windows."""
774
+ return os.name == "nt" and os.path.isfile(
775
+ os.path.join(sys.prefix, "uv-receipt.toml")
776
+ )
777
+
778
+
779
+ # Another process from the same tool environment, such as an editor's
780
+ # `specify mcp` server, keeps python.exe locked after this command exits.
781
+ _UV_TOOL_MANUAL_INTRO = (
782
+ "Stop any other specify process (such as `specify mcp`), then run this "
783
+ "once this command exits:"
784
+ )
785
+
786
+
787
+ def _uv_tool_manual_command(target_tag: str | None) -> str:
788
+ """Return the uv command a Windows uv-tool user runs after specify exits."""
789
+ return f"uv tool install specify-cli --force --from {_source_spec(target_tag)}"
790
+
791
+
772
792
  def _is_path_like_command(value: str) -> bool:
773
793
  """Return whether an argv[0] names a path rather than a bare command."""
774
794
  return Path(value).parent != Path(".") or "/" in value or "\\" in value
@@ -834,6 +854,12 @@ def _build_upgrade_plan(
834
854
  if installer_rejected
835
855
  else f"(installer {_installer_binary_name(method)} not found on PATH)"
836
856
  )
857
+ elif method == _InstallMethod.UV_TOOL and _runs_from_uv_tool_env_on_windows():
858
+ # self_upgrade prints the uv command instead of running it.
859
+ command_preview = (
860
+ "(none — on Windows, uv cannot replace the tool environment specify "
861
+ "is running from)"
862
+ )
837
863
  else:
838
864
  command_preview = (
839
865
  _render_argv(argv) if argv is not None else "(none — non-upgradable path)"
specify_cli/catalogs.py CHANGED
@@ -85,8 +85,11 @@ class CatalogStackBase:
85
85
  raise cls._error(f"Catalog URL is malformed: {url}") from None
86
86
  is_localhost = hostname in ("localhost", "127.0.0.1", "::1")
87
87
  if parsed.scheme != "https" and not (parsed.scheme == "http" and is_localhost):
88
+ # A scheme-less value (``example.com/catalog.json``) would otherwise read
89
+ # "got ://". The value itself is not echoed: callers render errors as Rich markup.
90
+ got = f"{parsed.scheme}://" if parsed.scheme else "a URL with no scheme"
88
91
  raise cls._error(
89
- f"Catalog URL must use HTTPS (got {parsed.scheme}://). "
92
+ f"Catalog URL must use HTTPS (got {got}). "
90
93
  "HTTP is only allowed for localhost."
91
94
  )
92
95
  # Check hostname, not netloc: netloc is truthy for host-less URLs like
@@ -3,7 +3,7 @@ schema_version: "1.0"
3
3
  extension:
4
4
  id: agent-context
5
5
  name: "Coding Agent Context"
6
- version: "1.0.2"
6
+ version: "1.0.3"
7
7
  description: "Manages coding agent context/instruction files (e.g., CLAUDE.md, copilot-instructions.md) with project-specific plan references and configurable markers"
8
8
  author: spec-kit-core
9
9
  repository: https://github.com/github/spec-kit
@@ -310,6 +310,7 @@ PY
310
310
  _plan_rel="$("$_python" - "$PROJECT_ROOT" <<'PY'
311
311
  import sys
312
312
  from pathlib import Path
313
+ from stat import S_ISREG
313
314
  root = Path(sys.argv[1]).resolve()
314
315
  specs = root / "specs"
315
316
 
@@ -329,7 +330,14 @@ def _resolved_rel(p):
329
330
  candidates = []
330
331
  for p in specs.rglob("plan.md"):
331
332
  rel = _resolved_rel(p)
332
- if rel:
333
+ if rel is None:
334
+ continue
335
+ # Follow file links without suppressing errors for contained candidates.
336
+ try:
337
+ mode = p.stat().st_mode
338
+ except (FileNotFoundError, NotADirectoryError):
339
+ continue
340
+ if S_ISREG(mode):
333
341
  candidates.append((p, rel))
334
342
  candidates.sort(key=lambda pr: pr[0].stat().st_mtime, reverse=True)
335
343
  if candidates:
@@ -23,6 +23,7 @@ import os
23
23
  import re
24
24
  import sys
25
25
  from pathlib import Path
26
+ from stat import S_ISREG
26
27
 
27
28
  DEFAULT_START = "<!-- SPECKIT START -->"
28
29
  DEFAULT_END = "<!-- SPECKIT END -->"
@@ -193,7 +194,14 @@ def _resolve_plan_path(project_root: str) -> str:
193
194
  candidates = []
194
195
  for p in specs.rglob("plan.md"):
195
196
  rel = _resolved_rel(p)
196
- if rel is not None:
197
+ if rel is None:
198
+ continue
199
+ # Follow file links without suppressing errors for contained candidates.
200
+ try:
201
+ mode = p.stat().st_mode
202
+ except (FileNotFoundError, NotADirectoryError):
203
+ continue
204
+ if S_ISREG(mode):
197
205
  candidates.append((p, rel))
198
206
  candidates.sort(key=lambda pr: pr[0].stat().st_mtime, reverse=True)
199
207
  if candidates:
@@ -3,7 +3,7 @@ schema_version: "1.0"
3
3
  extension:
4
4
  id: git
5
5
  name: "Git Branching Workflow"
6
- version: "1.0.3"
6
+ version: "1.0.4"
7
7
  description: "Feature branch creation, numbering (sequential/timestamp), templating, validation, and Git remote detection"
8
8
  author: spec-kit-core
9
9
  repository: https://github.com/github/spec-kit
@@ -54,6 +54,11 @@ try {
54
54
  } catch { }
55
55
 
56
56
  # Initialize
57
+ # Relax ErrorActionPreference so git warnings on stderr (e.g. CRLF notices)
58
+ # do not become terminating errors in Windows PowerShell 5.1; real failures
59
+ # are still caught through $LASTEXITCODE.
60
+ $savedEAP = $ErrorActionPreference
61
+ $ErrorActionPreference = 'Continue'
57
62
  try {
58
63
  $out = git init -q 2>&1 | Out-String
59
64
  if ($LASTEXITCODE -ne 0) { throw "git init failed: $out" }
@@ -64,6 +69,8 @@ try {
64
69
  } catch {
65
70
  Write-Warning "[specify] Error: $_"
66
71
  exit 1
72
+ } finally {
73
+ $ErrorActionPreference = $savedEAP
67
74
  }
68
75
 
69
76
  Write-Host "[OK] Git repository initialized"
@@ -1,6 +1,7 @@
1
1
  """The ``specify integration uninstall`` command."""
2
2
  from __future__ import annotations
3
3
 
4
+ from pathlib import Path
4
5
 
5
6
  import typer
6
7
  from rich.markup import escape
@@ -10,7 +11,28 @@ from .._utils import _display_project_path
10
11
  from ..integration_state import default_integration_key as _default_integration_key, installed_integration_keys as _installed_integration_keys, integration_settings as _integration_settings
11
12
  from ._commands import integration_app
12
13
  from ._lifecycle import external_lifecycle, lifecycle_success
13
- from ._helpers import _MANIFEST_READ_ERRORS, _clear_init_options_for_integration, _read_integration_json, _register_extensions_for_agent, _register_presets_for_agent, _remove_integration_json, _resolve_integration_options, _set_default_integration_or_exit, _unregister_extensions_for_agent, _unregister_presets_for_agent, _write_integration_json
14
+ from ._helpers import _MANIFEST_READ_ERRORS, _clear_init_options_for_integration, _read_integration_json, _register_extensions_for_agent, _register_presets_for_agent, _remove_integration_json, _resync_manifest_after_registration, _resolve_integration_options, _set_default_integration_or_exit, _snapshot_manifest_before_registration, _unregister_extensions_for_agent, _unregister_presets_for_agent, _write_integration_json
15
+
16
+
17
+ def _register_fallback_contributions(project_root: Path, new_default: str) -> None:
18
+ manifest, unmodified_files = _snapshot_manifest_before_registration(project_root, new_default)
19
+ _register_extensions_for_agent(
20
+ project_root,
21
+ new_default,
22
+ continuing="The fallback integration was selected, but extensions may need re-registration.",
23
+ )
24
+ _register_presets_for_agent(
25
+ project_root,
26
+ new_default,
27
+ continuing="The fallback integration was selected, but presets may need re-registration.",
28
+ )
29
+ if manifest is not None:
30
+ _resync_manifest_after_registration(
31
+ manifest,
32
+ new_default,
33
+ unmodified_files=unmodified_files,
34
+ continuing="The fallback integration was selected, but its manifest hashes may be stale.",
35
+ )
14
36
 
15
37
 
16
38
  @integration_app.command("uninstall")
@@ -70,16 +92,7 @@ def integration_uninstall(
70
92
  raw_options=raw_options,
71
93
  parsed_options=parsed_options,
72
94
  )
73
- _register_extensions_for_agent(
74
- project_root,
75
- new_default,
76
- continuing="The fallback integration was selected, but extensions may need re-registration.",
77
- )
78
- _register_presets_for_agent(
79
- project_root,
80
- new_default,
81
- continuing="The fallback integration was selected, but presets may need re-registration.",
82
- )
95
+ _register_fallback_contributions(project_root, new_default)
83
96
  else:
84
97
  _write_integration_json(
85
98
  project_root, new_default, remaining, _integration_settings(current)
@@ -141,16 +154,7 @@ def integration_uninstall(
141
154
  raw_options=raw_options,
142
155
  parsed_options=parsed_options,
143
156
  )
144
- _register_extensions_for_agent(
145
- project_root,
146
- new_default,
147
- continuing="The fallback integration was selected, but extensions may need re-registration.",
148
- )
149
- _register_presets_for_agent(
150
- project_root,
151
- new_default,
152
- continuing="The fallback integration was selected, but presets may need re-registration.",
153
- )
157
+ _register_fallback_contributions(project_root, new_default)
154
158
  else:
155
159
  _write_integration_json(
156
160
  project_root, new_default, remaining, _integration_settings(current)
@@ -133,8 +133,11 @@ class PresetCatalog:
133
133
  if parsed.scheme != "https" and not (
134
134
  parsed.scheme == "http" and is_localhost
135
135
  ):
136
+ # A scheme-less value (``example.com/catalog.json``) would otherwise read
137
+ # "got ://". The value itself is not echoed: callers render errors as Rich markup.
138
+ got = f"{parsed.scheme}://" if parsed.scheme else "a URL with no scheme"
136
139
  raise PresetValidationError(
137
- f"Catalog URL must use HTTPS (got {parsed.scheme}://). "
140
+ f"Catalog URL must use HTTPS (got {got}). "
138
141
  "HTTP is only allowed for localhost."
139
142
  )
140
143
  # Check hostname, not netloc: netloc is truthy for host-less URLs like
@@ -33,7 +33,9 @@ def self_upgrade(
33
33
  Detection classifies the runtime into uv-tool / pipx / uvx (ephemeral) /
34
34
  source-checkout / unsupported. Only uv-tool and pipx are upgraded
35
35
  automatically; the other three paths print path-specific guidance and
36
- exit 0.
36
+ exit 0. On Windows, uv cannot replace the uv-tool environment specify is
37
+ running from, so uv-tool installs print the uv command to run once
38
+ specify exits, and exit 0 without changes.
37
39
 
38
40
  Exit codes:
39
41
  0 success or no-op-success (already on latest, --dry-run, or
@@ -73,6 +75,9 @@ def self_upgrade(
73
75
  _parse_version_text,
74
76
  _render_argv,
75
77
  _run_installer,
78
+ _runs_from_uv_tool_env_on_windows,
79
+ _UV_TOOL_MANUAL_INTRO,
80
+ _uv_tool_manual_command,
76
81
  _validate_tag,
77
82
  _verify_upgrade,
78
83
  console,
@@ -113,6 +118,13 @@ def self_upgrade(
113
118
  console.print("Dry run — no changes will be made.")
114
119
  for line in plan.preview_summary.splitlines():
115
120
  console.print(line)
121
+ if (
122
+ plan.method == _InstallMethod.UV_TOOL
123
+ and plan.installer_argv is not None
124
+ and _runs_from_uv_tool_env_on_windows()
125
+ ):
126
+ console.print(_UV_TOOL_MANUAL_INTRO, soft_wrap=True)
127
+ console.print(f" {_uv_tool_manual_command(plan.target_tag)}", soft_wrap=True)
116
128
  raise typer.Exit(0)
117
129
 
118
130
  if plan.method in (
@@ -157,6 +169,21 @@ def self_upgrade(
157
169
  console.print(f"Already on requested release: {target_tag}")
158
170
  raise typer.Exit(0)
159
171
 
172
+ if plan.method == _InstallMethod.UV_TOOL and _runs_from_uv_tool_env_on_windows():
173
+ # uv deletes the tool environment before reinstalling it, and Windows
174
+ # will not delete the python.exe this process is running from, so uv
175
+ # would leave the environment without its packages. Leave the
176
+ # reinstall to the user's shell instead.
177
+ console.print(
178
+ f"Not upgrading specify-cli {plan.current_version} → {target_tag}: "
179
+ "on Windows, uv cannot replace the tool environment specify is "
180
+ "running from. No changes were made.",
181
+ soft_wrap=True,
182
+ )
183
+ console.print(_UV_TOOL_MANUAL_INTRO, soft_wrap=True)
184
+ console.print(f" {_uv_tool_manual_command(target_tag)}", soft_wrap=True)
185
+ raise typer.Exit(0)
186
+
160
187
  installed_version = _parse_version_text(plan.current_version)
161
188
  verb = (
162
189
  "Downgrading"
@@ -350,8 +350,11 @@ class WorkflowCatalog:
350
350
  if parsed.scheme != "https" and not (
351
351
  parsed.scheme == "http" and is_localhost
352
352
  ):
353
+ # A scheme-less value (``example.com/catalog.json``) would otherwise read
354
+ # "got ://". The value itself is not echoed: callers render errors as Rich markup.
355
+ got = f"{parsed.scheme}://" if parsed.scheme else "a URL with no scheme"
353
356
  raise WorkflowValidationError(
354
- f"Catalog URL must use HTTPS (got {parsed.scheme}://). "
357
+ f"Catalog URL must use HTTPS (got {got}). "
355
358
  "HTTP is only allowed for localhost."
356
359
  )
357
360
  if not hostname:
@@ -2,7 +2,7 @@
2
2
 
3
3
  The grammar replaces the former hand-written parser. Only the block body is
4
4
  parsed here. The language is the same with these deliberate differences, all
5
- documented in ``workflows/ARCHITECTURE.md``:
5
+ documented in https://github.github.io/spec-kit/workflows/expressions.html:
6
6
 
7
7
  * All comparison operators share one precedence level and group left to right
8
8
  (``a == b > 0`` is ``(a == b) > 0``). The former engine's operator scan order
@@ -11,7 +11,7 @@ from __future__ import annotations
11
11
  import json
12
12
  from collections.abc import Callable
13
13
  from dataclasses import dataclass
14
- from typing import Any
14
+ from typing import Any, NoReturn
15
15
 
16
16
 
17
17
  # -- Custom filters -------------------------------------------------------
@@ -101,6 +101,11 @@ def _filter_contains(value: Any, substring: Any) -> bool:
101
101
  return False
102
102
 
103
103
 
104
+ def _reject_json_constant(value: str) -> NoReturn:
105
+ """Reject the non-JSON numeric constants accepted by Python's decoder."""
106
+ raise ValueError(f"from_json: invalid JSON constant: {value}")
107
+
108
+
104
109
  def _filter_from_json(value: Any) -> Any:
105
110
  """Parse a JSON string into a typed value (list/dict/scalar).
106
111
 
@@ -113,7 +118,7 @@ def _filter_from_json(value: Any) -> Any:
113
118
  f"from_json: expected a JSON string, got {type(value).__name__}"
114
119
  )
115
120
  try:
116
- return json.loads(value)
121
+ return json.loads(value, parse_constant=_reject_json_constant)
117
122
  except json.JSONDecodeError as exc:
118
123
  raise ValueError(f"from_json: invalid JSON: {exc}") from exc
119
124
 
@@ -207,7 +212,8 @@ def _filter_to_json(value: Any) -> str:
207
212
  quoting or escaping, so JSON quotes and metacharacters are still interpreted
208
213
  by whatever runs the ``run`` field. Interpolate unconstrained JSON into a
209
214
  shell step only when you have constrained what it can contain; see the
210
- "Interpolation and shell safety" section of ``docs/reference/workflows.md``.
215
+ "Interpolation and shell safety" section of
216
+ https://github.github.io/spec-kit/workflows/expressions.html#interpolation-and-shell-safety.
211
217
 
212
218
  Raises ``ValueError`` when *value* is not JSON-serializable, chained from
213
219
  the underlying error so the offending type stays visible. ``allow_nan=False``
@@ -468,7 +468,7 @@ def workflow_resolve(project_root: Path, workflow_id: str) -> dict[str, Any] | N
468
468
  # The list is sorted by (priority, source) ascending, which puts the
469
469
  # winning layer first only while priorities DIFFER. On a tie the sort is
470
470
  # alphabetical by source while the merge gives the conflict to the LAST id
471
- # (docs/reference/workflows.md, overlays section), so the plain "highest
471
+ # (https://github.github.io/spec-kit/workflows/overlays.html), so the plain "highest
472
472
  # precedence first" label stated the opposite of the outcome printed
473
473
  # directly beneath it in the same output -- in the one command whose job
474
474
  # is explaining which overlay won. Spell the tie-break out rather than
@@ -298,8 +298,11 @@ class StepCatalog:
298
298
  if parsed.scheme != "https" and not (
299
299
  parsed.scheme == "http" and is_localhost
300
300
  ):
301
+ # A scheme-less value (``example.com/catalog.json``) would otherwise read
302
+ # "got ://". The value itself is not echoed: callers render errors as Rich markup.
303
+ got = f"{parsed.scheme}://" if parsed.scheme else "a URL with no scheme"
301
304
  raise StepValidationError(
302
- f"Catalog URL must use HTTPS (got {parsed.scheme}://). "
305
+ f"Catalog URL must use HTTPS (got {got}). "
303
306
  "HTTP is only allowed for localhost."
304
307
  )
305
308
  if not hostname:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: specify-cli
3
- Version: 1.3.0
3
+ Version: 1.3.2
4
4
  Summary: Specify CLI, part of GitHub Spec Kit. A tool to bootstrap your projects for Spec-Driven Development (SDD).
5
5
  License-File: LICENSE
6
6
  Requires-Python: >=3.11
@@ -71,16 +71,16 @@ Spec Kit combines ready-to-use processes with composable mechanisms:
71
71
  | Run extension commands before or after Spec Kit commands | [Extension hook](https://github.github.io/spec-kit/extensions/api.html#hook-configuration) |
72
72
  | Adapt templates, commands, terminology, or methodology | [Preset](https://github.github.io/spec-kit/presets/overview.html) |
73
73
  | Enforce organizational or regulatory standards | [Preset](https://github.github.io/spec-kit/presets/overview.html) |
74
- | Override a template for one project | [Project-local override](https://github.github.io/spec-kit/guides/customization.html#project-local-overrides-and-resolution) |
75
- | Automate prompts, commands, gates, and shell tasks | [Workflow](https://github.github.io/spec-kit/reference/workflows.html) |
76
- | Modify an installed workflow without forking it | [Workflow overlay](https://github.github.io/spec-kit/reference/workflows.html#workflow-overlays) |
77
- | Add reusable executable behavior to workflows | [Workflow step](https://github.github.io/spec-kit/reference/workflows.html#custom-step-packages) |
78
- | Install a curated setup for a role or team | [Bundle](https://github.github.io/spec-kit/reference/bundles.html) |
79
- | Discover community components | [Catalog](https://github.github.io/spec-kit/reference/catalogs.html) |
80
- | Host a private catalog of approved components | [Catalog](https://github.github.io/spec-kit/reference/catalogs.html) |
74
+ | Override a template for one project | [Project-local override](https://github.github.io/spec-kit/how-to/customization.html#project-local-overrides-and-resolution) |
75
+ | Automate prompts, commands, gates, and shell tasks | [Workflow](https://github.github.io/spec-kit/workflows/overview.html) |
76
+ | Modify an installed workflow without forking it | [Workflow overlay](https://github.github.io/spec-kit/workflows/overlays.html) |
77
+ | Add reusable executable behavior to workflows | [Workflow step](https://github.github.io/spec-kit/workflow-steps/developing.html#custom-step-packages) |
78
+ | Install a curated setup for a role or team | [Bundle](https://github.github.io/spec-kit/bundles/overview.html) |
79
+ | Discover community components | [Catalog](https://github.github.io/spec-kit/overview/catalogs.html) |
80
+ | Host a private catalog of approved components | [Catalog](https://github.github.io/spec-kit/overview/catalogs.html) |
81
81
  | Access private catalogs and component downloads | [Authentication](https://github.github.io/spec-kit/reference/authentication.html) |
82
82
  | Work offline or behind a firewall | [Local sources and self-hosted catalogs](https://github.github.io/spec-kit/install/air-gapped.html) |
83
- | Inspect which layer supplies a command, template, or script | [Artifact inventory](https://github.github.io/spec-kit/reference/artifacts.html) |
83
+ | Inspect which layer supplies a command, template, or script | [Artifact inventory](https://github.github.io/spec-kit/overview/artifacts.html) |
84
84
 
85
85
  Search the active catalogs with commands such as `specify extension search`,
86
86
  `specify preset search`, `specify workflow search`, and `specify bundle search`.
@@ -113,7 +113,7 @@ agent in the project directory, then choose a process below.
113
113
  For other setups:
114
114
 
115
115
  - [Installation](https://github.github.io/spec-kit/installation.html) for pinned releases, other installers, CI, and troubleshooting.
116
- - [Existing projects](https://github.github.io/spec-kit/guides/existing-projects.html) to start with code you already have.
116
+ - [Existing projects](https://github.github.io/spec-kit/how-to/existing-projects.html) to start with code you already have.
117
117
  - [Other agents](https://github.github.io/spec-kit/integrations/index.html) for integration keys and [invocation syntax](https://github.github.io/spec-kit/integrations/cli.html#command-invocation).
118
118
  - [Upgrade](https://github.github.io/spec-kit/upgrade.html) to update an existing installation.
119
119
 
@@ -236,7 +236,7 @@ Combine the [capabilities above](#capabilities) to match your goal:
236
236
  Start with the smallest change that meets your needs; you do not have to replace
237
237
  the whole process.
238
238
 
239
- [Customization guide](https://github.github.io/spec-kit/guides/customization.html) ·
239
+ [Customization guide](https://github.github.io/spec-kit/how-to/customization.html) ·
240
240
  [Community components and walkthroughs](https://github.github.io/spec-kit/community/overview.html)
241
241
 
242
242
  <a id="-specify-cli-reference"></a>
@@ -249,14 +249,18 @@ the whole process.
249
249
 
250
250
  ## Documentation
251
251
 
252
- - [CLI reference](https://github.github.io/spec-kit/reference/overview.html) and [process commands](https://github.github.io/spec-kit/reference/agentic-sdd.html#command-overview)
253
- - [SDD philosophy](https://github.github.io/spec-kit/concepts/sdd.html), [full methodology](./spec-driven.md), and [evolving existing specs](https://github.github.io/spec-kit/guides/evolving-specs.html)
254
- - [Project history](https://github.github.io/spec-kit/history.html)
252
+ - [CLI reference](https://github.github.io/spec-kit/index.html#specify-cli) and [process commands](https://github.github.io/spec-kit/reference/agentic-sdd.html#command-overview)
253
+ - [How-to guides](https://github.github.io/spec-kit/how-to/index.html) for applying Spec Kit to your project work
254
+ - [SDD philosophy](https://github.github.io/spec-kit/how-to/sdd.html), [full methodology](./spec-driven.md), and [evolving existing specs](https://github.github.io/spec-kit/how-to/evolving-specs.html)
255
+ - [Project history](https://github.github.io/spec-kit/overview/history.html)
255
256
  - [How Spec Kit uses Spec Kit](./CONTRIBUTING.md#does-spec-kit-use-spec-kit)
256
257
 
257
258
  ## In the news
258
259
 
259
260
  - [Open Source Friday: Spec Kit Part 2](https://www.youtube.com/watch?v=8hHCpNVLhmI) (October 16, 2026) — Manfred Riem and Nicole Haugen discuss Spec Kit 1.0 and the expanded toolkit.
261
+ - [Living Specs in SpecKit](https://www.alfredo-perez.dev/blog/2026-10-15-living-specs) (October 15, 2026) — Alfredo Perez explores maintaining capability-level specifications as a project evolves.
262
+ - [Spec Kit Customization Series](https://jesseliberty.com/2026/10/08/4-solutions-to-spec-kit-issues/) (October 8–10, 2026) — Jesse Liberty walks through presets and extension authoring, including testing and publishing.
263
+ - [From Spec-First to Enterprise-Ready: Extending GitHub Spec Kit](https://developer.microsoft.com/blog/from-spec-first-to-enterprise-ready-extending-github-spec-kit/) (October 7, 2026) — Apoorv Gupta explains enterprise customization through presets, extensions, bundles, workflows, and governed catalogs.
260
264
  - [Open Source Friday with Spec Kit](https://www.youtube.com/watch?v=2IArMAhkJcE) (May 8, 2026) — An introduction and SDD demonstration with Manfred Riem.
261
265
 
262
266
  ## Star history
@@ -13,10 +13,10 @@ specify_cli/_operation_version.py,sha256=SwK59GPbiJH0_sP2-UwYtzU8_uCNhcvG297fXC4
13
13
  specify_cli/_project.py,sha256=F4OD2I5_QoHnUNxocGHypZIQI6VSMZYF7TTyiTIArdQ,5186
14
14
  specify_cli/_toml_string.py,sha256=bVqk97hKQei2huTqclZ5ISwX8hOstIQDk0dkQkkHDDc,2274
15
15
  specify_cli/_utils.py,sha256=0i7bQMwuDffQGWKuWco9oyY-9MwT7UVmBQXS8jSI3Pw,14957
16
- specify_cli/_version.py,sha256=j7hvQvMybSKQfbXLhIGke6AgEErp_U3yWTkEskTsYUY,45336
16
+ specify_cli/_version.py,sha256=SWwQuPJc4539JjejX5IXeRWgvsd1l1wGPBJmx894pT4,46387
17
17
  specify_cli/agents.py,sha256=8X7Q1J52TtwYLZUiagFpno9YNSV9Bl8rxjz6-IYuqUA,60673
18
18
  specify_cli/bundler.py,sha256=_iXJscOkA3iRXMScSFrSFzuyn2do2Fmgx4q9smdN0MM,142
19
- specify_cli/catalogs.py,sha256=8485CESkCM48afQsSaLO0Z7ZWSpYtudVzZ4tjUFN3hM,7717
19
+ specify_cli/catalogs.py,sha256=c4Aw0N5sJVRzMS0QBiJNGYU5bDsKH3EFmNINkO6NQEQ,7970
20
20
  specify_cli/command_check.py,sha256=1Ffz-HAG2rDzoEuYvgQrjLly4DdWNvou4xLDtplVk64,4089
21
21
  specify_cli/command_init.py,sha256=68Ygiq2MmaNEZu8VthLEgu5E5tDMsZXcjDC6EOIUmp8,56329
22
22
  specify_cli/command_mcp.py,sha256=u2sie21CJYJVukfYk3xwYz8TZp_7ABdIEAYzLB7-l7A,388
@@ -125,7 +125,7 @@ specify_cli/integrations/command_scaffold.py,sha256=wAECcT8a2eD_HLO1KWQcUNsiGGAQ
125
125
  specify_cli/integrations/command_search.py,sha256=VmdCj397uoaDW1OWS6y5WZZVFQLzfEiTuC_cvrb7qGw,4374
126
126
  specify_cli/integrations/command_status.py,sha256=SJf-2MhQ_lYvhqQ3IrRjb4_Fz0YYAo6MWXpGL9a1Rn0,3339
127
127
  specify_cli/integrations/command_switch.py,sha256=ua8rxqW9Ftqjnc8DeX0t4N8KvhzQoDS1SafCBT4VkKQ,20454
128
- specify_cli/integrations/command_uninstall.py,sha256=_ZtEaKIfHGNOR0j9JkeWvbc0P-abkzPUOL_IBECpsGo,7647
128
+ specify_cli/integrations/command_uninstall.py,sha256=bc2QBXReh7X6Brj-m1BL_widRkKS0lG9VrNAu2FSzkM,7795
129
129
  specify_cli/integrations/command_upgrade.py,sha256=ZZVdWJEkJW3AfImZFxmE5FuqfujCb04_B5hBgnsCrig,17113
130
130
  specify_cli/integrations/command_use.py,sha256=F1ld46r8G6T5831koABt0nbG3HuOu0LgPAtpH_rnEQk,3095
131
131
  specify_cli/integrations/installer.py,sha256=63vPNfW97XMSSpHkg7i9D0lK7aIFhDmzA32EYhOTRls,47980
@@ -183,7 +183,7 @@ specify_cli/mcp_server/catalog.py,sha256=MxdwRlI9sll49qoGNrmoHgo4rgdjYjxhkdFnQib
183
183
  specify_cli/mcp_server/executor.py,sha256=lU-GKHUxnBOSdiYneiIECDhpLyMWuO_Ld2fFjqruQ6s,3201
184
184
  specify_cli/mcp_server/server.py,sha256=phs7jfGapiBIM64JiOgpk7HC9K-pWdut8JpZRV7KYKs,2946
185
185
  specify_cli/presets/__init__.py,sha256=yYTvutiEIqC46tW3bxhKrH0AzFiLinsKcuxmADeMkj4,2110
186
- specify_cli/presets/_catalog.py,sha256=65Zx9Z2l6kdPzr1n5CWuo3Pg3Kprvotr_cjOPlTS6Nk,43022
186
+ specify_cli/presets/_catalog.py,sha256=QrJ8Xx4qLoz8vR0InIfpkvbGcC09ylG7cXKosdmQkmA,43275
187
187
  specify_cli/presets/_catalog_versions.py,sha256=IrWSx4bTWtZWQWqJ1Uk7gPWei53PddnIk0gfXVpCWMA,6116
188
188
  specify_cli/presets/_commands.py,sha256=tamKHurvrfuuWLJtjX2AXD9kz-lE0f-4gRrZ4Auma4U,3254
189
189
  specify_cli/presets/_manager.py,sha256=Hc1oW-Yu685eKNWxY7K_6sOxZ-Hd3sJeds7UrMiZKRg,42412
@@ -208,7 +208,7 @@ specify_cli/presets/catalog/command_list.py,sha256=SwPs8HgtgQMG25fBPIkTR0TDrkcKS
208
208
  specify_cli/presets/catalog/command_remove.py,sha256=ZwoUnrCBCFuW4Xq_Opm1bFsuxfvgVUIXemUJBHOHKFo,2572
209
209
  specify_cli/selfs/__init__.py,sha256=mvW41FasanvjzTr82hnUv3qrCbdNJpLqk_LxdiGRVqU,722
210
210
  specify_cli/selfs/command_check.py,sha256=dwBJ2cBBkOMMLjF5to-IIEQqUvqjOj8AziZBcpsx4ds,3040
211
- specify_cli/selfs/command_upgrade.py,sha256=1GtylhsYjRFBHBJP40x-X3_M_UO0kB5pzyZLAQdT19I,8060
211
+ specify_cli/selfs/command_upgrade.py,sha256=GBm59Aw52kxlXZhPA4H3zQpt7zqwSSy4sR2AtYBIzrw,9484
212
212
  specify_cli/workflows/__init__.py,sha256=Ru8Da8hHxrJfC77eRJxDSxco_k-Vkw9NMXRMCYEz7OU,9289
213
213
  specify_cli/workflows/_catalog_cache.py,sha256=BSkhiY6lanh5rSZ9CgkDY_wyAtuV9SFsTPJNA7ia3fY,7166
214
214
  specify_cli/workflows/_command_resume_state.py,sha256=zXcVBeT9gipLwAyHqmLUzhFh0TeypUX-bsEaj_vfikc,1798
@@ -236,7 +236,7 @@ specify_cli/workflows/composition.py,sha256=j5cJU2WgRUr3CKn9OAfZr_4fFz_fC1-oEAS6
236
236
  specify_cli/workflows/engine.py,sha256=KGJSc5xPUenqtYacxNXW8aJcGRSnICGYS6l6lh18rns,69880
237
237
  specify_cli/workflows/mcp_list.py,sha256=WKFzKrVOjtr7je_A1Lrh4Zka3f2l_6OZaSkfEAvTvM4,8392
238
238
  specify_cli/workflows/catalog/__init__.py,sha256=hi48lfC4OBFnd-l4P009GP_Y8n219ohmBp6lMLeaFX0,1690
239
- specify_cli/workflows/catalog/_domain.py,sha256=_F3ZNMRPZG5_2yZKaS2LsWBucYdO5ff7PW3I91mbmmQ,36988
239
+ specify_cli/workflows/catalog/_domain.py,sha256=Mlo2wZg7PvWHUZmwv_dqTtrsfH0Y07_BCaDTSfPdufs,37241
240
240
  specify_cli/workflows/catalog/_versions.py,sha256=9iIu_LXAnTj8vB8nXYUlUhEBdBXLvXpcFqCN-CDrS8c,5147
241
241
  specify_cli/workflows/catalog/command_add.py,sha256=J0pHirzaMtH9Qt1HZFNZM5lDb0rzeBVoR06Io9i6RM0,1027
242
242
  specify_cli/workflows/catalog/command_list.py,sha256=i-QSPqH45hrOSTZeLKoyDALsYRBWoBKu1sF66p-6qK8,1288
@@ -244,8 +244,8 @@ specify_cli/workflows/catalog/command_remove.py,sha256=--qOrWSZqjWAh_dAqNarzIyOe
244
244
  specify_cli/workflows/expressions/__init__.py,sha256=nNkdSlF8Tnsgdz3RdP2oHkhG_rvtv26sHhQ52emeJ1g,1931
245
245
  specify_cli/workflows/expressions/api.py,sha256=ZVl9dxcvctaRzi1fX6Nu_mjK6IMW3xRhvrokt4BrAVs,2647
246
246
  specify_cli/workflows/expressions/diagnostics.py,sha256=HU0lhqdPSt-vRnldy6wZ6xuXejucQu_rlPH3RNRq4Ew,15976
247
- specify_cli/workflows/expressions/engine.py,sha256=5FdGqNaDcXTUaxEcXFpngxja45eHVCWQXgGdKMU-AkQ,25107
248
- specify_cli/workflows/expressions/filters.py,sha256=2XAvRtEQm56T7v-JjqFQW34CJ3PucdBL3jNVcY--Hxs,13969
247
+ specify_cli/workflows/expressions/engine.py,sha256=MnXqBPrDafyzXslwTWuvzltUg0m8-_rSklUBvasFlmY,25138
248
+ specify_cli/workflows/expressions/filters.py,sha256=Sya6xVQ9dbDINVss-9ljk60Piw_OFROqJ9C-TvljHhg,14279
249
249
  specify_cli/workflows/expressions/namespace.py,sha256=WFn_XIgaKc4iKx6d0_lnBISQp9DlABxiJdAkfJr04H0,3410
250
250
  specify_cli/workflows/expressions/operators.py,sha256=cdn7W7vOkO1sjzwSQQOa7PzYSmDY1T79qw5a9xtcdQQ,3028
251
251
  specify_cli/workflows/expressions/template.py,sha256=PKN2CFqF_3laT3xf_c0z9aL3k2QXaQnwV7pfnqsQHag,8128
@@ -259,7 +259,7 @@ specify_cli/workflows/overlay/command_set_priority.py,sha256=ifnn7fBszo5YB9_abmp
259
259
  specify_cli/workflows/overlay/composer.py,sha256=fROFtwIm6k1lFVustqwxAjcjwnsJtgz8fnRIixcIG6g,3830
260
260
  specify_cli/workflows/overlay/layer_sources.py,sha256=kfWKh_XU8JBh2AOeTUAYAr8g9R93ZT034_7qmXeT0jM,9758
261
261
  specify_cli/workflows/overlay/merge.py,sha256=eEd1nFbqDMQRyRO0YgQcX81L_5kLeLB2jrA39eBQd5E,19301
262
- specify_cli/workflows/overlay/operations.py,sha256=ME7oUVXNsFcM9LhaRuXO92AcREi84DbNAtHFh9VUuWs,20206
262
+ specify_cli/workflows/overlay/operations.py,sha256=JeCEGXYJ08jclFsPhXYEDQFaV8acBxxZI2ymRAZT7Ow,20218
263
263
  specify_cli/workflows/overlay/resolver.py,sha256=CnH62fzV2U0IfsSd1MdqzQL49QHEXufZG9tA_rqOXHE,3544
264
264
  specify_cli/workflows/overlay/schema.py,sha256=_dvI4wYxFgaVol5NQ5XPdGXHTnvTUaBDx3q1ip5JUXw,6705
265
265
  specify_cli/workflows/step/__init__.py,sha256=82LOT8etxJvBL4Uq3iJFB7UT61q0qcVA4wwy4wTZtIU,832
@@ -272,7 +272,7 @@ specify_cli/workflows/step/command_remove.py,sha256=yR0kMTL5RzPEZZu6U5qKO1O8JIbu
272
272
  specify_cli/workflows/step/command_search.py,sha256=xYanvgkyjvWNQ1QA2ZXDSdZhOMFrhlH8DJAfCT_Rx3A,1606
273
273
  specify_cli/workflows/step/installer.py,sha256=-NLB1nlSd0eyUk60_ruUrKxP-aDHcsBt4WZQ7JYAmxo,32032
274
274
  specify_cli/workflows/step/catalog/__init__.py,sha256=Ijo5Nv4ofcBYSPnA5f3r7aLbIlRx-h1nC3IIM39wkvw,1249
275
- specify_cli/workflows/step/catalog/_domain.py,sha256=0lSlYuBJsOTizbKZdrxOfiCjXd-O96wFeB4MjPrZFzA,32137
275
+ specify_cli/workflows/step/catalog/_domain.py,sha256=XZfALzp3Jb0GtilhZwoS29qGsH6ZCwPEnFT_NtGD3TU,32390
276
276
  specify_cli/workflows/step/catalog/_versions.py,sha256=e5xG1spzZSeYHLXAb7dX1T7j_lRsKTsvcf1XPHgCth0,6286
277
277
  specify_cli/workflows/step/catalog/command_add.py,sha256=YYvswWlAyuz0d8EO8fsdQ8o1Kr9D_yNMYRtUBaTgquA,1051
278
278
  specify_cli/workflows/step/catalog/command_list.py,sha256=3MzrpDKvuz4Bu4j6llHs9FXlHo9SDvy5Rr15E0-ipSg,1275
@@ -305,11 +305,11 @@ specify_cli/core_pack/bundles/catalog.json,sha256=P4_-KzdNRpIh6REgpi5ZArsCLvZRHC
305
305
  specify_cli/core_pack/extensions/agent-context/README.md,sha256=oVbz6Gg-N2PqDV7fkadmO1ZtOWaSYh1_tmOXH0md_Pc,4030
306
306
  specify_cli/core_pack/extensions/agent-context/agent-context-config.yml,sha256=OWTSGgrrNWimYi7cxAUiaX7438FLYhLXa7rf5ihAJlw,1434
307
307
  specify_cli/core_pack/extensions/agent-context/agent-context-defaults.json,sha256=UCGukDd3tM2FI-lBS39RvlkDZ6hS3QO7E_pRDK462EA,1599
308
- specify_cli/core_pack/extensions/agent-context/extension.yml,sha256=JwEAF1u3QsN7jVSfIjPFt5EUhp2sdUiD2-ysKkgTvu8,932
308
+ specify_cli/core_pack/extensions/agent-context/extension.yml,sha256=eQ_hTuE5SQtG0l69w3lkueYg6Ixl2SuiHmvfUnTqeoE,932
309
309
  specify_cli/core_pack/extensions/agent-context/commands/speckit.agent-context.update.md,sha256=IV498Buv0Y4FHjH7sFxbSYaHmjsAEnhlxira7AeF6m0,1766
310
- specify_cli/core_pack/extensions/agent-context/scripts/bash/update-agent-context.sh,sha256=NWukUIq2q0evI7mtlF6KVzC4KJKJ2JbP4jTroFWpYC4,15961
310
+ specify_cli/core_pack/extensions/agent-context/scripts/bash/update-agent-context.sh,sha256=hojbMf32R7mJcyoKEpmvuFdddcL-tdWAIQsNZADOiaM,16220
311
311
  specify_cli/core_pack/extensions/agent-context/scripts/powershell/update-agent-context.ps1,sha256=dd1QtQcHKFYJJvR6MjjkID76edpjExuXgVrf_akja3o,20296
312
- specify_cli/core_pack/extensions/agent-context/scripts/python/update_agent_context.py,sha256=WzxXcNEsBtmFTtvmVwFt_I6idq2jhl9d4dzDs-fVvc8,13892
312
+ specify_cli/core_pack/extensions/agent-context/scripts/python/update_agent_context.py,sha256=AdAFf9Wuz2wOZUF3oaTXBEAFlCIzeKI6k95DWDjnJTE,14195
313
313
  specify_cli/core_pack/extensions/assess/README.md,sha256=7cAN0cWYF8RcI5FqRjqIM9Zc_ybGKd2Ha3z-UW1SKTg,8664
314
314
  specify_cli/core_pack/extensions/assess/extension.yml,sha256=xEbpXAz8lILreU-pDUKMXaMlcWJRXbLOvZrj7FNNGRk,1556
315
315
  specify_cli/core_pack/extensions/assess/commands/speckit.assess.decide.md,sha256=PkJ8UMkGRrzZylkPiJYzun0Wy0iA_-nGyh31nEYWONQ,7226
@@ -324,7 +324,7 @@ specify_cli/core_pack/extensions/bug/commands/speckit.bug.fix.md,sha256=pP-Q7R32
324
324
  specify_cli/core_pack/extensions/bug/commands/speckit.bug.test.md,sha256=01cJBXRu13Tpl16SHtAbbm8K60J7jo2lk9ZP-I7ov-g,9960
325
325
  specify_cli/core_pack/extensions/git/README.md,sha256=opV9l1aSAFjiCt8Qjcl1T8PzFRncvf41WfCPldSJ9mw,5819
326
326
  specify_cli/core_pack/extensions/git/config-template.yml,sha256=dFG3_MlvNo3nU29m4cqqhFJcdXO2s8JB5BVhN0FnyrM,2838
327
- specify_cli/core_pack/extensions/git/extension.yml,sha256=abmVBTyFQY4bKzLgKupfUuizTwG8KIhTe8sqApszzgU,4652
327
+ specify_cli/core_pack/extensions/git/extension.yml,sha256=ehkKOXtwLjih9dDbAQcrlE1rKMmQZRrvLfKDhd8Gru4,4652
328
328
  specify_cli/core_pack/extensions/git/git-config.yml,sha256=dFG3_MlvNo3nU29m4cqqhFJcdXO2s8JB5BVhN0FnyrM,2838
329
329
  specify_cli/core_pack/extensions/git/commands/speckit.git.commit.md,sha256=jmgm8WE2XcnHOPAG1kED2WfK8-5lAt_nVr-5_1G-PXE,3722
330
330
  specify_cli/core_pack/extensions/git/commands/speckit.git.feature.md,sha256=-N7FcEKz5Hfa58iWvYUVzH9YBs6dmJhEX6n0RF9mD_I,4548
@@ -338,7 +338,7 @@ specify_cli/core_pack/extensions/git/scripts/bash/initialize-repo.sh,sha256=GfGo
338
338
  specify_cli/core_pack/extensions/git/scripts/powershell/auto-commit.ps1,sha256=eSCO_6CUGw6SidAU_cM9kIcVlpmw1CxzzFhSedvQWk4,8246
339
339
  specify_cli/core_pack/extensions/git/scripts/powershell/create-new-feature-branch.ps1,sha256=cDn_3JU81Yih9iEP4Zm9DNuC-yhMcursAxCXQsSE7XE,23358
340
340
  specify_cli/core_pack/extensions/git/scripts/powershell/git-common.ps1,sha256=BM1lJ0GK1cBGMrNoNCrWaRWYi_ijXiy4TQnb1TeNqq8,1952
341
- specify_cli/core_pack/extensions/git/scripts/powershell/initialize-repo.ps1,sha256=2yqqJ-S85i7eCdANlOtCvq8nL03N3TlzKzEd4otPGaE,2199
341
+ specify_cli/core_pack/extensions/git/scripts/powershell/initialize-repo.ps1,sha256=4Qc1ftmaKwCFr36fvsYIVsGeElvKgS8SkzFQcygud50,2515
342
342
  specify_cli/core_pack/extensions/git/scripts/python/auto_commit.py,sha256=-Cpzll3MVtjsCF9keKvu_bPhXMenFJ4bs_9SQ4utG1I,6555
343
343
  specify_cli/core_pack/extensions/git/scripts/python/create_new_feature_branch.py,sha256=WcYlhT-BzSbXGjABCIWA6fdftKIYlGZ9m84uIAJs6dE,25513
344
344
  specify_cli/core_pack/extensions/git/scripts/python/git_common.py,sha256=DYWQqi7evoslG-3lkdzKGUcgo3cJdPXJZBUomOUVBZY,2703
@@ -386,8 +386,8 @@ specify_cli/core_pack/templates/vscode-settings.json,sha256=PbOh2EF9OKVrQF9gtgDc
386
386
  specify_cli/core_pack/workflows/assess/workflow.yml,sha256=AAnpPIQ-6dlpBHXZOX8LM8bcbSAGEWKI0u5YzN_xIag,1768
387
387
  specify_cli/core_pack/workflows/bugfix/workflow.yml,sha256=0zcr3uE4Be-FJobRYL36Q-y85WQRRZzXxK0BxxKmP-s,1302
388
388
  specify_cli/core_pack/workflows/speckit/workflow.yml,sha256=F3dhxeffKBJr7qBDtctFrq95WAkMAi3BGscTmUIvz7w,2118
389
- specify_cli-1.3.0.dist-info/METADATA,sha256=8ev0uxiDFDjEmAf-SNCqTj2D2RZmzQAliHS8bOqueOs,14248
390
- specify_cli-1.3.0.dist-info/WHEEL,sha256=2iZrJkDIkeDh0k9SikKMqFuRP-ua6mb4Ir1AsER4BEw,87
391
- specify_cli-1.3.0.dist-info/entry_points.txt,sha256=zO7Jooxo-O6FCM02xdzsNB8WNakvnPDv5bpZr1P4Pmo,45
392
- specify_cli-1.3.0.dist-info/licenses/LICENSE,sha256=JRC0RrwfDPlwJFMHXSDNiGMeIOVkJljttzJdnB61NPc,1060
393
- specify_cli-1.3.0.dist-info/RECORD,,
389
+ specify_cli-1.3.2.dist-info/METADATA,sha256=z6JuQ1Jy9SwxE5ugZRS-Q-PUCd62ecjyKMTamoV6oXY,15084
390
+ specify_cli-1.3.2.dist-info/WHEEL,sha256=2iZrJkDIkeDh0k9SikKMqFuRP-ua6mb4Ir1AsER4BEw,87
391
+ specify_cli-1.3.2.dist-info/entry_points.txt,sha256=zO7Jooxo-O6FCM02xdzsNB8WNakvnPDv5bpZr1P4Pmo,45
392
+ specify_cli-1.3.2.dist-info/licenses/LICENSE,sha256=JRC0RrwfDPlwJFMHXSDNiGMeIOVkJljttzJdnB61NPc,1060
393
+ specify_cli-1.3.2.dist-info/RECORD,,