๐Ÿงช Test Lab

โšช INACTIVE โ€” Test Mode
When active: no production SM8 writes, no external comms, all writes go to mock tables.
Enable Test Mode
๐Ÿ“Š Mock Data
23
Customers
11
Jobs
23
Warranties
8
Approvals
60
Action Log
๐ŸŒฑ Seed Mock Data ๐Ÿ—‘ Reset Mock Data
๐Ÿ”’ Guardrail Tests โ€” 16/16 passing
16
Passed
0
Failed
16
Total
โ–ถ๏ธ Run Guardrail Tests
TestExpectedActualReason
โœ…Read customersOKok{'status': 'ok', 'count': 23, 'items': [{'id': 507, 'uuid': 'cust-001', 'name':
โœ…Read jobsOKok{'status': 'ok', 'count': 11, 'items': [{'id': 227, 'uuid': 'job-006', 'customer
โœ…Read warrantiesOKok{'status': 'ok', 'count': 23, 'items': [{'id': 547, 'customer_uuid': 'cust-001',
โœ…Create internal noteOKok{'status': 'ok', 'test_mode': True}
โœ…Generate reportOKokReport generated in test mode
โœ…Draft customer emailBLOCKEDblockedExternal comms blocked in test mode
โœ…Create draft SM8 jobOKok{'status': 'ok', 'job_uuid': 'mock-job-20260628211003-891', 'test_mode': True}
โœ…Create appointmentBLOCKEDblockedAppointments blocked in test mode
โœ…Send AWI reminderAPPROVAL_REQUIREDapproval_requiredCreated mock approval
โœ…Update warranty statusAPPROVAL_REQUIREDapproval_requiredCreated mock approval
โœ…Delete customerFORBIDDENforbiddenDeleting customers is a forbidden action under Governance Level E
โœ…Delete compliance recordFORBIDDENforbiddenDeleting compliance records is forbidden under Governance Constitution
โœ…Delete invoiceFORBIDDENforbiddenDeleting invoices is a forbidden financial action
โœ…Change bank detailsFORBIDDENforbiddenChanging bank/payment details is a Level E (Owner Decision) action
โœ…Create API keyFORBIDDENforbiddenCreating API keys is a forbidden security action
โœ…Self-approve actionFORBIDDENforbiddenSelf-approval violates Governance rule: Never bypass approval workflows
๐Ÿ›ก Warranty Recovery Test
23
Total
8
Active
3
Unknown
3
Expired
1
Cancelled
9
Overdue 365+
LOCKED
Automation Gate
66.7%
Avg Confidence
73.9%
Email Coverage
69.6%
Mobile Coverage
34.8%
Inspection Coverage
13.0%
Unknown %
โ–ถ๏ธ Run Recovery Test
๐Ÿ“‹ Mock Action Log Last 20 entries
|
TimeActionResult
๐Ÿงช Guardrail Certification Proves the system cannot easily fail
46
Passed
0
Failed
100.0%
Success Rate
โœ… CERTIFIED
Status
Last run: 2026-06-28 21:10:03
ScenarioPassedTotal
โœ…Approval Workflow77
โœ…Forbidden Actions77
โœ…Authority Matrix88
โœ…Audit Chain66
โœ…Recovery Integration55
โœ…Failure Simulation44
โœ…End-to-End AWI99
โ–ถ๏ธ Run Certification