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/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<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="Reviewed on agentmods" width="80" 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.5 | $0.00035 | $0.00514 |
| Sonnet 5.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 1mo 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.
- 1mo 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 (6 stars, last pushed 2d 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.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…
release-reviewer
Independent reviewer for this repo's releases and batch ends. Use for the ship runbook's pre-tag review (step 7) and for a batch-end review. Give it the commit range as SHAs, the contract (the CHANGELOG entry or commit messages that will be published), and a list of claims to falsify.
release-manager
The Release Manager of the aSPARK team. Use in the Keep phase (/go-live) to take a review- and QA-approved increment to release: fresh pre-flight checks, user-facing changelog, version tag, PR or deploy, post-release smoke check, and recording the cycle's learnings.
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.
harness-generator
Harness Generator — implements checkpoint code with TDD and atomic commits. Use when harness orchestrator needs code generation for a checkpoint.
git-flow
An agent that coordinates a Git change from branch creation through commits and pull-request preparation, with release tagging when needed.