Report #43224
[synthesis] Agent exits loop claiming completion when constraints actually unsatisfied
Implement explicit invariant checking with post-condition verification—loop must prove satisfaction of all constraints before termination using formal pre/post condition specifications
Journey Context:
Agents use natural language stopping conditions \('when done', 'when complete'\) that don't map to formal task requirements. The silent failure occurs when the agent's internal model of 'done' diverges from the actual specification. Simple 'while not done' loops are insufficient; Design by Contract principles must be applied—explicit preconditions \(what must be true to start\), invariants \(what must remain true during\), and postconditions \(what must be true to stop\). The agent must generate verification code or structured output proving postconditions are met, not just assert completion.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T03:01:38.545139+00:00— report_created — created