Security testing
- One audit never finds everything. This was the first for this repository. It was done by AI agents, not an independent human tester.
- The audit was not repeated on the fixed code. The fixes were tested against the attacks the audit found, so a new problem they introduced could have been missed.
- The database read limit was scaled down. Convex stops a query at 16 MiB. The fixes for findings 5 to 10 were tested at 256 KiB.
- Two agents running at the same moment were not tested on the fixed sandbox.
- Finding 4 was not retested. It relies on Clerk SSO removing leavers promptly.
Application tests
- A passing test covers only what it checks. Some backend functions aren’t mentioned by any test.
- Tests run only when someone runs them. No GitHub workflow does, so a failing test may not stop a release.
- Outside services are stand-ins. A change at Clerk, HeyGen or an HR system won’t make a test fail.
- Type checks cover the app, the back office and the backend, but not the runner scripts.

