After a --resume that finds no conversation, the fallback typed the fresh
command with terminal.send { enter: true }. On the host an Enter send waits
for the launched Claude's composer (watchLaunchComposer, 8 s default),
which never comes once Claude exited to the shell, and is then refused:
the 5 s request timed out and nothing was written, leaving a bare shell.
- Send the Enter inside the text (same bytes, no composer gate).
- Treat a refused send as a failed try; 20 s timeout, up to 3 tries, and
re-read the tail before each retry so nothing is typed twice.
- If every try fails, show Couldn't restart (hostUnresponsive) so the
person can Try again, instead of leaving the pane quiet.
DS-b: the in-app stepper now lists the web's four steps (stablyai/orca-cloud#730):
Team always follows Account (done once signed in, as the web ticks a team made for
you; a team switch keeps its own step), and the plan step is always "Plan" (a
trial is how it gets done, not a step). GitHub ticks when the repository is
readable, unchanged. NS-04 (e): the agent's glyph sits before its name in the
header context line, muted (currentColor, never the coloured mark), aria-hidden.
NS-04 (c) needs no change: the only skip line was the Agent step's italic aside,
and that step no longer renders. Fixtures: CloudSetupPage signedOut, trialPlan,
githubLeft.
design-squad: at 900 wide with both side panels open, Add project / Create
workspace stacked as two large buttons over the cloud list. The row is now
LandingActions (landing-layout.tsx); over the cloud list its column is an
@container and below 600px both buttons take small sizing on one row (wrapping
only if they still can't fit). Fixtures: landing-layout actionsOverCloudList
Wide/Narrow.
- Filters (Team/Mine, owner, repo, Running, Archived) and refresh show only with 5+
workspaces, or while any filter is off its default so it can be undone.
- Empty list: "Start your first cloud workspace" + the glossary line + one
"New cloud workspace" button (composer on Run on = Orca Cloud). Mine on a team:
"You don't have any cloud workspaces yet." with the same button.
- Landing: while the cloud list shows, no ORCA wordmark or "Select a workspace…";
Add project / Create workspace stay as a top row aligned with the list. Upstream's
plain home is unchanged.
Fixtures: CloudWorkspacesHome emptyTeam, emptyMine, fewWorkspaces, teamList.
design-squad: the copy kept on this computer said "Read-only copy kept on this
computer." while the cloud one said the agreed text; once asleep it is the agreed
text everywhere. Drops the now-unused locale key.
integration-keeper (44b4c2072d, nk-pc3b/4-started): after Start the Claude tab opened but the plain
Terminal stayed active. The agent create did ask for focus, but the held placeholder is closed right
after, and closing the active tab selects its neighbour. When the person started it, the agent's tab
now takes focus once the placeholder is gone; a Renew auto-start still never steals focus.
integration-keeper's smoke of Neil's cut (44b4c2072d): Restart on a turn-less pane ran
'claude --resume 53b983b5…', which printed 'No conversation found' and left a bare shell; the backstop
never relaunched fresh. The watch now keys off the pane's terminal handle (a relaunch may reuse the
host's PTY id), waits up to 25 s (Claude's start on a sandbox plus the pane's re-attach can exceed
10 s), strips ANSI before matching, falls back to the plain launch when the fresh command can't be
built from settings, and logs each step so a miss is diagnosable.
From design-squad's review of the #410 shot: a respawned terminal's saved tail
had each boot's prompt glued onto one row (with a horizontal scrollbar) above
~300px of never-written rows. The read-only copy now splits a line where a new
'user@host:' prompt starts right after a '$'/'#' prompt, and trims leading and
trailing blank rows. Ordinary output (addresses, $ amounts, blank lines inside)
is untouched. Fixture: CloudWorkspaceOfflineView:terminalAfterWakes.
Per design-squad: re-try only while the tab is visible and the sandbox is
awake (never while asleep, waking or going to sleep, so it can't wake it);
every 4 s for 2 minutes, then every 15 s, stopping at 10 minutes; re-armed
when the tab is shown again. The reload swaps the page in place.
Cloud sandboxes have allowlist-only egress, so a desktop-hosted cloud tab
pointed at an unlisted host showed 'Can't reach example.com ·
ERR_SOCKS_CONNECTION_FAILED'. For Orca Cloud pages failing with a SOCKS/proxy
code: 'The sandbox can't reach <host>' with design-squad's copy and 'Open in
your browser'; for localhost, 'Nothing is running on <host> in the sandbox.'
with no button and a quiet auto-retry so a server that starts later appears.
The raw error stays as a muted details line.
Each PTY's processes inherit ORCA_PTY_SESSION_ID=<pty id> at spawn. After terminal.stopExact's normal stop, orcad scans /proc (Linux, async) for anything still carrying that exact id, SIGKILLs it by process group (only groups led by a marked process), and fails the stop with terminal_exact_stop_failed (reason agent_survived) if anything survives a short grace, instead of reporting it verified. Sibling panes carry their own id and are never touched.
Seen on m4air: after two wake/sleep cycles the asleep read-only copy listed 3
terminals for a workspace with one tab. Each boot respawns the tab's terminal
under a new handle and the old handles' cached reads stayed. The copy now keeps
only the terminals the newest whole-workspace terminal.list names (plus any read
after it); a filtered listing never decides, and with no listing all are kept.
Orca Cloud counts as no screencast until a probe proves otherwise, so a
sleeping or unreachable sandbox cannot surface 'Cannot reach…' stream notices
(BR-2 closes with this). Non-http pages: 'Orca can't show the sandbox's
browser here yet.' + 'This page can only be viewed in the sandbox.' A failed
open says 'Couldn't open the page. Try again.' (polite live region).
Orca Cloud's orcad hosts agent/CLI pages in a headless browser it cannot
stream (no browser.screencast.v1), so the tab showed a 'Remote browser'
placeholder and a 'does not support remote browser streaming' toast. On
runtimes without screencast, the viewport shows design-squad's state instead;
'Open on this computer' opens a new focused desktop-hosted tab beside it
(loopback tunnels through the sandbox), keeping the sandbox tab. file:,
about:, chrome: pages get no button. Other stream notices are unchanged.
Seen on m4air: ~200ms after a wake went live the sidebar row read "Asleep",
because main's ready arrives before the status re-read and the last read still
said sleeping. A ready wake newer than the last status read now counts as
running; a read taken after it (or archived/failed) is the truth again.
Seen on m4air: Wake to continue pressed mid-suspend showed the Waking pill from
the press, but as the VM went down the pane's recovery notice briefly read
'Reconnecting to w2slot…' (~1.5s) because only the store's wake counted as
waking. The pending wake now counts too.
composer-redo (pc3b-390-394/4-started.png): Start opened the Claude tab in the background (a create's
first agent asks for activate:false), so the person stayed on the plain Terminal and never saw the
queued prompt run. A hold released by the person's Start now creates the agent with activate:true;
a Renew-driven auto-start (possibly on a background tab) keeps the original args and never steals
focus.
composer-redo (W-93/W-94): with #390's draft-startup gate the host got no startup, but the same
startup went to the pane (windowStartupAfterCreate → createNewTerminalForStartup → web-host terminal
create) and Claude still started into /login. Port #395's choke point: createWebRuntimeSessionTerminalResult
holds an Orca Cloud Claude/Codex launch (not set up or expired, no key) before creating anything, so
every caller (new tab, create's pane startup, post-wake relaunch) is held once; the per-caller wrappers
are gone. The guard asserts only the choke point (plus the pane spawn gate and local-runtime paths)
call the host create RPCs; an exactly-once test: one create with a queued prompt → one strip → one
agent create after Start.
While going to sleep with an earlier copy on screen, the header note now reads
"Saving a read-only copy of chats, terminals and changes…" (design-squad's
wording) instead of "Read-only copy kept on this computer.". The sidebar row
keeps "Going to sleep…" until the sleep ends, from the same flag as the view,
instead of flipping to Asleep when the record does; a failure still names itself.
Fixture: CloudWorkspaceOfflineView:goingToSleepWithEarlierCopy.