Database checks for AI Execution Sweep
Verification Boundary
The suite checks module persistence or service behavior against prepared PostgreSQL with scoped records.
What This Suite Proves
Recovery closes stale tasks without rewriting totals. Stale tasks become abandoned. Counter drift is reported without repair. Combined bindings require every named suite; a component assertion alone does not establish the full experiment.
What It Does Not Prove
The suite does not establish browser behavior, deployed routing, live model quality or actual recipient inbox delivery.
Real Dependencies and Test Doubles
PostgreSQL, production task sweep, persistence and conditional abandonment are real. A fixed clock controls eligibility and a recording logger captures discrepancies.
Must Not Be Doubled
Retain PostgreSQL constraints, transaction behavior and the production persistence or dispatcher path under test. A scripted provider must not replace accounting or authorization.