Files
tech-log-backend/src/app-bootstrap/CLAUDE.md
T

1.2 KiB

app-bootstrap — application entry point & composition root

Registered identity

  • Module ID: app-bootstrap
  • Gradle path: :app-bootstrap
  • Focused test (derived from Gradle path): ./gradlew :app-bootstrap:test --console=plain
  • Runtime baseline: Java 21; repository framework baseline: Spring Boot 4.0.0.
  • Registry SSOT: src/config/architecture/modules.json.

Package root: dev.caskeleton.bootstrap.

Responsibility

  • Spring Boot entrypoint (CaSkeletonApplication).
  • Runtime settings and logging bootstrap.
  • Final cross-module wiring.
  • Architecture tests that inspect all modules.

Allowed

  • Runtime leaves whose dependency edge is explicitly allowed and whose runtime_memberships includes app-bootstrap in src/config/architecture/modules.json; do not duplicate the 18-leaf dependency list here.
  • Spring Boot startup/runtime dependencies.
  • ArchUnit in tests.

Forbidden

  • Concrete business policy.
  • Controllers, use cases, repository adapters, or mappers authored directly under bootstrap.
  • Settings classes that implement business logic.

Test

cd src
./gradlew :app-bootstrap:test
./gradlew verifyCleanArchitectureDependencies