Repository navigation
feat(remote-sessions): show tasks on other computers as sub-agents - #5975
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Automations to automatically generate PRs for you. |
OpenWork evidence
Run details · Open the preview to inspect evidence and sandbox options. |
There was a problem hiding this comment.
Warden clearance. Complete security and confidentiality review of 1961fe9ec697dfd50043aeb76fd3cd5e1e7f05f4 found no high or medium security findings and no confidentiality findings. Any new push dismisses this approval. Analysis run
Warden: approvedNo high or medium security findings and no confidentiality findings. Reviewed |
1961fe9 to
5aff7b1
Compare
There was a problem hiding this comment.
Warden clearance. Complete security and confidentiality review of 5aff7b1348a0db4a1f5644846a040753de3f586f found no high or medium security findings and no confidentiality findings. Any new push dismisses this approval. Analysis run
A task the agent starts on the cloud or another computer now shows in the
desktop chat like a sub-agent: where it runs, whether it is working, waiting
on the person or finished, and its answer. The row opens the conversation
in the side panel, where the person can follow up or stop it, and a task
waiting on the person marks its chat in the sidebar.
Following tasks is built to stay cheap:
- Den: a `remote-session:status` capability and member routes
`POST /v1/remote-sessions/{status,read,send,stop}` on the same executor.
Status is batched (up to ten), versioned (an unchanged task returns its
ref and version) and can hold the call up to 20 s until one changes.
Desktop and registered tasks read their stored receipt; Cloud tasks make
a small worker read (`getThreadWaitingFor` in headless-threads).
- App: one follower for every row and panel, one waiting call at a time,
nothing while the window is hidden or offline or once tasks settle, and
at most one call every two seconds however busy a task is. The panel reads
the transcript only when the status changes.
- `@cloud` and `@desktop` tell the agent not to poll when the chat follows
the task; the agent's own status checks are hidden from the chat.
Behind `remoteSessionSubagents` (cloud and self-hosted, off). Turning it off
restores the plain tool call and stops every status call.
Signed-off-by: Jalil <[email protected]>
Signed-off-by: Jalil <[email protected]>
5aff7b1 to
534a669
Compare
There was a problem hiding this comment.
Warden clearance. Complete security and confidentiality review of 534a669e10898a6035482d5d4b92971a545af164 found no high or medium security findings and no confidentiality findings. Any new push dismisses this approval. Analysis run
#5975 added it to the retired evals/specs; its proof already ran on that PR. Also removes a world no spec uses.
* test(evals): replace evals/specs with core journeys per product promise Delete unit and integration tests that leaked into evals/specs, fold the remaining e2e specs into 60 core journeys under evals/core (one or more per promise in evals/promises.ts), and retire evals/specs. spec-lint (evals/scripts/spec-lint) replaces the boundary and channel ratchets: no baselines, one bad fixture per rule, and every error says what to do instead and which core journey to extend. Tooling (test-files, journey catalog, pr-proof, parity runner) finds journeys by basename in core/ and proofs/. * test(evals): drop polynomial regexes from journey behaviors * ci(evals): run the full core journey suite in its own workflow PR proof caps changed specs at 32. A PR made only of core journeys and proofs over that cap keeps the core chat journey as PR proof; the new Core journeys workflow runs every non-packaged journey nightly, on demand, and on a PR that changes the workflow. * test(evals): cut e2e to nine core journeys; move security rules to den-api API tests - evals/core keeps the nine journeys in evals/journeys.ts; promises.ts, sharedWorlds and every other core journey are gone, along with the worlds and behaviors only they used (187 -> 28 world files). - spec-lint shrinks to three rules: allowed-files, real-product, honest. - Security rules (escalation, tenant isolation, member API keys, admin-only actions, MCP OAuth, skill access, audit secrets) are now 23 API tests in ee/apps/den-api/test/api against the real app and a throwaway MySQL database (~14s), run in CI next to the Den unit tests. - Core journeys run on every PR and nightly; packaged smoke runs only app-smoke and packaged-update-install. - New verify-openwork skill: how to prove a change on the real product. * test(evals): fix three core journeys found red on their first CI run - secure-keys-in-chat declares the web surface its world now uses. - agent-connection-journey stops clicking a folded 'Show steps' button the chat no longer renders for single-call runs (#5547). - thread-restart world stops the leftover renderer dev server before waiting for its port, and fails if app processes outlive a quit. - core-chat runs only in the PR Core journey lane (it needs a Freestyle world). * test(evals): drop journey steps the den-api API tests now prove secure-keys-in-chat no longer re-proves member key isolation, team-leave key removal and redirect/echo redaction through the UI; ee/apps/den-api/test/api covers them in seconds. thread-continues-after-restart drops the folded ArrowUp prompt-recall step, which is not part of surviving a restart. * test(evals): retire remote-session-subagents spec after its PR proof #5975 added it to the retired evals/specs; its proof already ran on that PR. Also removes a world no spec uses. * test(evals): drop the stale slow-history restart case The app no longer issues the uncapped history read that case slowed down (0 delayed reads in CI), so it could not fail on the behavior it named. The crash and quit cases keep the user-visible claim.
What is this about?
Tasks started in the cloud or on another computer appear in the desktop chat like sub-agents, with progress and a conversation panel for follow-ups and stopping work.
What problem does it solve?
People can follow delegated work, see when it needs them, and steer it without repeatedly asking the agent for updates.
What was the situation before?
The chat showed “Ran a capability for …”; following the remote task required repeated conversation reads.
How is this implemented?
What it looks like
A compact, two-line row shows the task name, computer, and current state. Clicking opens the side panel; it never opens automatically.
Steering the task
Feature flag and rollback
remoteSessionSubagents, off by default on cloud and self-hosted deployments./admin; Turn off everywhere overrides both.config.features.remoteSessionSubagentsforces on/off; the kill switch still wins.feature_disabled.remote-session:statusandPOST /v1/remote-sessions/{status,read,send,stop}reuse existing execution and ownership checks.@cloudand@desktoptell the agent that chat follows the task, avoiding agent polling.What else changed?
Release note
Tasks your agent starts on another computer can now appear in the chat with their status and answer, plus a side panel to read, follow up on, or stop them.
Evidence
evals/specs/remote-session-subagents.e2e.test.ts(v1 and v2) — before: a plain tool call; after: task states, sidebar attention, a conversation panel, word-for-word follow-up delivery, member privacy, bounded status calls, and turning the feature off while the panel is open restores the plain chat and disables all four member routes.The journey uses the real app and Den with a simulated registered computer. Live cloud and physical-machine execution are outside this journey's coverage.
Design: P3, P11, S4, S5, C4, C5, T1.