Skip to content

Commit dc199f4

Browse files
authored
Merge pull request #27 from bigsmartben/extension-release-v2.0.5
Update repository-governance extension to v2.0.5
2 parents 64dee92 + 6f953e0 commit dc199f4

7 files changed

Lines changed: 264 additions & 85 deletions

File tree

‎extensions/catalog.json‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,8 +144,8 @@
144144
"repository-governance": {
145145
"name": "Repository Governance",
146146
"id": "repository-governance",
147-
"version": "2.0.2",
148-
"description": "Generate or update the active Repository Governance Framework file with vertical SSOT routing and evidence",
147+
"version": "2.0.5",
148+
"description": "Generate Repository Governance Framework files from Spec Kit metadata",
149149
"author": "bigben",
150150
"repository": "https://github.com/bigsmartben/spec-kit-agent-governance",
151151
"license": "MIT",

‎extensions/repository-governance/.extensionignore‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ __pycache__/
88
*.pyc
99
.pytest_cache/
1010
tests/
11+
tools/
1112
.DS_Store
1213
.venv/
1314
dist/

‎extensions/repository-governance/CHANGELOG.md‎

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,20 @@
22

33
## Unreleased
44

5+
## [2.0.5] - 2026-06-24
6+
7+
### Fixed
8+
9+
- Update the release smoke install command to use Spec Kit's current `--integration codex` option.
10+
11+
## [2.0.4] - 2026-06-24
12+
13+
### Changed
14+
15+
- Lock local GitHub Actions verification commands with `uv run --locked` and keep the extension install smoke test on the GitHub runner.
16+
- Broaden repository fact detection for extension assets, Spec Kit metadata, project policy files, feature specs, build/runtime config, and Python/uv test commands.
17+
- Replace the local `zip` shell command with a cross-platform Python package builder shared by docs and the release workflow.
18+
519
### Fixed
620

721
- Keep spec-kit integration PR sync aligned with the runtime extension package boundary and current spec-kit test node ids.

‎extensions/repository-governance/README.md‎

Lines changed: 10 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -25,17 +25,8 @@ Generate the active Repository Governance Framework SSOT section.
2525

2626
## Install
2727

28-
New projects install `repository-governance` by default with `specify init`.
29-
Use the catalog command to restore or reinstall the bundled extension:
30-
31-
```bash
32-
specify extension add repository-governance
33-
```
34-
35-
Install a specific released archive when you need to pin an exact external version:
36-
3728
```bash
38-
specify extension add repository-governance --from https://github.com/bigsmartben/spec-kit-agent-governance/archive/refs/tags/v2.0.2.zip
29+
specify extension add repository-governance --from https://github.com/bigsmartben/spec-kit-agent-governance/archive/refs/tags/v2.0.5.zip
3930
```
4031

4132
Local development:
@@ -59,9 +50,7 @@ uv run python .specify/extensions/repository-governance/scripts/refresh_reposito
5950
## Build
6051

6152
```bash
62-
rm -f dist/repository-governance.zip
63-
mkdir -p dist
64-
zip -qr dist/repository-governance.zip extension.yml commands scripts templates -x '*/__pycache__/*' '*.pyc'
53+
uv run python tools/build_repository_governance_zip.py
6554
```
6655

6756
## Files
@@ -73,12 +62,14 @@ zip -qr dist/repository-governance.zip extension.yml commands scripts templates
7362

7463
## SSOT Coverage
7564

76-
- Architecture SSOT evidence from source roots, route files, API contracts, and deployment directories.
77-
- Engineering SSOT evidence from CI workflows, release/version files, manifests, and task runners.
65+
- Architecture SSOT evidence from source roots, extension source assets, route files, API contracts, and deployment directories.
66+
- Engineering SSOT evidence from CI workflows, release/version files, command/template governance contracts, manifests, and task runners.
7867
- Code Style SSOT evidence from formatter, lint, type-check, and test configuration.
7968
- Directory Structure SSOT evidence from repository areas scanned to depth 2.
80-
- Toolchain SSOT evidence from manifests, lockfiles, Docker, compose, and task runner files.
81-
- Agent Harness SSOT evidence from active agent context files, repository-local skills, and MCP config candidates.
69+
- Toolchain SSOT evidence from manifests, lockfiles, extension assets, build config, runtime config, Docker, compose, and task runner files.
70+
- Agent Harness SSOT evidence from active agent context files, Spec Kit metadata, repository-local skills, and MCP config candidates.
71+
- Repository fact evidence from README files, project docs, repository policy files, feature specs, source/test paths, and runtime/build configuration.
72+
- Development command evidence from package scripts or Python/uv test conventions.
8273

8374
## Agent Adapter
8475

@@ -91,6 +82,6 @@ Repository-local `SKILL.md` files are indexed by declared name, description, tri
9182
## Verify
9283

9384
```bash
94-
uv run python -m py_compile scripts/refresh_repository_governance.py
95-
uv run pytest -q tests/test_extensions.py::TestBundledCommunityExtensionLocator tests/integrations/test_cli.py::TestGitExtensionAutoInstall::test_community_extensions_and_workflow_preset_auto_installed
85+
uv run --locked python -m py_compile scripts/refresh_repository_governance.py tools/build_repository_governance_zip.py tests/test_governance_domains.py
86+
uv run --locked pytest -q
9687
```

‎extensions/repository-governance/commands/speckit.repository-governance.refresh.md‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,10 @@ $ARGUMENTS
3535
- Directory Structure evidence
3636
- Toolchain evidence
3737
- Agent Harness evidence
38+
- README, project docs, repository policy, and Spec Kit metadata
39+
- extension assets and command/template governance contracts
40+
- feature specs, API contracts, build config, runtime config, source paths, and test paths
41+
- development commands from package scripts or Python/uv test conventions
3842
9. Resolve the Spec Kit Agent Adapter for the active integration.
3943
- context target
4044
- repository-local skill discovery behavior

‎extensions/repository-governance/extension.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ schema_version: "1.0"
33
extension:
44
id: repository-governance
55
name: "Repository Governance"
6-
version: "2.0.2"
6+
version: "2.0.5"
77
description: "Generate Repository Governance Framework files from Spec Kit metadata"
88
author: "bigben"
99
repository: "https://github.com/bigsmartben/spec-kit-agent-governance"

0 commit comments

Comments
 (0)