13 chats in 10 repos (2026-09-25), none packaged, each re-learning or missing
the same fixes — most often the mic. SHARED.md now names the reference (loki
/loki, with its four known gaps), a nine-line checklist where every line cites
the repo that already fixed it, and each chat's gaps. AGENTS.md points to it.
shared-inventory gains chat-composer (baseline 5 repos / 6 files); a mutated
baseline (6 -> 5) makes --check fail on it, so the guard can fail.
Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
The rule now has one statement. Solon's and Loki's agent files each carry
their own instances (the pre-filled proposal that survives sign-in, the
skippable interview, the CI check that warns with a ratification link
instead of failing) and point here for the rule itself, per "How docs stay
current": a fact has one producer, a doc may point at it, the copies are the
bug.
The measured case that made it a rule: OrangeCat's "Govern it with Solon"
button sent the entity in the query to Solon's dashboard, and nothing on the
far side read it. Pressing the right button landed somewhere that had
forgotten why. Found 2026-09-20; fixed in bitbaum/solon#172 and
bitbaum/orangecat#1096.
Claude-Session: https://claude.ai/code/session_01RU7EqR1TPicrJGv46cLDaH
Co-authored-by: Claude <noreply@anthropic.com>
"What is an entity" had no producer, so every repo that needed the answer kept
its own. In orangecat alone the agent-read docs held THREE copies of the list,
all different: one named `organization`, which has never been an entity type,
and omitted six that are. These are the files coding agents read before they
touch anything.
So the fact gets a producer, per this file's own rule. The definition is a TEST
rather than a list — an entity is anything that can hold a wallet and is better
for holding one — which is what lets the list stay open in principle: a new type
earns its place by answering the test, not by resembling the types already
there. orangecat now carries `wallet: { holds, why }` on every type with a
ratchet test enforcing it (bitbaum/orangecat#1071).
It also records the part no single repo could state on its own: the same entity
sits on three planes. OrangeCat is its economy, Solon its governance, Loki its
engineering. That sentence is the reason this belongs here and not in any one
of the three.
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
The contract named the three surfaces a product needs and left the reader to
work out how to get the two that are missing. Of the 17 shipped projects, a
Solon organisation is missing on 12 and an OrangeCat profile on 9 — so "how" is
the only part still worth writing down.
The distinction matters and is not a detail: OrangeCat is a publish button in
Loki, and Solon cannot be, because founding an organisation needs a signature
from the owner's own Bitcoin wallet, which Loki never holds. It is a handoff.
And Solon records which project an organisation governs only from a grant Loki
signs for that owner's identity, never from a name match — founding is open to
anyone, so otherwise whoever founds `loki` would appear on this register to
govern Loki.
The dated numbers are refreshed at the same time: roadmap and changelog were the
two worst fields on 2026-09-15 and are both at zero missing today.
Co-authored-by: Claude Opus 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 studio site called 14 products "Live" — a pill, a Status fact, a stat,
the meta description and a stage lede. None of that is a claim anyone here is
comfortable making: every one of them is in beta, OrangeCat included. Launched
is not released.
The error was reading apps.conf `status` as a release state. It is a
provisioning fact — `live` means the process is served and Caddy has a vhost.
That is the same misread as `client-app` two columns over, which is exactly
why that one is published as Pilot and Concept rather than "client". Same file,
same mistake, second column, so the rule belongs next to the other names
agents must share rather than only in the site that got it wrong.
Fixed on the site in bitbaum#29 and deployed; this is the line that stops the
word being typed again.
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
Loki now publishes problem, solution, mission, vision, roadmap and changelog on
/api/fleet/map (bitbaum/loki#724), so the six rows this audit carried as
`published: false` are live. Flipping them is the migration the last commit
promised, and it is the whole of it — the FIELDS table was the only thing that
had to change to widen what is checked.
READING THE MAP INSTEAD OF THE REGISTER IS THE OTHER HALF
The register takes `status` from apps.conf, which deliberately omits the
handcrafted 4001-4004 services. So `loki` and `orangecat` — two of the three
pillars — had no register row, and every rule here skipped them while they
served the public internet. The audit reported that as a blind spot it could
not fix. The map resolves a project with a live URL and no hosting row as live,
which is the truth, so reading the map fixes it at the source: both are now
judged like everything else, and `loki` immediately shows "no solon org".
WHAT IT SAYS NOW
63 gaps across the 16 projects that have shipped, and a per-field count so the
shape is visible at a glance instead of buried in a per-project list:
what 7 missing roadmap 14 missing
problem 4 missing changelog 5 missing
solution 4 missing orangecat 10 missing
mission 4 missing solon 11 missing
vision 4 missing
Roadmap is the fleet's worst field by a wide margin — 14 of 16 — and nothing
said so before, because nothing counted it.
Baseline 31 -> 63 is not a regression: the old number counted one field on a
narrower population. It is raised in this commit so the change is a decision
somebody can read in the diff, which is what that rule is for.
45 assertions, both directions. The mutation now runs over the whole table:
un-publishing each field in turn must remove exactly its own check, or the
table is decoration and the rules are hardcoded elsewhere. Gate proven by exit
status — 63 -> 0, 62 -> 1, dead map -> 2, never 0.
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
Every product is supposed to carry problem, solution, mission, vision, roadmap
and changelog. All six already have a producer — a Loki project profile, where
they are attribute keys, the `goals` table and `user_projects.dev_log`, injected
into every dispatch. Nothing published them, nothing rendered them, and nothing
counted them, so the state of it was invisible.
Measured against the live register on 2026-09-15:
35 projects; `description`, its only prose field, null on all 35
7 of 35 have an OrangeCat profile — two of those seven are dead experiments
1 of 35 has a Solon organisation: OrangeCat itself
20 of 33 repos ship none of the six on their own site
loki, orangecat and wild-spirit have no register row at all, so every
register-derived rule already skipped them while they served the internet
The register's null description is the sharpest one: build.ts reads
user_projects.description through usefulDescription(), which correctly nulls the
site factory's "Website at <url>" boilerplate — so a 100% gap presented exactly
like a working filter. That is this repo's own thesis (a producer with no
consumer looks wired) landing on the register itself.
So: the contract in AGENTS.md, and a ratchet that reports it. The audit judges
only mechanical claims — a field is empty, a profile is absent — never whether
prose is good, for the reason repo-metadata-audit.mjs gives. It reports two
things it deliberately does not count: generated experiment litter, and live
projects with no register row, because folding those in would let a register fix
look like progress on identity.
Baseline 31. Weekly, not per-PR: the register is served by Loki on the box, and
a gate that goes red for reasons the author cannot fix is a gate that gets muted.
The judgement is a pure function of the rows, so its test runs per-PR with no
network — 36 assertions including a mutation: flipping one FIELDS row to
published must turn a previously clean product red, or the table is decoration.
Verified by exit status, not output: 31→0, 30→1, no baseline→2, dead register→2.
Publishing a field into the API is one row in FIELDS. That is the whole migration.
SHARED.md also gains the two chat rows this measurement produced: ai-kit has no
streaming API, which is why six repos hand-roll a provider client and two SSE
readers drop frames on chunk boundaries.
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>
Two facts an agent running a fleet-wide sweep needs, neither of them
discoverable from the command it is about to type.
`grep` in this shell is a function wrapping `ugrep --ignore-files`, so it
honours .gitignore. Measured in orangecat: `grep -rl SUPABASE_SERVICE_ROLE_KEY`
found 1 file, `command grep -rl` found 18. An audit written with plain `grep -r`
under-reports by design, and env files, build output and .claude/worktrees/ are
exactly what it cannot see.
And a worktree is a subdirectory of the repo, so a sweep that edits by path
rewrites files on branches nobody is working on. `find | xargs sed` does not
respect .gitignore. Ten worktrees across four repos carried an uncommitted org
rename for two weeks that way — their own branches had stopped days before the
files changed, main had already made and moved past that rename, and applying
the result would have reverted main.
Audits in this repo already avoid the whole class by reading default branches
over the API rather than disk. A local sweep has to choose that scope on
purpose.
Claude-Session: https://claude.ai/code/session_01TE8oRvuwExm6GXkQVW3Jf9
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>
Agent instruction files are read from the checkout, not the remote, and nothing
said so. On 2026-09-09 one session spent a day rediscovering a deploy rule that
had been committed five days earlier, then reported this very file missing —
the checkout was on an older branch and AGENTS.md had landed on main the day
before. Both failures were the same one, and both looked like a fact.
Adds the check that distinguishes them, and the matching note that memory is
read per working directory, so a fleet-wide lesson written into a project silo
is lost the same way a private copy is.
Claude-Session: https://claude.ai/code/session_01HVwg8DKHQktxJuHeLM3xpG
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>