Read a run in Studio
Open a run (/runs/<id>, from the runs list or ⌘K) to read it. The header says how it ended, what it was asked and what it answered. Below it, the waterfall view draws the run as a tree of steps, model calls, tool calls and child runs, and selecting a row opens a drawer that answers first: what the step sent, what came back, which tools ran. The story, raw and logs views read the same run as step cards, raw events and app log lines.


The run page
Section titled “The run page”The page lands where something went wrong: the first failed row, else a tool call that never finished, else the step a failed run failed at, else step 0. Every piece of page state is in the URL, so a link reopens exactly what you see; y (or copy link) copies it, without any token.
| Key | State |
|---|---|
view | story, raw or logs; absent is the waterfall |
scale | time, order or graph |
level | agents: the graph scale’s call graph of agents instead of the run’s loop |
sel | The selected row of the run tree |
tab | The drawer’s tab: request, response, tools, logs or raw |
dim | The dim filters, errors,slow,tools |
step, pane | A step ordinal, and its card’s request or wire pane (story) |
t | The replay playhead, a stream position |
q, hide, ev | The raw view’s search, hidden kinds and open event |
raw=doc | The raw view’s document surface |
lsev | The logs view’s lowest severity: info, warn or error |
A step is always its ordinal, the number the loop gave it, never an event’s position.
The header
Section titled “The header”The heading is the agent and the prompt (“director · How many units of SKU A-17 …”), the run id under it. Beside them:
- the status word (Status words), the stop chip in words (“the model answered”, “parked on an approval”, “max steps reached”, “usage limit reached”; every word in The stop chip) linking the step where it fired, and the model. A failed run adds its kind chip in brackets, in words:
[max_steps], or[retry budget spent]whenMaxModelRetriesended it. Beside acancelledword no kind chip is drawn; - the verbs: compare with… (Compare runs step by step), open in app (below), save as test and export json · jsonl · otlp with copy as curl (Export a run), with child runs (include the subagent runs in an export), copy link, and delete run…;
- the counts: steps, the problem counters in words, events, and tokens in and out. The own and delegated split reads “60 in = 20 own + 40 via 1 child”, beside a token chip per Subagent child such as “ops-manager 40 in · 20 out”. Then cost (own · delegated, under
pricing), when it started and how long it took; and the run’s tool concurrency, “parallelism: 4” or “sequential”. That last chip reads the run’s own override first (weft.override.parallelism), then the request record’ssequential_tools, then the manifest; it says “(manifest)” while only the manifest’s value is known, before the run’s spans are read; - PROMPT and ANSWER (the prompt’s file parts as attachments, “file image/png · url”), and for an agent with
weft.Output[T]an OUTPUT card, in one of three states:- the typed output’s JSON, the arguments of the run’s last valid
submit_outputcall, markedtyped output (submit_output)with the Go type it fills (main.Invoice, from the run’sweft.output.type), plusrepaired after 2 invalid submissionswhen the schema refused earlier ones; typed output (submit_output)with thestrippedbadge, when the run submitted its output but the record carries no arguments (content off, a read token);no output submitted, when the run ended without a validsubmit_outputcall (weft.output.submittedfalse on its root span):GenerateAsreturnedErrNoOutput;
- the typed output’s JSON, the arguments of the run’s last valid
- provenance, on a replay: “replay of
<run>· step N”, then in words what it changed, “5 edits (user, args, result, insert)” from itsweft.edits(”, …” when the record’s cap left kinds out) and “fed the compacted view #7” from itsweft.replay.view(“prefix derived” or “prefix view unknown” when the records did not place the view, the header’sderivedbadge saying why; 0.20.0), the raw chips behind details; - the meta line: the manifest hash with its mark (
manifest <hash> · currentor· stale, Manifest check), the weft version, the public id and each metadata pair (each links the runs list filtered by it), and the trace id; a parent run lists its child runs.
At 480 px and under, the header’s verbs fold into ⋯ actions. A playground or app run also gets vs typical chips: its duration against its agent’s p50 and its tokens and cost against the mean per run over the last 7 days. The chips need at least 5 of the agent’s runs in those 7 days; with fewer, they say how many there are (Track agent health).
delete run… removes the run and its child runs from Studio’s database only; your app’s conversation store is untouched. It asks first (Delete run <id>?, listing the child runs that go with it). Done, a toast says deleted run <id>; a refusal stays in the dialog as delete refused: <reason>. It is offered only with the dev token, or with no token on a loopback Host; elsewhere one faint line says why. A nameless agent reads “unnamed agent”, with “set weft.Name(…)” on hover.
The stop chip
Section titled “The stop chip”The stop chip reads the run’s stopped_by, the record’s name for what ended it. The runs list’s stop line, the story’s end line and the devtools panel’s turn chip use the same words. Hover a chip for its hint and the raw value: <hint> — stopped_by <value>.
stopped_by | Chip word | Hint |
|---|---|---|
final_answer | the model answered | the last step called no tool |
output_submitted | typed output submitted | StopWhen: Output[T] ended the run |
parked | parked on an approval | a call awaits Approve/Deny |
max_steps | max steps reached | MaxSteps ended the run |
usage_limit | usage limit reached | UsageLimit ended the run |
loop_detected | loop detected | DetectLoops ended the run |
model_retries_exceeded | tool retry budget spent | MaxModelRetries ended the run |
has_tool_call:<name> | stopped by the tool call <name> | StopWhen: HasToolCall(<name>) |
has_tool_call: | stopped by a tool call (StopWhen) | StopWhen: HasToolCall() |
step_count_is:<n> | stopped after <n> steps | StopWhen: StepCountIs(<n>) |
step_count_is: | stopped by a step count (StopWhen) | StopWhen: StepCountIs() |
canceled | cancelled · <cause>, or cancelled with no cancel cause | the run's context ended |
| any other value | the value itself, such as a custom condition’s String() | a custom stop condition |
A run with no stopped_by has no chip. After the word, the chip adds the detail from the run’s error in parentheses. The detail is copied from the record, never made up:
stopped_by | Detail | Example chip |
|---|---|---|
loop_detected, model_retries_exceeded | The error’s text after too many times: | loop detected (3 identical steps in a row) |
canceled | None: the cancel cause is already in the word | cancelled · app.shutdown |
| any other | The error’s trailing parenthesised group | usage limit reached (input 300/250, output 150/250) |
Beside a status word that already says cancelled (a failed run with error type cancelled), the chip drops the word: it reads · <cause>, or · step N (the step it fired at) when there is no cause. A cancelled run of no steps shows no chip there.
Under the chips, the header can show the model’s last finish reason, stop reason: <reason>. It is shown when the run did not succeed, or when that reason contradicts stopped_by. Only final_answer with stop agrees; any other pair contradicts, and then the label reads last step stopped on: <reason>. A max_steps run whose last step asked for tools reads last step stopped on: tool_calls: the model wanted more, and the budget ended the run.
| View | Key | Shows |
|---|---|---|
| waterfall | w | The run tree (the default), the flow strip and the drawer |
| story | s | One card per step: the prompt, the model’s reply, each tool call with its arguments and result |
| raw | r | The event stream as a table, or the run document as a tree |
| logs | l | The app’s own log lines under the run’s spans |
The waterfall draws on one of three scales, switched with the scale: buttons or t:
| Scale | Axis | Needs |
|---|---|---|
time | Wall time from the run’s spans; the axis draws only the ticks its track’s width holds | Spans; the default when the run has them |
order | Positions in the event stream, the replay playhead’s axis | Events; the default without spans |
graph | The run’s loop: prompt, model and one node per tool; ?level=agents the call graph of agents and MCP servers | Spans, or the run’s events for the loop |
A derived run (one Studio built from spans alone, with no event record) offers the time and graph scales only: the order scale and its playhead have nothing to show. Its root row counts its steps, its chat spans, as its header does (“2 steps”).
Above the tree, the flow strip has one pill per step (its finish and its first call or words) and the end state (”■ done”). A pill click selects its step.
The story
Section titled “The story”Each step card heads with its finish reason, tokens, latency and the events it spans. Tool calls are one line each: the name, the arguments, a badge (RETRY 1/3, TIMEOUT, PANIC · HANDLER, a ToolError code, ok), the result’s size and the execution time, opening to the pretty-printed arguments and the result. A timed-out call reads its limit (“301 ms / 300 ms limit”), and a call that waited for a slot or a barrier adds “queued 3 ms”. A child run sits under the step that called it (agent, status, usage, a link) and opens lazily, with its own prompt. collapse all steps folds the cards; only problems dims the steps that went smoothly.
A parked call reads “awaiting a decision” (with ”· ParkOn”, ”· ParkAllExcept” or ”· middleware” when one of those parked it; the playground’s side-effect parks read ”· ParkAllExcept”, the rule they use), and a ParkSource park “paused by ParkSource” (“paused at breakpoint” on a playground run). Since 0.20.0 a breakpoint park’s card offers clear the breakpoint on <tool>, which takes that tool out of the runtime’s breakpoints so the runs it starts from then on run it; the parked call still waits for its decision. It needs the server token, the breakpoints capability and one connected runtime of the run’s service holding the breakpoint. With two or more it points at the Runtimes page, and anyone else reads why not. A call the loop never ran because its step hit the output limit reads “not executed”. Since 0.18.0 decisions read in one vocabulary on the run page, the playground’s result cards and the devtools panel: the verbs are approve, deny and resolve… (they read continue, skip and resolve before), the state is “awaiting a decision” (was “pending approval”), and a decided call reads its outcome.
A step or call the record leaves unfinished says so, in words picked by the run’s status:
| Where | Word | When |
|---|---|---|
A step card’s head, no step_finish | in flight… | The run is still running |
failed during this step | The run failed | |
interrupted during this step | The run is interrupted | |
no step_finish recorded | Any other status | |
A call row, tool_start and no tool_finish | running… | The run is still running |
NEVER COMPLETED | The run ended first (hover: “tool_start was recorded but no tool_finish — the run ended first”) |
The step words have the hover “no step_finish was recorded: the run ended during this step”. A parked call has no tool_finish either, but it reads its park word instead (above).
The story ends with one line saying how the run ended:
| End line | When |
|---|---|
■ <stop words> at step N (detail) | The run recorded a stopped_by: the stop chip’s word and detail, at the step the run failed at, else its last step; hover for the chip’s title |
■ failed · <err> | A failed run that named no stop, such as a model error; its stored error span is the terminal record |
stream in progress… | The run is running, or settling with no stopped_by yet and not failed (a settling run that has either shows its ■ end line instead) |
the stream ended without run_finish | The run has events but no run_finish, no stopped_by and is not failed |
replay · N of M events shown | The replay playhead is before the end (Replay playhead) |
A story with no step yet reads waiting for the first event… while the run runs, and no events were recorded for this run when it has none. It reads no steps yet when it has events but no step, and nothing revealed yet — play or step forward with the playhead at the start.
When a step’s request saw a compaction view, its card says so (“2 messages rewritten into 1 by PrepareStep”) with the compacted badge, and show original expands the replaced messages. A thread session’s compaction marker sits at the top of the run it is filed under (“12 messages compacted into 2 · 8.1k → 1.2k tokens”).
The Request pane and the Wire tab
Section titled “The Request pane and the Wire tab”Each step card’s request shows what the step called the model with:
- the system prompt, diffed against the previous step (at step 0, against the registered agent’s instructions when they differ);
- the tool catalog, every param (
temperature,top_p,max_tokens,stop,seed; “adapter default” when unset), tool choice, thinking (with how the adapter sent it, “low → reasoning_effort”), and the attempts; - an execution row:
sequential_toolsand whether the call streamed (“sequential_tools false · stream true”), and the step’s parallelism dial (the agent’s, a run’s lower one, 1 underSequential()), also drawn “parallelism N” beside the step’s tool lanes, aSequentialtool’s row ”▮ sequential”; - a param a run override changed, tagged against the agent’s own from the stored manifest’s
params: “temperature 0.4 ◂ override (agent: 0.7)”, else “(source run: …)” on a replay, else “override” alone; - each tool’s origin in parts for an MCP tool (
mcp:<server>, its transport, prefix and name on the server), and the tools the import skipped, greyed (MCP identity); - the messages sent: their count and bytes, the last three inline, the rest as a tree. A tool result whose text is
no result recorded: the call was interrupted, the resultweft.Repairwrites for a call that never got one, is prefixed[synthesised by Repair]: no tool ran. Studio matches the text, since the record carries no other mark, so message lines show it: the Request pane’s, the panel’s Request tab’s and a compaction marker’s. The story’s call rows never do.


Chips mark what the record attributes to a change: changed by PrepareStep, the neutral prompt changed at this step, catalog changed at this step, overridden by experiment, and a “PrepareStep: system, tool_choice, params” chip naming what the PrepareStep chain changed. weft’s examples/studio-local trims its prompt after step 0 to show the first chip.
The pane’s wire tab shows each attempt’s provider request and response: method, URL, headers, the body pretty-printed when JSON, raw SSE text. download .json saves one exchange’s request and response. What it marks:
| Mark | When |
|---|---|
| “2 headers withheld: …”, “1 query parameter withheld: …” | Credentials stripped before the record left the app |
truncated | A body past 256 KiB |
truncated, reading “incomplete: the body was not read to the end” | A response body closed before its end (a transport retry, a timeout, a stopped reader); the body shown is what was read |
derived | A raw record that did not parse |
The tab needs otel.RawBodies(true) behind the development gate (WEFT_ENV=dev, or otel.DevMode()) and a first-party adapter; otherwise it reads “not recorded” with that fix. ?step=1&pane=wire opens it.
Raw and logs
Section titled “Raw and logs”raw has two surfaces. events is the stream as a table (position, type, a one-line summary) with kind filters and their counts (step, tool, result, error, reasoning, delta), a search over the JSON, and each row opening to the full event. document is GET /api/runs/{id} as a collapsible tree. Both copy and download whole.
logs lists the app log lines recorded under the run’s spans, with a severity filter (all, info+, warn+, error+) and jump to span on each line. An OpenTelemetry GenAI log event, gen_ai.<role>.message or gen_ai.choice, is drawn as that message: its role, content, an assistant’s tool calls, a choice’s finish reason. A run recorded without the slog bridge reads “not recorded” with the fix: otel.Install(…, otel.Slog()) (Bridge your app’s slog lines into runs). A tree row a WARN or ERROR line landed on carries a tick such as “E1 W2”.


The run tree
Section titled “The run tree”The waterfall’s rows nest run › step › model call (› attempt) and tool calls › child run. Each row has a label (the agent, “model · script”, the tool’s name; never an OTel span name) and a gist (“4 tools: inventory_api, …”, ”→ 1 call”, the first 60 characters of a reply or result). It has a badge (the finish reason, the failure kind such as retry 1/3, timeout, panic · handler, a ToolError code, “deadline” for a tool that hit context.DeadlineExceeded, or ok) and its duration. On the time scale a start column gives each row’s offset from the run’s start (“+4 ms”); at phone width it moves into the duration’s hover. Durations read the same on Studio and the panel: “15 µs”, “11 ms”, “1.2 s”, each kept on one line (“21.3 ms”, never “21.3” over “ms”). A span’s whole name shows when its row has room (“execute_tool lookup_order”), and an attempt’s name stays beside its error chip (“attempt 1 · script” with stream_idle). A step that ran calls side by side says how many lanes. The accent under the bars is the critical path: of overlapping calls, the one that ended last.
The failure-kind words, read from the execute_tool span’s error.type and the attributes beside it, are the same in the story’s tool lines, the tree rows and the drawer (hover one for its hint):
| Word | Means |
|---|---|
retry 1/3 | A weft.ModelRetry result: the model was asked to fix its call, the first of MaxModelRetries 3 (from weft.tool.retry and weft.tool.retry_budget; without them the word is RETRY) |
retry 3/2 — budget spent | A RETRY past MaxModelRetries: the run fails at its next model call |
strict input | An INVALID_INPUT result from StrictInput: an argument field the schema does not declare |
invalid input · … | Arguments that did not decode into the tool’s schema |
timeout, deadline | The call’s Timeout passed; the run’s deadline passed while the call ran |
cancelled | The run’s cancellation reached the call (context.Canceled) |
panic · handler, panic · middleware | The handler panicked; a WrapTools middleware around it did |
tool error, denied by policy | The handler returned an error; mw.Allow refused the call (a refusal names its layer from weft.tool.denied_by: denied by approval, denied by grant; one recorded without it reads DENIED) |
MCP unreachable, MCP refused the call, MCP tool error | The MCP tools/call got no answer (mcp_transport); the server answered a JSON-RPC error (mcp_rpc_error); it answered isError (mcp_tool_error) |
pending child | A Subagent child run parked awaiting a decision |
any other error.type | Shown as it is: a ToolError code the handler returned |
A Subagent call’s outcome reads instead: child failed (its error is the result the model saw), or child awaiting a decision (its calls are decided on the child). It reads child timed out · 2.0 s limit when the delegation’s Timeout passed and the child was abandoned, or cycle refused (SUBAGENT_CYCLE: the agent is already running in this call chain, so no child run started).
dim all but: errors · slow · tools dims every row the active filters do not keep (slow keeps rows that took at least a fifth of the run); a kept row’s ancestors stay lit, and nothing is hidden. j/k move the selection, the arrow keys move and fold when the tree has focus, and expand · collapse open or fold every row.
A step or call the events have and no span covers is still drawn: “spans not reported yet” while the run goes on, else badged not_recorded.
Child runs in the tree
Section titled “Child runs in the tree”A subagent’s run is one collapsed row under the tool call that started it, with open run ↗. Its chevron (or → and ←) expands its steps, model calls and tools in place; its own children are again one collapsed row each. A ?sel= naming a row inside a child expands the children above it.
While an expanded child runs, the page reads its document and events again every 2 s, the events from the position past the last one it holds; a finished child is read at most once more, when its last read had not reached its end, then never. A child whose document has not answered yet is asked again while the run runs. A child’s stream is read up to 20,000 events; past that its row is badged truncated and nothing more is read. The stream is read again from the start only when the last read held gaps.
The tree comes from GET /api/runs/{id}/spans?tree=1 (capability spans_tree): the run’s spans and every descendant run’s, at most 10,000 spans of at most 10,000 runs (a derived run’s tree is cut from its trace, itself read up to 50,000 spans). Its holes are badges above the tree: truncated past the cap, not_recorded naming a finished child with no span, hidden for runs a panel token may not read.
The scope switch this run | whole trace (0.20.0) shows the same tree at two scopes, each a URL. whole trace opens the OTel trace the run belongs to, with the selection kept (Traces); the trace page draws the same switch, and its this run comes back to this run.
The graph scale
Section titled “The graph scale”?scale=graph draws the selected run’s loop: prompt, then the model, then one node per tool with its calls in call order (failures, retries as ↻, denials, parks with a dashed edge; MCP tools framed by their server), and the end in the stopped-by words. Tools the request offered and the run never called are drawn faint. Above it, up to three insights each select their node: a budget end, the output limit, a repeated identical call, a tool that always failed, tools never called. A subagent node expands in place with a breadcrumb and its own cost. The step scrubber (?step=, J / K, ▶ play) lights one step’s edges, and selecting a tool node selects its first call, with ‹ call i of n › above the drawer.
?scale=graph&level=agents is the call graph: one node per agent (its runs, the slowest, tokens: “1 run · slowest 23.4ms · 60→30 tok”) in call-depth columns, and one per MCP server the run called. A node is sized to its words, at most 420 px: a longer name is cut with an ellipsis and shown whole on hover. An edge carries its call count and slowest call (“1× · 14.5ms”); a self-call is a loop. Selecting a node selects its first run’s row, and switching scales keeps the selection. A child run’s MCP calls are not drawn (“MCP calls of 2 child runs not shown”), nor are thread/pool child sessions. Before 0.18.0, ?scale=graph opened this call graph; a link meant for it adds &level=agents.


The drawer
Section titled “The drawer”The selected row opens a drawer beside the tree. Its kind label says what it is: RUN, STEP, MODEL, ATTEMPT, TOOL, CHILD RUN or SPAN. For a step, or its model call, attempt or tool, the answer comes first:
| Line | Says |
|---|---|
| verdict | Where the run failed at this step, its stop and the error’s detail; then finish, tokens, latency, first token |
| sent | Messages, tools offered, the record’s changed-at-this-step marks |
| replied | The text or the calls |
| tools ran | How many ran, how many failed |
| then | The next step, or the run’s end |
Then the row’s facts. A model call shows its answering model and attempts, each with its HTTP status, the provider’s cause and the wait before it: “503 · Service Unavailable: overloaded · waited 1 ms”. Then a tool’s failure kind and a subagent call’s outcome (“child failed”, “child awaiting a decision · refund_order”, “child timed out · 2.0 s limit”). A failed attempt’s cause is a phrase for its error.type, with the raw type on hover (error.type <type>):
error.type | Words |
|---|---|
rate_limit | rate limited (429) |
overloaded | overloaded (503, 529) |
timeout | timed out (408, 504, a transport timeout) |
auth | auth refused (401, 403) |
server_error | server error (another 5xx) |
context_overflow | past the context window |
model_error | provider error (see the status) |
stream_idle | no bytes from the provider within the adapter's idle timeout |
model_contract | the adapter broke the stream contract |
unsupported | the model cannot honour part of this request (ErrUnsupported) |
model_requests_denied | denied by the kill switch (WEFT_MODEL_REQUESTS) |
context.Canceled | cancelled |
context.DeadlineExceeded | deadline |
| none recorded | error (hover: “the attempt failed; no error.type recorded”) |
| any other | The type itself (hover: error.type <type> — no description) |
A failed call’s attempts end with why the retrying layer stopped: “gave up: retries spent (2 attempts)”. When several attempts failed and none says why (a record older than 0.20.0, or a layer that does not report a reason), the line reads “gave up after N attempts”. There is no line when the last attempt ended on the run’s cancellation or deadline. An attempt’s wait is drawn as a hatch before its bar.
What wrapped this call
Section titled “What wrapped this call”For a model or tool call the drawer shows what wrapped this call. It is the middleware chain outer to inner, read from the run’s stored manifest: a tool’s Timeout outermost, the model or the handler last. Each layer shows what it decided on this call, read from its spans:
| Layer | Its decision on the call |
|---|---|
mw.Retry | its attempts, waits, HTTP status and why it gave up |
mw.Fallback | the model that served the call |
mw.RepairJSON | “repaired 1 arg” |
mw.Allow | ”✋ denied by policy” |
mw.MapErrors | the error kind it hid, “INTERNAL ← io.EOF”; a plain Go error (errors.New) reads “INTERNAL ← plain error”, an errors.Join or two-%w error “joined errors” |
mw.Log, mw.Audit | none: they record no decision per call |


A closure layer, recorded as func@<dir>/<file>:<line>, is shown as <file>:<line>. The masked kind’s words are Studio’s and the panel’s only: the recorded weft.tool.error_masked is unchanged (*errors.errorString) and shows on the hover. A layer that did nothing on this call is greyed; a click opens its attributes. A second layer of the same kind says the record cannot tell which of the two decided, because the attempt spans and the call’s attributes name a layer’s kind, not its position. A layer without Unwrap is marked opaque, and the layers inside it are not listed. Without a stored manifest only the layers that reported are shown, with a line that says so, in no known order. The Agents page’s cards draw each agent’s model and tool chains the same way. Under otel.DevDetail() each layer is also its own layer <name> span (The onion in the record).
The story’s step chips say the same in short (↻ retry ×2, ⇄ fallback, ✎ repaired 1 arg), and so do the tool rows’ chips (✋ allow, ⇣ io.EOF, ✎ repaired, the call’s mcp:<server>). The devtools panel draws them too. On the graph scale, the call graph draws a caller-linked run under its caller and an mcp:<server> node with its calls, slowest call and failures by kind.
Below are the tabs Request · Response · Tool I/O · Logs · Raw OTel; Raw OTel holds the span’s attributes and events. read in the story opens the story on the row’s step.
A row the event stream covers has ▶ jump here in its drawer, which moves the replay playhead to the row’s start (event #N); a derived run has no events, so no such button. The verbs replay from here ▸, edit… (a tool row reads edit result…) and compare… (and replay the child ▸ on a child row) start a playground replay or a step compare. Without the playground, under a read-only token, while the run runs, or on a derived run, they are hidden and one faint line says why (Replay a run from any step).
The same step, assembled server-side with its request, attempts, events, tool calls, children and holes, is GET /api/runs/{id}/steps/{n}; the request records are GET /api/runs/{id}/requests and the tool catalogs GET /api/runs/{id}/tools.
Replay playhead
Section titled “Replay playhead”On the order scale a replay bar sits under the header. Its playhead moves over the event stream’s positions, never time, so replaying a run is exact: the tree, the drawer and the story show the run as it stood at that position.
| Control | Key |
|---|---|
| play / pause | space |
| previous / next step or tool event | [ ] |
| one event back / forward | , . |
| first event / the end | Home, End (bar focused) |
| speed | 1× or 4× |
Click the bar to seek; the readout names the event at the playhead, and ?t= keeps the position in the URL. In the story, each step, call and steer has a jump to this step (event #N) button. While the run runs the bar reads “live”; a finished run’s reads “end · all N events”, and its way back “back to the end”. This playhead is not the playground’s replay, which re-runs the agent.
Badges for what was not recorded
Section titled “Badges for what was not recorded”Studio never draws an empty pane without saying why. Each gap is a hole from one closed table, drawn as a badge (its label is the hole’s name unless the table gives words) with a reason and, where one exists, a fix, on the header, the step cards, the tree and the raw rows:
| Hole (drawn label) | Means |
|---|---|
truncated | A size cap cut this content before it was stored |
stripped (“content not captured by this app”) | Content was not captured: a content-off destination or weft.Content(false) |
redacted | A destination’s Redact hook rewrote it (reserved: weft’s pipeline does not mark one) |
max_tokens | The step finished on the output token limit |
interrupted | No finish arrived and nothing was heard for over 30 s |
gap | A record the run counts is missing: dropped on the way |
not_recorded (“not recorded”) | The weft that wrote the run kept no such record, or this kind was not exported |
derived | Computed by Studio from spans, not stored as emitted |
hidden (“hidden by your token scope”) | Your token’s scope may not read it |
compacted | The model saw a compacted view of the transcript |
The six note-toned badges (stripped, redacted, not_recorded, derived, hidden, compacted) are a neutral outline; the four losses (truncated, max_tokens, interrupted, gap) keep an error outline. Badges and holes lists every cause.
Long runs
Section titled “Long runs”Past 60 steps the story mounts only the cards in view, and past 200 rows the waterfall and the raw table do the same; the row the URL names is always mounted. A jump to step scrubber heads the story (n; a number and Enter in its box). The page keeps the last 50,000 events of the stream: past that it says “showing the last N events”, the earlier ones stay on GET /api/runs/{id}/events?after=, and the replay bar is off for that run.
Open in app
Section titled “Open in app”open in app opens the page in your app where the run’s request came from. The link carries #weft_scope=, naming the run’s conversation, and &weft_step=<n>[.<tab>], the step and tab you were reading. The devtools panel there scopes itself to it. It needs the run to carry weft.page_url, which scope.Header stamps from the request’s Referer or Origin. Without it the button stays, disabled, titled “the run carries no weft.page_url: wrap the app’s handler in scope.Header”. A run without a public id opens the bare page (Scope the panel to a conversation).
Best practices & gotchas
Section titled “Best practices & gotchas”- Record spans and records both. The time and graph scales, the child subtree and the attempts read spans; the story and the order scale read events. A run that arrived as spans only is a derived run, badged
derivedand drawn on the time or graph scale only; a run whose records arrived without spans is badgednot_recordedwhere spans are needed (its attempts, the time scale). (Source:holes.golden.jsonnot_recordedandderivedcauses;routes/runs.$id.tsx:666-678) - Bridge slog to see app logs. The logs view and the drawer’s Logs tab read lines recorded under the run’s spans, which needs
otel.Slog()orotel.SlogHandler. (Source:GET /api/runs/{id}/logsnot_recordedhint) - Wire bodies are dev-only.
otel.RawBodies(true)records them only behind the development gate (WEFT_ENV=dev, orotel.DevMode()), for the Local and Studio destinations. (Source: AGENTS.md block 9; CHANGELOG.md:841) - The order-scale playhead is not a replay of the agent. It re-reads recorded events; “replay from here ▸” is the playground’s verb and runs the agent again. (Source: CHANGELOG.md:1750)
See also
Section titled “See also”- Find runs: the runs list, search and filters
- Compare runs step by step
- Replay a run from any step, with edits
- Badges and holes
- Studio pages, URL parameters and keyboard
Symbols used: otel.RawBodies · otel.Slog · scope.Header · weft.Name · weft.Content