Commit Graph
22992 Commits
Author SHA1 Message Date
Neil ccabbee200 Merge branch 'cloud/integration' of https://github.com/nwparker/orca-private into cloud/enterprise-audit-log
# Conflicts:
#	cloud/apps/sandbox-control/src/index.ts
2026-11-12 21:20:52 -08:00
Neil e704adaf2a Merge pull request #607 from nwparker/create-speed/agent-picker-width
fix(composer): the Agent menu is as wide as its field in every state (AGENT-PICKER-WIDTH)
2026-11-12 21:09:51 -08:00
Neil 2b96b3bc35 feat(cloud): auth's token may push role changes (SSO-ROLE-PUSH) (#615) 2026-11-12 21:05:35 -08:00
Neil fdedb8d093 fix(cloud): PAIRED-BADGE no primary badge on a cloud workspace's own row in the live card; delete dead card header paths (#574)
* fix(cloud): PAIRED-BADGE no "primary" badge or star on a cloud workspace's own row in the LIVE card; delete dead card header paths

#560 gated the badge in worktree-card-header.tsx, which only the unrendered
WorktreeCardParentContent used; the live card (default-workspace-card.json via the element registry)
drew PrimaryBadge/PrimaryStar with no cloud check, so a paired-from-birth row kept "primary". The
gate now sits in the template parts themselves (NotOnCloudRow, useIsCloudHostRow). Deleted the dead
header, parent content and meta row so a fix can't land there again.

* chore(cloud): PAIRED-BADGE drop the deleted meta row from the localization allowlist (path-literal ratchet)
2026-11-12 21:00:54 -08:00
Neil d8e6879615 Merge pull request #603 from nwparker/cloud/paired-held-active
fix(cloud): PAIRED-HELD-ACTIVE a GitHub-only create's held placeholder is its one tab and in front (n39)
2026-11-12 20:57:02 -08:00
Neil 18237d57cd Merge pull request #612 from nwparker/cloud/team-settings-feedback
fix(team): calmer Team dialog; seat facts in Plan & billing, invite seat impact, Leave in row menu
2026-11-12 20:47:22 -08:00
Neil eca563dfef Merge branches 'cloud/integration' and 'cloud/sec-4-secret-activity' of https://github.com/nwparker/orca-private into cloud/enterprise-audit-log 2026-11-12 20:45:23 -08:00
Neil 6a8d01e9ff Merge pull request #610 from nwparker/create-speed/build-sheet-copy-links
feat(cloud-create): build sheet external links follow COPY-LINK-RULE
2026-11-12 20:43:07 -08:00
Neil 669e7249bc test(cloud): malformed cursor test reads the personal route 2026-11-12 20:39:33 -08:00
Neil 19c1d799f6 fix(cloud): SEC-4 activity route serves personal only; team reads go through the plan-gated unified audit log 2026-11-12 20:38:57 -08:00
Neil 68ecac0d32 fix(cloud): ENTERPRISE-AUDIT the older GET /v1/audit is behind the same plan gate for a team 2026-11-12 20:37:50 -08:00
Neil 2c2b746cc3 test(cloud): PAIRED-HELD-ACTIVE no-steal tests advance fake timers instead of sleeping (ast-grep test-no-real-time-wait) 2026-11-12 20:36:26 -08:00
Neil b369046922 fix(cloud): PAIRED-ACCOUNT-FILTER paired workspaces are scoped by the account their pairing was made under (#605)
* fix(cloud): PAIRED-ACCOUNT-FILTER paired workspaces are scoped by the account their pairing was made under

* perf(cloud): PAIRED-ACCOUNT-FILTER read the active account once per profile-index write, not per paired lookup
2026-11-12 20:31:51 -08:00
Neil fb694dac00 fix(cloud): ARCHIVED-DEAD-ACTIONS archived rows offer no Sleep/Wake/Restart; paired cards don't offer On this computer (#609) 2026-11-12 20:24:25 -08:00
Neil 84c5932bd9 fix(team): calmer Team dialog; seat facts move to Plan & billing, seat impact on invites, Leave only in the row menu 2026-11-12 20:15:57 -08:00
Neil e954d833bb Merge pull request #556 from nwparker/cloud/entitlements-on
chore(cloud): ENTITLEMENTS-ON dev billing switches to ENTITLEMENTS_MODE=on
2026-11-12 20:15:15 -08:00
Neil 3c8c610043 fix(cloud-create): 'Contact support' shows the external-link mark (design-squad) 2026-11-12 20:13:42 -08:00
Neil ff90eaca81 feat(cloud-create): build sheet external links follow COPY-LINK-RULE
'How to push to GitHub' is now an OpenExternalSplitButton: its chevron copies GitHub's
guide (PUSH_TO_GITHUB_URL) without opening it. 'Contact support' sits in the More
menu, where a row can't carry the chevron, so a 'Copy support link' item sits right
below it, the same pattern as 'Copy GitHub link' under 'Add a GitHub repository…'.
The support URL moves to vm-build-repo-actions.ts (ORCA_SUPPORT_URL) next to the
GitHub guide's.
2026-11-12 20:11:21 -08:00
Neil dd9b9713a6 feat(cloud): ENTERPRISE-AUDIT unified team audit log API (GET /v1/audit-log), Enterprise feature entitlements, audit ingest route 2026-11-12 20:09:12 -08:00
Neil 45aefab3e8 Merge pull request #606 from nwparker/pl/nameless-copy
fix(cloud): NAMELESS-COPY a nameless cloud workspace gets its own sentences
2026-11-12 20:07:01 -08:00
Neil b986eee372 Merge pull request #595 from nwparker/feat/open-external-split-button
feat(open-external): Copy link split button on sign-in, account, billing and GitHub browser buttons
2026-11-12 20:02:28 -08:00
Neil bfaa2e6418 test(cli): packaged launcher argv compares real paths (macOS resolves the /tmp symlink, Linux does not) (#608) 2026-11-12 19:56:50 -08:00
Neil 90c1d791ba Merge branch 'cloud/sec-4-secret-activity' of https://github.com/nwparker/orca-private into cloud/enterprise-audit-log 2026-11-12 19:52:00 -08:00
Neil a0ef341878 feat(cloud): audit_log entitlement on Enterprise (catalog v2), feature flags route, contact-sales grant 2026-11-12 19:51:55 -08:00
Neil 798b2b5156 fix(composer): the Agent menu is as wide as its field in every state (AGENT-PICKER-WIDTH)
Neil (n39): Project "~" (a folder) with Run on = Orca Cloud opened a 256 px Agent menu
under the full-width field. The composer passed matchTriggerWidth only for a resolved git
repository that isn't a project group (upstream's rule), so a folder, a GitHub-only Orca
Cloud repo or a still-resolving cloud target fell back to min-w-64. The field is always full
width there, so the menu now always matches it (coordinator ruling). The right-aligned
'Not set up' labels are unchanged.
2026-11-12 19:49:22 -08:00
Neil e9da642a41 refactor(cloud): SEC-4 recording + API only; Activity tab moves to the unified Enterprise audit log (enterprise-audit) 2026-11-12 19:45:37 -08:00
Neil 12053252dc Merge pull request #582 from nwparker/cloud/gh-list-missing
fix(cloud): the GitHub list is never silently empty; a failed read says so with Retry (GH-LIST-MISSING)
2026-11-12 19:36:37 -08:00
Neil ccc8235684 fix(cloud): NAMELESS-COPY a nameless cloud workspace gets its own sentences, never "This workspace" mid-template
Waking card, owned and paired surfaces, the asleep view and the Sleep-failed toast spliced "This
workspace" into {{name}} templates ("Couldn’t wake This workspace", "Waking This workspace.").
cloud-workspace-name-copy.ts gives each sentence an unnamed variant ("Couldn’t wake this
workspace", "Couldn’t put this workspace to sleep", "Waking this workspace."…) and headings read
"Cloud workspace". Drops the two private fallback keys it replaced.
2026-11-12 19:34:27 -08:00
Neil 8f4e25ec5e fix(cloud): SLEEP-IN-PROGRESS (2/2) paired cloud workspaces get the waking overlay, an asleep read-only view and the saving state (#601)
* fix(cloud): SLEEP-IN-PROGRESS (2/2) a paired cloud workspace shows the waking overlay, its sealed read-only copy with Wake to continue, and the saving state after Sleep

- PairedCloudWorkspaceSurface, mounted from OrcaCloudWorkspaceSurface for paired rows
- the same CloudWakingOverlay (Retry wakes through the control plane, billing copy included)
- asleep: the control plane's sealed snapshot via useCloudReadSnapshot + CloudReadSnapshotView
- Sleep marks a paired copy saving; re-read every 2.5 s until a new-enough copy, failed at the deadline
- useWakeOverlay moved to its own module (shared by owned and paired)

* fix(cloud): SLEEP-IN-PROGRESS (2/2) re-read the sealed copy through the window-visibility interval (recurring-timer ratchet)
2026-11-12 19:26:54 -08:00
Neil 01091ab42c Merge pull request #604 from nwparker/cloud/sec3-kek-rotation
feat(cloud): KEK rotation re-wraps stored secrets (SEC-3)
2026-11-12 19:20:56 -08:00
Neil 5aa721e324 fix(cloud): PAIRED-ARCHIVE Archive and Unarchive for paired cloud workspaces (hovercard and sidebar menu); paired Delete joins the INT-T1 archive guard (#602) 2026-11-12 19:15:18 -08:00
Neil af554dd1ab feat(cloud): KEK rotation re-wraps stored secrets (SEC-3)
Operator routes GET /v1/internal/secrets/kek and POST /v1/internal/secrets/rewrap
move every envelope-encrypted row (secrets, agent_credentials, github_user_tokens)
from a retired KEK to the active one: idempotent, resumable, conditional writes,
counts-only logs. A v2 row format behind SECRETS_SEAL_FORMAT=v2 (default v1)
keeps the KEK id out of the value layer's AAD so rotation re-wraps data keys
without decrypting values. Adds the KMS design doc.
2026-11-12 19:06:23 -08:00
Neil c12745b2a1 fix(cloud): PAIRED-HELD-ACTIVE a GitHub-only create's held placeholder is the workspace's one tab and in front (the initial-terminal seeder no longer covers it) 2026-11-12 18:56:21 -08:00
Neil 4fcc4721ae fix(cloud): SLEEP-IN-PROGRESS (1/2) say the read-only copy is saving until it is in, and say so if it never arrives (#580)
* fix(cloud): SLEEP-IN-PROGRESS (1/2) a sleeping cloud workspace says it is saving its read-only copy until the copy is in, and says so if it never arrives

From the Sleep press until a copy at least as new as the press is read back, the row ("Going to
sleep · Saving copy…"), the asleep view and the Files pane show a saving state instead of their
"nothing was saved" lines or an older copy; the view polls every 2.5s meanwhile. No copy within 90s:
"Couldn't save a read-only copy. Your files are safe in the workspace." with Wake. Owned workspaces
(paired ones have no read-only view yet: 2/2). Copy and layout per design-squad.

* chore(cloud): SLEEP-IN-PROGRESS drop the two now-unused localization keys
2026-11-12 18:43:46 -08:00
Neil 63b8b1eed7 fix(cloud): PAIRED-GIT-SETUP a paired row gets the commits-and-pushes-off strip and its Restart; paired card fixtures show Wake/Restart (#593) (#599) 2026-11-12 18:31:29 -08:00
Neil 3bfe3a03fb fix: drop catalog keys the Copy link chevron replaced; no casts in link tests 2026-11-12 18:24:00 -08:00
Neil 87a1f77f63 Merge pull request #568 from nwparker/cloud/paired-held-strips
fix(cloud): PAIRED-HELD-STRIPS paired-from-birth workspaces hold and strip like any Orca Cloud workspace
2026-11-12 18:23:55 -08:00
Neil 10b265d7a8 test: stub the widened hosted client in the GitHub link IPC test 2026-11-12 18:18:51 -08:00
Neil 1c3aa50908 fix(cloud): PAIRED-WAKE (2/2) Wake and Restart for paired cloud workspaces in the panel and hovercard (#593)
Restart reaches a paired workspace's sandbox: main's restart resolves a bound pairing
(restartPairedOrNotCloud) and restarts it through the control plane, dropping the bound server's
dead connection so it reconnects, with the same waking > connecting > ready / failed progress as an
owned restart. The panel offers Wake (the sidebar open path, which wakes paired rows since #571/#583)
and Restart on paired rows again; Archive and Move stay hidden until PAIRED-ARCHIVE.
2026-11-12 18:18:47 -08:00
Neil 9153d4ee88 Merge remote-tracking branch 'private/cloud/integration' into feat/open-external-split-button
# Conflicts:
#	src/renderer/src/components/orca-cloud/CloudSetupNotices.tsx
#	src/renderer/src/i18n/locales/en.json
2026-11-12 18:15:51 -08:00
Neil 3086ab6002 docs(cloud): note API-key actor label for secret activity 2026-11-12 18:03:18 -08:00
Neil d0c4b5432f feat(cloud): SEC-4 design tweaks - 'A former teammate' / 'Someone' fallbacks, wider who column 2026-11-12 18:02:57 -08:00
Neil dc756699cf Merge pull request #596 from nwparker/cloud/premerge-realpath-tmp
fix(premerge): resolve TMPDIR to its realpath (macOS /tmp -> /private/tmp)
2026-11-12 18:02:54 -08:00
Neil 53cdc4edfd test(cloud): SEC-4 window test re-mints tokens; fixture activity newest first 2026-11-12 18:01:37 -08:00
Neil 8cf078076f fix(premerge): resolve TMPDIR to its realpath (macOS /tmp -> /private/tmp)
packaged-cli-assets' macOS launcher test compares an os.tmpdir()-based path
with the realpath the launcher reports, so it failed in the gate on any PR
selecting it (#574 batch 8, parallel and serial). Export a realpath'd TMPDIR
so the gate environment matches what child processes see.
2026-11-12 17:59:43 -08:00
Neil 46b41faf7b fix(cloud): CLOUD-ROW-DUP-TAG no Orca Cloud host pill on cloud rows (owned or paired); line 2 stays for the state word (#592) 2026-11-12 17:45:56 -08:00
Neil 38b86db579 Merge pull request #587 from nwparker/pl/cloud-lock-jose
fix(cloud): CLOUD-LOCK-JOSE repair cloud/pnpm-lock.yaml so a frozen install passes
2026-11-12 17:43:14 -08:00
Neil 1317dce10e fix(cloud): GH-LIST-MISSING review: Retry is a keyboard row with a Loading… state; identity includes the team role
design-squad: arrow keys land on Retry like on any row, Enter runs it, and while it reads it shows
Loading… and can't run twice. Coordinator: the GitHub list (and other team answers) re-read on an
owner/member role switch; tests cover owner → member → owner, then a restart.
2026-11-12 17:39:46 -08:00
Neil 00be51f267 fix(cloud): the GitHub list is never silently empty; a failed read says so with Retry (GH-LIST-MISSING)
A failed first page resolved as an empty listing, cached for 5 minutes per identity, and an empty
list hides the Project picker's GitHub section: after a restart or role change the section was
gone for minutes. A failed read now isn't cached and the section says 'Couldn't load GitHub
repositories. Retry'; an empty answer isn't kept either, so each open asks again.
2026-11-12 17:39:44 -08:00
Neil 52e3ed627c Merge pull request #572 from nwparker/cloud/repo-access-refresh
feat(cloud): back from GitHub, the new repository shows up and is picked (REPO-ACCESS-REFRESH)
2026-11-12 17:39:28 -08:00