mirror of
https://github.com/bitbaum/orangecat.git
synced 2026-12-04 06:49:58 +01:00
Both CLAUDE.md files now only point at AGENTS.md, the fleet's one agent-file shape (bitbaum/fleet scripts/ci/agent-rules.mjs). What was still true moves into AGENTS.md: the principles and the entity test, the shipping hand-offs (re-arm, post-main), the self-hosted Supabase read and migration path, the design tiers and the one-orange rule, and the money surface as the reference for one shape per kind. Every named path, script, workflow key and component was checked against the tree. Dropped as stale or copied: - `.claude/CLAUDE.md` still listed the warm accent as `#ff5c00`; the root file and globals.css say it is gone (accent = Bitcoin orange). - a machine-specific project path, the duplicated stack table and the `.claude/rules` restatements (those files remain). Docs and comments that sent readers to CLAUDE.md for "Shipping" or the principles now point at the AGENTS.md sections. Claude-Session: https://claude.ai/code/session_019MDtmuJhiHPASaR5k8raL9 Co-authored-by: Claude <noreply@anthropic.com>
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.