Files
clean-architecture-backend-…/docs/superpowers/plans/2026-09-19-runtime-profile-access-boundary.md
T

648 B

Runtime Profile Access Boundary — Plan

  • Add immutable Spring-aware RuntimeProfileSnapshot
  • Replace all direct app-bootstrap production getActiveProfiles calls
  • Preserve tracing, logging, management and validation behavior
  • Add RuntimeProfileSnapshot unit tests
  • Add ArchUnit direct-access prohibition
  • Update shared RuntimeEnvironment documentation to name the Spring bridge
  • Prove direct production getActiveProfiles callers = 1 (the bridge only)
  • Run focused profile/tracing/safety tests
  • Run app-bootstrap full test/architecture regression
  • Run shared-contract tests
  • git diff --check