1.7 KiB
Supervisor safety regression evidence boundaries
These automated tests do not open CAD or certify schematic property writes.
| Test | Real behavior exercised | Replaced behavior |
|---|---|---|
test_mock_native_read_recovery_spends_same_project_worker_retry_budget |
Durable source hashes and attempt proof, runtime rebuild decision, shared native/worker project budget | Desktop/CAD ownership and worker failure |
test_mock_different_projects_each_get_one_retry_without_accumulating_budget |
Two project identities, one rebuild per project, successful execution cannot replenish a spent budget | Desktop/CAD ownership and monitored worker execution |
test_real_supervisor_process_crash_reconciles_without_replaying_mock_business |
Separate Python child, production admission and one-shot claim, process creation identity, hard os._exit, durable saved-result fallback, uncertainty protection at legacy/project-task evidence roots, separate cleanup child |
Business replacement writes a durable witness instead of using CAD; no private desktop or CAD resources are acquired |
The process test covers both an unknown outcome before publication and a completed business result published before a crash. Cleanup must neither execute the witness operation again nor alter an earlier completed result. Unknown outcomes retain their original protection marker after reconciliation; proven completed outcomes do not acquire an uncertainty marker.
Remaining physical acceptance: inject failures in the frozen executable before and after the actual first CAD mutation, prove marker/helper durability failure prevents every production write/save path, and confirm actual CAD/desktop release and independent schematic readback. The tests above do not provide that evidence.