[Extension]: Update gates (Quality Gates — Enforcement Layer) to 0.4.1
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
调研方向
首先找到现有的 gates 目录条目,然后将其字段与此 issue 中提议的条目进行比较。在保留现有创建日期、下载量和星标数的同时,更新版本、下载 URL、provides 数量、标签和 updated_at。确认目录反映的是版本 0.4.1,以及两个 hook 和八个命令。
由索引模型根据 Issue 内容生成。
描述
Extension ID
gates
Extension Name
Quality Gates (Enforcement Layer)
Version
0.4.1
Description
Deterministic quality enforcement for Spec Kit projects at three boundaries: the agent boundary (Claude Code PreToolUse/PostToolUse/Stop hooks), the git boundary (pre-commit / pre-merge-commit / commit-msg), and the CI boundary (projected GitHub Actions / GitLab CI / Jenkins pipelines). One policy file, one verify entrypoint, identical results at every boundary.
Author
schwichtgit
Repository URL
https://github.com/schwichtgit/spec-gates
Download URL
https://github.com/schwichtgit/spec-gates/releases/download/v0.4.1/gates-0.4.1.zip
License
MIT
Homepage (optional)
https://github.com/schwichtgit/spec-gates
Documentation URL (optional)
https://github.com/schwichtgit/spec-gates/blob/main/docs/how-it-works.md
Changelog URL (optional)
https://github.com/schwichtgit/spec-gates/releases
Required Spec Kit Version
=0.12.0
Required Tools (optional)
- jq (required)
- git (required)
- python3 (required)
- cmp (required)
- node with pinned prettier/markdownlint-cli2 (optional, for the lint gates)
- shellcheck (optional, for shell linting)
Number of Commands
8
Number of Hooks (optional)
2
Tags
quality, enforcement, hooks, ci, governance
Key Features
/speckit.gates.init— Infer a quality policy from the repo, project the enforcement runtime, wire agent + git hooks, and run a self-test/speckit.gates.verify— Run the full gate suite on demand (same checks as the Stop hook, pre-commit, and CI)/speckit.gates.doctor— Check enforcement health: tools, hooks wired and proven, runtime current, upgrade safety, install hygiene, and the spec, contract and constitution gates/speckit.gates.ci— Project CI enforcement for a platform: github | gitlab | jenkins (optionally --protect the default branch)/speckit.gates.upgrade— Upgrade the extension and re-project the enforcement runtime through one reviewable step (never touches policy.json)/speckit.gates.sync— Sync the policy baseline contract: pin, snapshot, and materialize the effective policy (--update moves the pin as a reviewable change)/speckit.gates.propose— Propose this repo's policy deviations upstream as a change request against the baseline/speckit.gates.constitution— Guided constitution session: interview to a profile, pick corpus principles, and produce an enforcement-annotated, ratifiable draft
Testing Checklist
- Extension installs successfully via download URL
- All commands execute without errors
- Documentation is complete and accurate
- No security vulnerabilities identified
- Tested on at least one real project
Submission Requirements
- Valid
extension.ymlmanifest included - README.md with installation and usage instructions
- LICENSE file included
- GitHub release created with version tag
- All command files exist and are properly formatted
- Extension ID follows naming conventions (lowercase-with-hyphens)
Testing Details
Tested on: macOS (bash 3.2, BSD toolchain) and Linux/GNU (ubuntu-latest CI).
Test project: the extension repository dogfoods itself — CI projects the
released runtime and runs verify.sh --boundary ci, the canary suite
(planted violations must be rejected), and 15 test suites on every PR.
The release asset is sha256-checksummed and sigstore-signed; the release
workflow fails closed if the tag, manifest, and package versions disagree, or
if required package contents (manifest, constitution corpus, runtime) are
missing from the zip.
Downstream: in production use by real downstream projects (GitHub and
GitLab CI backstops); 0.4.0 and 0.4.1 were validated by downstream projects
upgrading from release candidates and from the released assets.
Example Usage
# Install (this exact version)
specify extension add gates --from https://github.com/schwichtgit/spec-gates/releases/download/v0.4.1/gates-0.4.1.zip
# Or always the latest release
specify extension add gates --from https://github.com/schwichtgit/spec-gates/releases/latest/download/gates.zip
# Set up enforcement (infer policy, project runtime, wire hooks, self-test)
/speckit.gates.init
# Prove it holds
/speckit.gates.verify
Proposed Catalog Entry
{
"_note": "This is an UPDATE of the existing 'gates' entry — replace version, download_url, provides, and updated_at in place; preserve created_at, downloads, and stars.",
"gates": {
"version": "0.4.1",
"download_url": "https://github.com/schwichtgit/spec-gates/releases/download/v0.4.1/gates-0.4.1.zip",
"requires": {
"speckit_version": ">=0.12.0"
},
"provides": {
"commands": 8,
"hooks": 2
},
"tags": [
"quality",
"enforcement",
"hooks",
"ci",
"governance"
],
"updated_at": "2026-10-08T00:00:00Z"
}
}
Additional Context
Update of the existing gates catalog entry (first listed at 0.1.0 via
github/spec-kit PR #3431). The entry's provides counts changed since
listing: 8 commands and 2 hooks.
Changes since the listed catalog version (0.3.6):
full commit-level delta at https://github.com/schwichtgit/spec-gates/compare/v0.3.6...v0.4.1 —
release-by-release notes at https://github.com/schwichtgit/spec-gates/releases.
Release assets are sha256-checksummed and sigstore keyless-signed;
verification instructions are in the release notes. Release notes are
generated from Conventional Commits per release (no hand-maintained
changelog to drift).
- 主要语言
- Python
- 星标
- 140k
- 派生
- 12.6k
- 平均合并
- 2 天 15 小时
- 30 天内合并 PR
- 200
环境准备
在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
github/spec-kit 的其他 Issue
-
feature-assess feature-go triage-can-wait
难度 2/5 1-3 小时 新手友好度 78/100
github/spec-kit#4804 · 6 条评论 ·
维护者通常 1 天内回复
-
needs-triage triage-nice-to-have
难度 2/5 1-3 小时 新手友好度 72/100
github/spec-kit#4527 · 1 条评论 ·
维护者通常 1 天内回复
-
[Bug]: specify init writes speckit.manifest.json without the speckit-converge skill it just installed可能重新可做 关联的 PR 已关闭且未合并。 未关闭bug-assess severity-medium
难度 2/5 1-3 小时 新手友好度 72/100
github/spec-kit#4273 · 3 条评论 ·
维护者通常 1 天内回复
-
[Bug]: /speckit-implement counts checkbox markers inside fenced code blocks — example checkboxes can falsely block implementation可能已有人在做 @ntdatt812 于 27 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 84/100
维护者通常 1 天内回复
-
[Extension]: Jira Integration (Sync Engine) v0.5.0 (version update of jira-sync)可能已有人在做 @github-actions 于 52 天前认领。 未关闭extension-submission validation-passed
难度 2/5 1-3 小时 新手友好度 72/100
github/spec-kit#4099 · 3 条评论 ·
维护者通常 1 天内回复
相似的 Issue
-
first
难度 2/5 1-3 小时 新手友好度 72/100
AcademySoftwareFoundation/rmtc#54 · 1 条评论 ·
-
feature/cohorts feature/feature-flags team/feature-flags
难度 2/5 1-3 小时 新手友好度 74/100
维护者通常 1 天内回复
-
License examples/ as MIT可能已有人在做 @PGrayCS 今天认领。 未关闭documentation enhancement example good first issue
难度 2/5 1-3 小时 新手友好度 84/100
speedyk-005/yasbd-lib#383 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
interactions-py/interactions.py#1827 ·
-
Managed start can fail when OpenVMM reads its control capability before NVX writes it可能已有人在做 @ppenna 今天认领。 未关闭bug
难度 2/5 1-3 小时 新手友好度 76/100
维护者通常 1 天内回复