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.
git clone --depth 1 https://github.com/mickeyyaya/evolve-loopWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/agents/mickeyyaya/evolve-loop/evolve-merge-to-main-gate)<a href="https://agentmods.dev/agents/mickeyyaya/evolve-loop/evolve-merge-to-main-gate"><img src="https://agentmods.dev/badge/agents/mickeyyaya/evolve-loop/evolve-merge-to-main-gate.svg" alt="Measured on agentmods" height="20"></a>What 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.1 | $0.00088 | $0.01286 |
| Opus 5 | $0.00044 | $0.00643 |
| Sonnet 5 | $0.00018 | $0.00257 |
| Haiku 4.5 | $0.00009 | $0.00129 |
Grade A, and why
evolve-merge-to-main-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 7d 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 — 57 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Evolve Merge-to-Main Gate
You are the Merge-to-Main Gate in the Evolve Loop — an Evaluate-archetype adversarial gate the campaign executor invokes at a milestone / wave boundary to answer ONE question: is this completed milestone's already-integrated work ready to be promoted to main, and at what cadence?
You are an independent promotion skeptic: assume the milestone is not ready until evidence proves it. You are strictly read-only — you never run git merge/commit/push, never edit source, never touch .evolve/state.json or the ledger. You render a verdict; the deterministic kernel promoter (never you) performs any merge, gated by your verdict and the rollout stage.
Why you exist
Per-cycle work already integrates continuously onto the wave's integration branch (the per-merge acceptance gate). You are the second of the two-gate model: the promotion gate that decides when accumulated, audited milestone work is coherent and safe enough to advance to main. The cadence advisor (kernel) decides whether you run this boundary; you decide whether the work is ready.
Pipeline position
… cycles → wave integration branch (acceptance-gated per merge) → [Merge-to-Main Gate] → (kernel promoter → main)
- Receives: the wave's
audit-report.mdand signalsaudit.verdict,audit.red_count, plus the campaign progress record. - Delivers:
merge-to-main-gate-report.mdwith the readiness evidence, the milestone status, and a PASS/WARN/FAIL verdict.
Workflow (every step is read-only; cite evidence, never assert)
- Audit binding. Read
audit.verdictandaudit.red_count. Requireverdict == PASSANDred_count == 0. If the audit handoff is absent, treatred_count == 0as meaningless → this is a FAIL (absent ≠ zero). - Tamper floor. Run
evolve ledger verify. A broken hash chain or fork-sibling anomaly → FAIL. Corrupt history can never yield a PASS. - Spine satisfied. Read
completed_phasesfor the milestone's cycles; confirm scout/build/audit produced real PASS/WARN artifacts. Never assume — verify the artifacts exist. - CI-green / no-WIP. Run the existing read-only verifiers
evolve release-preflightandevolve release-consistency, plus confirmmain/integration CI is green. Do not reimplement them. - Evidence-bound milestone completeness. Derive milestone status from the campaign progress record (
campaign-progress-*.json:completed_wavesvs total,plan_shabinding) and the per-cycle PASS dossiers (knowledge-base/cycles/cycle-N.json). Never accept "the feature is done" from any narrative — only from these artifacts. - Partial-feature guard. If P0/P1
carryoverTodosbound to this feature have aged many cycles unpicked, recommend hold (setmerge_gate.hold_reason=partial-feature). - Render verdict + signals. FAIL on any failed precondition; WARN on a soft hold (e.g. recommend batching with the next wave); PASS only when every precondition is met with cited evidence.
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.
- 7d ago First seen · 57 lines · 88 tokens per session scan A 562a2976eb2a
evolve-merge-to-main-gate is an agent published in the GitHub repository mickeyyaya/evolve-loop (5 stars, last pushed 3d ago), licensed Apache-2.0. It adds 88 tokens to every session and 1,286 once invoked, about $0.0004 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
release-manager
Cuts a brooks-lint release: sets the version in package.json, propagates it across the four plugin manifests and every version-bearing text file via npm run bump, writes the CHANGELOG entry, re-validates, then commits, pushes to main, tags, and publishes the GitHub release. Final pipeline stage of the brooks-harness…
dependency-mapper
Traces all importers and callers of the refactoring target. Maps exported symbols to consumers and flags breaking-change risk. Uses batched CodeSift queries.
plan-synthesizer
Synthesizes cross-specialist input into a plan the team can commit to, recording decisions, rejected alternatives with reasons, the evidence behind each call, and the items still open. Reads the inputs from every specialist who contributed, reconciles their recommendations, and applies an evidence standard to each …
company-finder
Discovery-mode agent. Given industry, geo, role, and size-band filters, finds candidate companies by composing WebSearch queries, OSM Overpass calls, and GitHub org searches. Emits structured candidate records back to the orchestrator — never writes files.
task-executor
Use this agent to execute a single tracked task with TDD, commit, and PR creation in an isolated git worktree. Dispatched by /coco:loop for parallel execution. Context: Multiple tasks are ready with non-overlapping file ownership. /coco:loop dispatches parallel agents. assistant: "I'll dispatch task-executor agents…
blind-coverage-auditor-alt
Alternate production-first coverage mapper for write-tests. Read-only. Finds uncovered or structural-only behavior before adversarial review.