* 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>