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...
Repository
lucasgodt/open-agent-ready-typescript
open-agent-ready-typescript
5stars
lucasgodt/open-agent-ready-typescript
open-agent-ready-typescript
A TypeScript invoicing API reference codebase engineered with strict architectural guardrails, automated enforcement, and tool hooks to prevent AI agents from breaking the architecture.
Visit project- First shared
- Jul 15, 2026
- HN activity
- 21
Show HN@lucasgodtJul 15, 2026
Show HN: A TypeScript repo where AI agents can't break the architecture
Community