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
4 changes: 2 additions & 2 deletions extensions/catalog.json
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +144,8 @@
"repository-governance": {
"name": "Repository Governance",
"id": "repository-governance",
"version": "2.0.2",
"description": "Generate or update the active Repository Governance Framework file with vertical SSOT routing and evidence",
"version": "2.0.5",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Add a download URL for the advertised update

When a project already has repository-governance v2.0.2 installed, this catalog bump makes specify extension update repository-governance detect 2.0.5 as an available update, but bundled catalog entries still have no download_url; the update path calls catalog.download_extension(...), which explicitly rejects bundled extensions without a download URL (src/specify_cli/extensions.py:2527-2533). Either include an installable 2.0.5 download URL in this catalog entry or avoid advertising a newer catalog version until bundled-extension updates can reinstall from the local package.

Useful? React with 👍 / 👎.

"description": "Generate Repository Governance Framework files from Spec Kit metadata",
"author": "bigben",
"repository": "https://github.com/bigsmartben/spec-kit-agent-governance",
"license": "MIT",
Expand Down
1 change: 1 addition & 0 deletions extensions/repository-governance/.extensionignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ __pycache__/
*.pyc
.pytest_cache/
tests/
tools/
.DS_Store
.venv/
dist/
Expand Down
14 changes: 14 additions & 0 deletions extensions/repository-governance/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,20 @@

## Unreleased

## [2.0.5] - 2026-06-24

### Fixed

- Update the release smoke install command to use Spec Kit's current `--integration codex` option.

## [2.0.4] - 2026-06-24

### Changed

- Lock local GitHub Actions verification commands with `uv run --locked` and keep the extension install smoke test on the GitHub runner.
- Broaden repository fact detection for extension assets, Spec Kit metadata, project policy files, feature specs, build/runtime config, and Python/uv test commands.
- Replace the local `zip` shell command with a cross-platform Python package builder shared by docs and the release workflow.

### Fixed

- Keep spec-kit integration PR sync aligned with the runtime extension package boundary and current spec-kit test node ids.
Expand Down
29 changes: 10 additions & 19 deletions extensions/repository-governance/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,17 +25,8 @@ Generate the active Repository Governance Framework SSOT section.

## Install

New projects install `repository-governance` by default with `specify init`.
Use the catalog command to restore or reinstall the bundled extension:

```bash
specify extension add repository-governance
```

Install a specific released archive when you need to pin an exact external version:

```bash
specify extension add repository-governance --from https://github.com/bigsmartben/spec-kit-agent-governance/archive/refs/tags/v2.0.2.zip
specify extension add repository-governance --from https://github.com/bigsmartben/spec-kit-agent-governance/archive/refs/tags/v2.0.5.zip
```

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

```bash
rm -f dist/repository-governance.zip
mkdir -p dist
zip -qr dist/repository-governance.zip extension.yml commands scripts templates -x '*/__pycache__/*' '*.pyc'
uv run python tools/build_repository_governance_zip.py
```

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

## SSOT Coverage

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

## Agent Adapter

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

```bash
uv run python -m py_compile scripts/refresh_repository_governance.py
uv run pytest -q tests/test_extensions.py::TestBundledCommunityExtensionLocator tests/integrations/test_cli.py::TestGitExtensionAutoInstall::test_community_extensions_and_workflow_preset_auto_installed
uv run --locked python -m py_compile scripts/refresh_repository_governance.py tools/build_repository_governance_zip.py tests/test_governance_domains.py
uv run --locked pytest -q
```
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ $ARGUMENTS
- Directory Structure evidence
- Toolchain evidence
- Agent Harness evidence
- README, project docs, repository policy, and Spec Kit metadata
- extension assets and command/template governance contracts
- feature specs, API contracts, build config, runtime config, source paths, and test paths
- development commands from package scripts or Python/uv test conventions
9. Resolve the Spec Kit Agent Adapter for the active integration.
- context target
- repository-local skill discovery behavior
Expand Down
2 changes: 1 addition & 1 deletion extensions/repository-governance/extension.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ schema_version: "1.0"
extension:
id: repository-governance
name: "Repository Governance"
version: "2.0.2"
version: "2.0.5"
description: "Generate Repository Governance Framework files from Spec Kit metadata"
author: "bigben"
repository: "https://github.com/bigsmartben/spec-kit-agent-governance"
Expand Down
Loading
Loading