Phase 1: Foundation π§±
Parent epic: #14 (Metropolis Architecture)
Establish the cloud-native substrate: containerization, inter-service communication, event backbone, and local Kubernetes development environment.
Deliverables
1.1 Containerization
1.2 gRPC Service Layer
1.3 NATS Event Mesh
1.4 Local Kubernetes
1.5 CI/CD Pipeline
Component Diagram
βββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β kind / k3d cluster β
β β
β ββββββββββββββ gRPC ββββββββββββββ β
β β Agent ββββββββββΆβ Agent β β
β β Service β NATS β Service β β
β βββββββ¬ββββββββββββββββ΄βββββββ¬ββββββ β
β β β β
β ββββββββββββ¬ββββββββββββββ β
β NATS Server β
β (JetStream) β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Infrastructure
# skaffold.yaml
apiVersion: skaffold/v4beta7
kind: Config
build:
artifacts:
- image: oblisk-agent
docker:
dockerfile: Dockerfile.agent
- image: oblisk-gateway
docker:
dockerfile: Dockerfile.gateway
deploy:
kubectl: {}
Dependencies
Requires: #6 (package layout), #10 (CI hardening)
Blocks: #16 (Towers phase needs containers to orchestrate)
Estimated effort: 6-8 weeks
Priority: P0 β Foundation of everything
Phase 1: Foundation π§±
Parent epic: #14 (Metropolis Architecture)
Establish the cloud-native substrate: containerization, inter-service communication, event backbone, and local Kubernetes development environment.
Deliverables
1.1 Containerization
Dockerfilefor OBLISK core services (multi-stage build)docker-compose.ymlfor local development stack.dockerignoreoptimized for Python builds1.2 gRPC Service Layer
proto/oblisk/v1/agent.protoOBLISKAgentwith methods:ExecuteTask(TaskRequest) -> TaskResponseStreamEvents(EventStream) -> stream EventGetCapabilities(Empty) -> CapabilitiesCheckHealth(Empty) -> HealthStatus1.3 NATS Event Mesh
oblisk.agent.*,oblisk.vault.*,oblisk.audit.*1.4 Local Kubernetes
kindork3dcluster configurationoblisk-system,oblisk-agents1.5 CI/CD Pipeline
Component Diagram
Infrastructure
Dependencies
Requires: #6 (package layout), #10 (CI hardening)
Blocks: #16 (Towers phase needs containers to orchestrate)
Estimated effort: 6-8 weeks
Priority: P0 β Foundation of everything