@startuml
skinparam backgroundColor #FAFBFF
skinparam componentStyle rectangle
skinparam packageStyle rectangle
skinparam shadowing false
skinparam ArrowColor #0F172A
skinparam DefaultFontName Inter
skinparam DefaultFontSize 12

component "config.yaml + env" as Inputs #E2E8F0
component "build_schema_debug_runtime" as RuntimeBuild #FDE68A
component "SchemaDebugRuntime" as Runtime #DBEAFE
component "schema_debug_handler" as Handler #FEE2E2
component "/debug/schema response" as Response #E5E7EB

Inputs --> RuntimeBuild
RuntimeBuild --> Runtime : tenant + access gate only
Runtime --> Handler
Handler --> Response

note right of Response
  Before:
  runtime block had tenant/mapping context,
  but no consolidated "what is enabled"
  matrix for operators.
end note
@enduml
