timeout, and decisions baked into the prompt:
leave it running over a list of files.
CosmonError keeps one bad file from killing the batch. To retry a run
the CAD instance was busy for, branch on CosmonRunError.code == "busy".
Guide: unattended batches
Timeouts, triggering runs from your own code, and error handling.