Neil
c856b945f1
feat(cloud): ENTITLEMENTS-B2 metadata.orca_plan on Stripe prices is the catalog join key
...
Neil's Q1 answer: a plan id on the Stripe Price/Product maps to the repo catalog's entitlements.
seatPriceMatch reads price.metadata.orca_plan (after env ids and price history, before lookup key
and product); the catalog sync logs a lookup-key/tag mismatch; stripe-test-setup tags every price.
2026-11-12 01:44:10 -08:00
Neil
fe2db1b352
Merge pull request #507 from nwparker/cloud/entitlements-b
...
feat(cloud): ENTITLEMENTS-B Stripe lifecycle for grants, reconciliation, GET /v1/plans and GET /v1/entitlements (fixes the planForPrice orphaning bug)
2026-11-12 01:44:05 -08:00
Neil
93184dbdcc
Merge pull request #512 from nwparker/punchlist/ja21b-progressive-billing
...
feat(cloud): progressive billing (JA-21), with no billing hints in the composer and a blocker on the creating sheet
2026-11-12 01:42:40 -08:00
Neil
2fa19a0b7d
Merge pull request #482 from nwparker/cloud/n02-reland
...
fix(cloud): N-02 cloud panes keep a local terminal's 5000 rows across reopen and sleep
2026-11-12 01:42:17 -08:00
Neil
c2f5b1fbb7
Merge remote-tracking branch 'private/cloud/integration' into cloud/n02-reland
...
# Conflicts:
# cloud/apps/sandbox-control/image/vm-scripts.generated.ts
2026-11-12 01:25:37 -08:00
Neil
4b7456cada
Merge pull request #520 from nwparker/cloud/w6-bind-identity
...
fix(cloud): binding the GitHub App through OAuth also connects the binder's GitHub identity (commits as you)
2026-11-12 01:25:14 -08:00
Neil
930d9f3acf
Merge pull request #519 from nwparker/cloud/w6-token-paste
...
fix(cloud): setup-token paste fallback matches the paste-code strip (design-squad)
2026-11-12 01:16:24 -08:00
Neil
ec96b185d8
test(cloud): install redirect with an OAuth code (request-auth-on-install) stores the identity
2026-11-12 01:03:41 -08:00
Neil
380b6056ea
Merge pull request #506 from nwparker/cloud/reland-485
...
fix(cloud): re-land #485 zsh history hook (REG-11 was a test artifact)
2026-11-12 01:03:39 -08:00
Neil
cdb5f57625
fix(cloud): binding the GitHub App through OAuth also connects the binder's GitHub identity (commits as you)
2026-11-12 00:59:44 -08:00
Neil
ec99d02d1c
Merge pull request #504 from nwparker/cloud/entitlements
...
feat(cloud): ENTITLEMENTS-A plans catalog, entitlement grants and resolver (billing, shadow on dev)
2026-11-12 00:50:48 -08:00
Neil
06dd9adeca
fix(cloud): JA-21 blocker reads billing's default cap (ENTITLEMENTS-C): Turn on overage without a guessed $25; cap suggestion adds billing's default
2026-11-12 00:42:23 -08:00
Neil
778b21dfdb
refactor(cloud): hoist the sheet title so VmBuildSheet stays within the line limit
2026-11-12 00:34:24 -08:00
Neil
424e53d1eb
fix(cloud): JA-21 blocked sheet keeps a neutral cloud icon by its title; the card's triangle carries the warning (design-squad)
2026-11-12 00:34:24 -08:00
Neil
94c70c4960
fix(cloud): billingBlockKind without a non-exhaustive switch
2026-11-12 00:34:24 -08:00
Neil
296d198b89
refactor(cloud): JA-21 blocker owns Compare plans; billingBlockKind keeps VmBuildSheet under the line limit
2026-11-12 00:34:24 -08:00
Neil
05b7441731
feat(cloud): JA-21 the create's first step says Checking your plan… until the server takes it; Run on fixtures show the progressive row; continuing fixture
2026-11-12 00:34:24 -08:00
Neil
ebecd11dc8
feat(cloud): progressive billing (JA-21, Neil) — no plan/hours/payment warnings or blocks in the composer; Create goes on and the creating sheet shows a blocker card (Turn on overage / raise cap / Compare plans / Update payment, member: ask an owner or admin), continuing the create after an in-app fix
2026-11-12 00:34:23 -08:00
Neil
9ff3eda40a
fix(cloud): inline-code segments keyed by text offset (react-doctor)
2026-11-12 00:34:16 -08:00
Neil
2691accd1d
Merge pull request #518 from nwparker/punchlist/account-billing-label
...
fix(settings): "Account & billing", and just "Account" with no billing (Neil)
2026-11-12 00:33:24 -08:00
Neil
f8beff3dc5
Merge remote-tracking branch 'private/cloud/integration' into cloud/reland-485
...
# Conflicts:
# cloud/apps/sandbox-control/image/vm-scripts.generated.ts
2026-11-12 00:31:18 -08:00
Neil
264b403a25
Merge pull request #513 from nwparker/cloud/entitlements-c
...
fix(cloud): ENTITLEMENTS-C desktop and mobile read plan numbers from billing, never guess them (trial concurrency fix)
2026-11-12 00:31:15 -08:00
Neil
8fd67bbd3d
Merge remote-tracking branch 'private/cloud/integration' into cloud/n02-reland
...
# Conflicts:
# cloud/apps/sandbox-control/image/vm-scripts.generated.ts
2026-11-12 00:31:11 -08:00
Neil
3dbb36aa21
feat(cloud): ENTITLEMENTS-B Stripe lifecycle for grants, reconciliation, GET /v1/plans and GET /v1/entitlements
...
- planForPrice fix: seat prices map through the configured ids, the price history (plan_prices),
the plan's lookup key, or the plan's Stripe product; a known subscriber on an unmappable price
still gets status/period/cancel applied, so a price change can never leave a canceled
subscriber with access (test: lifecycle.test.ts, all modes)
- catalog prices synced from Stripe by lookup key (cron + price.*/product.* webhooks); every seat
price a subscription is on is kept as history; Checkout sells the lookup-key holder when on and
refuses (409 plan_unavailable) rather than guess a price
- webhook: one processStripeEvent for webhooks and replay; customer.deleted revokes; the mirror
upsert ignores older Stripe reads
- reconcile.ts (cron): Stripe event replay from a cursor, rolling re-sync of stale subscriptions
(404 = canceled), catalog price refresh; grant backfill after it
- GET /v1/plans (public, ETag/304, prices only from Stripe, entitlements, features, policy) and
GET /v1/entitlements (effective values, access, grants); legacy offers built from the catalog
when on (identical for the launch catalog, plus warnAtPercent)
- seats and overage read the price history and plan policy (seat bounds, true-down window)
2026-11-12 00:30:39 -08:00
Neil
2d0a817de8
fix(cloud): ENTITLEMENTS-A billing vitest projects inherit the collected include (test-file-runners check)
2026-11-12 00:30:35 -08:00
Neil
b1bc7d6d76
fix(cloud): the setup-token paste fallback matches the paste-code strip: Paste a Claude token, inline command, Paste token placeholder, Finish setup, Token didn't work on refusal (design-squad)
2026-11-12 00:17:15 -08:00
Neil
d8e081c93f
Merge pull request #517 from nwparker/fix/acceptance-vercel-token
...
fix(acceptance): Vercel token only from tok.json, no personal CLI fallback
2026-11-12 00:15:18 -08:00
Neil
a77c5a25e9
Merge pull request #515 from nwparker/cloud/w6-strip-wrap
...
fix(cloud): every cloud agent strip state wraps; one title at every width (design-squad P2)
2026-11-12 00:13:22 -08:00
Neil
6a718894ed
fix(cloud): ENTITLEMENTS-C glossary allowlist follows the moved VM strings
2026-11-12 00:10:04 -08:00
Neil
cfbcf5409a
fix(acceptance): read the Vercel token only from tok.json (token, then bearerToken); drop the personal Vercel CLI auth.json fallback
2026-11-12 00:07:17 -08:00
Neil
ef194fbf8f
Merge pull request #514 from nwparker/lc2/reg12-cloud-delete-kept
...
fix(cloud): REG-12 a cloud delete destroys the sandbox or fails visibly with Try again (never "Deleted" while kept)
2026-11-12 00:06:32 -08:00
Neil
d5ee74e7e9
fix(cloud): REG-12 Orca Cloud refuses before touching anything, so "nothing was deleted" is true; design-squad's copy (Couldn't delete {{name}}, three bodies, Try again)
2026-11-11 23:26:36 -08:00
Neil
6ef36198c5
fix(cloud): REG-12 an Orca Cloud delete destroys the sandbox or fails visibly with Try again; never "Deleted" while the sandbox is kept
2026-11-11 23:18:37 -08:00
Neil
41d189d02e
fix(cloud): ENTITLEMENTS-C per design-squad: trial limit title, alert levels without a serial comma
2026-11-11 23:11:26 -08:00
Neil
347444e0e9
Merge pull request #511 from nwparker/cloud/w6-resume-stuck
...
fix(cloud): RESUME-STUCK a resume whose client quits mid-wake no longer leaves the workspace stuck resuming
2026-11-11 23:08:07 -08:00
Neil
0e2f217d0c
Merge pull request #510 from nwparker/cloud/cloud-ready-toast-copy
...
fix(cloud): cloud create ready toast uses 'Workspace' (glossary)
2026-11-11 23:04:56 -08:00
Neil
811cc88f8c
fix(cloud): ENTITLEMENTS-C desktop and mobile read plan numbers from billing, never guess them
...
- trial concurrency: read billing's limits; the trial says 'Your trial can run 1 sandbox at once',
never Team's '3 per seat'; predictive wake uses the per-member cap
- spend cap: no $25 fallback (no offers -> 'Turn on overage', billing applies its default)
- plan summary: no '$0 per seat' when the price is unknown
- usage alerts: levels from billing (offers.team.warnAtPercent), generic copy without them;
notifier alerts at billing's levels; ORCA_USAGE_ALERT_LEVELS removed
- idle sleep fallback uses the shared constant; mobile drops '(3 per seat)'
- an unknown plan id from a newer service stays a plan
2026-11-11 22:58:03 -08:00
Neil
1c3f123974
Merge pull request #503 from nwparker/cloud/w6-terminal-identity
...
feat(cloud): plain cloud terminals commit and push as the typist; fallback email on orca.dev
2026-11-11 22:57:20 -08:00
Neil
60c0565147
fix(cloud): RESUME-STUCK a resume whose client quits mid-wake no longer leaves the workspace stuck resuming
2026-11-11 22:42:54 -08:00
Neil
aefc6cb943
fix(cloud): a cloud create's ready toast says Workspace … is ready / Go to workspace (glossary)
2026-11-11 22:42:45 -08:00
Neil
4908f0bfab
copy(settings): account-only subtitle per design-squad
2026-11-11 22:28:06 -08:00
Neil
10d2efd502
fix(settings): Account & billing label (Neil); just "Account" when there's no billing to show ( #487 follow-up)
2026-11-11 22:26:42 -08:00
Neil
a44f0c39fd
Merge remote-tracking branch 'private/cloud/integration' into cloud/w6-terminal-identity
...
# Conflicts:
# cloud/apps/sandbox-control/image/vm-scripts.generated.ts
2026-11-11 22:21:55 -08:00
Neil
d6b132e62b
fix(cloud): every cloud agent strip state wraps instead of truncating; one title at every width (design-squad P2)
2026-11-11 22:21:33 -08:00
Neil
01f07e8338
feat(settings): Orca Cloud above Hosts on Agent accounts; CLI steps behind a disclosure (JA-04) ( #501 )
...
* feat(settings): Orca Cloud above Hosts on Agent accounts; CLI steps behind 'Use from the command line' (JA-04 A1)
* fix(settings): CLI disclosure spacing on a plain wrapper; refresh protected-copy keys
2026-11-11 22:19:40 -08:00
Neil
e28c042de2
Revert "Merge pull request #502 from nwparker/cloud/revert-485"
...
This reverts commit 0d53168422 , reversing
changes made to e81a96e7ad .
2026-11-11 22:18:34 -08:00
Neil
4ec3b71798
fix(cloud): ENTITLEMENTS-A seat bounds stay plan policy (drop the duplicate max_seats entitlement)
2026-11-11 22:14:49 -08:00
Neil
90b37e0464
Merge pull request #505 from nwparker/cloud/cloud-status-glyph
...
feat(cloud): cloud status icon — state in the whole cloud, no dot (Neil's pick: option A, Archived from B)
2026-11-11 22:13:09 -08:00
Neil
ec8cfe5dac
feat(cloud): ENTITLEMENTS-A plans catalog, entitlement grants and resolver in billing D1 (shadow on dev)
...
- migration 0008: plans, immutable plan_versions, plan_prices (Stripe mirror), entitlement_grants,
entitlement_audit, entitlement_shadow_diffs, stripe_sync_state; subscriptions.seat_price_id
- catalog/catalog.json (catalog-as-code: Team, Enterprise, Trial; no prices) + scripts/catalog-apply.ts
- typed entitlement registry (entitlement-keys.ts) with sum/max/union/or aggregation
- grants.ts: idempotent projection of each subscription (Stripe mirror) and trial into grants,
hold/release/revoke, out-of-order guard, terminal revocation, audit; manual/promo grants
- entitlements.ts: one builder fed by legacy terms or grant terms; ENTITLEMENTS_MODE off|shadow|on;
shadow records every disagreement; lazy re-projection; cron backfill
- trial hours come from the catalog's trial plan when on (granted trials keep their hours)
- the whole suite runs in legacy, shadow (zero diffs enforced) and on modes
2026-11-11 22:11:18 -08:00
Neil
0d53168422
Merge pull request #502 from nwparker/cloud/revert-485
...
revert(cloud): #485 zsh history hook (REG-11 suspect)
2026-11-11 22:05:29 -08:00