Files
docs/README.md
T

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).