# OrangeCat Documentation Documentation for the OrangeCat platform. Start with the area you need. | Area | What's inside | | ------------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------- | | [getting-started/](getting-started/) | First-time setup and orientation | | [architecture/](architecture/) | System design, entity model, the Cat, ADRs ([adr/](architecture/adr/)), DB schema ([SUPABASE_SCHEMA_GUIDE.md](architecture/SUPABASE_SCHEMA_GUIDE.md)) | | [development/](development/) | Day-to-day dev: standards, contributing, guides, examples, templates, components | | [operations/](operations/) | Running prod: deployment, devops/runbooks, self-hosted Supabase | | [design-system/](design-system/) | Design tokens, UI/UX, navigation, branding | | [features/](features/) | Feature-level docs (posting, messaging, etc.) | | [security/](security/) | Security model and practices | | [testing/](testing/) | Test strategy and coverage | | [business/](business/) | Executive, legal, marketing | | [reference/](reference/) | API, changelog, content, misc reference material | | [forward-looking/](forward-looking/) | Plans, proposals, in-flight ideas | | [non-public/](non-public/) | Internal-only material | | [archive/](archive/) | Frozen historical docs (incl. the retired managed-cloud era) | ## Ground truth (checked 2026-10) - **Database** — self-hosted Supabase at `supabase.orangecat.ch` on the Hetzner box (`bitbaum`). The managed Supabase Cloud was retired 2026-06. Schema = SQL files in [`../supabase/migrations/`](../supabase/migrations/), applied automatically on every deploy by `scripts/apply-migrations.sh` — never by hand. See [operations/supabase/](operations/supabase/). - **Deployment** — self-hosted on Hetzner behind Caddy. A green PR is merged by `.github/workflows/auto-merge.yml`; CI on `main` then hands off to `.github/workflows/cd.yml`, which deploys. See [operations/deployment/](operations/deployment/) and "Deploy path" in [`../AGENTS.md`](../AGENTS.md). - **Bitcoin** — BTC is the canonical stored unit (`NUMERIC(18,8)`) and the only Bitcoin unit; SATS is not a currency code. ## Conventions - Point-in-time reports, audits, and completed runbooks live in [archive/](archive/) — keep active docs current, not historical. - Engineering rules the AI agent follows live in [`../.claude/`](../.claude/), not here.