Skip to content

Commit ab39d52

Browse files
committed
docs: unify PIT — generic content to workspace policy, keep repo specifics
Slim the CLAUDE.md PIT pointer to the uniform cross-repo form (pointer + command); keep only the repo-specific audio-fixture gotcha. Trim the pom PIT comment to a policy pointer plus the repo-specific rationale (pure-Java gated classes; the audioFile(Path) audio-fixture caveat) and drop the now-generic/stale text (100%-gate boilerplate, 'verified with pitest-maven 1.25.4'). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017i6A5bMhgCSbiKibQhxwuz
1 parent 5d7fd72 commit ab39d52

2 files changed

Lines changed: 9 additions & 10 deletions

File tree

CLAUDE.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1100,10 +1100,9 @@ See [`../workspace/policies/ci-test-diagnostics.md`](../workspace/policies/ci-te
11001100
## PIT Mutation Testing
11011101
11021102
See [`../workspace/policies/pit-mutation-testing.md`](../workspace/policies/pit-mutation-testing.md).
1103-
Run PIT with the lifecycle prefix — `mvn test-compile org.pitest:pitest-maven:mutationCoverage`
1104-
(the bare goal fails with `NoSuchFileException: {argLine}`). Note: this repo's gate reaches 100%
1105-
only with the audio fixture present; without it, `value.ContentPart.audioFile(Path)` is
1106-
uncovered (98%) — see §4 of the policy.
1103+
Run PIT with the lifecycle prefix — `mvn test-compile org.pitest:pitest-maven:mutationCoverage`.
1104+
Repo-specific gotcha: the gate reaches 100% only with the audio fixture present — without it
1105+
`value.ContentPart.audioFile(Path)` is uncovered (98%); see policy §4 and `TODO.md`.
11071106
11081107
## JPMS Module Descriptor
11091108

pom.xml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -673,12 +673,12 @@ SPDX-License-Identifier: MIT
673673
</plugin>
674674
<plugin>
675675
<!--
676-
PIT mutation testing is scoped to packages that have reached 100%
677-
mutation parity, gated at a 100% threshold on every CI build. Expand
678-
the targetClasses globs as further packages reach parity (see README
679-
TODO). The value/ and exception/ trees are at 100% (verified with
680-
pitest-maven 1.25.4); their unit tests are pure-Java (no native
681-
libjllama / model file needed).
676+
Generic PIT policy (version, 100% gate, invocation, expansion rule):
677+
see ../workspace/policies/pit-mutation-testing.md.
678+
Repo-specific: the gated value/exception/args/json classes are pure-Java
679+
(no native libjllama or model file needed); targetClasses/targetTests are
680+
kept in lock-step. NOTE: value.ContentPart.audioFile(Path) mutants are only
681+
killed with the audio fixture present — see TODO.md and policy §4.
682682
-->
683683
<groupId>org.pitest</groupId>
684684
<artifactId>pitest-maven</artifactId>

0 commit comments

Comments
 (0)