connor / loot

connor/loot

Changes touching this path

  • loot plan upgrade prints the hosted checkout address where an account pays for Pro, and the forge app reads the plan back from Stripe once it holds a key (ADR 0118 decision 8): POST /api/billing/checkout, for a session or a live key signed request, finds the price by its lookup key and mints a subscription Checkout Session that names the account as its client reference and in the subscription metadata; it answers billing_unavailable until a restricted key is in the site credentials file and already_subscribed for an account with a plan in effect, both coded under --json; with the key the billing webhook takes a Stripe-signed event, reads only its customer and mirrors that customer subscriptions per account they name, and the hourly pass lists every subscription and clears a mirrored account none names, while without it Clerk stays the reader as today; the site speaks the REST API with fetch and no Stripe package; run against stripe-mock with the site server, a throwaway Postgres and a keyed account; the signature test went red with the check off (7 passed, 1 failed); cargo test -p loot-cli -p loot-net -p loot-codec passed, the site gate 421 passed and the site live suites 105 passed against Postgres 18 (xkryvvpx) c9878d86 · dbf3dbe6…

Renames are not followed. loot's tree maps a path to an address, so a rename is a delete and an add. This list is the history of the name, not of the bytes.