Skip to content
mutastic

Swift edition

mutastic gate open

Start gating a coding agent's task: keep where it starts. Keeps the commit the task starts from, its ignores, and how many tests run and are ignored, in .build/mutastic, so gate check can say whether the task is done. With --hook, once for each of the agent's sessions; at a later prompt, it takes in the ignores made since the agent stopped.

Usage

Terminal window
mutastic gate open [DIR]

A coding agent's hooks run it as the command: the build plugins don't.

Exit status

0 once it has kept where the task starts; 2 outside a git repository with a commit. Any command exits 2 when mutastic couldn't run: see exit codes.

Options

--operators=OPERATORS

Which operators run: a set (defaults, stronger, extended or all), an operator's id or namespace, or any with - in front to leave it out, in place of mutastic.yaml's operators; defaults unless set.

Command line--operators=OPERATORS

--hook=AGENT

Run as the agent's hook: read its input on stdin, and answer as its hooks do.

One of claude

Command line--hook=AGENT