Skip to content

0.90.43: LiveRun keeps pursuit-only agents and shows unreadable roots; sandbox-ui 1.1.4 - #347

Merged
drewstone merged 4 commits into
mainfrom
feat/liverun-live-agentgraph-canvas
Oct 27, 2026
Merged

drewstone merged 4 commits into
mainfrom
feat/liverun-live-agentgraph-canvas

Conversation

@drewstone

@drewstone drewstone commented Oct 27, 2026 •

Copy link
Copy Markdown
Owner

Step 4 of epic #10550 (ops-board #10553): the live agent canvas under agent-runtime-top --web (agent-runtime 2.0.1).

Problem. #337 already mounts AgentGraph (live, tree|hub) beside TraceWorkspace. Two gaps remained:

  • A run with no spawn journal (a retained or observer-only run) lists its agents only in TopSnapshot.pursuit.nodes. LiveRun ignored them, and the waterfall dropped any worker without startedAt.
  • When Runtime reported a root as partial/invalid-state with no runs, LiveRun printed "No recorded agents in these roots" and hid the diagnostic.

Change (src/workspace/LiveRun.tsx, +15/−9):

There is no usdKnown field in AgentGraph or FlowSpan. Unknown spend already leaves costUsd unset (cost()) and never drops an agent.

Proof. A real Runtime job: supervisePursuit(), Runtime's durable entry. The router brain (zai/glm-5.3) spawned 3 router workers, with runDir=<root>/<runId>, under agent-runtime-top --web --root <root> --assets <this build's dist> (Runtime 2.0.1). The run liverun-proof-5 finished with winner.

Check Result
Card after the run's first journal write 455 ms desktop, 455 ms phone (target 2 s)
Spawn tree with 3 workers, tree and hub layouts shown at 1440×900 and 390×844
Waterfall with root and 3 worker bars, live shown at 1440×900 and 390×844
Settled root Runtime 2.0.1 reports invalid-state with 0 runs, because nested worker runIds land in observer.jsonl. This PR shows that diagnostic instead of "No recorded agents". The fix is tangle-network/agent-runtime#2167, shipping in 2.0.2.
Independent review no correctness findings. One low note: a crashed run's never-settled pursuit node shows as running, which is what Runtime reports.

The recordings (full desktop and phone webm, 7,419 and 7,788 frames) are held privately, as the README's public-repo rule requires.

Gate. beelink2 ran pnpm build && pnpm typecheck && node --test tests/*.test.mjs (157/157) && pnpm build:example && pnpm pack and passed at a32d9b3. The merge gate runs at the head.

…sandbox-ui 1.1.4

A run with no spawn journal (a retained or observer-only run) lists its agents only in
TopSnapshot.pursuit.nodes. LiveRun now adds those agents as cards and takes each worker's
missing start and end from the node's timing.startedAt and settledAt, so the AgentGraph
spawn tree and the TraceWorkspace waterfall keep every recorded agent.

sandbox-ui 1.1.4 brings the live failed-card fix (charts 0.21.21). 0.90.42 is the first
release carrying the ./workspace-viewer.js export from #337, which agent-runtime 2.0.1's
agent-runtime-top --web resolves by default.
… agents"

Runtime 2.0.1 turns a settled supervise root into invalid-state with zero runs (nested
worker runIds in observer.jsonl). LiveRun only printed diagnostics for the selected run, so
with no run it claimed the root held no agents. Every partial root now states why.
@drewstone drewstone changed the title 0.90.42: LiveRun keeps pursuit-only agents and shows unreadable roots; sandbox-ui 1.1.4 0.90.43: LiveRun keeps pursuit-only agents and shows unreadable roots; sandbox-ui 1.1.4 Oct 27, 2026
@drewstone
drewstone merged commit 999a39c into main Oct 27, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant