Implement RFC 8693 token exchange for api-gateway. Code lives in rock/homelab-frontend, infra/config in rock/homelab.
Unified event routing, goal-driven observation, and notification pipeline.
Vision: Every cluster event (PR, build, deploy, health change) flows through a single bus, gets routed to the right consumer, and is evaluated against operational goals by the Poimen observer.
Architecture: Hybrid — api-gateway handles ingestion + commodity fan-out (Gotify, SQS), Temporal ObserverWorkflow handles intelligent goal tracking + pattern detection + remediation.
Deliverables:
- POST /v1/events endpoint in api-gateway
- Source adapters (Forgejo, ArgoCD, Temporal)
- Target dispatchers (Gotify, SQS, Temporal, webhook)
- Gotify notification server deployment
- ObserverWorkflow in poimen-workflows
- Goal definitions + constraint evaluation
- LLM-powered pattern detection
- Grafana dashboard for event throughput
Persistent, auditable group chat for agents + humans built on poimen-memory.
Vision: Every agent (observer, orchestrator, CI bot) and human shares a conversation space. Messages persist in Postgres (memory-db), real-time delivery via WebSocket on poimen-frontend. Gotify handles push notification delivery only.
Key: single point of infrastructure (memory-db) — one DB, one service, one monitoring target.