Repository navigation
mutagate v0.9.2
Pre-release
Pre-release
Added
- GitHub Copilot CLI is a supported harness (docs/copilot.md, #35). Its own hooks pass
--harness copilot, and mutagate maps the Copilot payloads (create,edit,apply_patch,bash) to its own. A test edit starts a background run in a detached process, because Copilot has no async hooks; the report reaches the agent asadditionalContextwith its next edit or shell call (read_bashtoo).agentStopis the gate, inside its 600 s hook timeout: it works for up togateBudgetSec, starts a worker for a target still pending, asks the agent to set bashinitial_waitabovecheck --wait N, allows after 8 blocks in a row (the Copilot limit), and at 570 s allows and stops its runs. Messages of an allow are progress lines that the model does not see. Subagent edits join the root session (throughparentAgentId) and are gated at the rootagentStop. The Copilot cloud coding agent is inert unless the new config keycopilotCloudistrue(experimental). In a Copilot sandbox mutagate saysmutagate inactive: cannot write <path>and does nothing else. The live eval passes for all six languages (README matrix), and VS Code is not claimed. install --agent copilotinstalls the GitHub Copilot hooks in their own file:.github/hooks/mutagate.json, or with--scope user$COPILOT_HOME/hooks/mutagate.json(else~/.copilot/hooks/mutagate.json). Every hook command exits 0, also without the skill dir, Git or Node.installrefuses a second scope and names the existing file;uninstall --agent copilotdeletes the file when only mutagate entries are left.install --agent autoselects Copilot when the shell hasCOPILOT_CLIorCOPILOT_AGENT_SESSION_ID, or the repo has.github/hooks/or.github/copilot/(with--scope user, alsoCOPILOT_HOMEor~/.copilot). A.claude/dir that holds onlyskills/no longer selects Claude when one of these is present. Theno harness detectedlist namescopilot.doctorchecks the Copilot install when a Copilot hook file or signal is present. It warns when Copilot runs more than one mutagate hook file (both scopes, or another file in a hooks dir), when a Claude project install has no Copilot hook file, and when the skill copy that Copilot loads (.github/skills, else.agents/skills, else.claude/skills) has anotherVERSIONthan the copy that its hooks run. It fails when the cache root is not writable, and gives the folder trust and managed hooks hints. It also warns whencopilot --versionis not the tested Copilot CLI 1.0.107.- Live eval:
npm run eval -- --harness copilotdrives Copilot CLI 1.0.107 withclaude-sonnet-5, the hostcopilotlogin orCOPILOT_GITHUB_TOKENfrom.env, and a freshCOPILOT_HOMEper run.npm run test:driveralso runs the Copilot hook file (not on Windows), andtest:driftskips missing Copilot recordings.
Changed
- CLI commands in a Copilot CLI shell join its session through
COPILOT_AGENT_SESSION_ID, afterCLAUDE_CODE_SESSION_IDandCODEX_THREAD_ID.waive --applyis refused whenCOPILOT_CLIis set, as in other agent sessions. In the Copilot root agent shell,run,check,statusandwaiveuse the Git top level as the repo (its data dir and.mutagate/config.json), not the shell's directory;runreads a relative test path against the shell's directory, else against the Git top level. - The Copilot cloud coding agent also runs the Claude hooks of
.claude/settings.json. These inherited calls no longer give the SessionStart noticemutagate inactive under Copilotin a cloud job, unless the config hascopilotCloud: true. - Without a Copilot hook file, the SessionStart notice under Copilot is now
mutagate inactive under Copilot: this repo has only the Claude Code install; run `<skill>/scripts/mutagate install --agent copilot`.It named mutagate 0.9.2 before. - Hook rows in
trace.jsonl(MUTAGATE_TRACE=1) have anexitfield with the hook exit code; rows of Copilot subagent calls also haveagent. A Copilot gate stopped by its watchdog has the decisiondeadline. run --syncprints a pending target with the gate's message,mutagate: <target> results pending; run <skill>/scripts/mutagate check --wait <gateBudgetSec>(with--json:{"target": …, "status": "pending", "message": …}), not as an unscored result with "results pending after source changes". The exit code stays 1.- Tool updates: PIT 1.21.0 → 1.30.2, the Arcmutate Kotlin plugin 1.4.0 → 1.5.2 and gomutants 0.6.1 → 0.7.2; the tested StrykerJS is 9.6.1 (was 9.1.1) with Vitest 4.1.12 (was 3.2.4), and the tested pytest is 9.2.0 (was 8.4.2) with mutmut 2.5.1 and 3.8.1. Kotlin Tier A (Arcmutate licence) is not tested with plugin 1.5.2, and of the live agent evals only the Copilot CLI ones ran with these updates.
- Since PIT 1.23, incremental history is a plugin: mutagate now downloads
org.pitest:pitest-history-plugin0.0.1 (SHA-256 pinned) with the PIT jars, so PIT keeps its history between runs. Proxy or offline setups: runnode <skill>/scripts/cache-jars.mjsagain after the update; until then, withMUTAGATE_OFFLINE=1, Java and Kotlin runs fail withoffline: missing pitest-command-line. PITEQUIVALENTmutants are now ignored like StrykerIgnoredones: they are not scored and not counted as errors. - gomutants moved to
github.com/gomutants/gomutants; mutagate installs 0.7.2 on first use unless agomutantsis on PATH, which it uses whatever its version: replace an older one withgo install github.com/gomutants/gomutants@v0.7.2. It builds with Go 1.26.10 or later; an earlier Go downloads that version (GOTOOLCHAIN=auto, the default). gomutants 0.7 keeps a variable or import in use when a mutant removes its last use, so these mutants now run instead of failing to compile, and you can see new survivors of this kind (on the Go eval task 15 more mutants are killed and no score drops). - Test fixtures and eval tasks: the dependency updates above, plus an npm
overridespin ofqs6.16.1 (typed-rest-client 2.3.1 pins 6.15.1), clear the reported advisories in the lockfiles (@babel/core, ajv, zod, vitest, @vitest/mocker, tinypool, qs, pytest CVE-2025-71176). minimatch 10.2.6 and deepmerge 4.3.1 (Jest 29) have no upstream fix and stay.