Skip to content
mutastic

mutastic gate check

Say whether a gated task is done: its changed lines' mutants caught. Runs the mutants on the lines changed since gate open. The task is done when each is caught or proposed for a person to ignore, no ignore was made by the task, and no test was taken away or disabled; until then it says what's left, as the agent format does. It passes when done, and fails otherwise; with --hook it answers as the agent's hook, and after --tries lets the agent stop and says what's left.

Usage

Terminal window
mutastic gate check [DIR] [:MODULE]

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

Options

--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

--tries=N

With --hook, how many times check sends the agent back before it lets it stop and says what's left; 3 unless set.

Command line--tries=N