A repo holding a .bashrc was the wrong place for the machinery gating thirty
other repos: three sessions and the owner collided here in one week, and every
fleet change looked like an environment change. The audits, templates,
registry and sweep now live in bitbaum/fleet (layout unchanged, all six test
suites green there, secrets set, CI green).
Nothing breaks for callers:
- auto-merge-sweep.yml stays as a FORWARDING SHIM — the 16 repos calling it
as a reusable workflow keep working; the shim maps the historic ref
'master' to fleet's 'main' and holds no logic.
- SHARED.md stays as a pointer, because a decade of docs and habits say to
check it here. The registry is maintained only in fleet.
- This repo's own auto-merge now calls fleet's sweep like every other repo.
CI slims to what this repo now is: shell syntax plus an install.sh
dangling-symlink check. CLAUDE.md and README describe the environment repo;
the global standards' pointers now name fleet/SHARED.md and
fleet/templates/ci.
Claude-Session: https://claude.ai/code/session_01AZCNYHwjEeqxNpYCUk6Yna
Co-authored-by: Mao Nakamoto <41178744+maonakamoto@users.noreply.github.com>
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
"Paste a link, get a better site plus a fundable OrangeCat entity" spans
three repos, so the split gets decided once here instead of in each PR.
The seam follows a boundary that already exists: substrata's site-as-data
schema becomes a shared package (the generator emits data against a closed
union, never .tsx against nothing), FleetCrown owns the prospect pipeline,
and OrangeCat keeps the claimable entity — because profile_claims is
already a draft that is not a live profile until its subject claims it.
That last point is also the safety property, for free: money can never be
routable to a business that has not accepted it, provided ingest writes to
the claims table and never to profiles.
On fake names — camille's own HANDOVER.md §4 already found, against a real
repo, that scraped-and-pseudonymised content is demo-only and cannot be
handed over. So real pitches use real names, marked as unsolicited mockups,
and fabricate no facts: a plausible-but-wrong street number is the one
detail that damages the business it is meant to win.
Claude-Session: https://claude.ai/code/session_01AZCNYHwjEeqxNpYCUk6Yna
Co-authored-by: Mao Nakamoto <41178744+maonakamoto@users.noreply.github.com>
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
Adoption of `ai-kit` went 2 -> 5 — fleetcrown, aoz-housing, truthseeker,
botsmann and this repo. All of it as a side effect of repairing the outage
rather than as a migration project, which is the only way adoption has ever
moved here.
Three repos deliberately did NOT adopt, and the reason is the same in each:
kivvi, orangecat and evig already own model REGISTRIES carrying context windows,
tool and vision support, and per-token cost — none of which `ai-kit` models.
Installing it beside one of those adds a second source of model truth to a repo
whose problem was having two. They were repaired in place and left pointing at
the daily audit. Merging a registry into `ai-kit` is a real design question and
belongs to a human, not to an outage.
The `AI provider client` row is re-priced. The first count said five repos and
six pins; it was seven repos, and inside a repo the id was written down two to
FOUR times. Kivvi needed three PRs to remove one retired id — provider registry,
an app's inline fetch body, the fallback chain, and a client hook's
`FALLBACK_MODEL` — because each pass only found the copies the tooling could
see. That is the cost of duplication measured rather than argued.
The audit row now says what it learned about itself. Repairing seven repos with
it exposed nine faults in both directions, and the blind spots were not random —
they mirrored the shapes people write (`GROQ_MODELS = {` defeats `\bmodels?\b`,
`models: AIModel[] = [` defeats an array pattern, `modelId` is not `model`). It
also read ids out of comments, reporting a retired id in the very commit that
removed it. The note that matters for whoever touches it next: never trust its
first clean run after widening — re-run the live sweep and read every line,
because tightening the matcher to kill a false positive silently deleted a real
finding once already.
Also: `--update` locks in rate-limit 14 -> 13. A ratchet that only ever gets
checked never falls, and this one fell on somebody's work.
Version bumped to v0.4.0, which is breaking: form filling moved off the root
export to `ai-kit/forms`.
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
`ai-ration` is now `ai-kit`, because the name described one of its five modules
and hid the rest — and the person deciding whether to install it could not tell
what it did. That is an adoption cost paid at every install decision, and this
is the package with ONE adopter whose absence took five repos down together on
2026-08-26.
The audit here was its second adopter, so it moves first. `AI_RATION_FROM` still
works and the old paths stay in the resolver list: a rename must not turn a
working daily audit into a silent exit 2 on the first machine that has not
caught up.
Installed from GitHub rather than npm because ai-kit v0.3.0 is tagged, built and
verified but not on the registry — the repo has no NPM_TOKEN, which needs an
account nobody here holds. Switch to `npm i ai-kit` once it does.
SHARED.md records WHY the merge stopped where it did: ai-kit absorbed ai-ration
and re-exports ai-forms, because to an app "which model do we call", "AI chat"
and "AI form fill" are one feature. threadkit and limitkit stay out — neither is
about AI, and an app throttling its login form should not install a model
catalogue to do it. Merge by what a consumer needs together, never by "these are
all shared utilities".
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
AOZ reported "KI-Assistent nicht konfiguriert. Bitte GROQ_API_KEY setzen" on a
deployment whose key was valid. Groq had retired the whole llama-3.x family and
the pinned id answered 404. Production had been failing exactly as long as the
demo and nobody knew, because "not configured" is the only thing the app can
say.
Six pins across five repos were dead the same morning — botsmann, evig, kivvi,
orangecat, truthseeker — three of them serving live traffic. None of it was
visible from inside a repo: every gate was green, because the code is correct
and the vendor changed underneath it. No lint rule, type check or unit test can
see this, which is exactly the gap the central audits exist to cover.
So this asks the only authority that knows. One GET /models per vendor, ZERO
tokens, which is what makes it schedulable — and "somebody is supposed to
remember" is the mechanism that already failed for eight days in ai-ration's
own consumer.
It calls ai-ration's checkCatalog rather than growing a second vendor query
here; the package takes the chain as an argument, so it generalised to
arbitrary ids with no change. That makes dotfiles its second adopter, which is
the medicine this file prescribes to everyone else.
Three findings survive as tests because the first live runs produced them:
- xAI's `grok-3-mini` was filed under Groq — one letter apart, and xAI's URL
sat 6 lines from the pin while Groq's sat 18. Attribution now follows the
marker ABOVE the pin, since that is the branch that owns it, and vendors we
cannot query still own their ids so they report UNCHECKED instead of being
absorbed by the nearest vendor we can.
- fleetcrown's computed `${link.provider.id}/${link.model}` was reported
retired. An interpolated id is the absence of a pin.
- botsmann's pin lives in lib/constants.ts, which no AI-shaped filename
filter opens. Candidates are now two-tiered and ranked, and truncation is
REPORTED — a bounded sweep that stays quiet about what it skipped reads
exactly like one that found nothing.
An unreadable catalogue reports UNCHECKED, never GONE. Treating "I could not
look" as "nothing is there" would mark every pin retired and invent a
fleet-wide outage somebody then acts on.
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
The registry gains its fourth package, and the 'next extraction' row it named
is now in motion rather than named: limitkit, extracted from the fleet's 12
hand-rolled rate limiters, fleetcrown converted as the proving consumer.
Listed on day one for the same reason threadkit was: a package with zero
adopters removes zero duplication, and the registry is where the next session
finds out adoption is unfinished. orangecat is called out as the next adopter
by name because it is the payoff case — its ADR-0002 ('Unify Rate Limiting
Modules', Proposed since January) becomes a 12-line Store adapter over its
existing Upstash client plus three deletions.
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
The three conversions this locks in — fleetcrown, orangecat, sbb-lost-found —
were each verified to actually RUN the central sweep after merging, not merely
to have merged: fleetcrown and orangecat show the reusable job green with both
live sites healthy, and sbb's post-merge dispatch references
maonakamoto/dotfiles/.github/workflows/auto-merge-sweep.yml`@master` directly.
The first sbb run checked predated the merge and was still the old local copy —
which is exactly why 'the PR merged' is never the verification.
SHARED.md corrections in the same change:
auto-merge row 22 -> 6, with the six named and each one's reason. A
number with no story reads as neglect; these are held
back deliberately (canonical home; trees owned by other
sessions).
@ai-native-cms/core WITHDRAWN — measurement error, and worth recording
loudly: maonakamoto/revampit REDIRECTS to
maonakamoto/evig (renamed in the pivot), so the 'two
repos with byte-identical trees' were two clones of ONE
repo. Nothing to extract. Two directories are not two
repos; check git remote -v before reporting cross-repo
duplication.
rate limiting marked as the next extraction (14 files, zero app
coupling, four inside orangecat alone).
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
Two false-positive classes, both found by checking findings against the
actual pages instead of trusting the count.
1. A nested GROUP is entitled to its own indent. datacat renders a card
title, a description, an icon checklist, then a CTA back at the card
edge — and the CTA returning to the base indent made the "does the
column return?" test fire. A list between two peer lines is structure.
Only peer LINES have to share a column.
Measured VERTICALLY on purpose: a first attempt exempted any child
with several children, which swallowed a row of chips — two spans side
by side on ONE line — and blinded the audit to the exact fleetcrown
stack it was written for. The self-test caught that immediately, which
is the entire reason it pins the positive case too.
2. Centered, right-aligned and justified text starts at a different x per
line BY DESIGN. Judging them for a "missing hanging indent" reported
every centered paragraph in the fleet — petvity's two findings and
datacat's were all `text-align: center`, i.e. working exactly as
intended.
Net: the alignment half of the sweep drops to almost nothing, which is
the honest answer. The ragged-stack bug was real, and it was
fleetcrown's; it was not a fleet-wide epidemic, and reporting one as
though it were would have cost someone a day proving it was not.
Also registers both central audits in SHARED.md, so the next person
looking for a fleet-wide checker finds them before writing a third.
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
revampit was rebranded to evig 2026-07-24; ~/dev/revampit is now just
an archived alias symlink. Updates the zellij tab, claude-projects.conf
entry, the `dev` stack-manager shell function, SHARED.md's adoption
list, and the CI template's example repo paths to point at the
current name/directory instead.
evig's own internal identifiers (is_revampit, revampit.orangecat.ch)
are untouched — that's a separate, deliberate infra cutover documented
in evig/CLAUDE.md, not a dev-tooling cleanup.
Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>
The registry row I added hours ago said threadkit could not be installed: no
tag, not on npm, publish gated on a version tag. That was true when written and
is now false — v0.1.0 went to the public registry at 14:49 with an SLSA
provenance attestation. A discovery surface carrying a stale "you cannot use
this" is worse than one that omits the package, because it actively tells the
next agent to write their own.
Verified from OUTSIDE the fleet rather than from a green pipeline: installed
`threadkit` from the public registry into an empty project, imported it, got 17
named exports and dist/index.d.ts. Provenance and registry signature both
present on the published tarball.
Two things the row now says that it did not before, because publishing is the
cheap half of the work:
- ESM-only. `"type": "module"` with no `require` condition, so a CJS consumer
cannot require() it. Worth knowing BEFORE adoption, not during.
- Adopters: nobody yet, stated plainly, with the three repos where it removes
real duplication — vitareba (care-team messaging, the literal clinic case
the package was designed around), orangecat (Cat DMs), fleetcrown (agent↔
human threads). A package with zero adopters removes zero duplication;
listing it on day one is how it avoids becoming another extraction nobody
wired up.
No credit claimed for the release itself: another session cut the tag while
this one was elsewhere. This commit only makes the fleet's own bookkeeping
match reality.
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
The audit told the fleet that openclaw had no typecheck, no lint and no test.
All three were false, and the repo is comfortably ABOVE the floor:
verify -> node scripts/verify.mjs -> `pnpm check` then `pnpm test`
check.mjs has an explicit `typecheck` stage (tsgo:prod) and a `lint` stage,
plus ~20 policy guards.
Two blind spots produced that, and the second is the serious one.
1. `tsgo` — the TypeScript-Go compiler — was not in the typecheck tool list, so
a repo that typechecks with nothing else read as having no typecheck at all.
Added.
2. When `verify` hands off to a script file, this audit cannot see the gates —
and it cannot see their ABSENCE either. It was reporting the second as
established fact. That is the same failure mode the fleet has been bitten by
before: absence of evidence rendered as evidence of absence. There is now a
`? OPAQUE` column: reported so it stays visible, never counted as a
violation, because no violation was demonstrated.
Same class, different disguise: printcraft's verify is `npm --prefix app run
verify`, which leaves this package.json entirely. The audit could not follow it
and concluded verify skipped ALL THREE gates. It skips none — they live in
app/package.json. One level of sub-package delegation (`--prefix DIR` and
`cd DIR && npm run X`) is now followed by fetching that manifest, which turns a
confident wrong answer into the right one. printcraft moves FIXABLE -> AT FLOOR,
and the FIXABLE column is now empty.
Forks are no longer audited at all. openclaw is a fork of openclaw/openclaw and
was generating two findings, BOTH artefacts of measuring someone else's repo
with this fleet's ruler: "no typecheck" (it uses tsgo) and "CI never runs
verify" (its CI runs the gates on a remote testbox, just not through the
`verify` alias). A fleet-shaped `verify` added there would also conflict on
every upstream sync. Forks are LISTED with the reason rather than dropped —
a silently unaudited repo is precisely what this script exists to prevent.
Exactly one repo is affected today.
Net effect on the numbers: the three columns that accuse a repo of something
now contain only claims the audit can actually support.
AT FLOOR 21 -> 22 (printcraft was never below it)
FIXABLE 1 -> 0 (its only entry was a false positive)
REAL WORK 4 -> 3 (openclaw was never one)
The three that remain — threadkit (no lint), prime-tower (no test), datacat
(test is e2e-only) — were checked by hand and are real.
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
The fleet does not have a knowledge problem about duplication. It has an
enforcement problem, and there is evidence for exactly that:
orangecat/docs/architecture/adr/ADR-0002-rate-limiting-unification.md, dated
2026-01-18, is still Status: Proposed. It names TWO rate limiters. There are
now FOUR — the duplication grew AFTER the decision to unify was written down.
templates/ci/README.md says "deliberately ONE central script, not a copy per
repo". auto-merge-sweep.sh exists in 22 repos in 8 distinct versions, spanning
11,787 to 19,344 bytes. A fix landed in one reaches at most 9 of them. This is
the script that decides what ships.
Both were documented. Documenting is what failed. So this ships three things,
none of which is a document that can rot unnoticed:
1. SHARED.md — the registry. What exists (ai-forms, ai-ration), what is worth
extracting next with counts, and — stated as explicitly as the rest — what
must NOT be centralized: auth, DB schemas, and chat/form MARKUP. "Share
everything" is its own failure mode; each app has to keep looking like
itself, which is why ai-forms is headless and ai-ration ships no HTTP client.
2. shared-inventory.sh — the measurement, generated rather than maintained.
Reads each repo's REMOTE default branch via the trees API, because local
checkouts drift and have already produced a redundant PR and a nearly-dropped
gate in this fleet.
3. The ratchet. `--check` fails when any count RISES. Nobody has to fix 87
duplicated files today; the only requirement is to stop adding. A count that
falls gets locked in with `--update`, and raising the baseline stays allowed
— it just has to happen in a PR where someone sees it, rather than by
accident.
Two decisions that keep the number trustworthy, both learned the hard way today:
FORKS ARE EXCLUDED. `openclaw` is a fork of openclaw/openclaw — 1.5 GB of
upstream. Counting it contributed 46 provider files, 7 loggers and 7 date
utils that nobody here wrote and nobody here can unify. A metric dominated by
somebody else's codebase measures nothing and gets ignored.
A TRUNCATED TREE REFUSES TO JUDGE. The trees API truncates on huge repos, and
an undercount would read as progress. --check exits 2 rather than certify a
decrease that did not happen.
The ratchet's deciding half is pure text and is tested against fixtures with no
network (7 cases, wired into this repo's CI): it must go red on a rise and on a
new unmeasured concern, and must stay quiet on a hold, a decrease, and a concern
removed from the script. A ratchet that silently passes while duplication rises
would certify the thing it exists to stop.
The global CLAUDE.md now points at SHARED.md, so the check happens before the
code is written rather than in review afterwards.
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>