Skip to content

Commit 5310a8e

Browse files
committed
fix: correct GitHub Issue template name (v0.6.5)
CRITICAL BUG FIX: Registration workflow was completely broken Problem: - Used incorrect template name: register.yml (doesn't exist) - Correct template is: register-speckit.yml - Resulted in empty Issue body - Bot couldn't process registration - All registration attempts failed since v0.6.4 Fix: - Updated template name: register.yml → register-speckit.yml - Removed 'title' URL parameter (handled by GitHub Issue Forms) - Updated URL generation to match GitHub Issue Forms API - Updated tests to verify correct template name Impact: - Severity: CRITICAL - Broke entire registration workflow - Affected: All users attempting to register speckits - Duration: Since v0.6.4 (< 1 hour) Verification: - All 156 tests passing - URL now correctly pre-fills repository field - Bot can now process registrations automatically References: - Bug discovered in marketing-spec-kit registration - Broken example: awesome-spec-kits#6 - Template: .github/ISSUE_TEMPLATE/register-speckit.yml
1 parent 2d06cb7 commit 5310a8e

File tree

5 files changed

+52
-8
lines changed

5 files changed

+52
-8
lines changed

CHANGELOG.md

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,51 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99

1010
---
1111

12+
## [0.6.5] - 2025-11-15
13+
14+
### 🐛 Bug Fixes - Critical
15+
16+
**Fixed `metaspec contribute` Registration Failure**
17+
18+
Fixed a critical bug that completely broke the speckit registration workflow.
19+
20+
**Problem**:
21+
- Used incorrect GitHub Issue template name: `register.yml`
22+
- Correct template name is: `register-speckit.yml`
23+
- Resulted in empty Issue body, bot couldn't process registration
24+
- All registration attempts failed
25+
26+
**Impact**: 🔴 Critical
27+
- Severity: High - Broke entire registration workflow
28+
- Affected: All users attempting to register speckits
29+
- Duration: Since v0.6.4 release
30+
31+
**Fix**:
32+
- Updated template name: `register.yml``register-speckit.yml`
33+
- Removed `title` URL parameter (handled by GitHub Issue Forms)
34+
- Updated URL generation to match GitHub Issue Forms API
35+
- Updated tests to verify correct template name
36+
37+
**Verification**:
38+
```bash
39+
# Before (v0.6.4) - BROKEN
40+
https://github.com/.../issues/new?template=register.yml&...
41+
# → Empty Issue body, bot couldn't process
42+
43+
# After (v0.6.5) - FIXED
44+
https://github.com/.../issues/new?template=register-speckit.yml&repository=...
45+
# → Repository field pre-filled, bot processes automatically
46+
```
47+
48+
**References**:
49+
- Bug Report: marketing-spec-kit registration failure
50+
- Broken Example: awesome-spec-kits#6 (empty body)
51+
- Working Template: `.github/ISSUE_TEMPLATE/register-speckit.yml`
52+
53+
**All 156 tests passing.**
54+
55+
---
56+
1257
## [0.6.4] - 2025-11-15
1358

1459
### 🎉 Changed - Major UX Improvement

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "meta-spec"
3-
version = "0.6.4"
3+
version = "0.6.5"
44
description = "Meta-specification framework for generating Spec-Driven X (SD-X) toolkits for AI agents"
55
readme = "README.md"
66
requires-python = ">=3.11"

src/metaspec/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
from YAML definitions.
66
"""
77

8-
__version__ = "0.6.4"
8+
__version__ = "0.6.5"
99

1010
__all__ = ["__version__"]
1111

src/metaspec/cli/contribute.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -212,11 +212,11 @@ def _generate_issue_url(repo_url: str) -> str:
212212
"""Generate pre-filled GitHub issue URL for awesome-spec-kits."""
213213
base_url = "https://github.com/ACNet-AI/awesome-spec-kits/issues/new"
214214

215-
# Use the issue template
215+
# Use the correct issue template name (GitHub Issue Forms)
216+
# Template file: .github/ISSUE_TEMPLATE/register-speckit.yml
216217
params = {
217-
"template": "register.yml",
218-
"title": f"Register Speckit: {Path.cwd().name}",
219-
"repository": repo_url,
218+
"template": "register-speckit.yml", # Correct template name
219+
"repository": repo_url, # Matches "id: repository" in template
220220
}
221221

222222
return f"{base_url}?{urlencode(params)}"

tests/unit/test_cli_contribute.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -373,6 +373,5 @@ def test_generate_issue_url_format(self) -> None:
373373
result = _generate_issue_url(repo_url)
374374

375375
assert "github.com/ACNet-AI/awesome-spec-kits/issues/new" in result
376-
assert "template=register.yml" in result
376+
assert "template=register-speckit.yml" in result # Correct template name
377377
assert "repository=https%3A%2F%2Fgithub.com%2Ftest%2Frepo" in result
378-
assert "title=Register+Speckit" in result

0 commit comments

Comments
 (0)