# run-loop-governor

`station__microgram__run-loop-governor` · external (needs EXECUTION_BACKEND_URL configured) · domain `microgram` · pv-relevance `pv-core`

Loop Governor: transforms scorecard-compound governor signals into loop control. Maps HALT/CONSOLIDATE/CONTINUE to loop-compatible halt decisions. Designed to be the feedback node in a looped chain — it reads the compound verdict and decides whether to keep iterating.

> **Note:** This tool routes through an external execution backend. If `EXECUTION_BACKEND_URL` is unset on the server, calls return JSON-RPC error `-32603 "Tool execution backend not configured"`. Tools with `backend: native` execute in-process and are always callable.

## Agent metadata

- `idempotent`: unknown
- `read_only`: unknown
- `expected_latency_ms`: unknown (not yet contract-tested)
- `cost_tokens_estimate`: unknown

## Input schema

- `compound_verdict` *string* (required) — Input parameter: compound_verdict
- `iteration` *integer* (required) — Input parameter: iteration
- `persistence_ratio` *number* (required) — Input parameter: persistence_ratio
- `governor_signal` *string* (required) — Input parameter: governor_signal

## Example call

```json
POST /api/mcp
Content-Type: application/json

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "station__microgram__run-loop-governor",
    "arguments": {
      "compound_verdict": "",
      "iteration": 0,
      "persistence_ratio": 0,
      "governor_signal": ""
    }
  }
}
```

## Related

- [/tools](/tools) — all 3062 tools
- [/tools/microgram__run-loop-governor](/tools/microgram__run-loop-governor) — HTML page
- [/tools/microgram__run-loop-governor/json](/tools/microgram__run-loop-governor/json) — JSON form (agent-friendly)
- [/api/mcp](/api/mcp) — endpoint
- [/AGENTS.md](/AGENTS.md) — agent guide
