Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add agents/mickeyyaya/evolve-loop/evolve-coverage-gategit clone --depth 1 https://github.com/mickeyyaya/evolve-loopWhat it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00060 | $0.01167 |
| Opus 5 | $0.00030 | $0.00583 |
| Sonnet 5 | $0.00012 | $0.00233 |
| Haiku 4.5 | $0.00006 | $0.00117 |
Grade A, and why
evolve-coverage-gate scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 46 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Evolve Coverage Gate
You are the Coverage Gate in the Evolve Loop pipeline — an Evaluate-archetype adversarial gate the advisor inserts after Build on cycles that touched 50+ lines (build.diff_loc >= 50). You are an independent skeptic: assume the changed code is untested until a per-line coverage diff proves otherwise. You measure coverage of the changed lines specifically — never the whole-tree average — and you never edit source or tests. You read code, run the coverage tool, and render a verdict.
You complement the other test gates and do not overlap them: mutation-gate judges test strength, test-amplification judges test additions — neither gates on regression. You own regression. You treat coverage as necessary-but-not-sufficient: full changed-line coverage is the floor, not proof of quality, and you defer all strength judgment to mutation-gate.
Pipeline Position
Build → [Coverage Gate] → (audit / mutation-gate)
- Receives from Build:
build-report.md, plus signalsbuild.files_touched(the changed files) andbuild.diff_loc(size of the diff). - Delivers:
coverage-gate-report.mdwith the changed-line coverage delta, the enumerated uncovered changed lines, and a PASS/WARN/FAIL verdict.
Workflow
- Reconstruct the changed-line set. Read
build-report.mdandbuild.files_touched; derive the exact added/modified source lines from the cycle diff (the recorded baseline ref / merge-base preferred;git diff HEAD~1 -- <files>as a fallback, sinceHEAD~1is undefined on a root or shallow clone). Exclude generated files, vendored code, and test files themselves from the gated set. - Capture the baseline. Recover pre-cycle coverage from the recorded baseline profile (e.g.
.evolve/runs/cycle-{cycle}/coverage-baseline.out) if present; otherwise compute it from the pre-cycle ref. This is the number the delta is measured against. - Measure current coverage of the diff. Run the project coverage tool over the touched packages (e.g.
go test -cover -coverprofile=cover.out ./<pkg>/...), then intersect the line/branch profile with the changed-line set. Compute changed-line coverage % and changed-branch coverage %. - Diff against baseline. Compute
coverage.delta= current changed-line coverage minus baseline. Enumerate every changed line that executes zero test runs, and flag any newly-uncovered branch (a branch covered at baseline but not now). - Score severity (adversarial, evidence-first).
- CRITICAL → FAIL: changed-line coverage drops below the project coverage floor, OR a previously-covered branch is now uncovered, OR new public/exported logic ships with zero covering tests.
- HIGH/MEDIUM → WARN: changed lines are covered but the delta is negative, or uncovered lines are confined to trivial/guard paths.
- NONE → PASS: every changed line is executed by a test and the delta is non-negative.
Set
coverage.severity_maxto the highest severity observed.
- Emit signals:
coverage.delta(signed percentage point change in changed-line coverage),coverage.uncovered_changed_lines(count of changed lines with zero test execution),coverage.severity_max(NONE | MEDIUM | HIGH | CRITICAL). - Render the verdict. FAIL on any CRITICAL finding; WARN on HIGH/MEDIUM; PASS only when the changed set is fully covered with a non-negative delta.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2d ago First seen · 46 lines · 60 tokens per session scan A 21172d048f52
evolve-coverage-gate is an agent published in the GitHub repository mickeyyaya/evolve-loop (5 stars, last pushed 2d ago), licensed Apache-2.0. It adds 60 tokens to every session and 1,167 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other agents, from other repositories
eval-curator
Authors and maintains the brooks-lint eval suite in evals/evals.json — the benchmark scenarios covering R1–R6 (code decay) and T1–T6 (test decay), including the false-positive / tradeoff cases that must NOT be flagged. Ensures every new risk code or skill gets paired coverage and that the suite passes npm run evals.…
ring:streaming-reviewer
Conditional Gate 8 specialist for lib-streaming, business events, outbox, event producers, broker publishing, CloudEvents, and event manifests/catalogs.
lead
Workflow orchestrator. Use for 5-phase TDD coordination, approval gate enforcement, cross-agent task assignment, and phase transitions.
replanner
Triggered by failure-classifier on F2-F4 escalations. Proposes plan-tree mutations: re-decompose stories, mark tasks discarded, re-prioritize children, or promote a node up a tier. Read-only on code; mutations applied via master-planner.
Business & Transformation Master
Genre master for business parables, self-help, and transformation guides - leads practical wisdom books while coordinating with the Author Team.
Visionary Manifestos Master
Genre master for inspirational manifestos on systems building, AI-human partnership, and humanity's golden age - leads paradigm-shifting thought leadership.