super-loop-mcp
Super Loop MCP is a strict AI-agent supervisor that orchestrates self-improving loops — mining past sessions, running phase-gated workflows, enforcing tool-measured benchmarks, and promoting only verified, benchmark-beating changes. The operator is the sole stop condition; the supervisor never self-declares done.
Loop Management
loop_start/request_next_phase/loop_next— stream loops one phase at a time, requiring evidence before advancingloop_register— add custom hash-locked, phase-gated loops or skills; can never overwrite mandated built-in loopsloop_library/skill_fetch— browse all loops/skills or retrieve specific sections by mode
Campaign Initialization & Control
initialize_loop_run— ask-once gate (goal, path, corpus scope, success criteria, hard limit); never asks againrun_campaign— fully autonomous mine→improve→test→reverify→promote cycle until you create a stop-file (requiresSUPER_LOOP_ALLOW_EXEC=1)campaign_status— read-only view of lanes, queues, retirement counts, and risk advisorycontinue_run— logs next lane and first action; obligation persists until real progress runsreport_saturation— auto-pivots lanes (e.g., Strip Miner → Loop-de-loop) without pausingcycle_decision_request— propose supervisor-accepted transitions; stop/completion intents are refused
Benchmarking & Measurement
benchmark_propose— define scorecards with ≥1 value dimension, ≥1 cost dimension, ≥1 concrete casebenchmark_select— freeze an immutable scorecard for the cyclebenchmark_freeze_maker— operator-controlled held-out benchmark, bypasses worker proposalsbenchmark_run— set a tool-measured baseline bar from a recorded artifact; self-reported metrics refused
Artifacts & Observations
artifact_record— persist raw artifacts with sha256 hashes; baseline role is write-onceobservation_record— log lightweight phase evidence
Hypothesis Testing & Promotion
register_hypotheses— register 3–5 frontier challenger hypotheses (haiku/mini/nano/lite/prior-gen routes banned)test_hypothesis— record one full test of 3–5 frontier agents with measurementRefs, aggregated vs. frozen baselineexecute_full_test— supervisor launches frontier workers via execFile (no shell), captures output directly (requiresSUPER_LOOP_ALLOW_EXEC=1)reverify_run— re-hashes every raw artifact to confirm metrics reproduce; promotion blocked until this passespromotion_request— promotes only if tool-measured, reverified, and frontier-moving; never overwrites your canonical loop file
Human Review & Reporting
human_review_request— queue items for Approve/Sludge; model cannot resolve them, dashboard-onlyupdate_dashboard— renders local dashboard with score matrix, phase progress, and stop-condition noticereport_export— reproducible markdown report with baseline lock, frozen benchmark, score matrix, and promotionsexport_trajectories— Hermes-format JSONL of tool actions with supervisor verdict labels (refused for held-out runs)
Host & Environment Detection
host_capability_preflight— filesystem stat only (no execution) to check which frontier CLIs are installed; returns resolved host profilehost_runtime_detect— advisory guess of host runtime from MCP config files;SUPER_LOOP_HOSTenv var is authoritative
Integration with Hermes for self-improving agent campaigns, using its internal loop mechanism to call tools each turn.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@super-loop-mcpMine past sessions and improve workflows until I stop"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Loop Factory
Make AI agents prove they got better.
An agent says it improved a workflow. Loop Factory freezes the old version, evaluates the challenger against both the baseline and an irrelevant sham, re-opens execution receipts and evidence from disk, and leaves promotion under operator control. The worker proposes; the verifier decides.
local-first | zero dependencies | Node >=18 | MCP over stdio

Related MCP server: Recursive Thinking MCP Server
No-paid judge path
From a fresh checkout:
git clone https://github.com/alexalexalex222/Loop-Factory-mcp-public.git
cd Loop-Factory-mcp-public
npm run verify:submissionNo model account, API key, network call, or package install is required. The command emits deterministic JSON and exits nonzero if any gate fails. It:
re-derives the July 19 causal canary from its public raw transcripts, normalized results, plans, schemas, and SHA-256 receipts; and
integrity-checks the privacy-safe July 20 production frontier packet, including its independent verifier output, procedures, measured summary, screenshots, and pinned manifest.
See docs/JUDGE_GUIDE.md for the shortest review path.
Fresh production result
The final July 20 run mined a real workflow, measured the frozen original three times, generated two substantive challengers, measured each challenger three times, deep-reverified both wins, and queued both for operator review.
Procedure | Quality | Mean CLI tokens | Quality delta | Cost delta | State |
Original |
|
| baseline | baseline | frozen |
H1: explicit frontier verdicts |
|
|
|
|
|
H2: authority and reverification gates |
|
|
|
|
|
The run used 12 exact gpt-5.6-sol high-reasoning Codex calls through
authenticated ChatGPT OAuth, zero retries, 12 isolated workspaces, 724,453
CLI-reported tokens, and 34/34 clean artifact rehashes. The independently
invoked run verifier returned PASS with publicationEligible=true.
No promotion was recorded. H1 is the measured recommendation, not an approval.
See the
production-frontier-20260720 packet.
Portable causal canary
The tracked public packet re-verifies the persisted July 19, 2026 causal canary:
Check | Re-derived result |
Calls | 1 proposal + 15 evaluations |
Route | exact |
Execution | 16 zero exit codes; zero retries |
Arms | 5 baseline + 5 challenger + 5 sham |
Causal result | challenger beat paired baseline 5/5 |
Negative control | sham wins 0/5 |
Stability controls | 0 regressions |
Token receipts | 441,627 CLI tokens re-derived from raw transcripts |
Promotion | disabled; no promotion recorded |
Experiment |
|
This is evidence of causal movement, not complete correctness. Baseline and
sham target quality were 0; challenger replicates reached 0.3333 or
0.6667, never 1.0.
Architecture
agent proposal
|
frozen baseline + benchmark + irrelevant sham
|
blinded baseline / challenger / sham evaluations
|
raw transcripts + normalized results + SHA-256 receipts on disk
|
independent re-verification and causal gates
|
operator-controlled promotionThe verifier checks outcomes and persisted end state, not whether the worker followed one preferred reasoning path.
Install and run
Loop Factory has no production dependencies:
npm test
npm run verify
npm run demoPoint an MCP host at src/server.mjs:
{
"mcpServers": {
"loop-factory": {
"command": "node",
"args": ["/path/to/Loop-Factory-mcp-public/src/server.mjs"],
"env": { "SUPER_LOOP_HOST": "codex" }
}
}
}State defaults to <package>/.super-loop. The autonomous driver is opt-in via
SUPER_LOOP_ALLOW_EXEC=1; without it, Loop Factory does not launch workers.
Supported platforms
Surface | Support boundary |
Public evidence verifier | Node.js 18+; no model or auth dependency |
MCP server and deterministic demo | Node.js 18+ with stdio-capable host |
Native goal hosts | Codex and Claude Code are tier-1 verified |
Other MCP hosts | Profiles are listed in |
Live GPT-5.6 Sol path | Captured on macOS with a compatible authenticated Codex CLI; other environments are not claimed as verified |
Optional live path
Judges with GPT-5.6 Sol access can run:
npm run judge:gpt56-solThis pins gpt-5.6-sol, refuses fallback, and runs three controlled enforcement
fixtures: PHASE_SKIP, MODEL_REPORTED_METRIC, and SELF_PROMOTION. Those are
adversarial regression prompts, not claims of spontaneous model behavior.
What changed on July 18, 2026
Build Week added the exact GPT-5.6 Sol route and invocation receipts, the one-command live judge kit, the Campaign Console, and the controlled adversarial fixtures above. The July 19 causal canary added paired baseline/challenger/sham evidence and fresh-checkout re-verification. The July 20 production frontier run then demonstrated the complete mine-to-measure-to-review workflow on a real mined procedure without weakening operator-owned promotion.
Evidence index
Public causal canary:
submission/evidence/context-isolation-canary-20260719/Production frontier packet:
submission/evidence/production-frontier-20260720/Deterministic verifier:
scripts/verify-submission.mjsTamper regression:
test/submission-verifier.test.mjsJudge guide:
docs/JUDGE_GUIDE.mdControlled enforcement transcript:
proof/build-week/gpt56-sol-live-20260718-final/TRANSCRIPT.mdCampaign Console browser QA:
proof/build-week/campaign-console-20260718-final/qa-summary.json
For developers
Engineering detail: tools, host matrix, trajectory export, layout, and block codes.
Host compatibility
Loop Factory is MCP-first, with the continuous driver chosen per host from hosts/registry.json, and scripts/run-campaign.mjs as the universal fallback.
Host | Driver family | Tier | Continuous driver | Verified |
Codex |
| 1 |
| ✅ |
Claude Code |
| 1 |
| ✅ |
ZCode |
| 1 |
| ⚠︎ |
OpenCode |
| 1 |
| ⚠︎ |
Cursor |
| 2 | none — continuation rules snippet | ⚠︎ |
Kilo Code |
| 2 | none — rules snippet (CLI fork = tier 1 with a goal plugin) | ⚠︎ |
OpenClaw |
| 2 | config ( | ⚠︎ |
Factory Droid |
| 2 | Super Loop runs inside a Mission worker | ⚠︎ |
Hermes |
| 3 | its own loop — call tools each turn | ⚠︎ |
MiniMax Mini-Agent |
| 3 | its own loop, or the CLI fallback | ⚠︎ |
anything else |
| 3 |
| — |
Three tiers (per hosts/registry.json):
Native goal (Codex, Claude Code, ZCode, OpenCode+plugin) — engage
/goalwith an operator-stop objective.MCP + continuation contract (Cursor, Kilo IDE, OpenClaw, Factory Droid) — no reliable continuous slash command; ship the continuation rules snippet.
Internal loop or CLI (Hermes, Mini-Agent,
super-loop-run) — host owns its loop, or drive headless with the CLI.
⚠︎ verified:false entries are modeled from the design — confirm the exact command in your build. host_capability_preflight returns the resolved host profile (tier, driverFamily, setupHint).
Why this exists
Drop a 300+ line loop into a model's context and it may ingest the whole thing, skip the structure, and treat an unverified argument as a test. Loop Factory fixes that with hard mechanics:
Ask-once — starts with a brief explanation plus a few short questions once:
the goal;
the path — improve a loop you already run, discover/find a loop (optionally scouting a public loop library), or mine your whole history (deep);
the loop or domain to start from;
corpus scope — your whole session history or a set number of loops, and best-first vs in-order (asked with an up-front warning that a run can take hours, days, or weeks depending on how deep it mines);
what "better" means (this becomes the frozen benchmark);
any task-specific limit;
which models to use (primary, optional test/builder/judge routes — press enter for defaults, or say
any modelto disable the banlist for this run);and a final deeper-explanation offer, honored in the same response.
You choose the models at init (defaults:
claude-opus-4-8primary, builders Opus 4.8 / GLM 5.2, standard frontier test set). The supervisor still owns measurement, integrity, and promotion — it never asks about promotion mode or benchmark policy. Afterward it does not ask again or mark the campaign complete by itself. A fresh run also carries a cold-start notice: don't resume a prior campaign or assume a path from memory — infer only from this message and the answers (pass arunIdto resume on purpose).Phase-gated streaming — holds the loop inside the MCP and hands you the next section only after the current one has recorded evidence. No 1k-line dump.
Benchmark-first — the baseline is hash-locked and the scorecard is frozen before any challenger. Model self-reported metrics never count.
Hypothesis engine — full tests need 3–5 hypotheses on routes allowed by the run's
modelPolicybanlist. Default banlist rejects haiku/mini/nano/lite/prior-gen (weak models produce noisy campaigns); sayany modelat init to turn the banlist off for that run. One no-improvement run is never "perfect".Promotion gate — promotion requires a tool-measured, deep-reverified result that moves the quality/cost frontier past threshold. Otherwise:
BLOCKED.
Two surfaces share one engine: the reactive MCP (a host calls its tools — the in-conversation hook) and the autonomous driver (super-loop-run CLI / run_campaign tool) that drives the whole campaign itself and only stops on the operator stop-file. The whole point: a model cannot promote, upgrade, or call a loop "perfect" from reasoning alone — every decision is hooked through a tool that demands tool-measured artifacts on disk, and the operator is the only stop condition.
Built fresh, zero dependencies, runs on plain Node ≥18. The full private 345-line Strip Miner and the full private 75-line Loop-de-loop (Loop 2) live inside the supervisor, byte-identical to source and hash-locked, streamed one section at a time.
The bundled loops (hash-locked)
id | file | lines | sha256 | trigger |
|
| 345 |
|
|
|
| 75 |
|
|
These are the local big sources — the operator's full private cross-agent Strip Miner (with the old pause/complete language patched into checkpoint/continue semantics), not the short public miner. The server refuses to start, and the test suite fails, if either file's hash or line count drifts — so the short public miner can never be silently substituted.
Add your own loops (local loop library)
Users add their own loops through a tool, not by hand-editing source:
loop_register { id:"my-loop", title:"My Loop", content:"<full loop text>" } → hash-locked, sectionized, persisted locally
loop_library → lists mandated (hash-locked) + your custom loops
loop_start { loop:"my-loop" } → streams it phase-gated, exactly like the mandated loopsCustom loops are sha256 hash-locked (write-once per version; overwrite:true makes a new version), get a safe id (no path traversal), persist under SUPER_LOOP_HOME/custom-loops/, and cannot collide with or overwrite the mandated Strip Miner / Loop-de-loop. They stream through the same phase gate. Nothing leaves your machine.
Tools (29)
tool | what it enforces |
| autonomous supervisor (opt-in |
| ask-once (brief + a few short Qs: goal, path picker (improve / discover / mine + library scout), the loop/domain, corpus scope + order, what "better" means, a hard limit, which models (enter = defaults, |
| add your own loop to the local MCP: hash-lock, safe id, sectionize, persist locally; never overwrites a mandated loop |
| list mandated (hash-locked) + custom local loops |
| retrieve skill knowledge for the current task — |
| begin phase-gated streaming of any loop (mandated or custom); returns section 0 only |
| next section iff the current one has evidence, else |
| lightweight phase evidence |
| persist a raw artifact + sha256; |
| propose scorecards (≥1 value dim, ≥1 cost dim, ≥1 case, optional deterministic |
| bench-maker only — freeze a scorecard directly with |
| read-only export of recorded tool actions as Hermes JSONL with supervisor verdict labels; refuses gate-partition runs |
| set the tool-computed baseline bar; a caller-reported measurement is rejected |
| Standard mode: 3–5 hypotheses. Strict real-test mode: exactly two substantive, supervisor-ID-bound hypotheses for one finding. Benchmark-first; rejects banned routes and shape-only placeholders. |
| one full test = 3–5 frontier agents, each tool-computed; aggregates vs the bar; reports quality authority |
| opt-in ( |
| re-derive metrics from the sealed raw bytes and confirm they reproduce (a tampered number cannot survive) |
| promote only on measured + reverified frontier movement; a quality win the MCP can't tool-verify routes to the dashboard ( |
| the supervisor hook — a worker proposes a transition packet (promote/advance_phase/change_baseline/change_benchmark/saturate); only a supervisor-accepted transition is progress; completion/stop intents refused |
| mark a lane saturated → supervisor auto-transitions to the next lane (Strip Miner → Loop-de-loop); never pauses/stops |
| read-only lane/target queue, auto-transitions, 30-batch retirement + 10–15 advisory accounting, active |
| records the next lane + first concrete action; it does not clear the obligation until a real progress tool runs |
| queue/list Approve/Sludge items only; model-callable resolve is blocked |
| render the polished always-on local dashboard with the stop-condition notice |
| reproducible markdown campaign report |
| local report of which frontier-agent CLIs are installed on PATH (filesystem stat only, never executes, not SOTA/web research) plus the resolved host profile — |
| advisory guess of which host runtime the agent is in, from which MCP config files exist on disk (per the host registry); read-only existence check — never reads file contents or mutates config; |
Block codes you will see
All 42 codes from src/constants.mjs BLOCK (runtime vocabulary):
NOT_INITIALIZED · UNKNOWN_RUN · NO_ACTIVE_LOOP · NOT_STARTED · PHASE_SKIP · UNKNOWN_LOOP · BASELINE_FIRST · BASELINE_LOCKED · BASELINE_BAR_FIRST · BASELINE_PLACEHOLDER · BASELINE_TOO_SHALLOW · BASELINE_AUTHOR_FORBIDDEN · BENCHMARK_FIRST · BENCHMARK_FROZEN · WEAK_BENCHMARK · HYPOTHESIS_COUNT · BANNED_ROUTE · UNKNOWN_HYPOTHESIS · FULLTEST_AGENTS · MODEL_REPORTED · NO_SCORE_MATRIX · NOT_REVERIFIED · BELOW_THRESHOLD · BELOW_FLOOR · STAGED_TRADEOFF · OPERATOR_IS_STOP · DASHBOARD_ONLY · MEASUREMENT_AUTHORITY · QUALITY_UNVERIFIED · PROMOTION_NEEDS_APPROVAL · PROMOTION_REJECTED · LOOP_EXISTS · LOOP_SOURCE · NO_ACTIVE_LANE (reserved — not currently emitted) · BUILDER_ROUTE · EXEC_DISABLED · EXEC_FAILED · ROUTE_UNSPAWNABLE · MANUAL_PROVENANCE_REQUIRED · INTEGRITY_GATE · TARGET_SATURATED_NEEDS_NEW_TARGET · BAD_INPUT
Live execution + autonomous harness (opt-in)
By default the server never executes commands (audited posture). Set SUPER_LOOP_ALLOW_EXEC=1 to let Loop Factory own benchmark execution end-to-end: execute_full_test launches the frontier workers itself (allowlisted claude/codex/glm/gemini only, via execFile with no shell, prompt passed on stdin so untrusted text never reaches argv), captures each output, parses real token usage when the CLI reports it, enforces a hard timeout, and feeds the tool-captured bytes through the same gate. This closes the last self-report hole — when the supervisor launches the worker, there is no model-supplied run-log to fabricate. A failed/timed-out/non-allowlisted launch is an invalid batch and does not count toward retirement.
The autonomous driver sits on top of that — the difference between "a supervisor you call" and "a harness that drives itself":
SUPER_LOOP_ALLOW_EXEC=1 node scripts/run-campaign.mjs --config campaign.json --stop-file ./STOPIt runs the whole loop unattended (intake → mine → improve targets → validate every worker → bank Stones → advance/retire → re-mine) and only stops when you create the stop-file. Existing queued targets continue even when reviews are pending. When a mining pass yields no novel candidate, the CLI enters a zero-inference idle state: the dashboard and decision inbox stay live, but no model is called again until new work arrives.
Queue new work atomically at <home>/runs/<runId>/inbox-targets.json:
{
"runId": "your-run-id",
"targets": [
{
"kind": "improve",
"loop": "loop-de-loop",
"baselineContent": "<complete current procedure>"
}
]
}The raw inbox is SHA-256 recorded and archived as applied/rejected/invalid before execution. The same supervisor logic powers the bounded run_campaign MCP call; because an MCP call cannot remain parked forever, that surface returns the nonterminal idle checkpoint for its host to resume.
Workers run on the real CLIs via stdin (claude -p --output-format json, codex exec --json) — the prompt never touches argv (no injection), and the real answer text + token usage are extracted for benchmarking. Benchmark modes: oracle (deterministic → tool-measured, reverified, then queued for mandatory operator Approve — never self-ships) and judge (an independent judge on a trusted builder/gating route from the active modelPolicy — defaults Opus/GLM — scores baseline-vs-challenger real outputs under a rubric → subjective → queues to the dashboard, never auto-promotes; the challenger never scores itself).
Model policy (operator-chosen at init)
Ask-once includes one friendly model question. Press enter / say defaults for today's historical behavior; say any model to set banlist.mode: "off" for that run. The policy is persisted as state.config.modelPolicy and shown on the dashboard + report.
For the Build Week lane, pass modelPreset: "gpt-5.6-sol" to initialize_loop_run or say use the gpt-5.6 sol preset. The preset uses the exact gpt-5.6-sol model ID as the primary and first full-test route while preserving the existing Opus/GLM builder boundary and Opus judge route. See examples/model-policy-gpt-5.6.json.
Field | Default | Notes |
|
| Primary worker route |
| opus / gpt-5.5 / glm-5.2 | Full-test agent routes |
| opus / glm-5.2 | Builds + in-loop gating (Codex/GPT is a host surface by default) |
|
| Independent judge; fallback is |
|
|
|
|
| Punch holes or add denials per run |
Why a default banlist? Weak / cheap models produce noisy campaigns that look "done" without real frontier movement. That is a default, not a cage — you can disable it per run.
Controlled GPT-5.6 Sol enforcement proof
With an authenticated Codex CLI, run:
SUPER_LOOP_ALLOW_EXEC=1 npm run proof:gpt56-sol -- \
--model gpt-5.6-sol \
--out proof/build-week/gpt56-sol-liveThis launches three short, explicitly adversarial fixtures through the real codex exec -m gpt-5.6-sol --json path in read-only, ephemeral mode. The fixtures ask the worker to propose a phase skip, a self-reported metric, and self-promotion; Loop Factory must reject each proposal with the matching supervisor code. Evidence includes raw JSONL, prompt/output hashes, the exact model argv receipt, token usage when the CLI reports it, persisted verdict events, a dashboard, and a markdown report. These are controlled regression prompts, not claims of spontaneous model behavior. The command refuses to overwrite an existing evidence directory and never falls back to another model.
A full campaign, in order
initialize_loop_run → brief + ask-once (a few Qs) → answer → INITIALIZED
loop_start strip-miner → section 0
observation_record (phase 0) → request_next_phase → section 1 → … (gated)
artifact_record role=baseline → hash-locked
benchmark_propose → benchmark_select → scorecard frozen
artifact_record measurement → benchmark_run arm=baseline → bar set (tool-measured)
register_hypotheses (3–5 frontier)
test_hypothesis (3–5 agents, tool-measured) → MOVED_FRONTIER | NO_IMPROVEMENT
reverify_run → promotion_request → PROMOTE | BLOCKED
update_dashboard / report_export → checkpoint; lanes keep runningTwo distinct thresholds, neither of which stops the campaign:
Risk advisory (10–15, configurable): after ~12 consecutive valid no-improvement full tests the supervisor raises an economic-exhaustion risk advisory and opens dashboard review — it only reports risk, it does not stop.
Branch retirement (30 valid batches): a branch retires only after 30 valid full real test batches (3–5 frontier workers each) with no qualifying improvement, then the supervisor auto-pivots to the next lane. Invalid / fake-metric / early-stopped / summary-only batches are blocked upstream and never count.
If the Strip Miner saturates, the supervisor auto-transitions (Strip Miner → Loop-de-loop, or the next improvement lane) via report_saturation — never a pause/await/stop. Checkpoint/report/dashboard/refused-terminal/saturation/retirement events persist a machine-readable continuation obligation until a real progress tool runs. continue_run records the model's next-lane commitment but deliberately cannot clear the obligation by itself. Only the operator stops the campaign.
Design notes
Zero dependencies on purpose. No SDK, nothing to
npm installthat can fail or time out, nothing phoning home. The MCP transport is ~90 lines of newline-delimited JSON-RPC insrc/server.mjs. There is nothing to install.Tool-computed measurement authority. The MCP derives quality from the frozen oracle and derives an internal deterministic estimate from recorded output bytes. User-facing reports label that estimate
artifactOutputTokenEstimate; executor receipts showcliReportedTotalTokensanddurationMsseparately. In strict mode each counted agent run directly links a raw stdout artifact and extracted final artifact whose SHA-256 values match the invocation receipt. A number the model types iscaller-reportedand is refused by the benchmark/test gates (MEASUREMENT_AUTHORITY).reverify_runre-derives from the sealed bytes, so a tampered number cannot survive. Subjective quality routes to the dashboard for a human and never auto-promotes (QUALITY_UNVERIFIED); deterministic, oracle-scored quality still queues for mandatory operator Approve before it becomes an internal champion.Host capability preflight, no execution.
host_capability_preflightresolves known frontier-agent CLI names againstPATHwith a filesystem stat — it never spawns a command, never probes a model-supplied binary, and is not SOTA/web research. Presence on PATH ≠ working auth, and it says so.Anti-tampering. Baseline and benchmark are write-once within a cycle; changing either needs an explicit new epoch + rationale.
Path hardening.
runIdand artifact ids are validated before touching disk, andsourcePathreads are refused so a model cannot turn the MCP into a local-file reader. Submit artifact bytes throughcontent.Dashboard-only human review, with a real apply path. The model-callable MCP surface can queue/list review items (and may propose a loop adoption carrying improved loop text), but
human_review_request { action:"resolve" }returnsDASHBOARD_ONLY. The served dashboard is the HTTP decision surface: choose Approve/Deny, then explicitly confirm the queue action. The local server binds to 127.0.0.1, requires a loopback Host, a same-origin browser request, a per-server session token, and the SHA-256 binding for the exact reviewed state. Queue acceptance remains visibly distinct from supervisor application, survives a reload, and the supervisor rejects a decision if its evidence binding changed before drain. Headless fallback exports the same hash-bound payload forruns/<runId>/inbox-decisions.jsonornode scripts/apply-decisions.mjs --file <export>. Approving a loop-adoption review installs the improved loop as a new versioned custom loop (the prior version is archived for rollback viaoperator.rollbackLoop), whichloop_startthen streams next cycle. The mandated canonical loops are immutable and never touched. Applying is non-blocking — the campaign never pauses for it, and adoption remains off the model-callabletools/callsurface.Continuation is a host obligation, stated honestly. An MCP cannot force the host agent loop to keep running — only the host can (which is why the agent is told its native continuous command — Claude Code / Codex
/goal, with/loopas Claude's polling alternate, or the per-host driver from the registry — on start). What the MCP can do, and does: every report / dashboard / saturation / no-improvement / refused-terminal event persists a machine-readable continuation obligation with a concrete next tool+lane, andcontinue_runrecords intent without clearing it (only a real progress tool clears it). The MCP makes stopping early visibly incomplete; it does not pretend to be the host scheduler. The operator is the only stop condition.Never overwrites your canonical loop. Promotion records an internal champion; changing the canonical loop file is HUMAN-GATED and left to you.
Standalone by design.
Run-trajectory export
Bench-maker sessions are out-of-lineage: a separate operator-controlled MCP invocation freezes held-out scorecards; the worker being measured never proposes them.
Protocol (ephemeral bench-maker)
Spin up a dedicated MCP host pointed at the same
SUPER_LOOP_HOME(or a copy) with a freshrunIdfor the held-out worker run.Hash-lock baseline on that run:
artifact_record { role:"baseline", content:"..." }.Freeze held-out benchmark via
benchmark_freeze_maker(notbenchmark_propose):{ "runId": "<eval-run>", "benchmark": { "name": "...", "taskValueDimensions": ["..."], "resourceDimensions": ["..."], "cases": [{ "id": "..." }], "oracle": "..." }, "benchPartition": "gate" }This sets
benchSource:"maker"andbenchPartition:"gate". Workerbenchmark_proposeon that run becomes a no-op while the maker scorecard is frozen.Run the worker through the normal phase gate / hypotheses / full tests on the gate benchmark.
Do not export gate runs for reuse —
export_trajectoriesrefusesbenchPartition:"gate"runs (hard firewall against exam-set leakage).Harvest runs (worker-frozen benchmarks with default
benchPartition:"harvest") export via:{ "runId": "<harvest-run>", "outPath": "trajectory.jsonl" }Output is Hermes-format JSONL: one line per recorded tool call with
label.verdict/label.code/label.reasonfrom the sealed gate results already stored on the run (never re-run gates).Terminate the bench-maker host session when done — no persistent bench-maker process is required; access is operational (separate host invocation), not a background daemon.
Layout
loops/ bundled hash-locked loop sources (verified once per process, then cached)
hosts/ host runtime registry (PURE DATA — continuous drivers + tiers)
examples/ campaign configs, improve-driver, MCP host snippets, rules
src/
server.mjs MCP stdio JSON-RPC transport + tool schemas
engine.mjs Loop Factory core — every tool handler + gate
integrity.mjs Integrity Gate — negative control, answer-key/padded echo, solution pressure
loops.mjs registry, hash verify-on-first-load + process cache, sectionizer
measure.mjs tool-computed measurement (derive cost/quality from bytes) + honest boundary
executor.mjs opt-in live worker execution (allowlist, execFile, stdin) — off by default
run-verifier.mjs independent read-only receipt/artifact publication verifier
canary-runner.mjs blinded one-proposal / three-arm executable canary
schemas/ strict Codex final-output JSON schemas
supervisor.mjs autonomous campaign driver (validate → accept/re-enter boundary)
host.mjs host capability preflight + registry loader
models.mjs modelPolicy / banlist (operator-chosen at init; defaults = historical)
scorecard.mjs promotion frontier rule + score matrix
skill-schema.mjs skill frontmatter + section schema (shared frontmatter parser)
skill-match.mjs skill ranking / match against task
store.mjs local atomic JSON persistence (runs + custom-loops + skills)
dashboard.mjs polished dashboard.html + markdown report
constants/util shared facts + helpers
scripts/ demo.mjs, run-campaign.mjs, run-real-test-canary.mjs, verify-run.mjs,
dashboard-server.mjs, apply-decisions.mjs,
verify-sources.mjs, flywheel-harden.mjs, quarantine-addendum.mjs,
tier-test.mjs, trajectory-capture.mjs, verify-trajectory.mjs
test/ node:test suites (sources, ask-once, phase gate, benchmark,
hypotheses, promotion, hook, dashboard, transport, security,
loop library, measurement authority, host preflight, executor,
supervisor, adoption, dashboard-server)Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityCmaintenanceEnforces disciplined programming practices by requiring AI assistants to audit their work and produce verified outputs at each phase of development, following structured workflows for refactoring, feature development, and testing.Last updated203512MIT
- Alicense-qualityDmaintenanceEnables AI agents to achieve production-ready solutions through iterative refinement and recursive thinking processes. It features token optimization via context compression and session-based tracking to improve problem-solving depth while minimizing cost.Last updated305MIT
- Alicense-qualityAmaintenanceWorkflow engine that teaches your agent how YOU like to get things done. So you can do your best work without re-explaining your process or losing context between sessions.Last updated3MIT
- Alicense-qualityBmaintenanceEnables AI agents to learn from their work by recording tasks, extracting patterns, detecting mistakes, and proactively surfacing insights, all using the agent's own model through a cooperative intelligence pattern.Last updatedMIT
Related MCP Connectors
AI-agent verifier: verdict committed before the outcome graded against it; /review, /ledger.
Adaptive plan/build/review cycles for AI coding assistants, persisted across sessions.
The project brain for AI coding agents — memory, decisions, sprints, knowledge base via MCP.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/alexalexalex222/Loop-Factory-mcp-public'
If you have feedback or need assistance with the MCP directory API, please join our Discord server