Mirror of the Collectives specs (canonical) after the 2026-09-11 revision: - PLATFORM_ARCHITECTURE: two clusters (core + breakpilot-platform), stage and prod on separate Hetzner VMs, fixed hosts with path-based tenants, Keycloak realms breakpilot-stage/prod on core, tenant-registry as entitlement authority, always-on ERPNext link, CLI licence model, first-line products Prüfwerk (+Werkbank), Werkpilot, Firmwerk - INFRASTRUCTURE: Hetzner topology, per-node ingress (HTTP-01), stage isolation rules, backups, SLAs, failure scenarios, risks - IMPLEMENTATION_PLAN: M-MIG-0 … M-MIG-9 migration milestones replace M0–M19 - PRODUCT_INTEGRATION_SPEC: contract 2.0 (standalone | headless | cli, registry entitlement check, usage event push, ladder statuses, licence contract, gap analysis for the four products) - COST_PLAN: Hetzner, no commitments - README: deployment table for app[-stage].breakpilot.com; links repointed Removed: SysEleven, three-cluster split, PowerDNS/DNS-01, Stalwart, Orca-Proxy container, web-component/widget contract, cdn.breakpilot.com, custom domains, Stripe/Polar. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DmXxNULoSNPvjF7buKipsB
2.9 KiB
docs
Platform-wide architecture, integration spec, runbooks.
Part of the Breakpilot Platform. For the big picture see
platform/docs: Architecture · Infrastructure · Product Integration Spec · Implementation Plan
What this is
Platform-wide architecture, integration spec, runbooks. Scaffolded under milestone M0.1. See platform/docs for the full architecture context.
Plane: Control Owner: @sharang Status: pre-alpha Linked milestone: M0.1
Run locally
# prerequisites: see CONTRIBUTING.md for tooling once code lands
make dev # starts dependencies + this service on http://localhost:3000
make test # unit + integration
make e2e # only if this repo ships user-facing flows
Local secrets come from .env.local (gitignored). Template at .env.example.
Endpoints / surface
{{For services: list the top-level routes or commands. For libraries: list the public API entry points. For IaC: list the make targets.}}
Deployment
| Env | URL / host | How |
|---|---|---|
| dev | http://localhost:3000 |
make dev |
| stage | app-stage.breakpilot.com (portal) · <product>-stage.breakpilot.com (product UI) · internal for services without a UI |
auto on merge to main (CI → Harbor → signed webhook → orca redeploy <svc>-stage) |
| prod | app.breakpilot.com · <product>.breakpilot.com |
tag vX.Y.Z + sign-off → prod branch webhook → orca redeploy <svc>-prod |
Tenants are addressed by path (/[slug]/…), never by subdomain. Rollback: orca rollback <svc>-{{env}} (previous image) on the platform master. No docs.breakpilot.com — this repo is documentation only and is not deployed.
Observability
- Traces, logs, metrics: SigNoz — service name
docs - Audit events: Tenant Registry
/audit(Retraced-shape schema) - On-call:
oncall@breakpilot.com· runbook atplatform/docs/runbooks/docs.md
Contributing
See CONTRIBUTING.md. TL;DR: branch from main, open a PR, 1 review + green CI, squash-merge.
License
Proprietary — all rights reserved. Copyright (c) 2026 Sharang Parnerkar and Benjamin Boenisch. See LICENSE.