mirror of
https://github.com/bitbaum/orangecat.git
synced 2026-12-05 00:08:14 +01:00
A companion answers on any model, with or without tool calling, so it does not call tools: it proposes. The owner's own companion is told what OrangeCat can do for them (hands.ts: an event, a project, a product, a service, a wishlist, a hand-off to Loki; nothing that moves money, nothing high-risk) and ends an answer with one fenced block naming the action and its parameters. The server takes the block off the words, validates the parameters against the registry, asks the Cat's permission service and writes the Cat's own consent row (hands-server.ts); the chat shows the Cat's "Do it?" card (DoItCard), and the tap runs the Cat's executor. A bot can set nothing in motion that the Cat could not, a standing grant given here holds for the Cat too, and nothing exists until the tap, so a bot never says a thing is done. Only the owner, only in the bot's own chat, never in a group. The boundary test that keeps companion code out of the Cat's mind now names what stays forbidden (the executor, the loop, the tools, the handlers) and lets the consent plumbing through, for the same reason the credits ledger was never on its list. The ADR records D9 (hands) and the decision on D6 and D7 (connectors through the ai-kit MCP client, routines on a chosen budget, in that order). Claude-Session: https://claude.ai/code/session_019MDtmrXvMqAqZtbpQ4x3et 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.