235 Commits
Author SHA1 Message Date
CatoandClaude Opus 5.5 51d3566cb1 feat(fleet): drift.sh — is the same commit on the laptop, GitHub, Gitea and the box? (#572)
Reads the state at every layer instead of a pipeline's record of it:
`git ls-remote` for GitHub, the forge branch API for Gitea, HEAD of each
primary checkout, and the commit the box SERVES (release symlink, .release,
newest releases/ entry, else /api/health `commit`).

Why now: on 2026-11-20 a manual pass found the dotfiles checkout 8 PRs behind,
9 checkouts up to 724 commits behind on long-landed branches, and evig serving
a release one PR old — while deploy-freshness-audit.mjs, which reads GitHub
Deploy RUNS, had been blind since Actions stopped on 2026-11-15.

Silent when clean. A layer it cannot read is UNMEASURED and printed, never
folded into fine or gone: its first real run called six healthy repos "gone"
because GitHub throttled a parallel burst, so only "not found" means gone,
and each read is retried once. 19 tests on real repos; five mutations each
turn the suite red.

Signed-off-by: Cato <41178744+catomean@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 12:59:55 +01:00
CatoandClaude Opus 5.5 f2ada23b82 feat(ci): fleet gets a verify, so the forge merge check can merge it (#573)
GitHub Actions has been off for the org since 2026-11-15, and fleet's main
required two Actions jobs (`verify`, `app-template`) that never came — so no
fleet PR could merge. The forge merge bridge merges any repo that has a
`verify` script; fleet had none.

- package.json + an empty pnpm lockfile: `pnpm run verify` = scripts/ci/verify.sh,
  which runs every `run:` of ci.yml's `verify` and `app-template` jobs, read
  from the YAML — ci.yml stays the one definition. Runs all, exits on the verdict.
- main was RED behind the outage: #570 removed the sweep from the templates but
  three checks still required it. The merge path is now "has a `verify`" (what
  forge/verify runs), with a test that it bites; fleet's own-caller assertions
  became "fleet ships no sweep caller".
- templates/app: next 16.4.1 -> 16.4.6. Next's build refuses the vulnerable
  version, so every product created from the starter failed its first build.
- SWC 1.16 refuses a cache under a group-writable parent (~/.cache on the
  laptop runner): verify points it at the 0700 runtime dir.

verify: 57 passed, 0 failed (incl. the full template render/install/build).

Signed-off-by: Cato <41178744+catomean@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 12:55:06 +01:00
CatoandClaude ec3445c794 fix(canary-audit): a legacy unscoped entry counts its @bitbaum twin (#562)
ai-forms, bip-kit, limitkit and threadkit each have two policy entries while
consumers move to the @bitbaum scope. The canaries (kivvi, substrata) already
moved, so the audit reported 'does not declare this package' for the four
legacy names on every run since 2026-11-10 and Package canary contracts has been
red, and unread, since. For a legacy name whose scoped twin is configured, the
twin's declaration, plan block and import now count; a legacy name with no
configured twin is judged exactly as before.


Claude-Session: https://claude.ai/code/session_019MDtmsUci3JMszzVB3ZhZZ

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-20 11:54:17 +01:00
CatoandClaude eccbc035f1 test(rollout-gate): read the git-spec package name from the register (#561)
dependencyIdentity resolves a github: spec to whatever registers/packages.json
says that repo publishes. The test restated it as the literal 'ai-forms'; after
the scope move the regenerated register says '@bitbaum/ai-forms', so verify
failed on every register refresh and fleet#513 has been held since 2026-11-10,
leaving agents reading chatkit 0.23.0 while npm serves 0.45.0.


Claude-Session: https://claude.ai/code/session_019MDtmsUci3JMszzVB3ZhZZ

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-20 11:53:48 +01:00
CatoandClaude Opus 5.5 e66f28565c chore(ci): one check per change — remove the sweep from templates and new repos (#570)
* chore(ci): one check per change — no sweep in templates or new repos, checks on PRs only

- templates: no auto-merge.yml (ci, app, package, app-repo); CI templates run
  on pull_request only; new app repos are seeded with a README instead of the
  sweep caller (test updated); package template no longer requires the caller.
- fleet's own auto-merge caller and Wake sweeps removed; its CI runs on PRs.
- AGENTS.md: the forge merge check (forge/verify) is the merge authority, with
  the rule it enforces and why; the gates still to move out of the sweep named.

Context: Aug–Nov 2026 GitHub runs went ~100 → ~2,100/day, mostly sweeps on
timers that found nothing; 96 workflows were disabled on 2026-11-19. This
removes the source so the pattern cannot come back with new repos.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Cato <41178744+catomean@users.noreply.github.com>

* chore(agent-rules): the forge merge check is the only merge path

The synced rule block every repo carries said the auto-merge sweep was the
only merge path; it now names forge/verify, matching AGENTS.md. Test updated.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Cato <41178744+catomean@users.noreply.github.com>

---------

Signed-off-by: Cato <41178744+catomean@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 20:39:13 +01:00
CatoandClaude f751ea3588 fix(currency): a declaration already at its target is skipped, not a failure (#551)
A release is now announced twice (CI, then the tag workflow), so two updater
runs can race: the first raises ^1.29 to ^1.30, the second finds ^1.30 where
it planned ^1.29 and threw "Stale declaration". ai-kit 1.30 on 2026-11-15:
six bump jobs red, every app already on ^1.30. A declaration already equal to
the target is now logged and skipped; any other change is still refused.


Claude-Session: https://claude.ai/code/session_019MDtmtUQb9BM11ycpApwGq

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-15 14:09:55 +01:00
CatoandClaude Opus 5.5 51196468ef fix(packages): releases reach the fleet once tagged; a merge of main no longer freezes a bump PR (#536)
* fix(packages): tell the fleet about a release once its tag exists

release-notify.yml asks on CI completion, but a version bump merged by pull
request is tagged by git-release.yml seconds later, so the notice found no tag
and stood down. Publish cannot repeat it (GITHUB_TOKEN runs chain no further).
ai-kit 1.26-1.28 reached consumers only on the six-hourly schedule. A new
template workflow, release-notify-tagged.yml, asks again when the tag workflow
completes; the template sync adds it to every package repo. Its step is
release-notify.yml's, held equal by the test.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019MDtmtUQb9BM11ycpApwGq

* fix(currency): a merge of main into the bump branch is not a repair

Any non-bot commit on fleet/internal-currency counted as a person's repair,
so the updater preserved it and stopped refreshing the pull request. A plain
"Merge branch 'main'" commit carries nothing a fresh branch from main lacks;
once main moved on, evig#682 and solon#398 sat in conflict since 6-10 Nov and
both apps stayed behind. Such a merge (two parents, the default branch, the
merge subjects git and GitHub write) is now replaceable; any other merge or
commit is still preserved, and a branch with no bump commit is not the bot's.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019MDtmtUQb9BM11ycpApwGq

---------

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-14 10:15:38 +01:00
CatoandClaude 5086123de6 fix(currency): a branch that moved since the plan no longer stops its bump; the declaration is the lease (#535)
The updater plans once for every repository and bumps three at a time. The
bump step refused a repository whose main had moved at all since the plan.
A busy repository lost that race on every run: nine of thirty bumps failed
with 'Source changed since planning' on 2026-11-13, orangecat among them,
so it never received ai-kit 1.27 (the fleet usage log).

What must not have changed is the declaration being raised, and the step
already checks that line by line ('Stale declaration'). A moved branch is
now noted, not fatal; pnpm resolves against the tree as it is.

preferred-package-update.test.mjs: a stale declaration is still refused; a
moved branch with the planned declaration is bumped.


Claude-Session: https://claude.ai/code/session_019MDtmtUQb9BM11ycpApwGq

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-13 22:04:13 +01:00
CatoandClaude ea87c3cff1 fix(currency): a consumer that installs a package from npm stays on npm (#533)
When a package's verified Git release was newer than its npm release, the
updater rewrote an npm range to github:<repo>#<sha>. For bip-kit that
window was open on 2026-11-13 (Git 0.7.1, npm 0.6.1): pnpm refused to build
the Git artifact (ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED) and the whole bump
failed for eight repositories, so none of their other packages moved either
(among them ai-kit 1.27, the fleet usage log).

releasedPackage now carries npmVersion beside a Git target. A consumer on an
npm range takes the newest npm version, or waits for the publish; a package
with no npm release is still adopted from Git, and a consumer already on Git
still advances along Git.


Claude-Session: https://claude.ai/code/session_019MDtmtUQb9BM11ycpApwGq

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-13 13:06:10 +01:00
CatoandClaude fdd7b6ad19 ci: report a package released on GitHub but not on npm, with the fix (#531)
bip-kit 0.7.0 and 0.7.1 were tagged while npm served 0.6.1 for three days:
npm Trusted Publishing did not trust the workflow (ENEEDAUTH) and the only
trace was a red run in bip-kit's own Actions tab. It stalled Solon's and
OrangeCat's cross-posting behind the rollout gate.

npm-publish-lag-audit.mjs compares every registered npm package's version on
main with npm's latest; after a two-hour grace it opens (or updates) one
fleet issue naming the npm Trusted Publisher link and every value to enter,
and closes it when npm catches up. Runs every three hours; the pure
judgement has a self-test, also run in CI.

Claude-Session: https://claude.ai/code/session_019MDtmvPuHDQeZwXtasWfSx

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-13 11:57:45 +01:00
CatoandClaude 253f8bfd2b fix(currency): over the cap, a run bumps the head of the queue instead of nothing (#530)
The internal-package updater refused the whole plan when it was over 30
repositories. On 2026-11-09 the queue reached 32; every run since has
failed with 'Refusing 32 repository updates', nothing was bumped for four
days, and the queue could only grow. Eight apps were still on an ai-kit
with Google in the free chain on 2026-11-13, a day after the fix was
published, and were bumped by hand.

capPlan takes the first MAX_PRS of the canary-first plan and names what
waits for the next run. One run still never opens more than the cap.


Claude-Session: https://claude.ai/code/session_019MDtmtUQb9BM11ycpApwGq

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-13 11:02:21 +01:00
CatoandClaude b4d818bd48 fix(rollout-gate): measure a canary at the commit it has live, not its branch tip (#529)
The gate asks whether a canary runs a package version and passed its checks.
It measured the canary's branch tip and required that exact commit to be
deployed. OrangeCat's live receipt names its workspace packages by commit
tarball, so it matched only while the tip itself was live; its main moves
every few minutes against a fifteen-minute deploy, so the window rarely
opened, and anything canaried there (paykit, writingkit) was held: paykit
0.3.0 held bitbaum/loki#1652 through every sweep of 2026-11-12/13 while
OrangeCat ran it.

deployedCanaryCommit picks the commit of the newest successful deploy run;
the receipt must still match it (commit, lockfile hash, artifacts) and its
checks must be green. With no successful deploy on record the tip is
measured, as before. The four copies of the canary read are one function.

Run against bitbaum/loki#1652 on live data: before, exit 1 (receipt does
not match); after, exit 0.


Claude-Session: https://claude.ai/code/session_019MDtmtUQb9BM11ycpApwGq

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-13 06:57:37 +01:00
CatoandClaude 46aaba39d2 ci: a commit's runs are read to the last page, so a long-lived tip keeps its CI (#528)
actions/runs?head_sha= answers 100 runs a page, and three scripts read
only the first. A tip that stays the tip collects a sweep dispatch every
quarter hour on the same commit, so after about a day its own CI falls to
page two. On 2026-11-12 kivvi's e64eaec carried 129 runs, its green ci.yml
and browser-smoke.yml at positions 124 and 125, and the package rollout
gate held every @bitbaum/limitkit consumer (solon #569) behind 'wait for
bitbaum/kivvi to deploy this artifact and pass CI/browser checks' on a
canary that had deployed, matched its receipt and passed both.

- runs-for-sha.mjs: everyRunForSha reads every page, newest first, and
  throws past ten pages instead of answering from a cut list.
- The rollout gate, the Git package currency check and the deploy
  freshness audit read through it.
- runs-for-sha.test.mjs: the kivvi shape (127 newer dispatches) counts the
  buried green runs; a run created mid-read neither hides nor invents one.

Checked against live data: the gate on solon #569 exits 1 with the message
above before this change and 0 after it.

Claude-Session: https://claude.ai/code/session_019MDtmup8GiNe1XJoj1caTC

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-12 18:32:36 +01:00
Cato acd8667663 feat(experience-audit): mutedChats, a chat with attachments or voice off needs a reason on the line (#523)
Claude-Session: https://claude.ai/code/session_019MDtmvGASoUtc3fejF7Lsy
2026-11-11 14:44:45 +01:00
CatoandClaude 10532a3d64 fix(ci): composition audit accepts a migrating package under its old or scoped name (#518)
A repo renamed to @bitbaum/bip-kit failed the publishing block because the
baseline still names bip-kit. Accept either spelling while adopters migrate.


Claude-Session: https://claude.ai/code/session_019MDtmvpWNTLxXNfwUHS7MD

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-10 11:46:05 +01:00
Cato a948f81b9b auto-merge sweep: a red base is repaired only by a PR whose CI ran on it (#517)
The red-base carve-out merged any PR green on the failing jobs. With no
up-to-date rule, a PR's checks are from the merge result GitHub computed
when its CI was triggered, often before the commit that turned the base red.
bitbaum/solon on 2026-11-10: #491 turned main red at 10:16 UTC and the sweep
merged seven unrelated PRs onto it as repairs (#493-#497, #500, #501), each
green on a base without #491, while every deploy stayed blocked.

Now the PR's newest CI run must be newer than the base tip's commit; if not,
the sweep refreshes the branch (update-branch, one per sweep) so its checks
run on the red base, and judges it later. A real repair still merges.
New case 14b; 82 pass.
2026-11-10 11:40:49 +01:00
CatoandClaude da961698b6 fix(packages): rename-package edits specifiers and plan entries only; plan status updated (#516)
JSON data, generated and snapshot files and a mirrored site-template are never
rewritten (a first pass broke loki's catalogue tests, bitbaum's site build and
causius's translated copy). Status table brought to 2026-11-10.


Claude-Session: https://claude.ai/code/session_019MDtmvpWNTLxXNfwUHS7MD

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-10 11:36:18 +01:00
Cato 80c2d86ff8 fix(receipts): attest the packages the rollout gate expects (#514)
The receipt producer counted @bitbaum/* and packages.json names as shared;
the gate also counts rollout-policy packages (limitkit, bip-kit, threadkit).
kivvi depends on limitkit and bip-kit, so its live receipt never matched
and every floor raise canaried on kivvi held (petvity#176, vitareba#167)
even after a green deploy. One definition now, exported by the gate.
2026-11-10 09:59:27 +01:00
CatoandClaude Sonnet 5.5 cfb5d6b5a0 fix(packages): rename-package leaves comments and globbed workspaces alone (#511)
* fix(packages): rename-package leaves backticked names in comments alone and adds release-age exclusions only for names it renamed

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019MDtmvpWNTLxXNfwUHS7MD

* fix(packages): rename-package skips a workspace that already globs @bitbaum/*

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019MDtmvpWNTLxXNfwUHS7MD

---------

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-10 09:17:04 +01:00
Cato 5e7c5288f9 fix(rollout): a file:/link: dependency is local source, not an artifact to canary (#510)
ai-forms#62 (publish as @bitbaum/ai-forms) has been held since 2026-11-06:
its example installs the package from file:../.., and the gate demanded a
locked artifact and then a designated canary for that path.
2026-11-10 08:41:31 +01:00
Cato f0a1de3b6d fix(rollout): read big lockfiles raw and keep a canary's evidence across docs-only commits (#508)
Two bugs held every green floor-raise PR in the fleet since 2026-11-06:

- execFileSync's 1 MB default buffer died with ENOBUFS on multi-MB pnpm
  lockfiles (petvity, evig, heidi ...), and the contents API's JSON form
  drops content above 1 MB. The gate now reads files with the raw media type
  and a 256 MB buffer.
- The canary's CI is paths-ignored for Markdown, so a docs-only tip (kivvi's
  AGENTS.md sync, #245) had no ci.yml/browser-smoke.yml run and the gate
  waited forever. It now walks back through docs-only commits (at most 10)
  and takes a missing check from the nearest ancestor where it is green.
2026-11-10 08:06:44 +01:00
CatoandClaude 0b9b94e1f3 feat(packages): rename-package codemod for the @bitbaum scope move, with a self-test (#495)
Dry run by default; renames specifiers and dependency keys only, never prose,
lockfiles or changelogs (docs/package-scope-migration-plan.md, step 3). Status
table records what is published.


Claude-Session: https://claude.ai/code/session_019MDtmvpWNTLxXNfwUHS7MD

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-06 14:04:11 +01:00
Cato 930c176e95 fix(rollout): verify OrangeCat through CD and its served receipt (#490)
* fix(rollout): read OrangeCat CD and served receipt

* fix(rollout): bind workspace receipt artifacts to tracked source

* docs(writing): distinguish lifecycle rollout from shared composer adoption
2026-11-06 10:07:28 +01:00
CatoandClaude Sonnet 5.5 213d3f61b1 docs(experience): the experience belongs to the package, measured and enforced (#487)
* docs(experience): the experience belongs to the package, measured and enforced

The owner, 2026-11-06: every product installs the shared packages and the
screens people touch are still built per app — a text box with no microphone,
a header that is not ours, a comment list that works its own way. For a user
that is the same as no package at all. A non-technical person who says "make me
a website" must get the standard out of the door.

- AGENTS.md: "The experience belongs to the package". Packages ship behaviour
  and the layout skeleton; apps own words, backend and brand (tokens).
  Extending the package is the work, not a detour. A file that must be the
  exception says why on its first line.
- SHARED.md: "The experience standard" — what a person gets, from which
  package, measured per repo on 2026-11-06, how it is enforced.
- templates/agent-rules.md: one bullet, so the rule reaches every repo's
  AGENTS.md by the existing sync PRs and no future session can miss it.
- scripts/ci/experience-audit.mjs (+ tests): counts bare text areas, local
  chrome, composers, comment lists and article editors. package-composition
  runs it; a product whose package-plan.json sets experience.ceiling may not
  exceed it. The app template ships an empty ceiling, so a new product starts
  at zero.
- docs/experience-standard-plan.md: the living plan, status table and how to
  resume, for whoever picks this up next.
- shared-inventory.sh: its comment said UI markup was excluded so apps keep
  their own look; it now says behaviour is measured by the new audit.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019MDtmvpWNTLxXNfwUHS7MD

* docs(agents): regenerate the template rule blocks from templates/agent-rules.md

The audit job compares the three template AGENTS.md copies with the shipped
block; they had not been regenerated after the experience bullet was added.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019MDtmvpWNTLxXNfwUHS7MD

---------

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-06 09:44:55 +01:00
CatoandClaude 35d8dc1a19 feat(auth-parity): the last five apps are on the standard (#466)
aoz-begleitung, botsmann, printcraft, skif and vitareba run AccountKit's
screens with Lightning login on, so each row is now judged against the
standard. aoz-begleitung has no open sign-up (/register claims an invitation
code), so only its sign-in page is compared; skif's Morulia-to-OC fold is no
longer needed. OrangeCat (GoTrue) is the one app outside the standard.


Claude-Session: https://claude.ai/code/session_019MDtmuJhiHPASaR5k8raL9

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-03 03:26:13 +01:00
CatoandClaude cb31c58dab feat(auth-parity): Lightning login is part of the standard (#465)
Every app on AccountKit's screens now serves and shows Lightning login
(LNURL-auth): proven on the canary with a real LUD-04 signature, then
switched on per app. The daily check now fails an app on the standard
that drops it.


Claude-Session: https://claude.ai/code/session_019MDtmuJhiHPASaR5k8raL9

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-03 02:50:59 +01:00
CatoandClaude de546e3433 feat(auth-parity): Lightning login is a column (#464)
AccountKit 0.26.1 adds Lightning login (LNURL-auth), opt-in per app with
ACCOUNTKIT_LIGHTNING. The daily check now reports it: shown on the page
(any language AccountKit ships) and served (the wallet callback answers
LUD-04's own error for a malformed challenge; nothing is minted). Not yet
part of the standard while the floor raises carry 0.26.1+ to every app.


Claude-Session: https://claude.ai/code/session_019MDtmuJhiHPASaR5k8raL9

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-03 01:47:32 +01:00
CatoandClaude 03999d4012 chore(fonts): the Google Fonts baseline is empty (#463)
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>
2026-11-03 01:32:43 +01:00
CatoandClaude e37b401610 chore(google-fonts): sbb-fundbuero no longer reaches Google (#458)
sbb-fundbuero#116 removed the layout's two preconnects to Google Fonts;
nothing there loaded a font from Google. One line left: aoz-begleitung.


Claude-Session: https://claude.ai/code/session_019MDtmuJhiHPASaR5k8raL9

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-03 00:19:29 +01:00
CatoandClaude e03f4b1324 chore(google-fonts): the ratchet falls to two (#453)
camille-boulangerie#51, farmaciadelparco#12, s-ink#55, truthseeker#74 and
Xhiva#23 merged, so their seven files no longer load from Google and
their baseline lines would now fail the audit as stale. Left: aoz-begleitung
and sbb-fundbuero.


Claude-Session: https://claude.ai/code/session_019MDtmuJhiHPASaR5k8raL9

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-02 23:22:06 +01:00
CatoandClaude 6c7016af7c feat(ci): no repo loads fonts from Google; content sites get browser evidence (#452)
Google Fonts audit (scripts/ci/google-fonts-audit.sh, daily in
google-fonts.yml, tested in CI): every repo's shared branch is swept for
an import of next/font/google or a fonts.googleapis.com /
fonts.gstatic.com URL in code. Comments, tests, markdown, vendoring tools
and fonts/faces.json are not judged. google-fonts.baseline lists what is
left, with where each move to @bitbaum/design-tokens stands; it may fall
or hold, never rise. One central check instead of a test copied into
every app (kivvi and vitareba each wrote their own).

Static browser smoke (.github/workflows/static-browser-smoke.yml +
scripts/test/static-browser-smoke.mjs): a content site with no accounts
or database calls it from its browser-smoke.yml, the workflow the
package rollout gate requires of a consumer. It builds, serves the
production build, draws each path at 320/390/1280px, fails on an error
status or any Google Fonts request, warns on overflow and keeps the
screenshots. Playwright is installed pinned in the runner, not in the
site's lockfile.


Claude-Session: https://claude.ai/code/session_019MDtmuJhiHPASaR5k8raL9

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-02 23:13:55 +01:00
CatoandClaude ec3c72235f feat(composition): a block may bind through the package that wraps it (#451)
Account mail is mail-kit reached through AccountKit's createAuthMailer, the
way most apps send it. The audit asked the binding file to import
@bitbaum/mail-kit itself, so an app that dropped its hand-rolled mailer for
the shared one (biaslens#172) failed the check for using the package. A
binding may now name `via`: the wrapping package, which must be installed
and imported there.


Claude-Session: https://claude.ai/code/session_019MDtmuJhiHPASaR5k8raL9

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-02 22:59:47 +01:00
CatoandClaude b0e18574f8 test(auth): the shared journey's sign-in issuer publishes its providers (#448)
AccountKit 0.24 (accountkit#64) names on the shared sign-in's button exactly
the providers the service publishes at <issuer>/api/providers, and hides the
button while that list is empty. The journey's fixture issuer published
nothing, so on 0.24 the button was hidden and the oidc scenario waited for the
old fixed label "Continue with Google, GitHub or Facebook" until it timed out:
BiasLens's canary PR for 0.24.1 failed there (biaslens#173).

The fixture now publishes Google and GitHub. The expected label comes from the
consumer's own signinButtonLabel, or its withSignin before 0.24, and the page
is loaded again until the list read in the background has arrived. Run locally
against BiasLens on 0.24.1: the oidc scenario passes.


Claude-Session: https://claude.ai/code/session_019MDtmuJhiHPASaR5k8raL9

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-02 22:23:03 +01:00
CatoandClaude 18f5a8c635 feat(auth-parity): hold the apps on AccountKit's screens to one standard (#444)
The daily check only failed on a method that was configured but not shown.
Fourteen apps now run AccountKit's own screens, and the owner asked that they
be uniform; nothing caught one that drifted.

- `standard: true` (the fourteen, and keller): every method but Morulia's is
  on, drawn in AccountKit's order (OrangeCat, passkey, sign-in link,
  recovery), and the links between sign-in and sign-up say AccountKit's own
  words, read from the published package the workflow installs.
- `served: false`: keller, which has accounts but is not served (keller#9),
  is listed and not probed.
- `ownProviders`: Loki's own GitHub sign-in is not counted as Morulia's
  button.
- datacat and reparaturbonus-zh run AccountKit directly now, so their 2FA is
  asked of the server.


Claude-Session: https://claude.ai/code/session_019MDtmuJhiHPASaR5k8raL9

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-02 21:47:22 +01:00
CatoandClaude e19b6edbfd feat(auth): a daily live check of every sign-in method, and the full inventory (#429)
The owner's rule (2026-11-01): every app offers every sign-in method on every
auth page: email + password, the sign-in link, passkey, 2FA, recovery,
OrangeCat, and Google/Apple/GitHub/X/Facebook through Morulia.

- docs/auth-parity-2026-11-01.md: every non-archived bitbaum repo with a
  sign-in page (20, up from 16), its runtime, what its live page shows, and
  whether it is an OrangeCat and a Morulia client; the repos with none; what
  each app still lacks; how the morulia, loki and orangecat PRs of the same
  day register the rest.
- scripts/ci/auth-parity.mjs + auth-parity.yml: daily, Chromium at 390px plus
  the server's own answers. Fails on configured-but-missing and shown-but-
  broken (an IdP refusing the authorize leg, a recovery link that does not
  load, a button whose provider is not mounted); not-configured-yet is
  reported only. Read-only: no account, no credential, no mail.
- auth-parity.test.mjs pins the verdicts; ci.yml runs it.

Today's run: one failure, hirnli serves passkeys its page does not offer.


Claude-Session: https://claude.ai/code/session_019MDtmuJhiHPASaR5k8raL9

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-01 21:46:47 +01:00
CatoandClaude Opus 5.5 3c4ad8ab90 test(auth): the shared journey proves the OrangeCat and shared sign-in buttons (#428)
* test(auth): the shared journey proves the OrangeCat and shared sign-in buttons

The shared account journey covered password, recovery, passkeys, the second
factor and the sign-in link, but no OIDC leg (auth-parity 2026-10-30, finding
12). An app could lose "Continue with OrangeCat" or the shared sign-in
(the Morulia button) and every journey stayed green.

A new `oidc` scenario, run by shared-auth-journey.yml after the others:

- starts the app with ORANGECAT_OAUTH_* and SIGNIN_* pointing at two test
  issuers served by the journey itself (discovery and an authorize endpoint
  that only records the arrival; no token is issued);
- asserts both buttons on the sign-in and sign-up pages, with the app's own
  localised labels;
- clicks each one and asserts that the browser reaches that button's own
  issuer with its client id, a code flow, PKCE S256 and a callback on this
  app.

Every product on the shared journey (biaslens, causius, diplodoctor, heidi,
solon) runs it unchanged. Checked locally against a biaslens production build
and Postgres: oidc and recovery pass.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019MDtmuJhiHPASaR5k8raL9

* style: format the oidc scenario

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019MDtmuJhiHPASaR5k8raL9

---------

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-01 21:39:15 +01:00
CatoandClaude 7171e60328 feat(repos): keep each declared repo's description and homepage (#414)
A rename keeps the old description, and bitbaum/morulia still pointed at
signin.orangecat.ch; an agent session may not write repo settings. App
repos now sets each declared repo's description and optional https
`homepage` from the register on every run (only those two fields, best
effort). morulia declares https://morulia.orangecat.ch. The register
also notes that the old name of a renamed repo redirects to it, which
retiring tools must allow for (loki#1504).


Claude-Session: https://claude.ai/code/session_019MDtmtfd1xjdH3XtnyNjXr

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-01 10:14:31 +01:00
CatoandClaude Opus 5.5 2b29d8bf7a feat(repos): declared renames; bitbaum/signin becomes bitbaum/morulia (#413)
* 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>
2026-11-01 09:53:47 +01:00
CatoandClaude a74122abb4 fix(rollout-gate): measure a pull request from its merge base (#391)
The gate read a PR's dependency change as depsAt(pr.base.sha) ->
depsAt(pr.head.sha). pr.base.sha is the base branch as GitHub last
recorded it, not where the branch forked. A branch that forked before the
base bumped a shared package therefore read as reverting the bump, even
when the PR touches no manifest or lockfile.

bitbaum/diplodoctor#59 (tests, a script, a workflow, .env.example) forked
at aebf711, which locks @bitbaum/chatkit 0.21.2. #58 then moved main to
0.21.3, and pr.base.sha is 8965fa3 (#58). The gate saw 0.21.3 -> 0.21.2
and held #59 until a canary deployed 0.21.2 (sweep run 41157383295:
"@bitbaum/chatkit@0.21.2: wait for bitbaum/kivvi to deploy this
artifact"). Both canaries already run 0.21.3 with green CI, browser smoke
and deploy, so that could never happen. The sweep runs the gate before it
refreshes a behind branch, so the update that would have cleared it was
never reached either.

The baseline is now the merge base from the compare API: the parent of
exactly the diff a squash merge lands. An unreadable merge base throws,
which holds the PR like any other missing evidence. Nothing about what the
gate requires of a real dependency change is relaxed.


Claude-Session: https://claude.ai/code/session_019MDtmuJhiHPASaR5k8raL9

Co-authored-by: Claude <noreply@anthropic.com>
2026-10-31 05:24:27 +01:00
CatoandClaude 3e9832d3a9 fix(repos): a new app repo starts with the auto-merge caller on main (#384)
The sweep runs from the default branch, so an app repo created empty has
no auto-merge.yml on main and never merges a PR: bitbaum/signin #1 sat
green and clean for 50 minutes until its author pushed the caller to
main by hand.

create-app-repos.mjs now commits templates/app-repo to main right after
creating the repo. That folder holds one file, the fleet auto-merge
caller with no deploy settings, since a new repo deploys nothing. No
placeholder CI is seeded: a CI that tests nothing would make green mean
nothing, so the register says the first PR must add ci.yml. Tests pin
the seed list, that the caller calls the fleet sweep and names no deploy
workflow, and the contents-API call.


Claude-Session: https://claude.ai/code/session_019MDtmtfd1xjdH3XtnyNjXr

Co-authored-by: Claude <noreply@anthropic.com>
2026-10-30 22:56:26 +01:00
CatoandClaude Opus 5.5 0ce7fac79e fix(repos): the existence probe captures gh's stderr, where the 404 is (#380)
* fix(repos): the existence probe captures gh's stderr, where the 404 is

repoExists ran `gh api repos/bitbaum/<name>` with stderr inherited, so
error.stderr was empty and the 404 that means "missing" never reached
the check: every missing repo read as "could not determine whether it
exists" and the run failed closed. Package repos never hit it because
every declared one already existed; App repos hit it on its first run
(bitbaum/signin, run 41126518242: "gh: Not Found (HTTP 404)" in the log,
then the error).

The probe now asks for stderr to be piped, and a test pins that.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019MDtmtfd1xjdH3XtnyNjXr

* fix(repos): App repos re-runs when the shared probe it imports changes

create-app-repos.mjs imports repoExists and toCreate from
scripts/packages/create-package-repos.mjs, so a fix there (this PR's)
must re-run App repos too.

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>
2026-10-30 21:56:18 +01:00
CatoandClaude 5896cda44c feat(repos): app and service repos come from a declaration (#379)
An agent session's GitHub integration may not create org repos (403 on
POST /orgs/bitbaum/repos), so bitbaum/signin waited on an owner's click.
package-repos.yml already solves this for packages with FLEET_PAT; this
does the same for apps and services:

- registers/app-repos.json declares the repos that must exist
- scripts/repos/create-app-repos.mjs creates each missing one empty,
  with its stated visibility, and enables the merge settings the sweep
  relies on; existing repos are never touched
- app-repos.yml runs it on a change to the register and daily
- a no-network self-test, run in CI, covers the refusals

Declares bitbaum/signin (public), so merging this creates it.


Claude-Session: https://claude.ai/code/session_019MDtmtfd1xjdH3XtnyNjXr

Co-authored-by: Claude <noreply@anthropic.com>
2026-10-30 21:51:28 +01:00
CatoandClaude e6e1b87751 docs(remediation): auth migrations shipped; agent-file baseline empty (#370)
Every baselined agent-file finding is fixed on main (evig, kivvi, petvity,
surf-your-life, substrata merged this afternoon), so the baseline is empty.


Claude-Session: https://claude.ai/code/session_019MDtmuJhiHPASaR5k8raL9

Co-authored-by: Claude <noreply@anthropic.com>
2026-10-29 13:47:24 +01:00
CatoandClaude 5dc0be8081 chore(agent-files): drop four findings now fixed on main (#368)
biaslens #124, loki #1465, orangecat #1472 and vitareba #135 merged:
each CLAUDE.md is now the pointer to AGENTS.md.


Claude-Session: https://claude.ai/code/session_019MDtmuJhiHPASaR5k8raL9

Co-authored-by: Claude <noreply@anthropic.com>
2026-10-29 11:51:06 +01:00
Cato c2868a59a0 fix(release): handle ignored tracked and absent build output safely (#348) 2026-10-29 01:35:54 +01:00
Cato 2b0c40d87b fix(currency): schedule representative updates before consumers (#347) 2026-10-29 01:05:04 +01:00
Cato 49ff6b6572 fix(currency): preserve consumer repair commits on open PRs (#338) 2026-10-28 13:25:58 +01:00
Cato 06de7c23e6 fix(packages): accept Loki combined CI as consumer proof (#336)
* fix(packages): accept Loki combined CI as consumer proof

* test(packages): model Loki combined check evidence
2026-10-28 11:56:54 +01:00
Cato d43b6bb61b test(auth): follow AccountKit single-field password reset (#329) 2026-10-28 10:49:49 +01:00
Cato a8e3ad4350 fix(publish): wait for registry read-back before releasing the publish lock (#326) 2026-10-28 08:07:57 +01:00