Harden checkout, settlement, refund, cashier shift, invoice, reconciliation, and payment integration flows in RestaurantPOS. Use when Codex changes settlement services, bill locks, payment capture, refund planning and execution, webhook ingestion, financial invariants, or tests for duplicate or replay and branch-scope finance paths.
Read AGENTS.md, .codex/AGENTS.md, and references/paths.md before editing.
php artisan test tests/Feature/Staff/StaffCheckout*.php tests/Feature/Paymentsphp artisan test tests/Feature/Staff/StaffCashierShiftHttpFlowTest.php tests/Feature/Staff/StaffFinanceInvoiceAndAccountingExportHttpFlowTest.php tests/Feature/Staff/StaffFinancialReconciliationHttpFlowTest.phptests/Unit/Services/Staff and tests/Unit/Support when changing settlement math or refund allocation.