بنقرة واحدة
mutation
Triage and act on the weekly [mutation] rolling issue (mutation-testing run health)
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Triage and act on the weekly [mutation] rolling issue (mutation-testing run health)
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Multi-agent orchestration — delegates to domain experts for complex tasks
Triage and act on the weekly drift-guard rolling issue (transitive dependency drift)
Version bump and release checklist for remote-store
Read review comments from a PR, fix each issue, resolve threads, validate
Create a pull request for the current branch
Post inline review comments on a GitHub PR. Find real issues only.
| name | mutation |
| description | Triage and act on the weekly [mutation] rolling issue (mutation-testing run health) |
| disable-model-invocation | true |
| argument-hint | [issue number] |
Act on the [mutation] rolling issue: classify each failing scope, fix the
harness/implementation regression behind it, and prepare a pushed branch for
the user to open the PR via /pr.
Authority (do not duplicate — read these):
sdd/CI-OPERATIONS.md — the cross-guard handbook: where this guard sits in
the scheduled/automated family and the durable-TODO principle it follows..github/workflows/mutation.yml header — the two-outcome model and its
non-goals (the run never fails on surviving mutants).scripts/mutation_report.py module docstring — outcome JSON shape,
classification rules, and the partial-run-never-closes semantics.scripts/mutate_scopes.py — the scope manifest (targets, tests, containers).The core rule this skill exists to enforce: the issue tracks run health, not mutants. A scope listed under Harness / implementation failures is a regression — the run itself broke — and is fixed like any bug (backlog item, failing test where applicable, fix, same commit). Surviving mutants are advisory test-coverage gaps: they never open the issue, never turn the run red, and are folded into a coverage-hardening pass, not patched ad hoc to silence a report.
GitHub reads via gh CLI; writes (PR) via the configured GitHub MCP server.
Repo: haalfi/remote-store.
Locate the issue. If $ARGUMENTS is an issue number, use it. Otherwise
find the single open rolling issue by title prefix:
gh issue list --repo haalfi/remote-store --state open --search '[mutation] in:title'.
None open → the run is healthy, nothing to do; stop and say so.
Parse the body. Extract the failing scopes with their reasons, any advisory survivor counts, and the Last run URL. The body is regenerated on every full run and auto-closes on a healthy run — never edit it.
Pull the failing legs' logs (load-bearing). From the run URL's id:
gh run view <id> --repo haalfi/remote-store --json jobs, then for each
failing mutate-<scope> job:
gh run view --repo haalfi/remote-store --job <jobId> --log-failed.
Classify the failure:
no tests ran). Fix the
harness (mutate_scopes.py targets, the workflow's install step, or the
plugin pin), not the tests.(setup) pseudo-scope — the setup job died before listing scopes
(e.g. an import chain reaching for a dep the bare runner lacks). Fix
scripts/run_mutate.py / mutate_scopes.py imports or the workflow.Reproduce locally before claiming a fix: hatch run mutate <scope>
(containers per the scope's needs start via infra/docker-compose.yml).
Per CLAUDE.md principle 6, see it fail, fix, see it pass.
Survivors (advisory). If the body or the run-summary table lists
surviving mutants, do not treat them as part of this triage. Note them for
a coverage-hardening pass; the per-scope detail is in the
mutation-report-<scope> HTML artifacts.
Branch hygiene. Never on master; create a dedicated branch off
origin/master, e.g. fix-mutation-<slug>.
Ship complete. Backlog item + trace per CLAUDE.md; CHANGELOG only if a
user.* audience is touched (a pure harness fix is not).
Stop for the user to open the PR. Push the branch, report the per-scope
diagnosis and fix, then stop — PR creation is user-initiated via /pr.
Reference the rolling issue with Refs #<n> — never Closes: the workflow
owns the issue lifecycle and closes it on the next healthy full run. To
close promptly after merge, dispatch a full run:
gh workflow run mutation.yml --repo haalfi/remote-store.