Prepare, review or implement an AWS ECS Fargate deployment for MS-SIMULATION using one Spring Boot Modulith Docker image, Amazon ECR, Amazon ECS Fargate, Amazon RDS PostgreSQL, CloudAMQP RabbitMQ, IAM/OIDC and GitHub Actions.
Review the simulation clock module, time advancement domain logic, persistence flow, time.advanced.v1 publication and related tests. Do not require current-day endpoints beyond GET /tick/current.
Apply Clean Code and SOLID principles when generating, reviewing, or refactoring Java production code. Use for descriptive names, small methods, single responsibility, low coupling, high cohesion, no duplication, and clear architecture boundaries.
Document a module, use case, REST endpoint, RabbitMQ event or architecture flow in MS-SIMULATION clearly and technically.
Generate or update Java tests for domain, application, infrastructure, REST controllers, RabbitMQ publishers/listeners and persistence adapters in MS-SIMULATION.
Make Java tests readable and maintainable with descriptive names, clear given/when/then structure, behavior-focused assertions and minimal mocking.
Refactor Java/Spring code safely without changing external behavior, REST contracts, RabbitMQ contracts or domain rules.