feat: durable cloud execution for built-in agent turns - #1208
Conversation
6c9fba3 to
b0bb7da
Compare
…cloud-runner-detached-turns
cloud-runner type-checks cli/ sources in place, so the two node_modules trees must resolve the same @earendil-works package versions. cli lagged at 0.80.2 while root and cloud-runner pin 0.80.7, which broke cloud-runner's typecheck at the cli/shared type boundary.
Semgrep Security ScanNo security issues found. |
f030034 to
4d185ac
Compare
|
@thunderbolt-automation-agent review this PR |
|
Preview environment destroyed 🧹 Stack |
PR Metrics
Updated Mon, 10 Aug 2026 19:20:12 GMT · run #2645 |
|
Review of the cloud runner and detached-turn catch-up at 4d185ac. One critical isolation gap, several high severity lifecycle and delivery gaps, and a handful of medium and low items, listed by severity. CriticalConcurrent resume bypasses session ownership (cloud-runner/src/session-runtime.ts:491). High
Medium
Low
This is comment-only feedback. It does not approve or merge this pull request. |
Summary
cloud-runner/) that executes the built-in agent's turns server-side: a response keeps running when the app is closed or backgrounded, and is replayed when the thread is reopened. Sessions are process-owned and journaled; clients authenticate over WebSocket with their signed session bearer (verified by backend introspection), and all model requests ride the backend inference gateway under the user's own token — the runner holds no model keys.search,fetch_content) through the backend endpoints, plusrender_htmlwith static validation. Source labels and citation-registry entries travel on the tool results themselves, so[N]citation chips render on live, replayed, and reloaded runner turns. Native widget tags (weather, link previews, maps) keep working; a chat-surface section in the runner's system prompt steers models toward them instead of offline artifacts./v1/config(CLOUD_RUNNER_WS_URL), and account deletion hard-deletes the user's runner sessions. Deleting a thread purges its runner session.Spec: THU-775.
Test plan
CLOUD_RUNNER_WS_URLon the backend