Dive

Networks

workbench__set_sketch

Puts the design sketch of the network in the pane, replacing the previous one.

Behavior

  • Carries the confirmed restate, every node with its job, model role and design principles, and the edges between nodes.
  • Nodes keep their drafts across sketches. A drafted node left out of the new sketch is reported so it can be discarded.
Available toEffect
Workbench agents onlyRead-only

Input

edgesobject[]
edges.[].fromstringrequired

A node name

edges.[].kindenum<string>required

Available options: handoff, subagent, calls

edges.[].tostringrequired

A node name, or an existing tool, plan or agent

nodesobject[]required

An edit: what changes in this opened item, in one line, specific enough for its builder. Omit for an opened item that stays as it is and for a new node

nodes.[].jobstringrequired

What this node does, in one sentence

nodes.[].kindenum<string>required

Available options: agent, plan, tool

The model role it runs on (agents, prompt tools, and plan steps that call a model); omit when it calls no model

nodes.[].namestringrequired

The file's name: a tool name without user__, a plan identifier, or an agent name

The design principles this node applies

True for a node a pending question would add

Its output, field by field, as the nodes that read it expect it

Its input, field by field, as the nodes that call it will pass it

restateobjectrequired

An edit: the change, in one sentence

A new network: the limit it works within

restate.out_of_scopestring[]required

A new network: what the user gets. Required unless problem and change are given

An edit: what went wrong, or what the user wants changed

restate.successstringrequired

How the test shows it worked; in an edit, the evidence's input and what the answer must do

Output

draftedany[]
edgesinteger
nodesinteger
{
  "drafted": [],
  "edges": 3,
  "nodes": 4
}