Platform & DevOps
Pilot Platform and DevOps
Docker, PostgreSQL, pgvector, environment variables, upgrades, and backups.This page is the public platform map for Pilot. It is intentionally narrow:
deployment, operations, infrastructure prerequisites, and recovery paths. Product
workflow behavior belongs in docs/architecture.md, API details belong in
docs/api.md, and environment variables belong in docs/env-reference.md.
Source truth
- Local and production deployment:
docs/self-hosting.md,infra/README.md,infra/digitalocean/README.md, andinfra/docker/README.md. - Runtime operation and incident response:
docs/runbook.md,docs/degradation-matrix.md, andinfra/monitoring/README.md. - Configuration:
docs/env-reference.mdand.env.example. - Migration safety:
packages/db/migrations/README.mdandscripts/check-migration-journal.ts.
Platform boundary
Pilot runs as a self-hosted stack: web UI, gateway, orchestrator, PostgreSQL, pgvector, background jobs, optional Telegram surfaces, and optional HELM governance. The platform docs should explain how to run, observe, back up, and upgrade that stack. They should not claim managed hosting, production availability, or customer deployment status unless a release artifact and smoke evidence prove it.
Public operator path
flowchart TD
subgraph Ingestion["1. Ingestion & Context Plane"]
SelfHosting["Self-hosting guide"]
Env["Environment reference"]
Deploy["Infra and Docker docs"]
Degrade["Degradation matrix"]
end
subgraph Execution["3. Execution & Verdict Plane"]
Runbook["Runbook"]
Recovery["Recovery or rollback action"]
end
%% Operational Flow Edges
SelfHosting --> Env
Env --> Deploy
Deploy --> Runbook
Runbook --> Degrade
Degrade --> Recovery
%% Premium Styling Rules
style Runbook fill:#3182ce,stroke:#2b6cb0,stroke-width:2px,color:#fff
style Recovery fill:#3182ce,stroke:#2b6cb0,stroke-width:2px,color:#fffMermaid source
flowchart TD
subgraph Ingestion["1. Ingestion & Context Plane"]
SelfHosting["Self-hosting guide"]
Env["Environment reference"]
Deploy["Infra and Docker docs"]
Degrade["Degradation matrix"]
end
subgraph Execution["3. Execution & Verdict Plane"]
Runbook["Runbook"]
Recovery["Recovery or rollback action"]
end
%% Operational Flow Edges
SelfHosting --> Env
Env --> Deploy
Deploy --> Runbook
Runbook --> Degrade
Degrade --> Recovery
%% Premium Styling Rules
style Runbook fill:#3182ce,stroke:#2b6cb0,stroke-width:2px,color:#fff
style Recovery fill:#3182ce,stroke:#2b6cb0,stroke-width:2px,color:#fffValidation
Run npm run docs:coverage && npm run docs:truth before publishing platform
claims. Run npm run compose:config when changing Docker or DigitalOcean
deployment instructions.