Commit Graph
20706 Commits
Author SHA1 Message Date
Neil 7c9abb57f1 copy(cloud): state the running-sandbox cap where it's enforced (limit cards, workspace start error) and in the plans fine print 2026-11-09 16:30:34 -08:00
Neil 9f21a6a375 copy(plans): comment placement 2026-11-09 16:14:07 -08:00
Neil 26ee19ee0d copy(plans): Team card bullets match the final /cloud pricing strings 2026-11-09 16:13:25 -08:00
Neil b969ccbc0a copy(plans): drop the per-seat concurrent-sandbox line from the Team card to match the /cloud pricing page 2026-11-09 16:10:10 -08:00
Neil 24f94c9f85 Merge pull request #114 from nwparker/cloud/integration-health-2
fix(cloud-integration): lint green after w5-cli (#112)
2026-11-09 15:52:35 -08:00
Neil c22f5eb530 Merge remote-tracking branch 'private/cloud/integration' into cloud/integration-health-green 2026-11-09 15:52:19 -08:00
Neil 04bcdbe8f4 fix(cloud-integration): lint green after w5-cli (#112)
- --on cloud reads origin through @orca/process-host runProcessSync
- isCloudAgent guard replaces agent casts; credentials and API error bodies read through jsonFields
- client's generic response boundary carries a SAFETY note; test fixtures typed (vi.fn<typeof fetch>)
2026-11-09 15:52:08 -08:00
Neil 52c676cf8a Merge pull request #107 from nwparker/cloud/integration-health-green
fix(cloud-integration): lint + tests green on HEAD after w2-ttfk merge
2026-11-09 15:44:33 -08:00
Neil 5e02fb0418 Merge remote-tracking branch 'private/cloud/integration' into cloud/integration-health-green 2026-11-09 15:41:08 -08:00
Neil 590c34a1b3 fix(cloud-integration): lint + tests green after #99-#106
- loopback-callback-listener runs lsof through @orca/process-host
- MCP egress ledger read is async; cloud-mcp-sync's two memoized one-shot reads and the
  loopback grant's liveness poll (a heartbeat with a stop) are baseline-listed
- auth-callback-forward under max-lines; VmBuildFailureActions uses Button variant quiet
- test casts replaced by typed fixtures (Translate, WorktreeCreationRequest builders,
  typed HostedSandboxRequest, LegacyRenameRuntime); one SAFETY-annotated store stub
- runtime catalog + protected-copy keys synced
- workspace-resume lost-contact tests partially mock ssh-target-registry (new import chain)
2026-11-09 15:40:56 -08:00
Neil b490cde491 Merge pull request #112 from nwparker/cloud/w5-cli
feat(cli): orca cloud commands + in-VM cloud access (VMs can reach the control plane their token names)
2026-11-09 15:37:43 -08:00
Neil 923a1504b9 fix(cloud): grants register the workspace project on the VM so a phone (which can't add projects) can open it (#111) 2026-11-09 15:32:36 -08:00
Neil 7c0ebc5eee Merge pull request #110 from nwparker/cloud/w4-copy
fix(cloud): W10-approved reassign-owner copy + Cancel focus (W4)
2026-11-09 15:30:43 -08:00
Neil 64ca9caa47 fix(cloud): W10-approved reassign-owner copy; Cancel focused when you give away your own access 2026-11-09 15:30:21 -08:00
Neil 0af3774c35 fix(cli): name the vmCliEnabled toggle when a workspace token is rejected
Turning in-workspace CLI access off revokes every workspace token, so the
in-VM CLI sees 401, not 403 vm_cli_disabled. Say so and point at the
setting first (verified on a real VM).
2026-11-09 15:28:40 -08:00
Neil 77d6aecb6e fix(sandbox-control): source golden builds finish even when Vercel keeps reporting the command as running (#108)
Seen live twice: source-build.sh had exited (provision done, no processes left) but GET cmd kept
exitCode null for 40 min, so the build hit its deadline. source-build.sh now writes its exit code
(/tmp/source-build.exit) and the provision report (/tmp/source-build.report); the operator rotation
and the Worker's stepBuild fall back to the marker. The operator script reads the report from the
file instead of the command log stream (which never ends in that state) and prints the running build
step every ~2 min.
2026-11-09 15:22:47 -08:00
Neil fa71365bf8 Merge remote-tracking branch 'private/cloud/integration' into cloud/integration-health-green 2026-11-09 15:22:17 -08:00
Neil 72afdc3972 fix(cloud-integration): lint green on HEAD after the w2-ttfk merge
- wake-input pump uses installWindowVisibilityInterval (recurring-timer ratchet), stops when idle
- pane user-input memory split into pane-user-input.ts (max-lines)
- drop type assertions in interrupted-turn-continue and sidebar activation
- dialog overlay follows content exitMotion via a static sibling selector (static-classes gate)
- wake-input test pins Date (no wall clock); remove unused orcaCloudWorkspace.overlay.pendingInput
- path-gate test reads the store mock lazily (import cycle TDZ)
2026-11-09 15:21:49 -08:00
Neil 2e1d5123a4 Merge pull request #106 from nwparker/cloud/w6-mcp-syncer
W6: per-computer MCP sync ledger (shared sandboxes don't flap)
2026-11-09 15:21:16 -08:00
Neil 9634bb7049 fix(cloud): per-computer MCP sync ledger and Codex block, so two computers on one shared sandbox keep each other's servers (first computer adopts the shared ledger once) 2026-11-09 15:20:58 -08:00
Neil 31d9699af5 fix(sandbox-control): let VMs reach the control plane their workspace token names
Workspace tokens tell the in-VM orca cloud CLI to call publicOrigin(env), but
that host was only reachable when EGRESS_EXTRA_HOSTS listed it (previews did,
the dev Worker did not), so every in-VM call failed with 'fetch failed'.
extraEgressHostsFor(env) now always adds the public API host. The CLI's
cloud_unreachable hint inside a VM names the egress allowlist.
2026-11-09 15:20:42 -08:00
Neil a1676f8109 Merge pull request #105 from nwparker/cloud/staging-test-accounts
chore(cloud): durable staging test-account setup
2026-11-09 15:17:25 -08:00
Neil d843e88b18 chore(cloud): durable staging test-account setup (provision, headless desktop sign-in, >100-invites live check) 2026-11-09 15:16:59 -08:00
Neil 44e7c9fdf6 fix(sandbox-control): register the workspace project in orcad at every start (API, MCP, routines, phone see the repo) (#104)
orcad listed the cloned project only after a client called repo.add, which only the desktop does on
connect. orca-sandbox-start now runs 'orca repo add --path /vercel/sandbox/project' (folder kind
when it is not a git checkout) in the background once orcad is ready; re-adding is a no-op. Verified
on a VM from the active golden: repo list shows /vercel/sandbox/project right after start.
2026-11-09 15:14:54 -08:00
Neil fe0aa07c0a Merge pull request #103 from nwparker/cloud/w6-egress-default
W6: model-key egress swap on by default (per-team kill switch)
2026-11-09 15:13:38 -08:00
Neil d7497308c1 feat(sandbox-control): egress key swap on by default for every team, per-team kill switch SECRETS_EGRESS_PLACEHOLDERS_OFF 2026-11-09 15:13:19 -08:00
Neil 604ce7c913 Merge pull request #99 from nwparker/cloud/w6-mcp-final
W6: MCP config sync into Orca Cloud sandboxes (egress hosts + OAuth loopback relay)
2026-11-09 15:10:16 -08:00
Neil 53dced42c8 fix(cloud): MCP sync review — generic OAuth relay accepts only a loopback GET for its port (2-min TTL, never displaces a sign-in), first sync is an explicit consent before tokens leave this computer, no '.' on the image PATH 2026-11-09 15:09:45 -08:00
Neil fa70f42ae1 fix(sandbox-control): honest create timing (create_ms/wake_ms, migration 0035); operator golden rotation script (#102)
* feat(sandbox-control): operator golden rotation from a git ref (image/rotate-golden-from-source.ts)

Fallback while the Worker's git-source build can't read the repo: uploads git archive of the ref
(default private/cloud/integration) into a managed-image build sandbox, runs source-build.sh (now
accepts an uploaded ORCA_SRC_DIR), wipes, snapshots, smoke-boots (SOURCE_COMMIT matches, tools, orca
CLI reaches orcad, stop/resume), and registers a smoking golden_images row with bundle_sha256
git:<sha>. Refuses a desktop-less image when the manifest pins one. Durable ledger in
~/.orca-cloud-ops (survives /tmp wipes); --cleanup deletes orphans of an interrupted run.

* fix(sandbox-control): honest create timing: create_ms/wake_ms written once per start, not ready_at - created_at

GET /v1/config said create p95 23 s. Its source, ready_at - created_at, moves on every wake, so every
sandbox slept and woken within two minutes of creation (bench and smoke cycles: 15-23 s, 35-90 s) counted
as a slow create. Real creates on dev are p50 2.9 s / p95 4.0 s. Migration 0035 adds create_ms
(write-ahead row to first ready) and wake_ms (resume claim to ready); createTiming reads create_ms.
2026-11-09 15:08:16 -08:00
Neil 04305cecbe Merge pull request #101 from nwparker/cloud/w4-name
feat(cloud): label teammates from the token name claim (W4, migration 0034)
2026-11-09 15:04:19 -08:00
Neil 119ffb907e feat(cloud): label teammates from the token name claim (member_names, migration 0034)
Each member's own /v1/team request records the sanitized name claim for their account;
workspace views return memberNames for owner, creator, last active and presence ids. Home
falls back to these when the org roster has no entry (dev orgs, members who left). Labels
only; access never reads them. Write failures never fail the request.
2026-11-09 15:03:14 -08:00
Neil a3f66462cc Merge pull request #97 from nwparker/cloud/core-ui-finish
Build sheet round 4 + create-path errors (GitHub not connected, no GitHub remote) + Orca Cloud host label
2026-11-09 15:02:26 -08:00
Neil 387c672cd2 fix(cli): reconcile orca cloud with cloud env after rebase
- drop the duplicate 'cloud' launch root (cloud env already registers it)
- keep cloud env on the runtime: only the cloud API commands ignore --environment
- list cloud messages in root help
- register the 'sender' launch root (parity test was red on integration)
2026-11-09 15:00:38 -08:00
Neil ef107bb611 test(cloud): wake-store bridge stub gains getConfig/connectGitHub after rebase 2026-11-09 14:56:09 -08:00
Neil af86480417 test(cloud): pin sandbox wording on the pending row and the right-sidebar collapse for cloud builds 2026-11-09 14:48:08 -08:00
Neil 72f068107c fix(build-sheet): W10 round 8: glossary log lines, snapshot-missing starts nothing, plural hidden-lines note, How to push to GitHub, muted Dismiss 2026-11-09 14:48:07 -08:00
Neil dcb7cffcb9 fix(build-sheet): W10 round 8: glossary log lines, snapshot-missing starts nothing, plural hidden-lines note, How to push to GitHub, muted Dismiss 2026-11-09 14:48:07 -08:00
Neil d3a9385ab8 fix(cloud): review round 1: cache /v1/config timing per isolate, pending actions stay focusable, retry config after offline, reactive repos in the sidebar row, focus + URL tests 2026-11-09 14:48:07 -08:00
Neil ee1f14b871 Revert "fix(sandbox-control): a workspace started without a repo gets an empty repository Orca can open"
This reverts commit 0c4ec3ac451e173fe0b0c5840a139b08728fc9fb.
2026-11-09 14:48:07 -08:00
Neil f4032bf36f fix(cloud): drop Start empty (a host-local project can't open on a sandbox), Try again after pushing; sidebar pending row uses sandbox wording and the card's title 2026-11-09 14:48:07 -08:00
Neil 991d8ad665 fix(sandbox-control): a workspace started without a repo gets an empty repository Orca can open 2026-11-09 14:48:07 -08:00
Neil 7dab1aa215 fix(build-sheet): fixtures render without the live Add an agent step 2026-11-09 14:48:07 -08:00
Neil a8d6bb4698 fix(cloud): build sheet round 4: glossary cards, GitHub not connected + no GitHub remote before any sandbox, measured start hint from /v1/config, Orca Cloud host label
- Account/billing cards use glossary titles (Out of sandbox hours, Spend cap reached, Payment failed,
  running-sandbox limits), role-aware next steps, and 'Nothing was created, and you weren't charged.'
- 409 github_not_connected: 'GitHub isn't connected for <owner/repo>' + Connect GitHub (POST
  /v1/github/connect, opens the GitHub install page) + Try again.
- A repo without a GitHub remote is refused in main before the control plane is called, with
  Start empty / Push to GitHub first.
- GET /v1/config serves createTiming (p50/p95 of recent create-to-ready); the sheet's 'usually ~Ns'
  reads it and shows no hint without a measurement.
- Orca Cloud servers display as 'Orca Cloud' in sidebar host labels and the usage segment; legacy
  '<repo> VM <id>' names are renamed at startup.
2026-11-09 14:48:06 -08:00
Neil 5696161da4 feat(build-sheet): round-4 design fixes: plain cloud log, cause-specific cards, account gates, delete confirm, measured timings 2026-11-09 14:48:06 -08:00
Neil 0a319f53ef fix(cli): orca cloud messages <workspace> [<id>] instead of message status (positional ambiguity) 2026-11-09 14:47:14 -08:00
Neil f00deaf079 feat(cli): cloud target adapter for worktree create --on (hooked up on the --on branch) 2026-11-09 14:47:14 -08:00
Neil 6fa1115887 feat(cli): orca cloud commands (whoami, login, workspace lifecycle, message, sessions, projects)
Private build. Talks HTTPS to the Orca Cloud public API, never to the Orca
runtime, so it works inside a VM with no desktop app. Credentials:
ORCA_CLOUD_TOKEN (+ ORCA_CLOUD_API_URL) -> ~/.config/orca-cloud/credentials.json
(written at boot in VMs when vmCliEnabled, or by orca cloud login, 0600).
--json prints { ok, schemaVersion: 1, result }; API failures map to stable
cloud_* codes with next steps (vm_cli_disabled, own_workspace, scopes, 401).
2026-11-09 14:47:14 -08:00
Neil 1c67472320 fix(cloud): MCP panel round 2 nits — copy for empty/unreachable/outdated, no double sync after a toggle 2026-11-09 09:02:16 -08:00
Neil d923622039 fix(cloud): MCP panel review round 1 — unreachable warning icon, sorted rows, global-toggle scope + resync, focus kept while syncing (aria-disabled), error stays with retry spinner, pluralized summaries, sr-only row state, glossary copy 2026-11-09 09:00:10 -08:00
Neil 2983b93d33 Merge pull request #98 from nwparker/cloud/w2-ttfk
feat(cloud): type into a waking workspace (held, then delivered); auto-continue interrupted Claude/Codex turns after restart
2026-11-09 09:00:06 -08:00