check_invariants
Audit the experiment store against loop invariants to flag orphaned trials, missing observations, unsealed runs, budget overruns, and stalled hypotheses; report-only.
Instructions
Audit the experiment store against the loop's invariants.
Returns {status: ok|violations, checks: [{name, ok, violations, detail}]}. Detection complement to write-time enforcement: orphaned running trials, completed trials lacking observations, unsealed executions, strace divergence, undigested input data, budget overruns, stuck hypotheses, stalled trials. Report-only — nothing is repaired or mutated. The run is logged to /logs/ (retention: [integrity] log_max_files).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| checks | No | ||
| server | No | ||
| status | No | ||
| trigger | No | ||
| log_file | No | ||
| checked_at | No | ||
| duration_ms | No |