The three 2026-08-16 fleet measurements/proposals move to docs/archive/ (they named a retired host, a renamed repo and a proposed shop.config.ts). CLAUDE.md's SSOT table named the retired lib/domain/blog-markup.ts; the parser is lib/domain/longform.ts. The investor memo link follows the move.
Claude-Session: https://claude.ai/code/session_01PJkbo18cRNXtgPWZN2S9cD
Co-authored-by: Claude <noreply@anthropic.com>
The product was renamed on 2026-09-14: bitbaum/loki, loki.orangecat.ch,
LOKI_* env keys, loki-* units. This repo referenced the old name in
9 files changed, 15 insertions(+), 15 deletions(-).
Email addresses at the old sending domain stay until the new domain is
verified in Resend.
Claude-Session: https://claude.ai/code/session_016YJVAanfj8keVSXyZnTemh
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
The memo is the SSOT for the investor presentation: problem, live product
surface, digital-twin moat and staged roadmap, business model table, market
ranges with named third-party sources, honest traction (pre-revenue,
pre-marketing, no invented numbers), and use of funds. The risk register
states plainly what diligence would find anyway — distribution untested,
two-sided surfaces empty, habit retention unmeasured, memorial ethics,
solo-founder concentration.
A shareable dark-editorial deck built from the memo is published separately
(Claude artifact); the memo remains the source of truth.
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
Found while inventorying what repeats across the fleet. Cron auth appears in 43
files across 9 repos, and the copies have diverged into two behaviours:
petvity if (auth !== `Bearer ${process.env.CRON_SECRET}`) OPEN
evig if (authHeader !== `Bearer ${cronSecret}`) OPEN
kivvi if (!cronSecret) { ... } guarded
aoz-housing if (!cronSecret || authHeader !== `Bearer ${cronSecret}`) guarded
With CRON_SECRET unset, the template literal evaluates to the string
"Bearer undefined", so a request carrying exactly that header is authorised.
All 8 cron routes here had the open version.
Behind that gate: /api/cron/reset-demo wipes and reseeds the demo account, and
weekly-digest, health-alerts, vaccination-reminders, medication-reminders and
booking-reminders each email every opted-in owner. So the blast radius of a
missing environment variable was a stranger mass-mailing the userbase and
destroying demo data.
Not exploitable today — CRON_SECRET is set in production. It is a gate that
fails open on an absent secret, which is a normal thing to happen on a new
environment or a typo, and the failure is silent.
requireCronAuth() denies everything when the secret is absent or blank, logs why
so a broken deployment is loud rather than quiet, requires the Bearer scheme,
and compares with timingSafeEqual. The timing part is close to unexploitable
over TLS and is not the point; a helper that is obviously correct removes the
need for anyone to reason about whether it matters.
Two test files, and the second is the one that matters. cron.test.ts pins the
helper's behaviour, including that "Bearer undefined" is refused when
unconfigured. cron-routes.test.ts asserts against the directory that every cron
route calls requireCronAuth and no route mentions process.env.CRON_SECRET —
because fixing eight routes fixes eight routes, while checking the directory
fixes the ninth one nobody has written yet.
Also adds docs/repeatable-across-projects.md: the full measured inventory of
what repeats across 25 repos, and a first-principles rule for what to do with
each. The short version is that copy count is the wrong question — it measures
typing, which is free. The right question is what divergence costs, which sorts
duplication into four classes with four different correct answers, of which
"leave it alone" is one.
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
Grounded in what the fleet already has rather than proposed from scratch.
Roughly 90% of a shop is identical between shops, and the 10% that differs is
nearly always the same 10%: what a product is, what the brand looks like, and
who ships it. Today a shop is 30-55 hours; almost all of that is the identical
part.
Three layers, and the middle one is the whole job:
shop.config.ts per shop catalogue shape, brand, currency, fulfilment
storefront kernel MISSING schema, routes, admin, checkout UI, emails
commercekit EXISTS money, cart, inventory, buyer, addresses
The decisive rule is that the kernel is a DEPENDENCY, never a template, and
that is settled by measured data rather than preference: SHARED.md records
auto-merge-sweep.sh living in 22 repos in 8 distinct versions, where a fix
reaches at most 9. A starter copied six times becomes six codebases within a
quarter, and the economic case collapses exactly when it should start paying.
The catalogue reconciles into a declarative schema — checked against all three
real shops, which are a common core plus per-shop custom fields (condition and
brand for refurbished hardware, size and colour for footwear).
Infrastructure is already solved and should not be rebuilt: apps.conf plus
sync-infra.sh generate the systemd unit, launch script and Caddy vhost from a
one-line manifest entry, idempotently, for 13 apps today.
Build order is extraction, not anticipation: build shops #1 and #2 normally,
extract the kernel from them, then #3-#6 are config. About a week plus six
hours. And build it on the simple first-party case, NOT on evig — generalising
from a P2P marketplace with escrow, disputes and payouts produces a kernel that
is complicated for everyone and right for one.
Also names the verticals the fleet has already written three times each —
commerce, booking, content, directory — which is what a studio spine would
carry.
Ends with what an hour does not buy, because the promise otherwise breaks on
shop #1: products, brand, tax rules, a payment account, legal review and
fulfilment. Petvity has a working checkout and zero products; evig has 213
listings nobody can buy. The bottleneck is not engineering time.
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
Measured against production rather than inferred from code.
evig/revampit 213 active listings, 21 users, 0 orders ever, and clicking
"Jetzt kaufen" on a live listing sends a stranger to
/auth/login. Verified in a browser today.
petvity 0 products, and the only 4 orders in the database are my own
e2e fixtures. Guest checkout works.
fitfoot not deployed anywhere, dormant since March, CI deliberately
disabled, built on Medusa.
The fleet does not have too many shops or under-built shops. It has two that
fail in exactly complementary ways: the one with real inventory cannot be bought
from, and the one that can be bought from has nothing to sell.
Decisions:
1. evig is the shop. Ship guest checkout there — the highest-value change
available in the fleet, and a port of something already proven in production
rather than speculative work. The plan is written file by file, including the
leftJoin/COALESCE trap that will otherwise hide every guest order from the
seller who has to ship it.
2. petvity is not a shop. Keep the guest checkout, stop treating "fill the
catalogue" as a priority. A P2P marketplace needs seller supply it does not
have; if it ever sells, sell first-party off the back of the health content,
which is the thing only petvity can do.
3. fitfoot: archive it, or rebuild it on commercekit. Not left dormant on a
framework the stack has decided against.
4. One engine, several storefronts. commercekit is the core; catalogue, order
state machine and fulfilment stay per-shop because they genuinely differ.
5. One question for a human: evig.orangecat.ch and revampit.orangecat.ch serve
the same build off the same database. Two brands on one codebase may be
deliberate, but it decides whose name is on the invoice.
Does not touch evig — that needs a session in that repo.
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
The seven metrics in health-metrics.ts are applied uniformly to all ten
species. That is tidy and, for several of them, wrong in ways that matter.
Body temperature is not a property a fish or a reptile has in the sense the
field implies. They are ectotherms: a fish's body temperature IS the water
temperature, and a reptile's depends on where it is sitting in a thermal
gradient. Heart rate is not measurable at home for a bird, a fish or a hamster.
Asking for either produces an empty field, and empty fields teach owners to
skip — a habit that generalises to the field that mattered.
Worse, none of the seven capture what actually kills these animals. A rabbit
that has not eaten and produced no droppings for twelve hours is a medical
emergency; gut stasis is the leading cause of death in pet rabbits. A male cat
straining without producing urine is fatal in 24-48 hours. A horse whose manure
output drops is the earliest practical warning of colic. A UVB bulb keeps
emitting visible light long after its UVB output has decayed, so the enclosure
looks fine while the animal develops metabolic bone disease.
lib/config/observations.ts is the SSOT for what is worth observing and for
which species. Each observation declares its species, cadence, whether an owner
can actually produce the answer, why it earns a tap, and what answer means
"call a vet" — with the reason, because an alert nobody believes is an alert
everybody dismisses. Records (microchip, parasite schedule, diet, farrier,
water changes) are modelled separately, since they are durable facts rather
than things that changed today.
The daily set is capped at five and the cap is a test that FAILS rather than a
slice that truncates. Printing the sets caught three real design faults that
the first round of tests passed: fish had an empty daily check-in because water
temperature is device-sourced and I was filtering device readings out; dogs and
cats had seven candidates silently cut to five by array order; and reptiles were
being asked about mood while the enclosure gradient that actually kills them was
excluded. Priority is now explicit and cadence can be overridden per species —
a snake fed weekly should not be asked daily whether it ate.
Clinical values are typical published ranges compiled for product design, NOT
clinically reviewed. REVIEW_STATUS records that, so it cannot quietly be
presented to an owner as authority.
Also adds docs/pet-health-science.md (the reasoning, species by species),
docs/digital-twin-and-legacy.md (twin staging, memorialisation, gamification
and revenue, including an explicit list of what not to build), and a first blog
draft. Nothing is published — that is a deliberate decision, not a side effect.
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>