Commit Graph
21017 Commits
Author SHA1 Message Date
Neil e506a7bca7 Merge pull request #167 from nwparker/cloud/w5-cli-worktree-on
feat(cli): orca worktree create --on cloud (private build) with --env, JSON output and clear plan/at-cap/sign-in errors
2026-11-09 21:13:22 -08:00
Neil 84d68eb0c8 test(cli): no casts in the --on cloud dispatch tests 2026-11-09 21:11:02 -08:00
Neil 70e9b2a6c4 feat(cli): orca worktree create --on cloud[:<project>] [--env] creates an Orca Cloud workspace (private build); clear plan/at-cap/payment/sign-in errors; API accepts a team environment 2026-11-09 21:08:55 -08:00
Neil f2386f9a37 feat(sandbox-control): dev-only SANDBOX_DEV_BILLING_ENFORCE_PREFIX sends one dev account prefix through the real billing gate (#166)
dev:* accounts skip billing on dev, so W9 could not test the gate (no plan refused, active allowed,
grace expiry suspends, at-cap refused) with dev tokens. Dev accounts under the configured prefix now go
to the billing Worker. Honored only when SANDBOX_ENV is exactly 'dev' and only for a specific
sub-prefix (dev:<word>- or dev:<word>:), never all dev accounts; tests cover prod/staging/test being
ignored and over-broad prefixes being rejected. Dev sets dev:billing-test-.
2026-11-09 21:07:28 -08:00
Neil 880db219e4 Merge pull request #165 from nwparker/cloud/w9-eval
feat(cloud): acceptance closes remaining partial rows (idle sleep, sign-in persistence, wake-on-message, routines, search, usage, dunning, auto-resume)
2026-11-09 21:04:29 -08:00
Neil f04525d7db feat(cloud): acceptance closes idle sleep, agent sign-in persistence, wake-on-message, scheduled routines, file search, usage metering, overage cap and full dunning; web client post-MVP 2026-11-09 21:03:10 -08:00
Neil c77ab2b16c feat(cloud): desktop keystroke n=W9D_KEY_SAMPLES with p99/outlier timeline; life.auto-resume desktop check
- W9D_KEY_SAMPLES (default 10): stats gain p99; each sample records time since the workspace's
  first terminal output and wall clock, plus a histogram and the outliers
- life.auto-resume (W9D_AUTO_RESUME=1, W9D_ONLY=auto-resume): personal AI Gateway secrets for the
  dev user (kimi-k2, never logged, deleted after), Claude runs a 40 s loop, status panel Restart,
  Orca must send continue once and the turn must finish; mapped to catalog life.auto-resume
2026-11-09 21:03:10 -08:00
Neil bb0b628e14 Merge pull request #164 from nwparker/cloud/w2-predict-cli-sleep
fix(cloud): CLI/API workspace sleep records the deliberate sleep (#163 review)
2026-11-09 20:49:00 -08:00
Neil 1772627e6e fix(cloud): CLI/API workspace sleep (POST /v1/workspaces/:id/sleep) records the deliberate sleep too 2026-11-09 20:47:22 -08:00
Neil a878062983 Merge pull request #163 from nwparker/cloud/w2-predict-gaps
fix(cloud): predictive wake gaps: drag, cross-client sleep cooldown, seat cap
2026-11-09 20:43:41 -08:00
Neil 66170d3213 fix(cloud): a failed user-sleep hint write never fails the sleep (worker deployed before migration 0038) 2026-11-09 20:41:55 -08:00
Neil 0a7785d4b5 fix(cloud): predictive wake gaps: a drag never wakes (press waits for release, drag cancels pending), the sleep cooldown reads the server's last chosen sleep from any client, and a wake is skipped with the owner's seat or team at or one below its running cap 2026-11-09 20:41:25 -08:00
Neil c6b9a52015 perf(terminal): a freshly spawned Linux shell's first prompt may claim the idle submit (#162)
#151 added the /proc foreground proof, but the OSC 133 prompt hint only reaches 'prompt'
after a clean C -> D;0 -> A cycle, so the first command typed into a new terminal (every
wake's first command) still waited the 500 ms paste settle. A runtime mirror that starts
at the shell's spawn treats its first prompt as clean; any C, failed D or seed (restored or
attached stream) keeps the old rule. Linux only, where the /proc proof gates it.
2026-11-09 20:40:06 -08:00
Neil ec322bae2c Merge pull request #161 from nwparker/cloud/w9-eval
feat(cloud): desktop acceptance targeted mode; #157 picker sign-in and move-then-delete verified
2026-11-09 20:35:21 -08:00
Neil b98feda7f8 feat(cloud): targeted desktop acceptance for #157 (picker sign-in twice, Move then Delete)
- W9D_MODE=targeted: picker sign-in on a fresh profile and again after a sign-out, create +
  keystroke, Move to this computer with Archive afterwards then Delete within seconds (destroyed,
  no suspend/archive error toasts), normal delete
- asleep Delete through the dialog without a Force delete offer is intended: graded pass
- cleanup removes local copies a run made; catalog row + import mapping for move-then-delete
2026-11-09 20:34:07 -08:00
Neil 7f6859f8d9 Merge pull request #159 from nwparker/cloud/w2-predict
perf(cloud): predictive wake on intent, pre-connect during resume, one handshake per wake
2026-11-09 20:32:55 -08:00
Neil 4a364f485e fix(cloud): predictive wake setting catalog matches the W10 title; drop unused toggle label; runtime catalog synced 2026-11-09 20:30:44 -08:00
Neil a0b57b10f5 fix(cloud): an intent wake for the active workspace is claimed at once; any cloud activation claims in main (claimOnly, no wake); main activation (CLI, phone) claims; suspend clears the unopened mark 2026-11-09 20:28:26 -08:00
Neil f6dec546f0 fix(cloud): unopened intent wakes return to sleep through the lease scheduler's verdict-gated idle path (3 min window, never with live work); any activation claims; idle sleeps keep focus-wake; wheel re-arm survives the prewarm 2026-11-09 20:26:29 -08:00
Neil 1bd5504707 fix(cloud): predictive wake review fixes (cap on awake-unopened sandboxes with return to sleep, shared hover/focus rate limit, no focus re-wake after a chosen sleep, quiet refusals leave no failed-resume record and back off, pre-connect bound to the wake, no pre-connect on lost-contact recovery, wheel re-arms the dwell) 2026-11-09 20:22:54 -08:00
Neil af9c09a23d fix(cloud): predictive wake setting reads the idle window from workspace status (constant only as fallback); headless fixture 2026-11-09 20:19:10 -08:00
Neil db87888212 Merge pull request #160 from nwparker/cloud/phone-owner-seat-copy
copy(mobile): at-cap on wake names the owner's seat
2026-11-09 20:17:36 -08:00
Neil 6332129506 fix(cloud): predictive wake setting moves to Orca Account (Orca Cloud accounts only) with W10 copy, idle minutes from the shared constant 2026-11-09 20:17:31 -08:00
Neil 850f1b8167 copy(mobile): W10 — registry-unreachable fallback without the parenthetical hedge 2026-11-09 20:16:18 -08:00
Neil 062747a768 copy(mobile): at-cap on wake names the owner's seat from the team registry (Alex is at their limit… / You're at your limit…); generic only when the owner is unknown 2026-11-09 20:14:58 -08:00
Neil 4efff41ff2 Merge pull request #158 from nwparker/cloud/cap-owner-seat-copy
docs+copy(cloud): per-seat running cap counts the workspace owner's seat
2026-11-09 20:12:56 -08:00
Neil 52f1ba7796 docs+copy(cloud): the per-seat running cap counts the workspace owner's seat; at-cap errors a teammate sees name the owner 2026-11-09 20:11:19 -08:00
Neil 6ddba1720b Merge pull request #157 from nwparker/cloud/picker-signin-select
fix(cloud): picker sign-in selects Orca Cloud; no misleading toasts when Delete follows Move to this computer
2026-11-09 20:05:32 -08:00
Neil db187e0e26 fix(cloud): picker sign-in selects Orca Cloud under StrictMode; a Delete cancels or silences the archive queued by Move to this computer 2026-11-09 20:03:54 -08:00
Neil 8591c99281 Merge pull request #156 from nwparker/cloud/w9-eval
feat(cloud): desktop acceptance covers #149 (cross-team delete, asleep delete, picker sign-in, sign-in card)
2026-11-09 20:01:21 -08:00
Neil aedfb7f7de feat(cloud): desktop acceptance covers #149 (picker sign-in, asleep Force delete, cross-team delete, sign-in card)
- auth.picker-sign-in: picking the signed-out Orca Cloud row must leave Orca Cloud selected
- life.delete-asleep(-after-move): no wake, Force delete offer, destroyed; life.destroy now a
  normal delete of an awake workspace; D-2 passes on a cross-team destroy or a kept
  "couldn't confirm" row
- vercel-check.ts: confirms each run sandbox is 404 on Vercel and records it in results.json
- catalog rows and import mapping for the new steps
2026-11-09 19:59:49 -08:00
Neil 6bc1fffc67 W8: teammates wake a team workspace from the phone (team-route wake; owner route not widened) (#155)
* feat(w8): teammates wake a team workspace from the phone (team route long-poll wake, same access/billing/cap; owner route stays the fallback)

* test(w8): team wake refuses an admin on a private row, never returns the endpoint; phone never falls back on 401/403
2026-11-09 19:59:10 -08:00
Neil 5e9fdffc41 W8: phone forgets cloud workspaces that are gone (confirmed by the registry), never on transient errors (#154)
* fix(w8): phone forgets cloud workspaces that are gone (missing from the complete registry list, or wake says not_found); never on transient errors

* fix(w8): prune only on the registry's own not_found for that workspace (lists are capped and skip hidden rows; status 404s are owner-only); restore a link whose host removal failed

* perf(w8): host prune is single-flight and remembers a confirmed-present workspace for 5 minutes
2026-11-09 19:52:06 -08:00
Neil e5e0ef5cc7 Merge pull request #153 from nwparker/cloud/orphan-sweep-pool
fix(sandbox-control): orphan sweep must not stop warm-pool VMs
2026-11-09 19:51:00 -08:00
Neil 78fce9977d fix(sandbox-control): the orphan sweep no longer stops warm-pool VMs (their record is the pool row) 2026-11-09 19:49:24 -08:00
Neil bde9bd1486 fix(cloud): predictive wake timers return cancel functions (no casts); localization keys 2026-11-09 19:47:01 -08:00
Neil d5e57508cf Merge pull request #152 from nwparker/cloud/activity-keepalive
feat(cloud): VM activity, not the desktop, keeps a sandbox's lease alive
2026-11-09 19:44:57 -08:00
Neil 71ca377e18 chore(ratchet): orcad work-verdict beacon is a heartbeat whose cadence is the feature (stopped on orcad cleanup) 2026-11-09 19:42:57 -08:00
Neil 4dee4cc7c6 feat(cloud): VM activity keeps a sandbox alive without a desktop - orcad publishes its work verdict, the cron renews busy leases and sleeps idle ones 2026-11-09 19:41:36 -08:00
Neil 893be16f77 perf(terminal): prove an idle Linux daemon shell from /proc so Enter skips the paste settle (#151)
terminal.send text+Enter to a daemon-backed shell always waited the 500 ms agent paste
settle: the daemon's shell-foreground answer is lifecycle ownership, which is only proven
after a recovery or full-screen exit, never for a fresh or plain-command shell. On Linux
the idle-prompt claim now also accepts the shell's own /proc stat (process group is the
terminal foreground group, i.e. ps '+'), scoped to the target PTY; other hosts unchanged.

The acceptance wake split uses one persistent paired connection per wake (the desktop's
transport) by default; transport=cli keeps the per-call socket the CLI dials.
2026-11-09 19:38:55 -08:00
Neil 550a35c374 fix(mobile): subscribe to window focus/blur AppState events on Android only (iOS rejects them with a red screen in development) (#150) 2026-11-09 19:36:12 -08:00
Neil 5a71e62ff6 perf(cloud): predictive wake on intent (hover dwell, row press, window return), wake pre-connect from the saved pairing, one handshake per wake 2026-11-09 19:34:33 -08:00
Neil 05d43602c8 Merge pull request #149 from nwparker/cloud/delete-unconfirmed-fix
fix(cloud): P0 delete leak - never drop a row for an unconfirmed sandbox; creator can delete across teams; asleep delete without wake
2026-11-09 19:33:17 -08:00
Neil 9b497d2b0e test(cloud): drop type assertions in cloud delete tests 2026-11-09 19:29:52 -08:00
Neil 5bdec31000 fix(cloud): address review - asleep delete needs Force delete and runs ownership checks, destroyed sandboxes forget their row, removed members get no cross-team delete, destroy errors always surface 2026-11-09 19:27:29 -08:00
Neil cb7d58bbc0 fix(cloud): deletes never drop a row for a sandbox Orca Cloud can't confirm; asleep cloud delete skips the wake; creator can delete across teams; picker sign-in selects Orca Cloud; signed-out create shows the sign-in card 2026-11-09 19:20:44 -08:00
Neil 59a628033e Merge pull request #144 from nwparker/cloud/w2-close
feat(cloud): Apply changes again after a partial move; continue an agent when its view is reopened after a restart (real-app run on m4air)
2026-11-09 19:19:35 -08:00
Neil 3335c23f73 fix(cloud): a stale continue loop exiting never un-tracks the newer loop for that pane 2026-11-09 19:16:01 -08:00
Neil 0f73bb4a80 fix(cloud): single node:fs import 2026-11-09 19:11:05 -08:00
Neil 4e047c7844 Merge pull request #148 from nwparker/cloud/w9-eval
feat(cloud): acceptance — remote desktop, wake-delivery split, persistent-connection downloads, desktop #127 run on a remote Mac
2026-11-09 19:10:10 -08:00