Repository navigation
Description
Context & Rationale
The "Next-Gen PydanticAI Agent Architecture" entry and docs/RELEASE_NOTES.md:10 list "prompt mutation testing" as delivered, and CHANGELOG.md:749-750 credits it to devops ai prompt-eval. No code in src or tests perturbs a prompt. The only thing shipped under that name was a "Prompt Mutation Benchmark" label, added in v0.2.4, over output that reported a constant accuracy of 1.0 (src/devops_cli/ai/prompt_eval.py:7-12). #385 fixed the command, and v0.2.22 removed the label. The claim lives on in src/devops_cli/docs/compactor.py:25,35, which writes it back whenever devops docs compact consolidates the v0.2 series. vibes' fuzzer applies five seeded classes (dilution, distraction, injection escape, truncation, complexity trap) and reports failures per class plus one resilience score.
Scope & Deliverables
- Context & Rationale*: The "Next-Gen PydanticAI Agent Architecture" entry and
docs/RELEASE_NOTES.md:10list "prompt mutation testing" as delivered, andCHANGELOG.md:749-750credits it todevops ai prompt-eval. No code insrcortestsperturbs a prompt. The only thing shipped under that name was a "Prompt Mutation Benchmark" label, added in v0.2.4, over output that reported a constant accuracy of 1.0 (src/devops_cli/ai/prompt_eval.py:7-12). fix(ai): make prompt-eval measure something instead of reporting 1.0 #385 fixed the command, and v0.2.22 removed the label. The claim lives on insrc/devops_cli/docs/compactor.py:25,35, which writes it back wheneverdevops docs compactconsolidates the v0.2 series. vibes' fuzzer applies five seeded classes (dilution, distraction, injection escape, truncation, complexity trap) and reports failures per class plus one resilience score. - Deliverable*: Remove the phrase from both compactor bullet lists, the "Next-Gen PydanticAI Agent Architecture" entry and
RELEASE_NOTES.md:10. UnderCHANGELOG.md:749-750, add a correction that points to fix(ai): make prompt-eval measure something instead of reporting 1.0 #385 instead of rewriting history. Add an assertion totests/test_docs_compactor.pythat the series bullets do not contain the phrase, so compaction cannot bring it back. None of this depends on a benchmark. Do not build a perturbation feature now. Instead, add one follow-on line to "Model-in-the-Loop Prompt Benchmarking": once its corpus replays, the candidate-prompt input may also accept seeded dilution variants of a persona system prompt. Each variant is sampled repeatedly and reported with its own figures, counting replies that neededfix_llm_responserepair, and there is no exit threshold. That runs through the parent's harness. pydantic-evals is already installed with pydantic-ai 2.35.0, is unused, and offersrepeat=and baseline reports. Do not port the vibes harness. - Constraint*: Replacing the claim with a port of the vibes fuzzer would restore it in a new form. Its mock provider returns drifted code for any prompt containing
INJECTION_ESCAPE,SYSTEM OVERRIDE,COMPLEXITY_TRAPormonolithic(providers.py:248-254), so its score measures vocabulary. It sends the pristine prompt as the system prompt and the mutated copy as the user turn (fuzzer.py:508), so truncation removes nothing the model sees. It draws one sample per class, so its 50.0 gate flips on a single reply. The other classes do not transfer. The distraction and complexity-trap snippets instruct code generation, but personas return findings. Truncation is a rule ablation, which is already the deliverable of "Generator-Side Rule Pruning". Injection inside reviewed content is covered by the open "Synthetic Prompt Adversaries for Injection Resistance". - Measured*: On a scratch copy of the vibes fuzzer with its mock provider,
python3 fuzzer.py --jsonreports resilience_score 80.0, andpython3 fuzzer.py --json -f AGENTS.mdreports 0.0 because this repository's AGENTS.md contains the trigger word (grep -c monolithic AGENTS.md= 2). At HEAD,mutate_prompt(PERSONAS[p].system_prompt, TRUNCATION)at intensity 0.5 drops between 0 and 3 of the 15 markers intests/test_personas.py:71, depending on the persona. - Source*: vibes
examples/prompt-mutation-fuzzer/fuzzer.py, vibesexamples/prompt-mutation-fuzzer/providers.py, vibesexamples/prompt-mutation-fuzzer/README.md, vibesdocs/landscape/SURVEY.md
Strategic Alignment
- Milestone:
v0.2.23(devops ai Review Quality, LLM Routing & Multi-Language Validation) - Roadmap Reference:
docs/ROADMAP.md
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsDone
Activity
feat(ai): retract the false "prompt mutation testing" delivery claim (#…
dan-petty commentedon Sep 25, 2026
Closed by #610, merged into
release/v0.2.23.GitHub only acts on closing keywords when a pull request merges into the default branch, so this was closed by
devops gh issues close-merged.