Skip to content

Quickstart

Set up a repository and run mutation tests against its current Git changes.

From the repository root, preview and apply the setup changes. Then check the repository:

Terminal window
rad init --dry-run
rad init
rad doctor

rad init detects supported TypeScript and Python setups. It can propose missing test dependencies, add .radforge/ to .gitignore, and install the Radforge coding-agent skill for the repository, your user account, or both. The first command previews every change.

Set the hosted credentials from Radforge onboarding, then verify access:

Terminal window
export RADFORGE_REMOTE_URL="https://api.radforge.dev"
export RADFORGE_API_TOKEN="your-repository-scoped-token"
rad remote doctor

Store the token in your shell or CI secret store. Do not put it in shell history, repository files, CI logs, or command arguments.

Compare the current branch with your main branch:

Terminal window
rad changed --since-ref origin/main

The command submits the plan and prints a run ID. Use rad remote status --run <run-id> until the run completes, fails, or is canceled. Then read its findings with rad remote findings --run <run-id>.

Write the plan to a file, inspect it, then submit it:

Terminal window
rad changed --since-ref origin/main --dry-run --json > plan.json
rad remote run --artifact plan.json

If the plan contains too many mutations, set --budget, add one or more --exclude patterns, or use a scope file that lists exact source paths. Use --allow-broad-tests only when you accept running a broad test set because Radforge could not select a smaller one.