start_acceptance_loop
Run acceptance iterations that build, flash, and evaluate firmware against a loaded AcceptanceSpec. Stop on convergence, max iterations, or repeated failures; omit build/flash for evaluate-only.
Instructions
Start a bounded spec-to-silicon acceptance loop (Pillar C) for the loaded AcceptanceSpec. Each run_acceptance_iteration does one build → flash → run-to-state → run_acceptance pass; the loop stops on convergence, on max_iterations, or on a stall (same checks failing repeatedly). Omit build/flash to run evaluate-only iterations (you flash manually). Load a spec first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| build | No | Optional build_firmware config {kind, project|build_dir|directory, target, config, rebuild, command, cwd}. | |
| flash | No | Optional flash+run config {file_path, run_to (default 'main'), timeout_sec}. | |
| session | No | Target session id (default 'default'). | |
| max_iterations | No | Hard bound on iterations (default 10). | |
| stall_patience | No | Stop if the same checks fail this many times in a row (default 3). |