tcai_convergence
Check and configure the recursive loop halting criterion: retrieve current convergence state or update thresholds for free energy, task quality, and epistemic value, sustained over patience cycles.
Instructions
Inspect or configure the recursive double-loop halting criterion (v2.9). With no arguments, returns the current satisfaction state and active thresholds. With arguments, updates them. The loop halts only when variational free energy has settled (|ΔF| ≤ epsFreeEnergy) AND realized task quality is high (≥ minTaskQuality) AND epistemic value is low, sustained over patience cycles — stationarity alone is insufficient (Legros 2026 §2.2/§4.3).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "tcai_convergence"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| patience | No | Consecutive satisfied cycles required to halt (default 3) | |
| maxEpistemic | No | Halt threshold: expected info gain ≤ (default 0.1) | |
| epsFreeEnergy | No | Halt threshold: absolute |ΔF| ≤ (nats, default 0.02) | |
| relFreeEnergy | No | Halt threshold: |ΔF| ≤ rel·F, scale-free (default 0.03) | |
| minTaskQuality | No | Halt threshold: realized task quality ≥ (default 0.6) |