mirror of
https://github.com/bitbaum/orangecat.git
synced 2026-12-04 04:57:19 +01:00
* docs: correct drift in agent instructions, README and ops docs - Auto-merge sweep lives in bitbaum/fleet, not bitbaum/dotfiles; cd.yml is dispatch-only (handed off by ci.yml post-main), not a workflow_run listener - Design-system docs match globals.css / tailwind.config.ts: warm accent #ff5c00, bg-bitcoinOrange (no bitcoin-orange utility), tiffany/orange are legacy; display typography is shipped - .claude rules: real paths (src/lib/validation/, entityCrudHandler.ts, standardResponse.ts, withZod/withRateLimit/withRequestId, services/actors), real Button/Alert APIs, real rate limits, search via @bitbaum/searchkit, real payment modules, PostgREST instead of the POSTGRES_URL tunnel, lint-staged pre-commit, eslint.config.mjs - README/AGENTS/REVIEW: Next 16 / TS 6 / Tailwind 4, pnpm, messaging is not E2E-encrypted yet, beta not Live, CD deploys, migrations apply on deploy - docs/: deploy process, CI/CD, migrations guide, moved docs/ paths, stale CLI-entity and edge-function docs flagged Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PJkbo18cRNXtgPWZN2S9cD * style(docs): prettier on the docs touched by the drift fix lint-staged would have run this; the commit was made without hooks. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PJkbo18cRNXtgPWZN2S9cD --------- Co-authored-by: Claude <noreply@anthropic.com>
1.3 KiB
1.3 KiB
DevOps Overview
This is the authoritative, up-to-date guide for OrangeCat DevOps. It summarizes environments, CI/CD, infrastructure, observability, security, and runbooks for both human engineers and AI coding agents.
- Read first: Deployment guide – docs/operations/deployment/DEPLOYMENT_PROCESS.md
- CI/CD Pipeline – docs/operations/devops/ci-cd.md
- Infrastructure (self-hosted Hetzner) – docs/operations/devops/infrastructure.md
- Observability (Health, Metrics, Logs) – docs/operations/devops/observability.md
- Runbooks (Backups/Restores) – docs/operations/devops/runbooks/backup-restore.md
- Supabase Connectivity – docs/operations/devops/supabase.md
Source of truth notes:
- Node.js: v20 across workflows and Docker.
- Tests and type-checks are blocking in CI with pragmatic coverage gates.
- Security: strict headers + CSP (reporting enabled), SVG disabled unless sanitized.
Environment Files Policy (Local)
.env.localis developer-owned and MUST NOT be deleted or overwritten by scripts or agents.- Automated backups live in
.env-backups/; usescripts/utils/env-manager.jsto backup/restore. - Prefer
env-manager validateandsetupover copying.env.exampleonto an existing file. - CI uses dummy env values for builds; the box's env lives in
/opt/orangecat/app/.env. GitHub Actions must not write to.env.local.