aoz-begleitung#366 moved AOZ, the last app on next/font/google, to the faces
@bitbaum/design-tokens 1.4.0 ships. Its line leaves the baseline, which is now
empty: any file that loads fonts from Google fails the audit. Swept against
47 repos' default branches: no finding.
STACK.md no longer lists AOZ among the apps that pre-date better-auth: it has
answered sign-in from AccountKit since 2026-11-02 (aoz-begleitung#362).
Claude-Session: https://claude.ai/code/session_019MDtmuJhiHPASaR5k8raL9
Co-authored-by: Claude <noreply@anthropic.com>
* feat(repos): declared renames; bitbaum/signin becomes bitbaum/morulia
The owner asked for the rename (2026-11-01). An agent session may not
write repo settings ("Repository settings writes are not permitted
through this proxy"), so the rename is declared like a creation:
- an app-repos declaration may carry `renamedFrom`; App repos renames
that repo when the declared name does not exist yet, and leaves it
alone after (GitHub redirects the old name, so the new name is asked
first)
- planAction and renameArgs are pure and tested: rename, nothing, or
create, and refusals for a renamedFrom that is not a slug or equals
the name
- registers/app-repos.json declares morulia, renamed from signin
- docs/morulia.md and STACK.md name the new repo; the host stays
signin.orangecat.ch until it moves
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019MDtmtfd1xjdH3XtnyNjXr
* docs(identity): voting kinds are each organisation's rule; state-verified identity is optional
Owner decisions, 2026-11-01: Solon sets no platform-wide humans-only
rule, each organisation's constitution decides which kinds vote on what;
a keeper may attach a state-ID check to one identity, and organisations
may require it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019MDtmtfd1xjdH3XtnyNjXr
---------
Co-authored-by: Claude <noreply@anthropic.com>
Records the owner's direction (2026-10-30 to 2026-11-01):
- Morulia is the fleet's identity system: a passport office with no single
identity per being. People, AI agents, robots, organisations and animals
can hold any number of identities, each with a keeper that can stay
private and a declared kind
- signing in stays "Sign in with OrangeCat" for now; Morulia's own screens
manage identities
- one service: the shared sign-in is the engine; renaming bitbaum/signin
to bitbaum/morulia is planned
- the design rule: no master number (pairwise IDs, the root never leaves,
prove facts not identities, keeper-held keys, collect almost nothing)
- Solon's humans-only decisions need an identity declaring a human keeper;
private arbitration is listed as open
Renames docs/identity-personas.md to docs/morulia.md; the STACK.md
pointer follows.
Claude-Session: https://claude.ai/code/session_019MDtmtfd1xjdH3XtnyNjXr
Co-authored-by: Claude <noreply@anthropic.com>
STACK.md said the service "is its own project; until it runs". It now has a
repo (declared in registers/app-repos.json) and an open first PR; it is not
deployed. docs/identity-personas.md still called the repo pending.
Claude-Session: https://claude.ai/code/session_019MDtmuJhiHPASaR5k8raL9
Co-authored-by: Claude <noreply@anthropic.com>
* docs(identity): personas (Morulia) as a layer on the shared sign-in
Records where personas live: on the shared bitbaum sign-in's root account,
with Morulia as the visible product and the sign-in service as plumbing.
Covers the pairwise-subject derivation for lives, who decides which
persona rules, the open questions and the build order. STACK.md's
Identity section links to it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019MDtmtfd1xjdH3XtnyNjXr
* docs(identity): the root subject is what the plugin issues, not a live service
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019MDtmtfd1xjdH3XtnyNjXr
---------
Co-authored-by: Claude <noreply@anthropic.com>
A complete, tested Next.js 16 app — next-intl (en/de/fr, localePrefix
"always", parity test, Swiss spelling), better-auth accounts on Drizzle + pg
(email+password with verification, magic link via mail-kit, passkeys, TOTP
2FA, the shared bitbaum sign-in and OrangeCat as env-gated OIDC with
client_secret_post + PKCE, roles in the app's own users table), nonce CSP with
strict-dynamic and connect-src 'self', limitkit on every auth path keyed on the
proxy's hop, secrets sealed with ai-kit seal, ai-kit complete() example route,
own-model settings, bip-kit roadmap/changelog, /api/health asserting the app
can read its own tables, and CI/deploy/live-check/CodeQL/gitleaks/audit
workflows.
scripts/templates/render-app.sh fills the placeholders;
scripts/templates/test-app-template.sh holds the render to the fleet's own
judges (version-currency gapsFor, verify-floor predicates, cicd-hygiene audit)
on every PR, and the new app-template CI job installs it, runs verify and
drives sign-up/sign-in against a real Postgres.
STACK.md records the owner's 2026-10-11 sign-in decision: every app owns its
accounts and offers every method; it supersedes the 2026-09-11 federate-only
rule. SHARED.md and README point new products at templates/app. The
duplication ratchet skips the starter itself (the one canonical copy).
Claude-Session: https://claude.ai/code/session_01W7K2Gm5wcbfCi7THtmV1Hy
Co-authored-by: Claude <noreply@anthropic.com>
fleet#139 shipped a daily check that treated every sign-in method other
than OrangeCat on our own products as a deviation, built from STACK.md's
2026-09-01 row. George's actual requirement (2026-10-02): every app offers
working sign-up and sign-in with email + password, Google, GitHub, X,
Facebook/Meta AND OrangeCat. The gate would have raised a Telegram alert
the moment an app ADDED Google or GitHub — fighting exactly what he wants.
Removed: the audit, its baseline, its self-test, both workflow steps, the
SHARED.md row. The origin audit in the same workflow is untouched and
its alert text is back to describing only itself.
STACK.md's auth row no longer claims enforcement and records the new
requirement as under revision; the mechanism (methods hosted once at
OrangeCat, or per app) is George's call and is being decided.
check-workflows: 26 workflows parse; origin self-test passes.
Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
STACK.md decided on 2026-09-01 that our own products federate to
OrangeCat and keep no users, passwords or reset flows. The rule lived in
prose, and prose does not stop drift. Measured 2026-09-24 from each
product's live /api/auth/providers:
loki OrangeCat + email-password, github, google, local,
user-password, x-1a (seven ways in)
datacat + credentials
evig + credentials
petvity + credentials, google
surf-your-life + credentials, google
solon, heidi, substrata OrangeCat only
Each extra path is a second identity for the same person, a second reset
flow to secure, and a second place for a sign-out to miss.
own-product-signin-audit.mjs reads the same public endpoint the origin
audit already probes, so it judges what is DEPLOYED — no source parsing,
no secret, no quota. Who counts as ours comes from loki's /api/fleet/map
(owner = org, live, not a demo, not OrangeCat itself). The first draft
read apps.conf and could not see Loki at all: apps.conf omits the
handcrafted services, which is the same reason product-identity-audit
moved to the map. Client apps are never judged — their users belong to
the client, and STACK.md gives them their own auth.
Today's deviations are a RATCHET (own-product-signin.baseline):
- HELD rows print on every run, never read as a pass;
- a NEW provider fails even beside a baselined one;
- a baselined provider that is gone fails until its row is deleted;
- a row for something no longer an own product fails too.
Non-next-auth products SKIP and say this check cannot see them (today:
revamp-info, wild-spirit) — a stated blind spot, not a pass. A 5xx SKIPs
here because nextauth-origin-audit already fails it; paging twice for one
fault teaches people to ignore one of the two.
Runs daily as two steps in nextauth-origin.yml (if: !cancelled(), so a
red origin audit cannot hide it); its self-test also runs in ci.yml.
The Telegram alert text now names both findings.
Self-test: 17 checks, no network. Proved by mutation — tolerating every
extra provider turns three of them red. check-workflows.sh: 25 workflows
parse, 105 run blocks are shell.
Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
substrata's world view becomes a globe. The job had no row, so the choice
is recorded here with the reason: d3-geo is already the map stack, a globe
is one projection away, and Canvas 2D is fast enough on a phone and runs
everywhere, so there is no WebGL bundle and no flat fallback to keep.
Signed-off-by: Cato <41178744+catomean@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
* chore(aoz): rename the repo to aoz-begleitung, and record why
`bitbaum/aoz-housing` is now `bitbaum/aoz-begleitung`. It was the last public
place the product was still called Housing: registers/retired.json retired "AOZ
Housing" as the PRODUCT name on 2026-09-10, but the repo kept it, and the repo
is PUBLIC — so the retired name sat on the org page, in every clone URL, and in
~55 references across this repo alone.
The deploy name `aoz-wohnen` is deliberately NOT renamed with it, and that is the
decision, not an omission. It is an infrastructure identifier — systemd unit,
/opt path, database — and nothing on the box keys on the repo name; renaming it
would touch a live site for no visible gain. Two names now instead of three.
The registers are DERIVED and were regenerated, not hand-edited:
origin.json (aoz's `stamped` and `swh` drop to null, correctly and temporarily —
Software Heritage archived the old origin URL and the OpenTimestamps manifest
names the old repo; the nightly origin-proof re-stamps) and packages.json.
proofs/origin/*.json are untouched on purpose. They are hash-chained and
append-only, so a past proof naming bitbaum/aoz-housing is correct history;
rewriting one would both falsify the record and break the chain.
retired.json gains the `repo` row, which is what makes the old name traceable —
and what makes org-drift-audit.sh start flagging documents that still use it.
Three were flagged: this repo's AGENTS.md (fixed here), the renamed repo's
README (fixed in aoz-begleitung#243) and its CLAUDE.md, which is BASELINED with
a reason rather than fixed: `JWT_ISSUER` is still the literal string
`aoz-housing` and must stay so — src/proxy.ts and src/lib/auth/config.ts pass it
as the JWT issuer, and changing it invalidates every live session. A live auth
value, not a name.
Verified across the rename: bitbaum/aoz-housing redirects to the new repo,
https://aoz.orangecat.ch still 200, aoz-wohnen-app still active, and the new
clone URL resolves to 431bae7 — the same tip as before.
Tests green: deploy-freshness 24, deploy-reconciler 34, repo-metadata 17,
model-pin, version-currency, product-identity 45, verify-predicates 29.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NLZ6vs1jsWw2kKbpWTZHf2
* chore(aoz): defer the retired-name row until the docs it polices have landed
org-drift-audit.sh reads the org's DEFAULT BRANCHES, not the working tree. So
adding the `aoz-housing -> aoz-begleitung` row to retired.json in the same PR
that fixes AGENTS.md is a deadlock by construction: the audit judges main, where
AGENTS.md is still unfixed, so `--check` fails — and the fix cannot merge while
it fails.
The row is a POST-condition, not a co-requisite. Fix the documents first, let
them reach the default branches, then declare the name retired and let the audit
hold the line from there. The row returns in its own PR once this and loki#732
are on main.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NLZ6vs1jsWw2kKbpWTZHf2
* chore(aoz): the baseline exception belongs with the row that creates it
Same sequencing lesson, mirrored. Without the retired-name row nothing flags
aoz-begleitung/CLAUDE.md, so a baseline entry for it matches no violation — and
org-drift rejects that correctly: "baseline entries with no matching violation —
the ratchet fell". A baseline full of entries that match nothing is a ratchet
that cannot fall, which the file's own header already says.
So the row and its one exception land together, in the PR after this one.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NLZ6vs1jsWw2kKbpWTZHf2
---------
Co-authored-by: Claude Opus 5 (1M context) <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
38 files changed, 119 insertions(+), 119 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 fleet had six auth approaches across eleven repos: next-auth v5
beta (7, two of them on different betas), Supabase Auth (3), Better
Auth (1), next-auth v4 (1), and two hand-rolled. Five repos have no
auth at all, which is the correct amount for a brochure site.
The same bug got written twice independently: petvity and
surf-your-life both shipped a cron guard that failed OPEN when
CRON_SECRET was unset, both comparing against the literal string
"Bearer undefined". That is what N implementations guarantees.
THE RULE
Two populations, and conflating them is the mistake:
Our own products federate to OrangeCat. Its OIDC provider shipped
2026-06-17; FleetCrown, Solon and now Heidi consume it. A federated
app keeps NO users table, no password, no reset flow, no session
table — it reads id_token.sub and stops. The identity-bridge
instruction generalises: do not rebuild profiles, payments or
presence locally.
Client-owned apps never federate — aoz-housing's residents belong to
AOZ, not to us. They keep local auth, and the blessed library for
new local auth is better-auth 1.x.
WHY NOT next-auth
Because it could not be enforced, and this file's premise is that
unenforced choices drift. blessed-versions.json said so itself —
"next-auth is deliberately absent while v5 is beta" — so
version-currency.mjs, the audit that turns every other drift into a
number, was structurally blind to the one technology where
inconsistency costs most. The row said "v5 when stable"; it has been
beta ~3 years, npm latest is still 4.x, and six repos shipped the beta
regardless.
better-auth has a real semver major, so it is now IN
blessed-versions.json and the existing audit measures it for free. No
new machinery. It also uses the blessed ORM, its magic-link plugin
takes our own sender so mail-kit slots in unchanged, and hirnli has
run it in production since 2026-09.
NO AUTH PACKAGE
SHARED.md already lists auth under what must NOT be centralized, and
sitekit is the evidence: centralizing nav markup centralized the bug,
and it serves 2 of 20. Share the decisions and the checks, never the
implementation. Existing apps migrate on contact, never on a schedule
— ADR-0002 sat at Proposed for seven months while its count went 2→4.
Claude-Session: https://claude.ai/code/session_01BUfvtBc4ycbYRRjb9eBmuB
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
Two false claims and one missing one.
FALSE: "all 7 npm consumers on ^0.6.2". There are 10 consumers, and they
are not all on 0.6.2 — surf-your-life is on 0.8.0. The number was never
re-counted after it was written.
FALSE: "surf-your-life and kivvi's @kivvi/ai still install by git tag".
Re-counted 2026-09-06 against origin/main of all 36 repos: zero ai-kit
git-tag pins remain anywhere. (ai-forms is still git-pinned in evig and
surf-your-life — a different package, and it belongs in that package's
row, not this one.)
MISSING, and the reason the row was misleading rather than merely stale:
"Nothing open" sat above 12 repos that still hand-roll an LLM HTTP call,
~7,000 lines, 9 of which cannot tell the three kinds of 429 apart and 6
of which hand an empty HTTP 200 to a user as an answer. Installing the
package in 10 repos is not the same as adopting it, and the row counted
installs.
Measured by real import statements against origin/main, never by
package.json rows or same-named local files — both of which have
produced a wrong count in this fleet before.
Claude-Session: https://claude.ai/code/session_01NHDLTKGirKU7He8q2YR2y4
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
email-canary.yml: daily key+domain probe against the shared Resend
account, Mondays one REAL delivery to a filtered inbox, Telegram alert
on any failure — the automation that ends the "dead mail cred rots for
months" class (Brevo, found 2026-09-05). SHARED.md registers
@bitbaum/mail-kit (npm, zero deps, never-throwing sendMail) as the one
email layer replacing ~12 bespoke implementations; STACK.md email row
updated to match reality (the 2026-09-02 "Listmonk primary" review
predates discovering the dead SMTP cred) and the AI row closes the
git-pin straggler note (zero remain).
Claude-Session: https://claude.ai/code/session_01WqKqMnHQHSmkGFfc5t7Rxn
Co-authored-by: Mao Nakamoto <41178744+maonakamoto@users.noreply.github.com>
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
* docs: sync docs with actual stack
STACK.md:
- AI row: git-tag pins are not fully retired — surf-your-life still installs
ai-kit as github:bitbaum/ai-kit#v0.6.2 and kivvi's @kivvi/ai pins #v0.5.0;
named as stragglers, and the ledger now says '7 npm consumers'.
- pnpm row: kivvi (already-pnpm before the sweep) still pins pnpm@9.
SHARED.md:
- orangecat ADR-0002 is Accepted (2026-08-25), no longer 'still Proposed';
rate-limiting row updated — orangecat unified in-repo, not via limitkit.
- Registry install commands: pnpm, current pins (ai-kit from npm,
@fleet/ai-forms#v0.1.2, sitekit#v0.3.0, limitkit#v0.2.0).
- ai-kit adopters: now fleetcrown, aoz-housing, truthseeker, botsmann, evig,
orangecat, hirnli from npm (+ surf-your-life/kivvi via git tag); evig uses
tryChain, kivvi wraps createHealthTracker; ai-forms adopters + kivvi.
- threadkit has its first adopter: vitareba (lib/domain/messages.ts).
- sitekit 'Next: camille (PR open), then s-ink' removed — camille is merged
and live, s-ink deliberately not adopted (both stated just above).
- auto-merge-sweep row: canonical home is this repo, not dotfiles (dotfiles
dropped its copy, ai-forms converted); datacat/petvity/solon remain.
templates/ci/README.md:
- adoption bullets note the fleet is all-pnpm since 2026-09-04;
- sweep aside made historical (22 repos/8 variants, now canonical here).
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WqKqMnHQHSmkGFfc5t7Rxn
* docs(shared): install commands match how consumers actually declare the deps
ai-forms' package name is 'ai-forms'; every consumer carries it as the
manifest alias "@fleet/ai-forms": "github:bitbaum/ai-forms#v0.1.2" — show
that line, not a CLI alias pnpm cannot parse for git specs. sitekit/limitkit
use their real names, so plain 'pnpm add github:...#tag' is correct.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WqKqMnHQHSmkGFfc5t7Rxn
---------
Co-authored-by: Mao Nakamoto <41178744+maonakamoto@users.noreply.github.com>
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
ai-kit is published as @bitbaum/ai-kit@0.6.2 and all 7 consumers
(orangecat, fleetcrown, aoz-housing, botsmann, evig, hirnli, truthseeker)
have "^0.6.2" from the registry on their mains (verified 2026-09-04). The
internal_tags entry that policed the github-tag pins has nothing left to
police, so it graduates exactly the way blessed-versions.json always said
it would: delete the entry. As a 0.x package it joins drizzle-orm and
@anthropic-ai/sdk in the "no meaningful major, not listed" convention —
no new mechanism.
- blessed-versions.json: internal_tags now {}, comment records the
graduation path and the 0.x convention
- test-version-currency.mjs: two new checks pin the now-live config shape
(absent internal_tags counts only major gaps; empty internal_tags does
not judge a leftover git pin) — the || {} in gapsFor is proven, not
assumed
- STACK.md: AI row now names @bitbaum/ai-kit from npm; package-manager
row and "still open" note say the npm bootstrap is DONE but the pnpm
sweep is still in progress (5 repos converting) — NOT marked done
Measured before and after: TOTAL GAPS 1 with both main's config and this
one — identical, the ratchet does not move. That 1 is sbb-lost-found's
eslint ^8.57.1 < blessed 10, a pre-existing regression on main (baseline
is 0) that the weekly ratchet will flag; it belongs to sbb-lost-found,
not this PR.
Claude-Session: https://claude.ai/code/session_01WqKqMnHQHSmkGFfc5t7Rxn
Co-authored-by: Mao Nakamoto <41178744+maonakamoto@users.noreply.github.com>
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
Reviewed evig's nodemailer: Listmonk (self-hosted FOSS) is the primary
provider with nodemailer as the SMTP fallback, the seam documented in its
own config with admin diagnostics. Migrating the fleet's self-hosting-values
project onto a hosted email SaaS would invert the reason the project exists.
Exception documented; the review obligation the table carried is discharged.
OC's @google/generative-ai: zero imports anywhere — deleted (orangecat PR).
Claude-Session: https://claude.ai/code/session_01WqKqMnHQHSmkGFfc5t7Rxn
Co-authored-by: Mao Nakamoto <41178744+maonakamoto@users.noreply.github.com>
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
The uniformity review (2026-09-01) found three ORMs, three test runners and
two auth stacks — none chosen, all inherited from whichever template a repo
started from. George's standing decision: uniform on Drizzle (supabase-js
where the app is Supabase-native), Vitest for apps / node:test for packages,
next-auth outside Supabase, and the rest of the table.
STACK.md is the SSOT for WHICH technology each job uses;
blessed-versions.json remains the SSOT for which MAJOR. Exceptions are
documented rows, not habits — when an exception's reason dies, the exception
dies. Migration state is tracked in the file and updated by the landing PRs.
Claude-Session: https://claude.ai/code/session_01WqKqMnHQHSmkGFfc5t7Rxn
Co-authored-by: Mao Nakamoto <41178744+maonakamoto@users.noreply.github.com>
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>