Skip to content

agentsctl map, visual and site commands

These commands check the feature map, compare screenshots with baselines, and build or serve this docs site. Every command here takes the flags that every agentsctl command takes, listed on agentsctl instance commands.

Lists the features in the map, in sweep order.

Fields are id, name, steps, paths, checks, file. The output shows id, name, steps unless --fields names others.

Flag What it does
--fields <value> The fields to show, comma separated.

Checks every feature file, the index and features.json, without running anything.

Writes features.json, the map the framework’s gates read, from the feature files’ entries.

Fails when the map lost or changed an assertion it had at a base commit.

Flag What it does
--base <value> The git ref to compare with, such as origin/main.

Runs feature files as written, giving each step a verdict.

Flag What it does
--visual Also take the visual captures.
--keep-going Run every step even after one fails.
--no-window Leave out the steps that open the desktop app’s window, and mark them blocked.

Compares the feature maps with the code. It lists what has no entry, what names something that is gone, and what map check finds.

Captures the current view in three engines at two widths, checks each capture, and lists them in evidence.json.

Flag What it does
--ready-role <value> The role of an element to wait for before each capture.
--ready-name <value> That element’s accessible name.
--ready-text <value> Text inside that element.

Also takes --engine, --width, --as, --timeout, described on agentsctl browser and desktop commands.

Diffs a run’s captures against the baselines, naming each changed region.

Flag What it does
--from <value> A run’s evidence folder. The default is the instance’s.
--baselines <value> A baselines folder. The default is .scratch/verify/baselines.

Makes a run’s captures the baselines, logging why.

Flag What it does
--from <value> A run’s evidence folder. The default is the instance’s.
--baselines <value> A baselines folder. The default is .scratch/verify/baselines.
--reason <value> Why the view changed on purpose.
--view <value> Only this view. Repeatable.

Builds the docs site to static HTML in a folder outside the repo, and prints where.

Flag What it does
--out <value> The folder to build into, outside the repo. The default is a folder named agents-site in the temporary folder.

Builds the docs site into the instance’s scratch folder and serves it on a port of its own, so a browser step can open it. A second run builds it again.

Prints the address of the instance’s docs site alone, for use in another command.