Repository navigation
feat(regress-guard): add AI-coding governance gate plugin - #34
1339190177 wants to merge 1 commit into
Conversation
|
✅ Internal validation passed. A ZCode maintainer will review the change next; once merged it is published to the marketplace and this PR is closed automatically. |
|
Thanks for the contribution! This PR no longer applies cleanly on top of the latest 🤖 Copy this prompt into Claude Code / Codex to fix it |
db844fa to
bee745c
Compare
|
❌ Internal validation failed: Please fix it and push again; the check re-runs automatically. 🤖 Copy this prompt into Claude Code / Codex to fix it |
bee745c to
efdd516
Compare
|
✅ Internal validation passed. A ZCode maintainer will review the change next; after acceptance, release checks run separately and this PR is closed automatically. |
- 上游 10-23 前进(jev-decisions 等 5 commits)致冲突:marketplace.json 重建为上游 51 条 + regress-guard 1.101.0 - v1.101.0: outofband bypass 维度+source 分桶修正;blast-radius 影响面门禁(阶梯默认+impact_scope 字段) - 载荷同源化 82 文件(prepare_marketplace --pr-payload,与 dist sha256 全等) - 本地 scripts/validate.py:52 plugins OK
efdd516 to
50abe3c
Compare
|
✅ Internal validation passed. A ZCode maintainer will review the change next; after acceptance, release checks run separately and this PR is closed automatically. |
用户问题(This PR solves)
Agent 自信地谎报「done」——直接提交 main 的工作流里没有任何机器验证完成度声明。regress-guard 在提交这个唯一卡点上强制重验:门禁自己跑测试,不信 AI 自报。
用户可见行为与测试方式(Behavior / how to test)
/regress:init→ 提交流程带门禁(测试失败/验收未勾即拦)bash validate.sh应 5/5;python3 -m pytest tests/ -q应全绿(664 用例)python3 scripts/validate.pyexit 0(27 plugins 含本插件);python3 scripts/build_dist.pyexit 0(plugin.zip 292KB)版本与市场注册(Version / registration)
v1.88.0,marketplace.json 条目与清单一致(name/version/description/author/category=developer-tools/keywords/双语 description_i18n)。
依赖与副作用(Dependencies / side effects,README 已专节声明)
.regress/与~/.zcode/regress-guard-hooks(安装副本)第三方材料(Third-party)
无(MIT,运行时零第三方代码)。历史仓库:github.com/1339190177/regress-guard(同一作者维护,本目录为市场蒸馏版,剥离开发工具件)。
自查清单(Checklist)
validate.py、build_dist.py沙箱实测通过(exit 0 ×2)品类定位(2026-10-29 增补)
本市场现有 54 个插件位(plugins 38 + external_plugins 16),均为能力与领域工具(财务研究/云协作/创作工具),没有治理、验证、测试门禁类插件——本插件是该品类的第一件,PR 合并即补齐市场空白。同类生态(Claude Code 插件市场)治理品类同样空缺,开源最深同类 star 仍是个位数——品类尚未形成竞争。
插件在本 PR 之后持续演化:v1.88.0 至 v1.106.0、664 至 912 测试用例,新增增量测试档、并行测试档(实测省约一半门禁耗时)、计划分档与骨架前置、fail-closed 审计等。最新版见公开仓 github.com/1339190177/regress-guard(一行安装 bash install.sh);本 PR 内容为此前快照,合并后可按公开仓版本继续跟进。