Risks: the allowlist grows quietly; each entry carries a one-line reason and the test prints it
Suggested brief: a Trust builder (mason/torque). Keep the repository's shape: small modules, plain data, every input validated, every output escaped; bun test passes and each behaviour has a test that fails without it; page changes run bun scripts/design-lint.ts and end with a review block.
Done on main already, waiting for you to close it: bd03c4c6ccff52f43ff9428a5d98846e5aa07975 20676a0a80d525d00f62131df4a933814aba7844 b1fe982bdb752557d6a7ed81a6955d5fb7a9c6d1
Every state-changing route refuses a cross-origin request, proven by one test over the router
Done looks like:
Files: test/mutation-origin.test.ts, src/http/router.ts, src/http/origin_gate.ts
Risks: the allowlist grows quietly; each entry carries a one-line reason and the test prints it
Suggested brief: a Trust builder (mason/torque). Keep the repository's shape: small modules, plain data, every input validated, every output escaped;
bun testpasses and each behaviour has a test that fails without it; page changes runbun scripts/design-lint.tsand end with a review block.