mirror of
https://github.com/bitbaum/orangecat.git
synced 2026-12-05 03:27:40 +01:00
"What do I have next week" could only be answered from an outside calendar, which needs that provider's sign-in app, permissions and reconnects. A person's days now have a home here, and the to-do list the Cat already kept is the bots' to use too. - calendar_entries: a private calendar the person, their Cat or a bot writes to (made_by says who). /dashboard/calendar lists the coming days and adds or removes an entry. - One agenda (services/planner/calendar.ts): own entries, tasks and reminders that fall due, and a connected Google calendar, in time order in the person's own clock. calendar_read is that agenda now, for everyone, instead of a read offered only where Google is connected. - New actions calendar_add, calendar_remove, tasks_read. The task bodies moved from the Cat's handlers into services/planner so one body serves the Cat's cards and a bot's work loop. - Bots hold the planner hands, and may run them on their own where the owner says so: what they write is private to the owner and can be taken out again. A write is still checked against the owner's rules. - A plain ask about the to-do list or the calendar is read in code before the model answers. Claude-Session: https://claude.ai/code/session_019MDtmwF5V6xdaNTSbg9ouh 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.