Commands
Test layers
- Unit
- Service/integration
- End to end
Validation, pure policy, adapters with mocked providers, formatting, protocol guards, chunking, and error mapping.
High-risk regression cases
- A record ID from organization A cannot be read or changed from organization B.
- A delayed AI job does not reply after human assignment or closure.
- Duplicate webhook/job delivery does not create duplicate tickets/messages.
- Widget messages from the wrong origin/window/version are ignored.
- Changing embedding dimensions fails safely and does not corrupt existing vectors.
- Owner-only and enterprise-only operations cannot be reached through the console or API by lower roles.
