The development of the Simple Retro application, a tool for Agile team retrospectives, utilized a strict microservices architecture built on Go. The system comprises five microservices, PostgreSQL databases, RabbitMQ, Redis, and Jaeger, with a Next.js frontend.
The backend architecture is divided into four layers: transport, business, domain, and adapters. Communication between layers is strictly regulated by interfaces and Data Transfer Objects (DTOs). This structure ensures that the code only compiles if all requirements are met, forcing AI agents to follow established patterns.
When implementing a feature to change a team member's nickname, the AI agent modified 15 files in a single commit. The agent adhered to the structural constraints enforced by the Go compiler, such as implementing interface methods in adapters and using DTOs for data transfer.
Despite the strict architecture, the AI agent committed minor deviations from the project's internal guidelines, such as placing validation logic in the business layer instead of the domain layer. Even using the Opus model did not prevent these specific architectural lapses.
The author contrasts this with the frontend development, where the lack of rigid rules led to frequent errors. The strict backend approach proved effective for maintaining system integrity, even though it requires more effort from developers to maintain the pattern.






