loopgen 0.5.0 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +21 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -197,6 +197,16 @@ npm run loopgen -- audit check --require test-repair --require-no-violations --r
|
|
|
197
197
|
(直接打开即可,无需服务器)和一份 markdown 报告。`check` 是**合并闸门**:当某个必需 loop 没有通过记录、
|
|
198
198
|
有改动碰了禁止路径、或链断了,就以非 0 退出 —— 接进 CI 即可在「证据缺失/不足」时挡住合并。
|
|
199
199
|
|
|
200
|
+
也有现成的 GitHub Action(会把治理汇总写进 job summary,并在策略违规时让 job 失败):
|
|
201
|
+
|
|
202
|
+
```yaml
|
|
203
|
+
- uses: Nagiici/Loopgen/.github/actions/audit-check@v0.6.0
|
|
204
|
+
with:
|
|
205
|
+
require: test-repair,ci-failure-repair
|
|
206
|
+
require-no-violations: "true"
|
|
207
|
+
require-chain: "true"
|
|
208
|
+
```
|
|
209
|
+
|
|
200
210
|
可用 adapter:
|
|
201
211
|
|
|
202
212
|
- `agents-md`:通用 `AGENTS.md`,可被 Claude Code、Codex、Cursor、Copilot、Gemini CLI、Aider 等读取
|
|
@@ -469,6 +479,17 @@ a self-contained **HTML governance dashboard** (just open it — no server) plus
|
|
|
469
479
|
the **merge gate**: it exits non-zero if a required loop has no passing run, a run touched forbidden paths, or
|
|
470
480
|
the chain is broken — wire it into CI to block merges on missing or insufficient proof.
|
|
471
481
|
|
|
482
|
+
There's a ready-made GitHub Action (it renders the governance rollup into the job summary and fails the job
|
|
483
|
+
on policy violations):
|
|
484
|
+
|
|
485
|
+
```yaml
|
|
486
|
+
- uses: Nagiici/Loopgen/.github/actions/audit-check@v0.6.0
|
|
487
|
+
with:
|
|
488
|
+
require: test-repair,ci-failure-repair
|
|
489
|
+
require-no-violations: "true"
|
|
490
|
+
require-chain: "true"
|
|
491
|
+
```
|
|
492
|
+
|
|
472
493
|
Available adapters:
|
|
473
494
|
|
|
474
495
|
- `agents-md` — one `AGENTS.md` read by Claude Code, Codex, Cursor, Copilot, Gemini CLI, Aider, and more
|
package/package.json
CHANGED