mutation-windows

mutation-windows is an agent for coding agents from NickZaitsev/ru-normalizr. It costs 0 tokens per session (305 once invoked), scanned A, original, MIT.

Guidance for running mutmut mutation audits on Windows, where the tool changes source files and can leave processes and temporary files behind.

In plain words
What is it for?
Use it to run audits in temporary Git worktrees, control timed-out process trees, remove temporary files, and check line-ending changes.
Why use it?
It helps prevent long or unsafe audits from consuming excessive memory or altering the main checkout.

Agent

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add agents/nickzaitsev/ru-normalizr/mutation-windows
Clone the repo
git clone --depth 1 https://github.com/NickZaitsev/ru-normalizr

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for mutation-windows

README.md
[![agentmods](https://agentmods.dev/badge/agents/nickzaitsev/ru-normalizr/mutation-windows.svg)](https://agentmods.dev/agents/nickzaitsev/ru-normalizr/mutation-windows)
Your own site
<a href="https://agentmods.dev/agents/nickzaitsev/ru-normalizr/mutation-windows"><img src="https://agentmods.dev/badge/agents/nickzaitsev/ru-normalizr/mutation-windows.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 305 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00000 $0.00305
Opus 5 $0.00000 $0.00152
Sonnet 5 $0.00000 $0.00061
Haiku 4.5 $0.00000 $0.00030

Measured 5d ago against content hash df1b4c57221b, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

mutation-windows scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

docs/agents/mutation-windows.md · 21 lines

What it actually says

Ограничения mutmut на Windows

Разовый mutation-аудит выполняется только во временном git worktree: mutmut переписывает исходники на месте, а незавершённый прогон оставляет артефакты и дочерние процессы.

На Windows mutmut 2.4.5 --use-coverage запускает отдельный pytest для каждого мутанта и пересобирает окружение. Даже небольшой модуль с двумя файлами тестов может не завершиться за пять минут; широкий запуск для dictionary.py однажды разогнал дочерний pytest до десятков гигабайт приватной памяти. Поэтому такие прогоны нельзя оставлять без контроля: после таймаута нужно остановить дерево процессов и удалить временный worktree, а новые проверки добавлять по уже подтверждённым поведенческим случаям.

Проверка 3 августа 2026 года показала дополнительный риск: после запуска из временного worktree mutmut оставил основной checkout с тем же содержимым файла, но с изменёнными переводами строк (LFCRLF). Это было восстановлено до исходного состояния. Перед каждым таким запуском нужно проверять git status и в основном checkout, и в worktree; после таймаута — завершать всё дерево процессов, а не только оболочку.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 21 lines · 0 tokens per session scan A df1b4c57221b

Subscribe to this mod's changes

mutation-windows is an agent published in the GitHub repository NickZaitsev/ru-normalizr (22 stars, last pushed 28d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 305 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.