From 71a4cdfd11c0979e511b4bb0ba5c8ffec3668cad Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 29 Jul 2026 09:53:17 +0000 Subject: [PATCH 1/3] docs: fix PIT package list, class count, stale mojo property/count (doc-consistency audit) Co-Authored-By: Claude Opus 4.8 Claude-Session: https://claude.ai/code/session_018WUx9TF8QGQf6efgG5TkHi --- CLAUDE.md | 4 ++-- TODO.md | 4 ++-- srcmorph-cli/pom.xml | 2 +- srcmorph-maven-plugin/README.md | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/CLAUDE.md b/CLAUDE.md index a3f29c1..cee3c11 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -61,7 +61,7 @@ llamacpp-ai-index-maven-plugin/ (repo root; reactor parent) │ ├── Main.java BitcoinAddressFinder cli/Main.java pattern │ └── configuration/ CConfiguration + CCommand (BAF public-field style) ├── srcmorph-maven-plugin/ Maven plugin net.ladenthin:srcmorph-maven-plugin, goalPrefix srcmorph -│ └── src/main/java/net/ladenthin/maven/srcmorph/mojo/ (5 mojos; renamed package/properties) +│ └── src/main/java/net/ladenthin/maven/srcmorph/mojo/ (4 goal mojos + the abstract AbstractAiIndexMojo base; renamed package/properties) ├── examples/ config_*.json/.yaml + run_*.sh/.bat + logbackConfiguration.xml ├── docs/ RELEASE.md + the ai-index model-benchmark writeups └── .github/workflows/ CI adapted to the 3-module reactor @@ -127,7 +127,7 @@ above), `layeredArchitecture` (`engine` on top → `indexer` → `provider`/`doc (`AiGenerationKindLincheckTest`), and the model-backed real tests gated on `src/test/resources/SmolLM2-135M-Instruct-Q3_K_M.gguf`. **PIT mutation testing**: `mutationThreshold` 100 over an explicit `targetClasses` list in `srcmorph/pom.xml` — currently 47 classes across -config/document/indexer/prompt/provider/support, all killed at 100%. `srcmorph-cli` and the plugin +config/document/engine/indexer/prompt/provider/support, all killed at 100%. `srcmorph-cli` and the plugin module do not have a PIT gate yet (see `TODO.md`). The `gpu-cuda`/`gpu-vulkan` profiles (swap the `net.ladenthin:llama` classifier via the `llama.classifier` property) live here; the `jcstress` and `vmlens` profiles/tests currently still live in the **plugin** module (they were not moved in the diff --git a/TODO.md b/TODO.md index 3a4538b..06979d3 100644 --- a/TODO.md +++ b/TODO.md @@ -15,13 +15,13 @@ recorded in git history and `crossrepostatus.md`, not here. this explicitly with a comment at the spot a PIT plugin block would go). For the CLI: the pure helpers worth mutation-gating are the config copy/round-trip (`Main#copyWithPlanOnlyForced`) and command dispatch; `Main`'s I/O-heavy entry points (`main`, `loadConfiguration`) are better served by - integration tests than unit-mutation gating. For the plugin: the 5 mojo classes are Maven-lifecycle + integration tests than unit-mutation gating. For the plugin: the 4 goal mojos (+ the abstract AbstractAiIndexMojo base) are Maven-lifecycle orchestration (typically integration-tested via Maven invoker/executor, not unit-mutation-tested) — confirm that reasoning still holds before assuming it's a permanent exemption rather than a gap. - **Expand `srcmorph`'s own PIT mutation scope (optional).** `srcmorph/pom.xml` wires `100` over an explicit `` list (config / - document / prompt / provider / support value+logic classes, plus `indexer.AiInputWindowCalculator` + document / engine / prompt / provider / support value+logic classes, plus `indexer.AiInputWindowCalculator` and `support.AiProgressBar`), all killed at 100%. Still out (optional, need careful fixtures): `document.AiMdDocumentCodec` / `AiMdHeaderCodec`, `prompt.AiPromptPreparationSupport`, and the newer `indexer.AiIndexPlan` / `config.AiConditionGroup`. The orchestration layers (`indexer.*` walk, diff --git a/srcmorph-cli/pom.xml b/srcmorph-cli/pom.xml index 76b65da..ba46d5c 100644 --- a/srcmorph-cli/pom.xml +++ b/srcmorph-cli/pom.xml @@ -241,7 +241,7 @@ SPDX-License-Identifier: Apache-2.0 0.8.15 +