mirror of
https://github.com/bitbaum/orangecat.git
synced 2026-12-06 01:47:07 +01:00
* 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>