---
title: "mirror scenario"
summary: "Scenarios, built-in and the project's own."
read_when: "the arguments or options of mirror scenario are needed"
url: https://mirrordimensions.com/docs/reference/scenario/
---

# mirror scenario

Scenarios, built-in and the project's own.

Its commands: `list`, `show`, `new`, `ops`, `check`, `try`, `remove`.

```sh
mirror scenario <command>
```

## mirror scenario list

Every scenario: id, kind, how the work arrives, and where it comes from.

```sh
mirror scenario list
```

## mirror scenario show

One scenario as the runner reads it.

```sh
mirror scenario show <scenario_id>
```

| Argument | Needed | What it is |
| --- | --- | --- |
| `scenario_id` | Yes | A scenario id. |

## mirror scenario new

Start a scenario of your own: a copy, a variant, or from nothing. With no options it asks its questions. With options it asks nothing, so a script or a coding agent can use it.

```sh
mirror scenario new [scenario_id] [options]
```

| Argument | Needed | What it is |
| --- | --- | --- |
| `scenario_id` | No | The new scenario's id, such as rotate-payments-key. |

| Option | Takes | What it does |
| --- | --- | --- |
| `--from` | text | Copy this scenario, written in this world's names. |
| `--variant-of` | text | The same scenario and checks, another way in. |
| `--tools` | text | With --variant-of: the MCP tools the agent works through. |
| `--title` | text | The work, in a few words. |
| `--kind` | text; default `functional` | functional, injection or permission. |
| `--acts-as` | text; default `engineer` | A role, or a person as @username. |
| `--delivery` | text; default `mattermost.direct_message` | How the work arrives, from: mirror scenario ops |
| `--in` | text; default `` | The repository, channel or collection the work arrives in. |
| `--asked-by` | text; default `manager` | The role that asks. |
| `--text` | text | What the work says. |
| `--text-file` | path | A file holding what the work says. |
| `--max-minutes` | number; default `20` |   |
| `--replace` | nothing (a switch) | Replace a scenario that has this id. |
| `--print` | nothing (a switch) | Print the file instead of writing it. |

## mirror scenario ops

What a scenario can do here: overlay steps, ways to deliver work, and checks.

```sh
mirror scenario ops [system] [options]
```

| Argument | Needed | What it is |
| --- | --- | --- |
| `system` | No | Only these: gitea, mattermost, described, device. |

| Option | Takes | What it does |
| --- | --- | --- |
| `--all` | nothing (a switch) | Every kind of system, not only this world's. |

## mirror scenario check

Check a scenario before any run: its shape, its operations and this world's names.

```sh
mirror scenario check <scenario_id>
```

| Argument | Needed | What it is |
| --- | --- | --- |
| `scenario_id` | Yes | A scenario id, or a file. |

## mirror scenario try

Rehearse a scenario in the sandbox with no agent. Restores the world, applies the overlay, delivers the work and judges the checks with nothing done. A scenario that cannot be set up, fails before any work, or passes with none is found here instead of in a run.

```sh
mirror scenario try <scenario_id> [options]
```

| Argument | Needed | What it is |
| --- | --- | --- |
| `scenario_id` | Yes | A scenario id. |

| Option | Takes | What it does |
| --- | --- | --- |
| `--keep` | nothing (a switch) | Leave the world as the agent would find it, to look at. The next run restores it. |

## mirror scenario remove

Remove one of this world's own scenarios. Built-in ones stay.

```sh
mirror scenario remove <scenario_id>
```

| Argument | Needed | What it is |
| --- | --- | --- |
| `scenario_id` | Yes | A scenario of this world's own. |

## The same, from an AI agent

The operator MCP server offers these tools for it:

- [`list_scenarios`](https://mirrordimensions.com/docs/reference/mcp-tools/#list_scenarios): The scenarios that can be run: id, kind, how the work arrives, suites.
- [`scenario_operations`](https://mirrordimensions.com/docs/reference/mcp-tools/#scenario_operations): What a scenario can do in the chosen world: each operation with its arguments, in plain words. `find` narrows it (a word such as issue, message or record).
- [`new_scenario`](https://mirrordimensions.com/docs/reference/mcp-tools/#new_scenario): Draft a scenario and return it as YAML, with what the checks say. `copy_of` starts from an existing scenario, in this world's own names; `variant_of` makes the same work through MCP `tools` only; with neither, a blank one to fill in. Nothing is written until save_scenario.
- [`check_scenario`](https://mirrordimensions.com/docs/reference/mcp-tools/#check_scenario): Check a scenario's YAML without saving it: its shape, the operations and arguments it uses, and that every name it mentions exists in the chosen world.
- [`save_scenario`](https://mirrordimensions.com/docs/reference/mcp-tools/#save_scenario): Write a scenario to the chosen world's scenarios folder, as given. Its shape must be right; what else the checks find is reported. `replace` overwrites one of the same id.
- [`rehearse_scenario`](https://mirrordimensions.com/docs/reference/mcp-tools/#rehearse_scenario): Try a scenario in the sandbox with no agent: that it can be set up, that it does not pass before any work, and that it does not fail before any. Needs the world built. Costs no model calls.
