mirror of
https://github.com/bitbaum/orangecat.git
synced 2026-12-04 08:47:24 +01:00
I built this on a wrong premise: that <name>.orangecat.ch means membership in
OrangeCat. It does not. It is an address on a domain George happens to own,
which is why petvity has a site and no profile, and why sinktattoo moved to its
own domain without moving a line of code.
Every site in this studio is its own repository from birth — aslan-tattoo,
kivvi, vitareba, petvity, botsmann, all of them. That is not an accident of
history, it is the property that makes a site handover-able, and a site that
lives inside this codebase can never be handed to anyone. Substrata was the only
violation, and it was mine.
Removed: the group_features 'site' feature, the profile-site renderer, the
positional host resolution and its reserved-subdomain list, the publish API, the
tls-check endpoint, the catch-all Caddy block, and Substrata's configs. Substrata
moves to its own repository, with its own design system — it currently renders in
OrangeCat's tokens and OrangeCat's orange, which is the visible form of the same
mistake.
The RLS policy needs its own DROP: deleting a migration file does not undo a
policy that already ran on production, and an anonymous SELECT grant is not
something to leave behind because nothing writes that row any more.
Kept, because they were never about hosted sites:
- rateLimitDomainSearch — /api/v1/domains still fans one request out to 24
registry lookups for an anonymous caller
- the bounded RDAP result cache, keyed by caller input in a process that runs
for weeks
- clientIp(), collapsing the third copy of the x-forwarded-for read
- the CodeQL fix for the URL substring test
- type-check:scripts, which is why scripts/ is type-checked at all
verify green: 244 suites, 2406 tests.
Co-authored-by: Mao Nakamoto <georgy.butaev@revamp-it.ch>
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>