flowchart TB
redpanda["redpanda"]:::svc
clickhouse["clickhouse"]:::svc
neo4j["neo4j"]:::svc
redis["redis"]:::svc
vaultdb["vault-db"]:::svc
bootstrap["bootstrap"]:::boot
identity["identity"]:::role
processor["processor"]:::role
summarizer["summarizer"]:::role
gateway["gateway"]:::gw
redpanda -->|service_healthy| bootstrap
clickhouse -->|service_healthy| bootstrap
neo4j -->|service_healthy| bootstrap
redis -->|service_healthy| bootstrap
vaultdb -->|service_healthy| bootstrap
bootstrap -->|service_completed_successfully| identity
bootstrap -->|service_completed_successfully| processor
bootstrap -->|service_completed_successfully| summarizer
redpanda -->|service_healthy| identity
clickhouse -->|service_healthy| processor
neo4j -->|service_healthy| summarizer
redis -->|service_healthy| identity
redpanda ==>|"service_healthy (deliberately narrow, spec 5.4)"| gateway
classDef svc fill:#8b9bb0,stroke:#5f6e82,color:#fff,font-size:13px
classDef boot fill:#e9a23b,stroke:#b8791f,color:#222,font-size:13px
classDef role fill:#2a9d8f,stroke:#1f7a6f,color:#fff,font-size:13px
classDef gw fill:#7b6cc4,stroke:#544a91,color:#fff,font-size:13px
linkStyle default stroke:#999,stroke-width:2px