Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions presets/catalog.community.json
Original file line number Diff line number Diff line change
Expand Up @@ -651,19 +651,19 @@
"workflow-preset": {
"name": "Workflow Preset",
"id": "workflow-preset",
"version": "1.3.2",
"description": "Behavior-first specification, design artifacts, and agent-native handoff orchestration.",
"version": "1.3.9",
"description": "Behavior-first specification, design artifacts, and agent-native handoff orchestration",
"author": "bigsmartben",
"repository": "https://github.com/bigsmartben/spec-kit-workflow-preset",
"download_url": "https://github.com/bigsmartben/spec-kit-workflow-preset/releases/download/v1.3.2/spec-kit-workflow-preset-v1.3.2.zip",
"download_url": "https://github.com/bigsmartben/spec-kit-workflow-preset/releases/download/v1.3.9/spec-kit-workflow-preset-v1.3.9.zip",
"homepage": "https://github.com/bigsmartben/spec-kit-workflow-preset",
"documentation": "https://github.com/bigsmartben/spec-kit-workflow-preset/blob/main/README.md",
"license": "MIT",
"requires": {
"speckit_version": ">=0.8.10.dev0"
},
"provides": {
"templates": 22,
"templates": 27,
"commands": 8
},
"tags": [
Expand All @@ -674,7 +674,7 @@
"handoff"
],
"created_at": "2026-05-27T00:00:00Z",
"updated_at": "2026-06-03T00:00:00Z"
"updated_at": "2026-06-23T00:00:00Z"
}
}
}
24 changes: 24 additions & 0 deletions tests/test_presets.py
Original file line number Diff line number Diff line change
Expand Up @@ -4434,6 +4434,30 @@ def test_workflow_preset_catalog_matches_manifest(self):
assert entry["provides"]["templates"] == template_count
assert entry["tags"] == manifest["tags"]

def test_workflow_preset_community_catalog_matches_manifest(self):
"""workflow-preset community catalog entry matches the released preset."""
catalog_path = Path(__file__).parent.parent / "presets" / "catalog.community.json"
manifest_path = Path(__file__).parent.parent / "presets" / "workflow-preset" / "preset.yml"
catalog = json.loads(catalog_path.read_text(encoding="utf-8"))
manifest = yaml.safe_load(manifest_path.read_text(encoding="utf-8"))

entry = catalog["presets"]["workflow-preset"]
provided = manifest["provides"]["templates"]
command_count = sum(1 for item in provided if item["type"] == "command")
template_count = sum(1 for item in provided if item["type"] == "template")
version = manifest["preset"]["version"]

assert entry["version"] == version
assert entry["repository"] == manifest["preset"]["repository"]
assert entry["download_url"] == (
"https://github.com/bigsmartben/spec-kit-workflow-preset/"
f"releases/download/v{version}/spec-kit-workflow-preset-v{version}.zip"
)
assert entry["requires"]["speckit_version"] == manifest["requires"]["speckit_version"]
assert entry["provides"]["commands"] == command_count
assert entry["provides"]["templates"] == template_count
assert entry["tags"] == manifest["tags"]

def test_workflow_preset_integration_release_payload_contract(self):
"""Workflow preset release dispatch contract stays aligned with preset repo."""
workflow_path = (
Expand Down