The owner's rule (2026-11-01): every fleet app offers every sign-in method,
"Continue with OrangeCat" included. Ten apps with a sign-in page had no
client: aoz-begleitung, biaslens, botsmann, diplodoctor, hirnli (on both
hosts), keller, kivvi, printcraft, reparaturbonus-zh and vitareba (vita and
vitareba hosts). They are now in client-specs.ts, identity-only.
Creating a client used to mean running register-client.ts on the box and
copying the printed secret by hand. Now the deploy's client SQL also creates a
missing row, switched off and with no secret: inert twice over (getClient
reads only enabled rows; verifyClientSecret rejects a null hash). loki
app-secrets.sh (kind oc-client, bitbaum/loki#1533) then writes the secret
into the app's env and its sha256 into the row, and switches it on, printing
neither. register-client.ts now mints a secret for such a row instead of
re-enabling it secretless.
Claude-Session: https://claude.ai/code/session_019MDtmuJhiHPASaR5k8raL9
Co-authored-by: Claude <noreply@anthropic.com>
* feat(oauth): an app may list a service in your name; the fee of a builder booked through Loki
Track 3 of Loki's docs/master-plan-2026-10.md, the OrangeCat half: a builder
booked on someone's project is paid through a service in the builder's own
name, listed by Loki with the builder's token, paid to the builder's wallet.
- `service.write` scope, sensitive, on the consent screen like timeline.write.
Loki's ceiling carries it; every other client stays identity-only.
- CLIENT_SPECS moves to scripts/oauth/client-specs.ts (pure) so two readers
share it: register-client.ts by hand, and the deploy, which now refreshes the
scope ceiling of every REGISTERED client right after the migrations
(client-scopes-sql.ts → box psql). It creates nothing: a missing client is
still registered by hand, where its secret is printed once. A scope widened
in the code used to reach the live sign-in only when someone re-ran the
registration on the box.
- createService honours a validated `active` status (a fee Loki lists has
nobody to press Publish); paused/unavailable still cannot be created.
- The settled-payment signal to Loki fires for a service bought outright, not
only for project funding, so the booking is marked paid from the payment.
- product, service, cause and document creates carry the resolved actor
(withResolvedActor): a type argument on createEntity<Row>( had hidden these
four from the check that pins the carrier; the check now sees past it.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NZqZujmXpupVDC1Hi5Jbsx
* fix(ci): align the playwright CLI with @playwright/test so the browser install matches
#1362 bumped @playwright/test to 1.64.1 and left `playwright` at 1.62.1, so
`pnpm exec playwright install chromium` fetched 1.62.1's browser while the
test runner looked for 1.64.1's headless shell (1248): build-and-smoke has
been red on main since, and on every PR. One package, one version.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NZqZujmXpupVDC1Hi5Jbsx
---------
Co-authored-by: Claude <noreply@anthropic.com>