A paid event sent every signed-out visitor to sign up. For Bitcoin the
account-free rail already existed (public support, tips), so a guest now
gives a name and pays the organizer's own wallet directly:
- guestTicketPurchase: publication gate, sold-out refusal before payment,
server-side price, an intent carrying guest_name and a bearer status token.
- Settlement issues the ticket to that name (issue_paid_guest_ticket,
idempotent on the payment); the public status poll returns the ticket page.
- usePublicPayment + PublicPaymentProgress: the poll/acknowledge/resume loop
once, shared by the support panel and the ticket purchase.
- A paid ticket can't be given back from its page; the organizer refunds a
guest "another way" (no wallet on record), recorded with a null recipient.
- Migration 20261011220000: payment_intents.guest_name, the issue function,
guest_ticket returns payment_status, claim_guest_ticket points at the
purchase, event_payouts.recipient_user_id nullable.
Also fixes a crash from #1311: MobileStickyCTA (a server component) called
the client hook useMobileActionBar, so public listing pages with a sticky
buy bar switched to "Something went wrong" after loading. The bar is now its
own client component.
Verified: every migration replayed on Supabase Postgres 15 and the new
functions exercised as anon/service_role/organizer; the purchase driven in
Chromium at 390px from name to QR to ticket page.
Claude-Session: https://claude.ai/code/session_01MFTqYKVJNY7ddWNQqsc7yM
Co-authored-by: Claude <noreply@anthropic.com>
OrangeCat's own share panel offered X, Facebook, LinkedIn, WhatsApp and
email, and not OrangeCat. An essay on Loki could be posted to X and not to
the platform it is about. A social network that cannot be shared to from
its own pages — or from anyone else's — does not grow past them.
- `/share?url=&title=&text=` (config/share.ts is the SSOT for the path and
the text it composes): the full-screen composer, open and prefilled with
the reader's line (or the title) and the link on its own line. Signed
out, useRequireAuth sends them to sign in with this URL as `from`, so
they land back on the same prefilled post. Posting lands on the timeline.
- `usePostComposer` takes `initialContent`; drafts are off while it is set
so a saved draft cannot replace the thing the reader came to post.
- The shared ShareContent panel (projects, profiles, entities, groups, the
studio blog) and the community articles' share button lead with
OrangeCat. `/share` is an app surface in routes.ts.
- Blog: "The Night Shift Has a Budget" — Loki's autopilot night, from the
economics side: why the unit is a run, what the old night produced, what
the first nights still have to prove.
Claude-Session: https://claude.ai/code/session_011L2dmcydDLYAiNQwK4XcF4
Co-authored-by: Claude <noreply@anthropic.com>
- lib/longform/DeepBlock: a ```deep fence renders as a closed <details>
("Under the hood: …") through the same ArticleBody, so a post reads whole
for anyone and the files, regexes and numbers sit one tap away. Same
markup as Loki's essays. Styled in longform.css.
- Blog index: below md the fifty-topic chip cloud and the time filters sit
behind one "Filter posts" button, so the first post is on the first
screen instead of two screens down.
- content/blog/the-fleet-you-can-hear.md rewritten: plain story first,
what makes an hour of it pleasant (studio voice, generated music bed,
earcons, talk-over, coalesced sentences), two deep sections, and the
flow diagram top-down so it reads at 390px.
- publish-article skill: the anyone-first + deep-section rule, phone-first
diagrams, and "the index is a product too", recorded as stated.
Claude-Session: https://claude.ai/code/session_01YKx4TPejLvFR9Uj4xrTf6Y
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
A studio post on Loki's new no-screen mode: the brief, what the
headphones say, why the grammar is explicit, what it means for the
Cat, and the one test it has not passed. Stats block, flow diagram,
command table; links to the Loki essay and the public page.
Claude-Session: https://claude.ai/code/session_01YKx4TPejLvFR9Uj4xrTf6Y
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
The roadmap's open item {#event-rsvp-guests}: claim_free_ticket refused
anyone signed out, so the link a host sends to the group chat only worked
for people who'd make an OrangeCat account first — most of them won't.
- Migration 20261007160000: event_attendees.user_id nullable + guest_name,
a row has a person or a name (CHECK). claim_guest_ticket (free events
only, same row lock + capacity rule), guest_ticket(code) and
cancel_guest_ticket(code), granted to anon. The ticket code (32 hex) is
the guest's key; a signed-in person's ticket is never readable by code.
Name only, no email — pseudonymous by default.
- Exercised on Postgres 16 as anon/authenticated after the ticket
migration: claim, last seat, full, empty/long name, paid and draft
refused, no direct read or insert, code reads only its own guest ticket,
give-back frees the seat and re-opens a full event, checked-in ticket
cannot be given back, signed-in claims unchanged. Re-run is clean.
- POST/DELETE /api/events/[id]/ticket: signed out, a name claims a guest
ticket (rate-limited 10/hour/IP) and returns the ticket page; ?code=
gives it back. Signed-in path unchanged.
- /events/[id]/ticket/[code]: the ticket — QR, time in the venue's zone,
place, give it back. noindex.
- Event page: signed out on a free event shows the name form instead of
"Sign in to get a free ticket"; the ticket link is remembered on the
device. Door list and scan verdict name guests by the name they gave.
- Cat playbook: share the link with everyone; publish first (a draft
takes no tickets).
- ROADMAP ticks {#event-rsvp-guests}; paid tickets without an account
stay open under the rails item. CHANGELOG, events doc, article updated.
Claude-Session: https://claude.ai/code/session_017cqEJ2nWRCs2CA6GP6BmoZ
Co-authored-by: Claude <noreply@anthropic.com>
* feat(events): a party in one sentence — mapped, with its music, vibe and crew
Tell the Cat "a party at Langstrasse 120 on Saturday at 10, house and
disco, I need a DJ and two bartenders, 20 CHF" and, after confirming, it
creates the whole event: address geocoded onto the map, genres and vibe
on the page, ticket priced in a real currency, crew posted as open roles.
Added
- events.music_genres / events.vibe; Music & Vibe fields on the form.
- event_roles (crew wanted): owner-only write, readable when the event is.
Public "Crew wanted" card with an "I can do this" message to the
organizer; owner card to add ("DJ, 2 bartenders"), fill and remove roles.
- Geocoding (Nominatim) fills latitude/longitude on create, from the Cat
and the form. search_events_nearby RPC + /api/events/nearby + a
"What's on near you" section on /events (near me / a place, by genre).
- create_event takes end_date, event_type, music_genres, vibe, crew,
ticket_price, currency.
Fixed
- Cat create_event wrote a `location` column events never had, and left
currency to a 'SATS' default the CHECK rejects: every Cat event failed.
- Public event pages filtered on status 'active', which events never
have: published events 404'd for everyone but the organizer; metadata
also read `location`, so previews said "Event Not Found".
- Ticket checkout read a `price` column events don't have; registry now
declares priceColumn: 'ticket_price'.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MFTqYKVJNY7ddWNQqsc7yM
* feat(events): the pin follows an edited address; the Cat finds events nearby
- PUT /api/events/[id] re-geocodes when the venue changed (or the event
never had a pin), keeps the pin on unrelated edits even if the form sent
it back as null, and clears it when the new address cannot be placed.
Via a new optional async refineUpdatePayload hook on the shared PUT
handler.
- find_events_near(place, genre?, radius_km?) Cat tool: geocodes the
place and runs search_events_nearby as the user, returning only real
events with their links.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MFTqYKVJNY7ddWNQqsc7yM
* feat(events): tickets with a QR the door scans; private guest lists
- event_attendees (in the baseline, never written) becomes the ticket:
ticket_code added; free seats via claim_free_ticket (row-locked, so the
last seat goes to one person) and cancel_free_ticket; paid tickets only
via issue_paid_ticket, granted to service_role and called by settlement
(idempotent per payment intent; a second purchase adds a seat);
check_in_ticket for the organizer alone. current_attendees and the
full/open status follow the seats.
- Checkout refuses a sold-out event before anyone pays.
- Event page: ticket card (QR to /events/[id]/door?code=…, seats left,
free claim/cancel, door link for the organizer). Door page checks the
scanned ticket in and lists guests with name search + manual check-in.
- Signed-out visitors are asked to sign in to buy a ticket instead of
being shown the organizer's bare address (which left no ticket).
Fixed: the baseline policies let anyone read every attendee of a public
event and write their own row as paid/attended. Replaced with own-row
read, organizer read/write, and the functions above.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MFTqYKVJNY7ddWNQqsc7yM
* feat(venues): a bar's page with its door on the map, and its events on it
- groups gain street_address, postal_code, latitude, longitude; the
organization form asks for them and create/update geocode the pin.
- events.venue_group_id links an event to the organization whose place it
is at (ON DELETE SET NULL). A trigger lets only that organization's
members set it, so the form, API and Cat meet one rule.
- Event page sidebar: "At Espresso Bar" card. Organization page: the
address with a map link and "What's on at …" (upcoming public events).
- Cat: create_event takes `venue` — matched only among the user's own
organizations (exact name, or one unambiguous close name) and uses the
venue's address and pin; otherwise it says how to make the page.
create_organization takes `address` (resolved to a complete place +
pin) and never stores an invented kind ("bar" -> company).
Fixed: updateGroup accepted country/region/locality and never wrote them.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MFTqYKVJNY7ddWNQqsc7yM
* fix(merge): the event re-pin hook reads the row from main's loadForWrite
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MFTqYKVJNY7ddWNQqsc7yM
* fix(events): one model for venues (assets), and what a real run found
Venues
- main (#1237) made the place an event is at an asset (events.asset_id,
"Happening here"). This branch had a second model (organizations +
venue_group_id); it is gone before it ever shipped, and the group
changes with it — except the real bug fix: updateGroup accepted
country/region/locality and never wrote them.
- 20261007100000: an event can be listed at a place only by whoever runs
it — its person, its organization's members, or the steward of a place
set up for someone not here yet (rights follow actor_id, like
stewardship.ts; owner_id stays with the steward after a claim).
places_i_can_list_events_at() exposes the same rule as a list.
- Event form: a venue picker replaces the "paste the asset's UUID" box.
Event page: "At Espresso Bar" card linking the place's page.
- Cat: create_venue (a page for a bar/club/studio, optionally set up for
an owner who is not on OrangeCat, with the hand-over link);
create_event's `venue` resolves among the places the user runs.
Found by replaying every migration on supabase/postgres:15.8.1.060 and
driving the app in Chromium at 390px
- 20261007090000: a database built from the migrations created accounts
with no profile (the auth.users triggers live outside the dump), and
every write to a search-indexed table failed (private.reindex_config
missing). Both created only where missing — no-ops on the box.
- Permissions-Policy sent geolocation=(), so "Near me" could never ask.
Now geolocation=(self), pinned by a test with microphone and camera.
- Cat create_asset never set owner_id or type (both required): every
asset it tried to register failed.
- The ticket migration's widened CHECK is acknowledged for the
migration-safety gate. Event endpoints come from API_ROUTES.EVENTS.
Plan and audit: docs/features/events-end-to-end.md.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MFTqYKVJNY7ddWNQqsc7yM
* fix(events): times on the venue's clock, everywhere
A Landquart night at 22:00 read "8:00 PM" (pages formatted in the
server's zone), and the Cat stored "Friday 22:00" as 22:00 UTC (its clock
says UTC; Postgres reads an offset-less time as UTC too — the form had
the same bug).
- src/utils/timezone.ts (+ src/config/time-zones.ts): no-dependency
zone conversion on Intl — wallTimeToUtc (DST-safe), formatInZone,
isValidTimeZone, and timeZoneForPlace (country; longitude/latitude for
the countries spanning several zones; null rather than a guess).
- src/domain/events/time.ts: resolveEventTimes for writers (zone from the
organizer's choice, else the place, else UTC; offset-less times are
wall-clock there) and formatters for readers.
- Writers: form create + edit and the Cat's create_event; geocoding a
venue now settles its zone. The Cat is told to send venue-local times
and says which zone it used (or that it fell back to UTC).
- Readers: event page (day, time range + "Zurich time", RSVP), metadata,
"near you", "Happening here", the door's check-in times, the Cat's
find_events_near.
- "Near me" names the kind of geolocation failure instead of always
saying "not shared".
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MFTqYKVJNY7ddWNQqsc7yM
* feat(events): the crew is real people, the door crew checks guests in
- event_roles hold people (assignee_user_ids, at most the head-count —
the table refuses more) and say whether the role works the door
(can_check_in: the Door and Security presets).
- can_check_in_at(event, user): the organizer or door crew. check_in_ticket
and the guest-list read use it, so the bartender on the door no longer
needs the organizer's phone.
- Organizer's crew card: add people by @username, take them off; a role
fills when full. Crew members see "You're on the crew" and, on the door,
a link to the door list. Public "Crew wanted" shows what is still open.
- Notifications: "Your ticket: …" when a ticket is issued (paid at
settlement, free at claim) and "You're on the crew" when assigned, with
times on the venue's clock.
Fixed, found inserting each dispatched type into the replayed database:
notifications_type_check lacked booking_request, booking_update and
deal_review, so those in-app notifications were rejected and only
logged — booking requests and deal-review reminders reached nobody.
config/notification-types.ts is now the one list: the dispatcher's and
NotificationService's `type` check against it, migration 20261007110000
sets the CHECK from it, and a test fails if the two ever differ again.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MFTqYKVJNY7ddWNQqsc7yM
* feat(events): pay the crew and refund tickets, on the event's record
The organizer pays each crew member their role's fee in one click from
their own connected wallet (the Send rail), or records paying them another
way (Twint, cash). From the door list the organizer refunds a paid ticket:
the money goes back the same way, the ticket is cancelled and its seat freed.
- event_payouts: the event's account of every payout; one sent payment per
person per role and one refund per ticket (partial unique indexes); read by
the organizer and the person paid
- refund_ticket(event, attendee): organizer-only cancel + free the seat
- a failed send is recorded as failed and reported, never hidden
- crew fee editable per role
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MFTqYKVJNY7ddWNQqsc7yM
* feat(events): cover pictures — on the form, from the chat photo, or generated
The event form had no picture field. It has one now, so a Cat draft made
from a photo carries it (imageFieldOf). The shared ImageField — every entity
form with a picture — can also find an openly licensed photo or generate one
with the person's own AI key, not only upload.
The Cat's create_event takes cover: chat_photo (the photo just sent, made
public only now) or generate (BYOK, never the platform's key). It adds the
cover after the event exists, so a slow or failed generation never costs the
event, and says where to add one when it cannot.
Generation + storage moved out of the API route into
services/images/generate-and-store.ts so the route and the Cat share it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MFTqYKVJNY7ddWNQqsc7yM
* fix(events): what the browser walkthrough found after payouts and covers
- The image picker nested a <form> inside every entity form (a hydration
error, and Enter in its search box could submit the outer form). It is
a search region with an Enter handler now — fixed once for every form.
- A form's picture field searched for its own label ('cover picture');
it now searches for what the person typed as the title and description.
- A ticket refunded outside OrangeCat told the buyer 'the organizer
recorded paying you'. Refund and crew notifications now say which.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MFTqYKVJNY7ddWNQqsc7yM
* feat(roadmap, changelog): each points at the other, from the shared kit
/roadmap: every milestone with an id links to the changelog days that
delivered it, and each goal says when it was worked on. /changelog: every
line that delivered a milestone says which, linked to its place on the
roadmap; each day has an anchor. The model is bip-kit's linkDevelopment,
shared by every fleet site, so the local roadmap-journey copy and the
changelog helpers it duplicated are gone.
The record: an 'Events, end to end' goal in ROADMAP.md with an id per
milestone, and today's changelog entries citing them. The event work that
sat under 2026-10-03/05 never shipped; it is written under the day it does.
record-links.test.ts holds the two files to each other (no dangling or
duplicate ids, every ticked id delivered by some line).
Needs bip-kit 0.6.0 (bitbaum/bip-kit, same branch).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MFTqYKVJNY7ddWNQqsc7yM
* docs(blog): one night at Espresso Bar — running an event end to end
What the end-to-end test of an event found, what works now (one sentence,
the place page, venue time, tickets and the door, the crew and their pay,
covers), what is still not built, and the roadmap/changelog links.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MFTqYKVJNY7ddWNQqsc7yM
* chore(deps): bip-kit 0.6.0 — roadmap and changelog link to each other
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MFTqYKVJNY7ddWNQqsc7yM
* fix(types): this branch adds no strict-mode errors (818 vs main's 822)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MFTqYKVJNY7ddWNQqsc7yM
---------
Co-authored-by: Claude <noreply@anthropic.com>
The blog reads content/blog with bip-kit's readCollection instead of its
own gray-matter reader; the FAQ moves from a hand-built client accordion
to content/faq.md, rendered by bip-kit's Faq (native <details>, a link
per question, FAQPage structured data). The long-form normalizer is
bip-kit's normalizeMarkdown, of which ours was the original.
gray-matter and its js-yaml pin go. Drafts are no longer reachable by
URL. The blog guide is rewritten; it still described the MDX system.
Co-authored-by: Cursor <cursoragent@cursor.com>
The public /roadmap and /changelog pages read two local config copies
(src/config/public-content.ts, src/config/changelog.ts) — the second copy
docs/architecture/building-in-public-ssot.md says never to keep. The record
now lives in ROADMAP.md and CHANGELOG.md at the repository root, in the
fleet's file contract; Loki's map ingests them, and both pages render what
the map holds through bip-kit's loadDevelopmentProfile (revalidated every
five minutes, eight-second ceiling). A missing map reads "temporarily
unavailable"; an empty record reads "nothing recorded yet".
- ROADMAP.md: Now/Next/Later/Shipped buckets carrying every item the config
held, plus the two fleet items that are OrangeCat's — metered Cat Credits
as the paid token pool for builders, and partner payouts and client
funding through OrangeCat rails. No dates; nothing unshipped marked done.
- CHANGELOG.md: every entry from the config, newest first, same wording,
tags as Added/Improved/Fixed/Platform sections; plus today's entry.
- check-changelog-fresh.mjs reads the new file's dated headings.
- src/lib/development/records.ts: fetcher, bucket grouping, line splitting,
pinned by __tests__/unit/lib/development-records.test.ts on a fixture.
- New essay: content/blog/where-the-wall-is.md, featured; the previous
featured post is unfeatured.
- .claude/skills/publish-article/SKILL.md: the publishing standard, linked
from .claude/CLAUDE.md's quick reference.
Claude-Session: https://claude.ai/code/session_01NJJp6XiUkeEVzjDaBmWjL3
Co-authored-by: Claude <noreply@anthropic.com>
* docs(blog): governing without the jargon — nine paths through Solon
An explainer for non-technical and technical readers alike: nine people walk
through Solon, and for each one the article shows what they see and then,
under a marked "Under the hood" heading, what actually happens — one-tap
account votes, founding and choosing who decides, elected delegates and
lapsed terms, Bitcoin-signed votes, recounting a decision, agents and the
humans-only red lines, OpenTimestamps origin proofs, and the planned
multisig treasury and zero-knowledge secret ballots.
Every path is labelled Live / Built, rolling out / Planned. Visual aids: ten
Mermaid diagrams, three self-contained SVG illustrations (the vote on a
phone, the three structures, the trust ladder), tables, callouts and stats.
Claims checked against the Solon code (signed message format, decision
document, eligibility rules, UI labels).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QDMxjTqKNLXETMYYuapMa3
* docs(blog): label each path by what production actually runs
Solon's who-decides change is now live (bitbaum/solon#195), so founding
with a chosen structure is Live. Elections and structure switches run in
production but are filed through the API until their screen ships, and
one-tap voting screens serve the OrangeCat organization today; the post
now says both instead of implying more.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QDMxjTqKNLXETMYYuapMa3
---------
Co-authored-by: Claude <noreply@anthropic.com>
OrangeCat is not a registered company, so it must not take money — not for
credits, not for plans. Everything else about paid plans is finished: real
prices, a working ledger, Lightning plumbing tested end to end. Only the last
step refuses.
THE GATE WAS AN INFRASTRUCTURE SETTING
Until now the only thing between OrangeCat and someone's money was
`platformReceiveEnabled()`, which asks whether a receiving wallet URI happens
to be configured. That is an infrastructure question standing in for a legal
one: configuring a wallet in order to test a top-up would have opened the till
as a side effect. Nobody would decide that. It would simply have happened, and
we would have found out afterwards.
`PAID_PLANS_OPEN` (src/config/commerce.ts) is now the commercial switch, and
it is separate from the wallet check on purpose — a configured wallet means we
CAN take money, the flag means we MAY.
It FAILS CLOSED. Only the exact string "true" opens it, so a missing env var,
a typo, or a new deploy target with a half-copied config all mean shut. That
direction is chosen: taking money we are not allowed to take is the expensive
error, and turning away money we could have had is merely disappointing.
Enforced server-side in both places that can mint an obligation — the route
and `initiateTopUp` itself — so no caller reaches the wallet by another path.
`credits/route.ts` reports `topupEnabled` as the AND of both conditions.
ONE DELIBERATE ASYMMETRY
`checkTopUp` is NOT gated. Shutting a till must never strand money already in
flight: if an invoice was paid while it was open, that user is owed the credit
whatever the switch says afterwards. Refusing to honour a payment already made
would be a worse failure than the one the gate exists to prevent.
WHAT IS NOT GATED, AND NEVER WILL BE
Payments BETWEEN users. Funding a project, buying a listing, settling a loan —
that money goes from one person to another over Bitcoin at 0%, never touches
OrangeCat, and there is nothing here to switch off. It is the product; the
paid Cat plans are a service sold on top of it. A test pins that the free and
BYOK routes stay available, because "OrangeCat cannot take payments" is a
sentence a user could easily misread as "payments are broken".
THE MOMENT OF TRUTH SAYS WHY
A disabled button labelled "Top up (soon)" makes someone hunt for a reason and
guess at a fault. The top-up surface now states that OrangeCat is not yet a
registered company, that prices are real and the plumbing is built, that the
free pool and their own key both still work, and that paying other people was
never affected. Prices stay VISIBLE on every plan — a plan you cannot evaluate
is worse than one you cannot yet buy.
THE FLAG REACHES THE BUILD
`publicFlagsReachTheBundle` caught that NEXT_PUBLIC_PAID_PLANS_OPEN was absent
from ci.yml — a client flag the build never sets can never be turned ON, which
would have made this permanently unflippable. Wired as a repo variable, so
opening for business is a one-variable change rather than a code change. The
gate that caught it is the same one that found voice input dead on arrival.
WRITING
content/blog: "What Cat Costs, and Why You Cannot Pay Us Yet" — the four
routes, the free pool's real ceiling (it binds on tokens-per-minute, not
messages-per-day, so it strains on simultaneity rather than volume), and the
reasoning above in the company's voice.
24 new tests (411 files, 3838 passing). pnpm run verify green.
Claude-Session: https://claude.ai/code/session_01P5WYRJUgYyubGFT9w35yC7
Co-authored-by: Claude <noreply@anthropic.com>
The post said Zurich material is scarce and named a single 1978 comedy.
Heidi's register has since gained Zwingli, Wolkenbruch and Platzspitzbaby
— all set and spoken in the city — so the sentence stopped being true
between writing it and publishing it.
Also reframes the Bernese paragraph. It read as a warning, and another
dialect in a film is not a hazard: it is the subject. Each entry names
its dialect area now, so the useful version is "here is which is which",
including Die göttliche Ordnung — Appenzell 1971, and the fact the film's
ending does not reach, that Appenzell Innerrhoden did not admit women to
its Landsgemeinde until 1990.
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
Heidi learned to speak and to listen this week. The audio was an
afternoon; the two things worth writing about were both facts a product
can quietly get wrong forever because the person on the receiving end
cannot check them.
The first is that nothing tells a learner which Swiss media is actually
in dialect. Switzerland is diglossic and broadcasting splits along that
seam invisibly — the bulletin is Standard German, the magazine after it is
dialect — so the standard advice to "watch Swiss TV" routinely sends a
beginner to the Tagesschau to practise the German they already have.
Heidi now publishes that per source, along with two things that surprised
us: the famous Swiss films are mostly Bernese, and Zurich material
specifically is scarce.
The second is that no synthesiser anywhere speaks Zurich German,
including the ones sold as though they do. A `de-CH` voice is Swiss
Standard German in a Swiss accent, and a learner cannot hear the
difference — which is exactly why they are here. A market for lemons, and
the answer is a gate with no code path that returns "dialect" at all.
And the mistake we nearly shipped, which generalises well past this
product: correcting the forms in a transcript judges the MACHINE'S output
and bills it to the human. Swiss German recognition writes Standard
German whatever was said, so a learner who spoke perfectly would have
been corrected, confidently and in detail, for being right.
Closes the loop on heidi-understanding-comes-first.md, which promised the
listening half and could not yet do it.
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
Two pieces, deliberately in different places.
THE POST — content/blog/a-wallet-that-accounts-for-itself.md
Building in public means the code. The money is a progress bar: it says funds
arrived and nothing about what happened next. The post argues that open
accounting is the other half, and explains the design decisions rather than
announcing a feature:
- why it is opt-in (the disclosure is the JOIN — this address belongs to this
person and is labelled "Monthly Rent" — not the Bitcoin data, which is
already public for any plain address);
- why the extended public key is never published either way;
- why the switch is checked in the read rather than by each page;
- why an unchecked balance is an em dash and not a zero, with the real
incident behind that rule (every xpub wallet reported 0.00000000 BTC for
months because a 404 was being turned into a zero);
- why the owner's note is the point: the chain says what moved, only the
person who moved it says why;
- and why the old transparency score was worth deleting — it scored booleans
the caller passed in, and the card hard-coded four of them to true.
It states smart contracts as a LATER stage in the future tense, and does not
claim anything not yet merged.
THE STRATEGY NOTE — docs/forward-looking/OCAT-AND-PROGRAMMABLE-MONEY.md
Not a blog post, on purpose: a public page saying "we may launch a coin" is a
commitment to the reader however it is hedged, and it attracts exactly the
audience a funding platform does not want first.
Records what was checked and decided: ocat.ch and orangecatcoin.com are both
UNREGISTERED (RDAP, 2026-09-17; ocat.com is taken and parked); "a coin" is three
unrelated products, of which the unit of account already exists (Bitcoin), the
credit balance already exists (Cat credits, closed-loop), and only a
transferable token changes what OrangeCat legally is — which needs a lawyer and
FINMA's categories, not an engineer's judgement. Smart contracts are sequenced
after open accounting, because a contract releasing funds on a milestone is only
as trustworthy as the ledger used to judge the milestone.
No domain was registered: that is a purchase, and purchases are George's.
Claude-Session: https://claude.ai/code/session_01HJRuvHJEBd8t7iRA9Sb1iw
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
The sibling product was renamed on 2026-09-14. Every reference follows:
service and route paths (src/services/loki, /api/integrations/loki),
env keys (LOKI_*), the build-intent audience and timeline source ('loki'),
ecosystem config, docs, tests, and 13 file names.
Tool labels keep "Loki" capitalised: the old name had an internal capital
and passed the "looks like a name" shape test for free; a one-word name
needs listing, so softLower now carries a small PROPER_NOUNS set.
Box and data were moved ahead of this: LOKI_* keys sit beside the old ones
in the app env, the OAuth client is `loki` with the new callback host, and
timeline/metadata rows carrying the old name were rewritten.
Claude-Session: https://claude.ai/code/session_016YJVAanfj8keVSXyZnTemh
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
* feat(longform): one pipeline — bip-kit typed blocks render both the blog and community articles
OrangeCat had two long-form stacks: /blog/[slug] compiled content/blog/*.mdx
through @next/mdx with a bespoke component map, and /articles/[slug] rendered
DB markdown through react-markdown + remark-gfm + rehype-sanitize in a ~90-line
ArticleMarkdown. Both now parse through bip-kit v0.2.1's typed-block parser and
render through its reference renderer (ArticleBody), themed onto the semantic
token tier via a route-scoped --bp-* mapping (src/lib/longform/longform.css).
- src/lib/longform/ is the ONE pipeline: normalize (bullet aliases, h1→h2,
flatten nested items) + parse (blocks, TOC, reading time), server renderer
(LongformBody: shiki via setHighlighterLoader, MermaidBlock override), and
the composer's client preview (LongformPreviewBody — same blocks, honest
no-shiki fallback).
- The 10 blog .mdx files become plain .md; the only body edit is dropping the
first-line `# title` that duplicated the frontmatter title the page header
already renders (word-level parity verified for all 10 files and all 9 live
DB articles — zero content loss).
- Typed blocks are the security model for user-authored article bodies: no
HTML passthrough exists, so rehype-sanitize is unnecessary by construction.
Deleted: ArticleMarkdown.tsx, the MDX component map (incl. the unused Alert/
SecurityFeature components — no content ever referenced them), the bespoke
ReadingProgress (bip-kit's island replaces it).
- New on BOTH surfaces: sticky scroll-spy TOC, heading anchors, server-side
shiki dual-theme highlighting, figures/galleries with Lightbox, GitHub
callouts, mermaid diagrams, pull quotes, footnotes, video embeds.
- Deps: + bip-kit@^0.2.1 (minimumReleaseAgeExclude: ours, inside the window),
shiki, mermaid; − @next/mdx, @mdx-js/*, next-mdx-remote, react-markdown,
remark, remark-gfm, rehype-sanitize.
- next.config.js: withMDX gone; `turbopack: {}` acknowledges Turbopack (Next
16 makes a webpack-only config a FATAL build error once @next/mdx no longer
supplies the turbopack key — the failure mode is an opaque WorkerError).
- deploy-selfhost.sh links standalone node_modules/shiki from the traced
.pnpm store entry (FleetCrown #513 trap: tracing copies the store files but
never the top-level symlink; without it prod silently loses highlighting).
- check:mdx → check:content: the verify gate now parses every content/**/*.md
with the same bip-kit pipeline the site renders with, and refuses stray
.mdx files.
Verified: SELF_HOST=1 standalone build green; standalone smoke shows
bp-article/bp-toc/bp-progress + bp-codeblock-highlighted with dual-theme
--shiki-light/--shiki-dark spans; full 21-check verify green (2704 unit tests).
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WqKqMnHQHSmkGFfc5t7Rxn
* fix(longform): delete the root mdx-components.tsx — dead with the MDX pipeline
Next.js only consults this file through @next/mdx, which is gone; with
@types/mdx removed it fails tsc in CI's clean-room worktree (locally a stale
virtual-store copy of mdx/types still resolved, hiding it).
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WqKqMnHQHSmkGFfc5t7Rxn
* chore(sizes): drop the blog page's stale size exception — the ratchet tightens
The bip-kit migration deleted the ~100-line inline MDX component map, putting
/blog/[slug]/page.tsx back under its limit.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WqKqMnHQHSmkGFfc5t7Rxn
* chore(type-scale): baseline 13 → 12 — the bip-kit migration removed an arbitrary font size
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WqKqMnHQHSmkGFfc5t7Rxn
---------
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
* chore(identity): one name — Cato
The retired name and a personal contact address were still in the repo,
including in the documents where a name is load-bearing.
- "Mao Nakamoto" -> "Cato" across 18 files: README, CLAUDE.md, two blog posts,
config, support page, tests, and legal/ (PRIVACY_POLICY, TERMS_OF_SERVICE,
IP_ASSIGNMENT_MEMO plus the legal-content.ts that renders them).
- mao@orangecat.ch -> hello@orangecat.ch in 12 files. The old address is the
GDPR Data Controller contact and the ToS operator contact, so it could not
simply be deleted; hello@ is already published on the public FAQ, which
makes it a route known to work rather than a guess. A role address is also
the better answer here than any personal one.
- Test fixtures using a real first name -> Cato.
**Deliberately NOT swept: the legacy handles `butaeff` and `georgy.butaev`.**
A first pass replaced them and had to be reverted. They are production data,
not name mentions: `.mailmap` uses them to map historical commits onto the
canonical identity, and the mention/lnurl tests carry comments stating those
handles are real rows. Renaming the references does not rename the rows — it
points code at handles that do not exist and turns true comments into false
ones. Retiring them is a data migration, not a find-and-replace.
Also reverted from that first pass: an edit to an applied migration's comment.
Migrations are immutable once applied, and rewriting a bug report to name a
handle that was never involved would have falsified the record. The example in
username-history.ts is now a neutral `legacy+handle` instead.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01G2LBioUzJP4oBL9LeH9qAe
* chore(identity): the mailmap was rewriting Cato back into the retired name
Missed by the sweep in the previous commit, which globbed *.md/*.mdx/*.ts/*.tsx
— and .mailmap has no extension.
The effect was worse than a stale file. The raw commit author was already
correct after the git config fix, and the mailmap converted it back on display:
raw: Cato <41178744+catomean@users.noreply.github.com>
mailmapped: Mao Nakamoto <41178744+catomean@users.noreply.github.com>
Every new commit would have kept arriving as Cato and kept being shown as the
old name, which is the least debuggable version of this problem — the config is
right, the commit is right, and the output is wrong.
Canonical name is now Cato, and a name+email rule was added for commits
authored as "G": those carry the canonical email already, so the email-only
rules cannot reach them.
Verified over the last 400 commits: 322 Cato, 78 dependabot, nothing else.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01G2LBioUzJP4oBL9LeH9qAe
* fix(identity): the rename notice legitimately names the OLD handle
CI caught the sweep breaking a correct test, in exactly the way the butaeff
handles would have been broken had they not been reverted.
services/cat/handlers/context.ts builds the notice as
`…and ${oldUsername}@orangecat.ch still reaches you.`
The address is derived from the handle the user is renaming AWAY from — that is
the whole point of the sentence, which promises their old Lightning address
keeps working. The sweep rewrote the test's expectation to hello@ and left the
source producing the old-handle address, so a correct implementation began
failing a now-incorrect assertion.
Fixed by neutralising the fixture rather than the assertion: the old handle is
now 'oldhandle', so the test asserts oldhandle@orangecat.ch and no retired name
appears. The behaviour under test is unchanged.
The rule this keeps proving: a literal that REFERS to the old identity is data,
not a stale reference, and a find-and-replace cannot tell the two apart.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01G2LBioUzJP4oBL9LeH9qAe
---------
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
Published to the wrong surface, and the two are not interchangeable.
content/blog is OrangeCat speaking in its own voice to visitors who have just
arrived — corporate authorship, general audience, the platform describing
itself. The piece was a first-person account of one person building his own
company on the platform and finding four bugs doing it. That is a user's
writing about their own work, and it belongs on that user's profile as an
article.
The tell was in the frontmatter I wrote: author "Mao Nakamoto", which is
neither the platform nor the name the author actually publishes under. Getting
the surface wrong produced a byline that was wrong twice over.
Republished as a Cato article via the composer, which is also the path this
dogfooding run is meant to exercise — the article surface is user-authored by
design, and using it is the test.
Nothing is lost: the content is unchanged, it simply moves to the place where
its byline is true.
Claude-Session: https://claude.ai/code/session_01G2LBioUzJP4oBL9LeH9qAe
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
162 profiles, zero real replies — an adoption gap, not a capability gap, and
the only honest way to close one is to become the adopter. So a new company
(Diplodoctor) is being built THROUGH OrangeCat and FleetCrown rather than
around them, with every rough edge logged instead of quietly worked around.
Three findings before the first article was finished, all the same shape —
something that works, adjacent to something that works, with a gap where
nobody looked:
1. Every diagram on the Thoughts site rendered as an empty box. 23 of them
across 10 published essays. A modern CSS colour format threw inside the
diagram library's setup, and the component's fallback was attached to
render() instead — a safety net that was not under the part that fell.
Fixed and verified in the browser, not by a green build.
2. The agent has 50 actions and cannot publish an article, though the
drafting engine exists and the human editor already calls it. Two working
capabilities with nothing joining them.
3. Articles already had a share button. We were about to build one. Dogfooding
corrects the mental model of what works, not just what is broken.
Frontmatter omits readTime so it is computed from the content rather than
guessed. Note for the reviewer: a post whose frontmatter fails to parse is
skipped with a console.warn and the build still passes, so this needs
verifying on the live page rather than in CI.
Claude-Session: https://claude.ai/code/session_01G2LBioUzJP4oBL9LeH9qAe
Co-authored-by: Georgy Butaev <41178744+g-but@users.noreply.github.com>
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
This is a post about AOZ Wohnen, not about OrangeCat. OrangeCat happens to
host the deployment; the subdomain is the product, and writing about that
tool belongs with that tool. Re-homed to aoz-housing docs/blog, which already
carries the engineering blog for it.
Field report on building a chore fairness feature for shared housing, where
the research turned out to be mostly a list of things NOT to build.
Ross & Sicoly (1979): ask housemates their share separately and the answers
sum well past 100% — not dishonesty, but availability. That reframes chore
conflict as an information problem and sets the piece's argument: the
sentence explaining the bias does more work on the screen than the number
underneath it.
Covers conditional cooperation (why visibility is the mechanism, not the
enforcement), motivation crowding (why no points or quota), antisocial
punishment (why no leaderboard, in a product placing people from many
countries into one flat), and envy-freeness (why equal time isn't fair, and
why swapping is a first-class action).
Also the engineering: store ticked items by label not index, intersect them
server-side, scope the balance to the month, one loader for page and API —
and the mock that had quietly become a second definition of a schema.
Ends on what it doesn't prove: lab games aren't this population, and the
evidence that would count is incidents, relocations and mediation hours.
Co-authored-by: Georgy Butaev <41178744+g-but@users.noreply.github.com>
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
The excerpt contained a literal <username>, which the MDX loader parses as an
unclosed JSX tag — PR CI doesn't run the standalone build, so main went red
and CD skipped. Also adds check:mdx to verify so any non-compiling MDX file
fails locally and on PR CI, closing the class.
Co-authored-by: Georgy Butaev <41178744+g-but@users.noreply.github.com>
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
* feat(blog): site-wide RSS feed at /rss.xml + blog index OG metadata
- /rss.xml route handler: RSS 2.0 with blog posts (filesystem) and public
articles (DB, degrades independently), absolute URLs, 1h cache
- feed autodiscovery <link> via root layout metadata alternates
- visible RSS subscribe link on /blog
- /blog gets its own og:title/description/url instead of inheriting the
homepage card
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
* fix(seo): sitemap includes blog + articles; DB failures logged, sections independent
Root cause of the dead dynamic block: at CI build time the service-role key
is absent, createAdminClient() returns a throwing dummy proxy, and a blanket
catch {} swallowed it — so the statically-baked sitemap silently carried only
12 URLs forever. Now:
- hourly revalidate so the sitemap regenerates on the box where env exists
- blog posts (filesystem) + /blog + /articles never depend on any DB query
- article URLs via new listPublicArticleRefs (caller-supplied client)
- every failure path logs what was omitted instead of hiding it
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
* feat(seo): dynamic OG share cards for blog posts and articles
- shared 1200x630 content-card renderer (src/lib/og/content-card.tsx) using
the existing OG token SSOT, so blog + article cards read as one product
- /api/og/blog/[slug] (Node runtime — blog lives on the filesystem) and
/api/og/article/[slug] (public articles only; private drafts 404)
- wired into generateMetadata: og:image + twitter:image +
summary_large_image on blog posts; articles fall back to the generated
card when the author set no cover image
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
* feat(newsletter): capture blog newsletter signups
The /blog 'Stay Updated' box was a bare input with no handler — every email
went nowhere. Now:
- migration 20260813161500: newsletter_subscribers (id, unique email, source,
created_at), RLS enabled with NO policies — service-role-only by design
- POST /api/newsletter/subscribe: zod-validated, per-IP rate-limited,
idempotent on duplicate email (also anti-harvesting: response never reveals
whether an address was already known)
- NewsletterSignup client component with loading/success/error states,
wired into the blog box. Capture only — no sending pipeline yet.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
* feat(pay): public /pay landing page + footer link
/pay/<username> worked but nothing public pointed at it — bare /pay 404'd.
Now /pay explains what pay links are (no account for the payer,
non-custodial, zero fee, alias-backed so the link never expires), with CTAs
to sign up for your own link and to /discover. Copy lives in the pay config
SSOT; footer 'Product' column links the page; added to sitemap statics.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
* docs(blog): new post — Your Pay Link Already Works
What /pay/<username> is, alias-backed vs invoice-backed, and the custody
contrast with processors/invoicing SaaS. Honest-limits section included.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
* docs(marketing): GTM plan 2026-08 — ICP, wedge positioning, channel leverage order
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
* fix(newsletter): route subscribe endpoint through API_ROUTES SSOT
Lint's no-hardcoded-api-paths rule caught the literal string — endpoint now
lives in src/config/api-routes.ts like every other API path.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
* test(api): allowlist anonymous newsletter capture in route-guards gate
The source-level gate correctly flagged the new mutating route; anonymous is
the design (per-IP rate limited, service-role insert, non-revealing response),
so it gets an allowlist entry with the reason — the mechanism the gate provides.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
---------
Co-authored-by: Georgy Butaev <41178744+g-but@users.noreply.github.com>
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
Cross-post of the AI-agents field report published as an on-platform
article; byline Mao Nakamoto, links back to the article page.
Co-authored-by: Georgy Butaev <41178744+g-but@users.noreply.github.com>
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
The /stories page was captioned 'Real stories from real people using
OrangeCat' but was backed by 3 invented personas with invented outcomes:
'Dr. Elena Rodriguez … raised $17,200 from 87 supporters', 'Marcus Kimani …
$8,500 from 34 supporters', etc. — fabricated funding amounts and testimonials
presented as real, on a public page, in USD (also violating the BTC/CHF
currency standard). It's the last real placeholder-content violation in the app
(the deep-dive confirmed every other stat is DB-traceable).
No real stories exist yet and the route wasn't nav-linked, so removing the
whole feature (route, content, lib, component, route registration) is cleaner
than an empty 'real stories' shell. A real testimonials page is trivial to
rebuild once there are real stories to tell.
Removed: app/(public)/stories, content/stories/*.mdx, lib/stories.ts,
components/stories/, and the '/stories' entry in routes.ts.
Verified: tsc 0, eslint 0, no dangling references.
Co-authored-by: Georgy Butaev <41178744+g-but@users.noreply.github.com>
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
- Capture the LUD-21 verify URL from LNURL-pay callbacks and persist it on
payment_intents (migration 20260702000000, applied to prod); poll it in
checkPaymentStatus so lightning_address payments settle automatically
instead of relying on buyer 'I've paid' confirmation. Verified live:
coinos.io returns verify URLs.
- Tests for the new money path (settled/unsettled/error/legacy-null cases).
- Blog copy: reconcile fee claims (99%/95%/0.1%) with the canonical 0%
platform fee positioning; reframe 'Real AI Business Examples' as examples.
- Remove pointless Suspense fallback that shipped 'Loading blog posts…' in
served HTML.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
New blog article (content/blog/your-most-valuable-skill.mdx) — dual-audience
(FleetCrown style): a story for non-technical readers + "🔧 Under the hood" boxes
for builders. Covers the economic agent's next frontier: Cat interviewing users to
surface latent value (curse of expertise, stories-in-value-out, the 12 forms of
value), turning gaps into the smallest publishable step, the anti-hustle/consent
guardrails, and the keystone (a structured economic-profile store). Positions
FleetCrown as the execution half ("you tell it what to do, and it does it") — OC
finds & distributes value, FleetCrown builds it, settled in Bitcoin.
Also adds the engineering spec docs/specs/cat-economic-interviewer.md (methodology +
question taxonomy + data model + roadmap) that the article reflects.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Production is fully self-hosted on the Hetzner box (bitbaum, behind Caddy)
with self-hosted Supabase. This scrubs the remaining Vercel footprint:
Code (src/ now has zero Vercel references):
- security page: "Hosted on Vercel" → self-hosted infrastructure
- FleetCrown URL fleetcrown.vercel.app → fleetcrown.orangecat.ch (entity
registry + external-publish allowlist; the dead vercel.app subdomain was
also a re-registration risk in an allowlist)
- webhook-secret error + cron/env comments point at the box, not Vercel
- corrected stale "Vercel kills the function on response" comments (false
on a persistent server) to accurate await-before-respond reasoning
Security/config:
- supabase/config.toml: dropped dead *.vercel.app auth redirect URLs
- @vercel/mcp-adapter dependency removed (unused)
Artifacts removed:
- scripts/auth/vercel-login.js, scripts/preview-url.sh,
scripts/dev/merge-env.js, scripts/monitoring/deployment-monitor.js,
scripts/db/setup-env.js, mcp-servers/vercel-openapi.json, .vercel/
- setup_vercel_secrets MCP tool in mcp-servers/github-server.js
- .gitignore Vercel section; env scripts stripped of vercel-login/token
Docs + .claude rules/commands rewritten to the self-host deploy flow
(scripts/deploy-selfhost.sh / .github/workflows/cd.yml; env at
/opt/orangecat/app/.env). Historical/archive records left intact.
Verified: tsc 0 errors, SELF_HOST=1 build green, cron unit tests pass.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Two essays that argue where OrangeCat fits in the larger joint
architecture with Cockpit (cockpitapp.vercel.app) — previously
published only on Cockpit's Thoughts surface. OrangeCat readers had
no way to encounter the strategic positioning that names this
platform as the capital/transaction half of the techno-capital
machine sized for individual builders. Fix.
the-two-halves-of-the-individual-singularity.mdx
Why production (Cockpit) and transaction (OrangeCat) must be
paired infrastructure. Argues each platform needs the other for
its own thesis to be coherent — without the production half, the
economic substrate has nothing flowing through it; without the
transaction half, the agent fleet's output gets capped at
monetisation. Names the five first concrete integrations.
the-techno-capital-machine-for-individuals.mdx
The umbrella thesis. Frames Cockpit + OrangeCat as Andreessen's
techno-capital flywheel sized for one person instead of one
corporation. AI delaminates the production half, Bitcoin/
Lightning delaminates the capital half, the substrate to size
the machine for an individual now exists, and the question is
who builds the version that fits one person. Featured: true.
Both essays explicitly link to Cockpit (cockpitapp.vercel.app) and
reference the companion pieces (From Two AIs to One, Where
Stakeholders Live, Two Products or One) that remain on Cockpit's
Thoughts surface. The cross-product navigation now flows in both
directions: a Cockpit visitor sees an OrangeCat link in the marketing
nav; an OrangeCat visitor sees the strategic context for both
products in the blog.
Frontmatter conforms to the existing OrangeCat blog schema (title,
excerpt, date, tags, featured, author, published).
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
- UserProfileDropdown: remove loading/disabled state — always render
with best available data (profile → metadata → email → 'Me')
- Header: left section shrink-0 so nav items don't compete with search;
search bar capped at max-w-sm on md screens
- DesktopNavigation: show at md: breakpoint (was lg:) so Community/
Discover/About are visible alongside search bar
- form-prefill API: fix double-wrapping bug — apiSuccess({data}) was
nesting the response inside .data, so result.data and result.confidence
were wrong on the client
- AIPrefillBar: redesigned as conversational — textarea for initial
description, then refinement input after AI fills ('tell me what to
change'), with separate loading states for fill vs refine
- useProfileEditor: coerce empty-string lat/lng to undefined in submit
handler instead of z.preprocess (which broke react-hook-form types)
- profileSchema: revert z.preprocess on lat/lng (type safety fix)
- sample data / stories: rename Sarah → Alisa
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Fix currency defaults (SATS → CHF) across forms, configs, and API routes
- Remove @ts-nocheck from socialService.ts and improve type safety
- Replace console.log statements with proper logger utility in production code
- Additional type safety improvements and code quality enhancements
- Documentation updates for improved maintainability
All changes follow DRY, SSOT, and separation of concerns principles.
- Fixed messaging service Supabase insert/update type errors
- Fixed profile hooks (useProfileForm, useAuth, useActiveRoute, useMobileMenu)
- Added missing type exports (UserProduct, UserService, UserCause, Profile with email)
- Fixed messaging API route type errors
- Updated Database types for proper Supabase type safety
Note: Some TypeScript errors remain in non-critical areas (commerce, entity configs, tests) but core messaging and profile functionality is type-safe.
- Refactor wallet components from old structure to new wallets/
- Add contact email column and migrations
- Fix location implementation and integration
- Update profile editing and dashboard components
- Add comprehensive testing and validation
- Update documentation and architecture guides
- Add performance indexes and audit logging
- Fix various bugs and improve UX
- Clean up analysis and documentation files
- Remove temporary migration and testing files
- Update component structure for social features
- Prepare wallet system integration
- Optimize performance and remove unused code
- Ready for timeline posts and private messaging implementation