tcai_convergence
Inspect or update the halting thresholds for the convergence loop, controlling when it stops based on settled free energy, high task quality, and low epistemic value.
Instructions
Inspect or configure the recursive double-loop halting criterion (v2.5). 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).
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: |ΔF| ≤ (nats, default 0.02) | |
| minTaskQuality | No | Halt threshold: realized task quality ≥ (default 0.6) |