Skip to content

docs(agents): make the pre-release mutation gate run on the release diff - #1404

Merged
ajianaz merged 1 commit into
developfrom
docs/agents-mutation-gate-in-diff
Oct 9, 2026
Merged

ajianaz merged 1 commit into
developfrom
docs/agents-mutation-gate-in-diff

Conversation

@ajianaz

@ajianaz ajianaz commented Oct 9, 2026

Copy link
Copy Markdown
Collaborator

What

Rewrites step 1 of the release procedure in AGENTS.md: the mutation gate runs cargo mutants -p uteke-core --in-diff <git diff vPREV..develop -- crates/uteke-core> -j 2 --timeout 120 instead of the full crate. It also records that .github/workflows/mutation-testing.yml only runs for head branches starting with develop, so chore/release-* PRs never trigger it, and what to do with misses that only ONNX-requiring tests could kill.

Why

Owner-approved on 2026-10-09 after the first real run: 38 mutants in about 5 minutes on v0.20.0..develop, against 2058 mutants for the whole crate (estimated 8 hours from the per-mutant time, not run). The room codecora-workflow-standard (the canonical SOP) got the same amendment, per the rule that the room wins and this file follows.

Testing

Docs only. The numbers come from the run recorded in #1402 and #1403; the commands were executed as written (the diff file name differs only by path).

🤖 Generated with Claude Code

cargo mutants --in-diff against the previous tag: 38 mutants in about 5
minutes on v0.20.0..develop, versus an estimated 8 hours for the full crate.
Notes that the CI workflow never triggers for chore/release-* PRs.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@github-actions

github-actions Bot commented Oct 9, 2026

Copy link
Copy Markdown

🔍 Cora AI Code Review

✅ No issues found. Code looks good!


Review powered by cora-code · BYOK · MIT

@ajianaz
ajianaz merged commit c315d78 into develop Oct 9, 2026
15 checks passed
@ajianaz
ajianaz deleted the docs/agents-mutation-gate-in-diff branch October 9, 2026 06:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant