The pipeline is the only trigger
Nothing waits on a laptop keystroke. Builds, Pulumi applies, GitOps syncs and mirrors fire from git merges; local Bazel wrappers exist for preview and break-glass only.
One monorepo holds the applications, the infrastructure that runs them, the pipelines that ship them and the guardrails that keep agents honest. Here is how the pieces fit.
vitruvian-core is a Bazel workspace on Bzlmod with Aspect rulesets. Go, TypeScript, Python, Kotlin and Swift build and test from the same graph, mostly on hermetic, version-pinned toolchains, so a green build on a laptop means the same thing as a green build in CI.
bazel run target, so agents and people use the same entry points..nvmrc, go.work, .bazelversion); any pin requires an owner and a review_by date enforced by //tools/conformance:check.Cloud projects, deploy identities, DNS and even this repository's own GitHub settings are Pulumi programs written in Go. The homelab cluster reconciles from git through Argo CD. If it is not in a commit, it does not exist.
Every change lands through the merge queue, which tests it against the latest main. Deploys authenticate with Workload Identity Federation, so there are no service-account keys to leak, and each app deploys into its own project behind its own GitHub Environment.
migration-safety) blocks backward-incompatible SQL on pull requests so blue-green rollouts never break live revisions.The monorepo is the single source of truth. Copybara exports each project to its own public repository on every merge, one way. Outside contributions come back as labelled pull requests that are imported for review here, so history never forks.
A team of specialist agents (build, infrastructure, cluster operations, application code, testing, security, documentation) works in the repo every day. Each acts under its own GitHub App, follows the same rules as a person, and is stopped by guardrails when it tries a shortcut.
Every rule in our engineering standard pairs a one-line why with a mechanical check in CI. If a convention cannot be enforced automatically, we rewrite the workflow until it can.
Nothing waits on a laptop keystroke. Builds, Pulumi applies, GitOps syncs and mirrors fire from git merges; local Bazel wrappers exist for preview and break-glass only.
Additive, backward-compatible schema and infrastructure changes land before traffic shifts. Destructive _contract migrations are blocked until the old revision drains.
A bug fix without a regression test or lint rule is one dependency bump away from returning. Every guard must fail against the broken state before it lands.
Tool versions are declared once (.bazelversion, go.work, .nvmrc). Any temporary exception carries an owner and a review_by date enforced by CI.
Pipelines federate GitHub OIDC into Google Cloud and identity providers rather than hand-carrying static keys across environments.
Agents hold the same tools as maintainers. A person is required only for net-new roots of trust, irreversible teardowns, or licensing and policy decisions.
There is no per-app bike-shedding over runtimes or deployment scripts. Once you know what kind of artifact you are building, its stack, hosting target and release train are already decided.
| Archetype | Canonical stack | Runtime target | Delivery & promotion | Examples |
|---|---|---|---|---|
| SaaS web service | Node 22, TypeScript, OCI / Docker | GCP Cloud Run (per-app project) | WIF → Artifact Registry → Pulumi blue/green | vitruvian-tabs, oauth-user-inspector |
| CLI / developer tool | Go (rules_go) |
Developer machine | Copybara → release-please → GoReleaser + Homebrew tap | vitruvian-devx, vitruvian-homelab |
| Native & mobile client | Swift (macOS), Kotlin (Android), MV3 | User Mac, Android or browser | Notarized Universal DMG, Homebrew Cask, signed APK | vitruvian-atrium, vitruvian-code, vitruvian-remote |
| Agent / MCP service | Node 22, TypeScript (ts_project) |
Local stdio or daemon | Copybara mirror + org-scoped npm package (npx) |
vitruvian-slack-mcp, vitruvian-code |
| Platform service | Helm + Sealed Secrets | 5-node K3s cluster | Git merge → Argo CD app-of-apps (selfHeal) |
Cilium, Envoy Gateway, Zitadel, Thanos |
| IaC / shared tooling | Pulumi in Go, Starlark, Bash | Cloud control planes & CI graph | bazel run //tools/pulumi:* preview → CI apply |
repo-config, dev-local, watch-pr |