Files
epolicy-dash-back/.agent/references/repository-rules.md

1.5 KiB

Generated Spring Boot Repository Rules

  • This backend application was generated by @kri/create-spring-app with Java 17 and Spring Boot 3.5.7.
  • Consume KriCommon through com.kri.common:starter:beta.1.6.4; do not change that approved version or duplicate shared behavior without explicit approval.
  • The selected primary database is mysql. Preserve its configured dialect, driver, transaction, schema, and migration conventions.
  • Keep controllers thin and preserve the generated service, DTO, persistence, configuration, QueryDSL, JDBC, and optional MyBatis boundaries.
  • AGENTS.md and CLAUDE.md are central-harness generated outputs. Never edit them directly; update .agent/profile.yml or .agent/project.md and recompose.
  • After every .agent/project.md change, run cd "D:\_____Dev\_________AgentHarnessBase", then .\scripts\agent-harness.ps1 compose --project epolicy-dash-back and .\scripts\agent-harness.ps1 verify --project epolicy-dash-back to keep the generated agent documents current and verified.
  • Use the repository Gradle Wrapper and run .\gradlew.bat compileJava followed by focused tests for relevant changes.

Required Domain Reference

  • Before changing Excel import/export, reference-file handling, dashboard data models, Wave authorization, chart/statistics behavior, or frontend-facing APIs, read .agent/references/dashboard-domain-contract.md.
  • Treat that reference as binding project instruction for related work. Keep durable detail there and keep this routing file concise.