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.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019MDtmvpWNTLxXNfwUHS7MD
* 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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
* 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>
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>
* 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>
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>
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>
* 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>
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>
* feat(agents): one org-rules block in every repo's AGENTS.md, generated here, with an audit that fails a repo that starts without it
Problem: the org rules were restated by hand in CLAUDE.md essays (aoz-begleitung 1,850 lines), AGENTS.md intros and three differently worded starter templates; the starter said accounts are the app's own above a rule saying accountkit owns them. Nothing checked any of it, and 18 agent files import a personal ~/.claude file.
Change: templates/agent-rules.md is the only place the rules are written. sync-agent-rules.mjs opens one pull request per code repo putting it between fleet:rules markers (and a CLAUDE.md pointer where there is no CLAUDE.md; an existing CLAUDE.md is never rewritten). agent-files-audit.mjs fails on a finding not in agent-files.baseline; a baselined finding that has been fixed, or a block that is merely out of date, never fails it (the org-drift ratchet went red twice on 26 Oct because a file in another repo improved). All three templates carry the block and a test pins that. Own workflow, so a finding in another repo cannot hold this repo's merges.
Validation: 27 + 4 + 3 self-tests pass; the audit read 46 repositories and found 77 findings, all baselined; docs-truth-audit reports the same result on solon, petvity, aoz-begleitung and skif with and without the block.
* fix(agents): blank lines around the markers so prettier-checked repos accept the block
* fix(rollout): verify browser jobs inside combined consumer CI
* refactor(rollout): keep existing formatting outside new evidence checks
* style(policy): keep the existing register layout
* test(rollout): model exact GitHub run identities in CLI fixtures
The shared-package rollout gate clears when a canary deploys and passes its checks, but nothing woke the held PR's sweep: it waited for the next CI completion in its own repo or for a per-repo hourly cron GitHub does not honour. sweep-wake.mjs dispatches each repo's own auto-merge.yml where a green dependency PR is open; sweep-wake.yml is the reusable entry for canaries and deploy-reconciler.yml runs it on the box timer tick.