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>
* fix(registry-audit): a manifest we could not read is not a repo that does not use it
Every gh failure was swallowed by `catch { continue }`, so a rate-limited,
unauthenticated or offline run reported the same thing as a clean one:
zero adopters. "Nothing depends on this package" is the sentence that gets
a package deleted.
That is not hypothetical. On 2026-09-12 the same blind spot in a grep —
searching for `@bitbaum/<name>` when bip-kit, limitkit and threadkit
install under bare names — produced "imported by nothing" for three
packages with 8, 3 and 3 adopters, and a recommendation to delete them.
This audit had the right answer the whole time.
So the result is three-valued, the way ai-kit/web's search already is:
found, absent, or COULD NOT LOOK.
- gh's stderr is piped rather than inherited, so the thirteen expected
404s stop making a working audit look broken
- a 404 means the manifest is absent; anything else is recorded
- the report says the counts are a floor, not a count, and names what it
could not read
- --emit REFUSES to write registers/packages.json from a partial scan,
because that file is read as the answer to "who uses this"
isMissing and firstLine are exported and tested against the shapes that
matter: 404 vs rate limit vs bad credentials vs DNS failure. 54 passing.
* chore(org-drift): baseline hire/README.md — it records the rename, it is not an instance of it
The line reads: it named the clinic "VitaReBa", replaced by "Vita".
Editing that sentence to remove the retired name would destroy the record
it exists to keep. The audit's own instructions cover this case: baseline
a historical record with a reason.
* Revert the hire/README.md baseline: another session fixed the file instead
Between two CI runs on the same PR, hire#7 removed the retired name from
the README outright. The baseline line I added forty seconds earlier now
describes a violation that no longer exists, and the ratchet correctly
refused it: a baseline full of unreachable entries is a ratchet that
cannot fall.
A timestamp that moves on every run makes the file differ on every run, so
"commit only when something changed" commits every week and says nothing.
Not theoretical, and it took under an hour to prove: the sibling workflow on
bitbaum/hire pushed a commit whose entire diff was one generatedAt line — while
the PR that introduced it claimed a quiet week would produce no commit.
So generatedAt now records when the derived facts last MOVED. When nothing
moved, the previous stamp is kept and the file is byte-identical, which makes
the workflow's own claim true. It is also the more useful reading: "these
adopter counts were true as of X" beats "this script ran at X".
Verified by emitting twice against the live org: the second run produced a
byte-identical file.
Claude-Session: https://claude.ai/code/session_01NLZ6vs1jsWw2kKbpWTZHf2
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
SHARED.md curates — a package has a row because a human decided it should.
This derives everything else from package.json across the org and writes
registers/packages.json, so a renderer never types the list. AGENTS.md already
forbids typing the portfolio; the packages had no derived source to render from
until now.
Each row carries the install line taken from what adopters ACTUALLY write,
which matters more than it sounds: listkit's npm name belongs to a stranger, so
a page that assumed `pnpm add <name>` would tell readers to install someone
else's package. Deriving it from real specifiers produces the git install
instead, and records whether a package comes from npm or a tag — the thing an
outsider most needs to know.
An adopted-but-unlisted package is deliberately NOT published: curation stays
the gate, and the audit already fails when a real adopter has no row.
The weekly workflow refreshes the file and commits only when the derived facts
changed, so a quiet week produces no commit.
Claude-Session: https://claude.ai/code/session_01NLZ6vs1jsWw2kKbpWTZHf2
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
* feat(fleet): make throwaway repos disposable, and point the audits inward
Six scaffolded repos appeared in two days and nobody created them carelessly —
FleetCrown provisions one per project and agents scaffold sites to test that
path. Together they were 15 of the 26 gaps that were about to turn the
version-currency ratchet red against a committed baseline of 0. That is how a
ratchet dies: not disputed, drowned. A gate whose number is mostly noise gets
muted, and every true finding inside it is muted with it.
The house rule (CLAUDE.md, "Clean up the experiment when the experiment is
over") already says an experiment is torn down in the session that created it,
repo included. This adds the backstop, because that rule covers the session
that creates a repo and nothing covers the session that dies, is interrupted,
or forgets — which is how all six survived.
scripts/local/prune-ephemeral-repos.sh
A throwaway repo carries the GitHub topic `fleet-ephemeral` from birth: on the
repo, not in a list somebody must remember to update, so a later sweep can find
it without recognising the name. The script lists by default, deletes on
--delete --yes, and refuses anything unmarked — "it is obviously a test repo"
is the reasoning that eventually deletes something real. Deletion is the
intended action, per the house rule; --archive is only a holding position.
Its selector is pinned in both directions on every fixture and its --yes guard
runs through the script itself via an injected repo list, so no assertion is a
re-implementation of the thing it checks. Four mutants were each confirmed to
turn the test red before this shipped: selector ignores the topic, substring
instead of exact match, guard removed, empty result reported silently.
scripts/ci/shared-registry-audit.mjs
Every audit in this repo sweeps the OTHER repos. None asked whether SHARED.md —
the file whose first line is "check this file, if it is here, install it" —
matches the dependency graph. It did not: bip-kit had eight adopters and no
row. This derives the adopter count from package.json across the org and fails
when a package with 2+ adopters has no registry row. It resolves the npm: and
github: aliases half the fleet installs under, because a key-only reader
reports zero adopters for a package with five, and it counts a row only from
the registry TABLE — bip-kit was mentioned in the prose the whole time, and a
substring search over the file would have called that covered.
It does not judge the content of a row. A gate that guesses at prose gets muted.
scripts/ci/blessed-versions.json
@bitbaum/ai-kit fell through the seam between `internal_tags` (deleted when it
graduated to npm, correctly) and `majors` (never added — it was 0.x that day).
It shipped 1.0.0 and nothing noticed, because the comment explaining its
absence still described it as a 0.x package. Seven of thirteen consumers sat on
0.x carets while the package was at 1.4.1 and no gate said so. Both it and
design-tokens are now tracked, and the stale exemption is rewritten to say what
actually happened: a version-tracking exemption must be re-read when the
version moves.
scripts/ci/org-drift-audit.sh
The only org sweep that did not pass --no-archived, so a retired repo still had
its README judged against the org register.
The baseline is raised in the same commit, as the process requires. It covers
real staleness on real repos (causius, diplodoctor, heidi, sbb-fundbuero) plus
the ai-kit gaps that were previously unmeasurable — not the six scaffolds,
which are already deleted.
Known and deliberately not fixed here: version-currency reads only each repo's
ROOT package.json, so kivvi/packages/ai (^0.15.0) and datacat/backend (^0.13.0)
remain invisible to it. Attributing a gap to repo-vs-path changes the report
shape and the fixtures, and folding it in would make this baseline number
un-reviewable.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NLZ6vs1jsWw2kKbpWTZHf2
* fix(shared-inventory): one red ratchet must not hide the other
Both reports now run before either ratchet, and each ratchet carries
`!cancelled()`. Without it the first failing check ends the job and the second
never runs — reporting green by absence, which is worse than not having the
gate at all.
This was the live case, not a hypothetical: the duplication ratchet was already
red (ai-provider-client 17 -> 19) when the registry gate was added below it, so
the new gate would have been masked from its first scheduled run.
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>