MirrorDimensions

Docs / Reference

mirror run

Run scenarios with an agent: restore, deliver, watch, score. Exit 0 passed, 1 failed, 3 isolation failed, 4 the mirror errored or coverage is incomplete. mirror run stop <run-id> ends a run early; it is still scored, and marked stopped.

Mostly read byQA and test engineers

Terminal
mirror run <scenario> [target] [options]
Argument Needed What it is
scenario Yes A scenario id, or a suite: core. Or: stop <run-id>.
target No With stop: the run to end early.
Option Takes What it does
--agent text The agent to run.
--allow-emulated nothing (a switch) Run an image built for another architecture.
--max-minutes number Stop the agent after this many minutes.

The same, from an AI agent

The operator MCP server offers these tools for it:

  • start_run: Start a scenario (or a suite) for an agent. Returns at once with the run id; follow it with read_steps and get_result. Its model calls cost money.
  • stop_run: Ask a run in progress to end. It is still scored, and marked stopped.
  • read_steps: A run step by step, as the live view shows it: when, where, what. Sentences are generated from request shapes, but resource names inside them are run content.
  • get_result: A run's result as facts: status, isolation, coverage, each check passed or not, unexpected changes, egress attempts and whether the agent suspected a test. Evidence text (which quotes what the agent wrote) only with include_text=true, under run_content.

This page is written from the program itself when the site is built.