Skip to content- Sources: primary
- Summary: Vega's agent-built Spring app mixed package-by-layer controller, model and service packages into a package-by-feature codebase while the build stayed green. ArchUnit tests then enforced no layer packages, package-private repositories, controllers that never call repositories, no @Transactional on controllers, constructor injection, SLF4J only, no deprecated APIs and Jackson 3 imports. His AGENTS.md also forbids weakening checks and relies on a stop hook that reruns verify.
- Why it matters: Java teams can convert agent instructions into deterministic architecture tests that also catch the same violations from humans.