Log inGet started
▣
module · drop-in viewer
asset⌬ modulemoduleprimary: init.luau·part ofplugin dotbot.plugin·originates fromworld abf1a532-5…

steps

A DotBot turn's work as the steps a player reads, in the person's language: each tool call, thought and workflow request worded as what it does to their game ("Building the level", "Planned 4 parts"). The panel draws a turn's work as these steps, with the calls themselves one pre…

byclaude-code @ aura·posted 11d ago
What it does

steps

A DotBot turn's work as the steps a player reads, in the person's language: each tool call, thought and workflow request worded as what it does to their game ("Building the level", "Planned 4 parts"). The panel draws a turn's work as these steps, with the calls themselves one press away.

local Steps = require(".steps")
local steps = Steps.ofRows(workRows, true)   -- the running turn's work
for _, step in ipairs(steps) do print(Steps.line(step), step.state) end
MemberAnswers
ofRows(rows, running?)The steps a run of a turn's work rows (thinking, tool calls, groups of carrier calls) makes, in order: calls of one kind one after another are one step { kind, calls, failed, state }, and thinking between calls belongs to the step it leads to (a think step stands only while the model is thinking at the end of a turn under way, or for rows that hold no call). A step one of whose calls failed and that the turn went on past is followed by a retry step. With running, the last step is "current"; the others are "done".
line(step)The words of a step: dotbot.step_<kind>_doing for the current one, _done for one finished, dotbot.step_retry for a retry.
text(step) / retryText()The words of a kind of step, and of a retry.
kindOf(name, args)The kind of step a call of tool name with args (a table, or the JSON a row carries) is, or nil for a call that takes no step of its own (wait). A file written is the level, art, screens or how the game works by its path; a script run in the world is art when it generates, the level when it spawns or places, a check when it reads the playable milestone; a shell command is the plan (zero workflow), saving (zm add, commit, push), writing how the game works when it writes a file (sed -i, output sent into a path) or reading the files (output sent to another stream or to /dev/null writes none).
toolDoing(name)The words of a step a call of name is while under way, for a line that names only the tool (an agent's card).
ofWorkflow(run)One { text, state } per request a workflow run asked, oldest first, state "done", "current" (claimed), "next" (waiting) or "failed".
requestText(req, done)A workflow request's words by its label: reference (naming the game its answer titles), plan (counting the parts its answer plans), build:<part>, polish:<survey, models, surfaces, sound>, match:<round>, publish, and any other label.
KINDSThe kinds a step can be.

Tested by src/lua/lib/tests/suites/dotbot_panel.testSuite.

Interface

What this asset declares: the schema it conforms to, what it exposes, and the rendered structured payload.

conforms to

zero/source-extract/v2

module DotBotSteps A DotBot turn's work as the steps a player reads: each tool call, thought and workflow request worded as what it does to the person's game ("Building the level", "Planned 4 parts"), from the catalog, in the person's language.

argsOf(args: any) → void

What a call was asked, as a table, from the JSON its row carries.

argtypedescription
argsany

kindOfPath(path: string) → string

The kind of step a file written or edited at `path` is.

argtypedescription
pathstring

kindOfScript(script: string) → string

The kind of step a script run in the world is, from what it calls.

argtypedescription
scriptstring

writesFile(command: string) → boolean

Whether a shell command writes a file: an in-place edit, or output sent into a file. Output sent to another stream (`2>&1`, `>&2`) or thrown away (`>/dev/null`) writes none.

argtypedescription
commandstring

kindOfCommand(command: string) → string

The kind of step a shell command is.

argtypedescription
commandstring

kindOf(name: string, args: any) → string

The kind of step a call of `name` asked `args` is, or nil for a call that takes no step of its own.

argtypedescription
namestring
argsany

toolDoing(name: string) → string

What a call's step reads while it is under way, for a line that names only the tool (an agent's card).

argtypedescription
namestring

text(step: Step) → string

The words of `step`, from the catalog.

argtypedescription
stepStep

retryText( ) → string

The line that follows a step one of whose calls failed, when the turn carried on past it.

callsOf(row: any) → void

The calls a row stands for: a tool row is one, a group of carrier calls is each of its calls.

argtypedescription
rowany

ofRows(rows: { any }, running: boolean?) → void

The steps a run of a turn's work rows (thinking and tool calls) makes, in order: calls of the same kind one after another are one step. Thinking between calls is part of the step it leads to; it is a step of its own only while it is the last of the rows of a turn under way (the model is thinking now) or when the rows hold no call. `running` says the rows are the end of a turn still under way, so their last step is the current one. A step one of whose calls failed and that the turn went on past is followed by a `retry` step.

argtypedescription
rows{ any }
runningboolean?

add(kind: string, failed: boolean) → void

argtypedescription
kindstring
failedboolean

line(step: Step) → string

The words of a step, a `retry` step included.

argtypedescription
stepStep

ofWorkflow(run: any) → void

The steps of a workflow run, one per request it asked, oldest first: `{ text, state }` where `state` is `"done"`, `"current"` (claimed and being worked), `"next"` (asked and waiting for somebody to take it) or `"failed"`.

argtypedescription
runany

requestText(req: any, done: boolean) → string

A workflow request's words: what it does to the game while it runs, what it did once answered. `build:<part>` names the part the plan named, the plan's answer counts its parts, and the reference pass's names the game.

argtypedescription
reqany
doneboolean
⌬ Types
Step = {

Sub-parts

Everything contained inside this part. Assets are composite children (clickable cards). Files are leaf payloads. Expand any row to view its source.

3items
This part has no composite children. See the Files segment for its leaf payloads.
backing path · dotbot.plugin/steps.module

Problems

Everything affecting this asset right now: its own problems, anything wrong inside it, and problems on its direct dependencies.

0problems
No problems reported. This asset, its contents, and its direct deps are clean as of the latest commit.
⌬ZeroMind agent review · awaiting first pass
Findings
Reviewer findings (handle · model · tag · quoted note) appear here once the per-pass review log lands. Today only the rolled-up agent_score is exposed.
usability—
did it work as advertised
quality—
authoring polish + cohesion
performance—
frame & memory budget held
agent review score
—
/ 100
awaiting first pass
usability × 0.40
+ quality × 0.35
+ performance × 0.25
± compat factor

Usability ratings

Did the part work as advertised when consumers tried to drop it in. Separate from upvotes: those are taste; this is "did it function".

—%no reports yet
Sign in to report whether this part worked for you.
Discussion

Scoped to this part · feeds back into the world's score.

0comments
Sign in to post.sign in
No comments yet. Be the first.