Repository Layout
thermocline/
├── services/ # Runtime services (gateway/coordinator/storage/query/controller/operator/standalone)
├── shared/ # Shared protobufs and common libraries
├── plugins/ # Plugin crates (ml-engine, intelligent-cache, gpu-accel)
├── tests/ # Python E2E/matrix + service test harnesses
├── scripts/ # Dev/test/deploy automation
├── deploy/ # Helm, kustomize, terraform, observability artifacts
├── tools/ # CLI and tooling
└── Makefile # Canonical build/test/lint entrypoints
Ownership Boundaries
services/gateway: wire protocol and command dispatchservices/coordinator: routing/merge orchestrationservices/storage-engine: canonical hot-tier semanticsservices/query-engine: cold-tier executionservices/controller: lifecycle + backup/restore orchestration
Source of Truth
services/gateway/src/proxy/handler/mod.rsservices/coordinator/internal/server/server.goservices/storage-engine/src/aggregation/pipeline.rsservices/query-engine/src/grpc/service.rsservices/controller/internal/grpc/server.goservices/operator/cmd/operator/main.go