Skip to content
mutastic

Rust 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 target/mutastic, so gate check can say whether the task is done. With --hook, once for each of the agent's sessions.

Usage

Terminal window
mutastic gate open [dir]

Inside a package, cargo mutastic gate open runs the same command, with the same options.

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

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

--edition=EDITION

Which edition runs; unless set, the build file in dir, or the nearest above it: Cargo.toml for rust, pom.xml, build.gradle or settings.gradle for java.

One of rustjava

Command line--edition=EDITION