Multi-tenant telemetry platform: MQTT ingest → TimescaleDB → real-time threshold rules → action execution.
cmd/all— monolith entry point (Mode A)cmd/transport— MQTT consumer + rule evaluator + Timescale writercmd/runner— action job consumercmd/api— HTTP control planecmd/migrate— goose migration runnerpkg/— shared libraries (config,log,db,models,queue)migrations/— goose SQL migrationsdeploy/docker-compose.yml— local Postgres/Timescale + EMQXinternal/testutil/— test helpers (testcontainers)docs/superpowers/— design docs and implementation plans
make up # starts Postgres+Timescale and EMQX
make migrate # applies all migrations
make test-short # unit tests (no containers)
make test # full test suite (uses testcontainers, slower)
go run ./cmd/all # boots the monolith stubRequired env vars (set by make migrate / make test defaults; override as needed):
OBSERVER_DB_DSN— Postgres connection stringOBSERVER_MQTT_URL— EMQX broker URLOBSERVER_LOG_LEVEL—debug|info|warn|error(defaultinfo)
See docs/superpowers/specs/2026-04-14-telemetry-anomaly-platform-design.md.