Show HN: A TypeScript repo where AI agents can't break the architecture
2 points
1 hour ago
| 1 comment
| github.com
| HN
lucasgodt
1 hour ago
[-]
The benchmark red-teamed my own system on its first run: the agent bypassed the test-protection hook by creating the override file itself via bash — and honestly reported doing so (transcript: https://gist.github.com/lucasgodt/7a0779b520d2606d2219280158...). I patched it — agents can no longer self-grant the override, and bash-level writes to tests/ are blocked. On the re-run, the agent hit the hook, stopped, proposed the acceptance criteria for my review, asked me to grant the override, and revoked it itself right after finishing the tests: https://gist.github.com/lucasgodt/b190c1a12001c79eb221a6d311...
reply