mirror of
https://github.com/bitbaum/orangecat.git
synced 2026-12-04 22:27:36 +01:00
Measured on orangecat.ch (2026-11-12): - "Export my data" promised "the data we store about you". GET /api/account/export returned ten tables (profile, Cat history, credits, preferences, sent messages) and nothing the person made: no pages, wallets, posts, follows, memberships, payments or notifications. - "Delete all Cat conversations" sent people to "AI settings" for memories. Memories live on the Memory tab, and /settings/ai has no memory controls. - The public contact email said "Defaults to your registration email". Since #1589 it is never pre-filled. - Integrations told developers to verify webhooks with @orangecat/sdk, which is not published (npm answers 404). Now: - The export is gathered in src/domain/account/exportAccount.ts. It adds every page the person owns, found through ENTITY_REGISTRY by each type's owner column, so a new type is exported without touching it. Wallets are read through WALLET_CLIENT_COLUMNS, without the connection secret. It also adds posts (under the user id or an actor), follows both ways, group memberships, payment requests and orders where the person is a party, notifications and Cat interest topics. Embedding vectors stay out. A failed read still fails the whole export rather than handing over a partial file. The route is a thin wrapper. - The export copy names what the file holds and what it leaves out. - The memories sentence links to the Memory tab. - The contact email help says it stays empty unless filled in and that the sign-in email is never shown. The guidance tip claiming a default is gone. - Integrations states the signing scheme (X-OrangeCat-Signature, HMAC-SHA-256 of `${t}.${raw body}`, five-minute tolerance), and the API conventions doc says the SDK is not published. Claude-Session: https://claude.ai/code/session_019MDtmw3MnN44QwEv4M52CS Co-authored-by: Claude <noreply@anthropic.com>
OrangeCat Documentation
Documentation for the OrangeCat platform. Start with the area you need.
| Area | What's inside |
|---|---|
| getting-started/ | First-time setup and orientation |
| architecture/ | System design, entity model, the Cat, ADRs (adr/), DB schema (SUPABASE_SCHEMA_GUIDE.md) |
| development/ | Day-to-day dev: standards, contributing, guides, examples, templates, components |
| operations/ | Running prod: deployment, devops/runbooks, self-hosted Supabase |
| design-system/ | Design tokens, UI/UX, navigation, branding |
| features/ | Feature-level docs (posting, messaging, etc.) |
| security/ | Security model and practices |
| testing/ | Test strategy and coverage |
| business/ | Executive, legal, marketing |
| reference/ | API, changelog, content, misc reference material |
| forward-looking/ | Plans, proposals, in-flight ideas |
| non-public/ | Internal-only material |
| archive/ | Frozen historical docs (incl. the retired managed-cloud era) |
Ground truth (checked 2026-10)
- Database — self-hosted Supabase at
supabase.orangecat.chon the Hetzner box (bitbaum). The managed Supabase Cloud was retired 2026-06. Schema = SQL files in../supabase/migrations/, applied automatically on every deploy byscripts/apply-migrations.sh— never by hand. See operations/supabase/. - Deployment — self-hosted on Hetzner behind Caddy. A green PR is merged by
.github/workflows/auto-merge.yml; CI onmainthen hands off to.github/workflows/cd.yml, which deploys. See operations/deployment/ and "Deploy path" in../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/ — keep active docs current, not historical.
- Engineering rules the AI agent follows live in
../.claude/, not here.