Platform
Optimistic Tanuki
Keeping a multi-product platform consistent
- TypeScript
- Angular
- NestJS
- Nx
- Go
- Kubernetes
Problem
A portfolio of products needs the same identity, permissions, messaging and data layer. Copying those pieces into each application would turn every shared change into a migration across many codebases, so consistency has to be enforced by tooling rather than convention.
Architecture and decisions
One Nx workspace with tagged dependency boundaries, shared contract, UI and theme libraries, and a gateway that terminates HTTP, SSE and WebSocket traffic in front of NestJS services on TCP. A Go tool compiles one deployment inventory that Compose, Kubernetes and CI all read.
Why: A single inventory and generated API clients mean drift fails a CI check instead of surfacing in a deployment.
Constraints and trade-offs
Constraints: Clients, services and infrastructure move at different speeds, and deployment targets include both Compose and Kubernetes. Not every application is at the same maturity.
Trade-offs: A large monorepo with slow full builds and a transitional boundary allowlist; end-to-end coverage and per-product maturity are uneven.
Evidence
CI runs migration governance, API-client drift checks, formatting, affected lint, test and build, and the Go inventory tests. Architecture notes document the Nx boundaries and the delivery pipeline.
Status Public AGPL monorepo, actively developed · no tagged releases · applications range from alpha to stable





