@startuml
skinparam backgroundColor white
skinparam defaultFontColor black
skinparam ArrowColor #333333
skinparam PackageBorderColor #333333
skinparam PackageBackgroundColor #F7F7F7
skinparam RectangleBorderColor #333333
skinparam RectangleFontColor black
skinparam RectangleBackgroundColor #E8F8F0
title After: Synced Route Contracts Across Docs

actor "Developer" as Dev

package "Runtime (Rust Server)" #E8F4FD {
  rectangle "Plugin/Core Routes\n- Full Athena Auth surface" as RuntimeRoutes #D6EBFF
}

package "Repository Docs" #EAF7EA {
  rectangle "README.md\nIncludes admin email/template/failure\nand admin audit/client route tables" as Readme #D8F3DC
  rectangle "openapi.yaml\nSynced to full Athena Auth route set" as OpenApiSynced #CDEFD8
  rectangle "athena-auth.yaml\nCanonical full route spec" as CanonicalSpec #D7D5FF
  rectangle "examples/README.md\nUpdated synced-openapi note" as ExamplesReadme #D8F3DC
}

Dev --> Readme : route discovery
Dev --> OpenApiSynced : client generation
RuntimeRoutes -down-> Readme : full coverage
RuntimeRoutes -down-> OpenApiSynced : full coverage
CanonicalSpec -down-> OpenApiSynced : copied/synced
ExamplesReadme -down-> OpenApiSynced : consistent guidance

note right of OpenApiSynced
`openapi.yaml` now documents
all current Rust server/plugin routes,
including email template admin endpoints.
end note
@enduml
