ci / shared (pull_request) Failing after 4s
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
60 lines
2.9 KiB
Markdown
60 lines
2.9 KiB
Markdown
# docs
|
|
|
|
Platform-wide architecture, integration spec, runbooks.
|
|
|
|
> Part of the **Breakpilot Platform**. For the big picture see [`platform/docs`](https://git.breakpilot.com/platform/docs):
|
|
> [Architecture](https://git.breakpilot.com/platform/docs/src/branch/main/PLATFORM_ARCHITECTURE.md) ·
|
|
> [Infrastructure](https://git.breakpilot.com/platform/docs/src/branch/main/INFRASTRUCTURE.md) ·
|
|
> [Product Integration Spec](https://git.breakpilot.com/platform/docs/src/branch/main/PRODUCT_INTEGRATION_SPEC.md) ·
|
|
> [Implementation Plan](https://git.breakpilot.com/platform/docs/src/branch/main/IMPLEMENTATION_PLAN.md)
|
|
|
|
## What this is
|
|
|
|
Platform-wide architecture, integration spec, runbooks. Scaffolded under milestone M0.1. See [`platform/docs`](https://git.breakpilot.com/platform/docs) for the full architecture context.
|
|
|
|
**Plane:** Control
|
|
**Owner:** @sharang
|
|
**Status:** pre-alpha
|
|
**Linked milestone:** [M0.1](https://git.breakpilot.com/platform/docs/src/branch/main/IMPLEMENTATION_PLAN.md)
|
|
|
|
## Run locally
|
|
|
|
```bash
|
|
# 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](https://signoz.breakpilot.com) — service name `docs`
|
|
- Audit events: Tenant Registry `/audit` (Retraced-shape schema)
|
|
- On-call: `oncall@breakpilot.com` · runbook at `platform/docs/runbooks/docs.md`
|
|
|
|
## Contributing
|
|
|
|
See [`CONTRIBUTING.md`](./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`](./LICENSE).
|