Downgrade jqwik to 1.9.3 and document QuickTheories replacement plan#83
Merged
Conversation
Avoid the anti-AI prompt-injection string added in jqwik 1.10.0 (and the 1.10.1 release note declaring the library is not meant to be used by AI coding agents). The 1.9.x line is the last release without that behaviour. Long-term plan tracked in CLAUDE.md is to replace jqwik entirely with junit-quickcheck or hand-rolled JUnit Jupiter @ParameterizedTest.
Prevent future bumps to jqwik >= 1.10.0, which ships an anti-AI prompt-injection string in test stdout. See CLAUDE.md for context; replacement with QuickTheories is tracked as an urgent TODO.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Summary
pom.xmlexplaining the downgrade and linking to the CLAUDE.md documentation@ParameterizedTestas fallbacks), including detailed rationale and implementation notesRationale
jqwik 1.10.0+ deliberately injects a prompt-injection string into test stdout targeting AI coding agents. This is incompatible with the AI-assisted workflow this project uses. Rather than upgrade to a hostile upstream, we downgrade to the last safe version (1.9.3) as an interim measure while planning the migration to QuickTheories, which offers:
@RunWith, no JUnit Vintage engine)The updated TODO provides clear guidance on the replacement strategy and implementation details to unblock future work.
Test plan
StreamBufferProperties) continue to pass with 1.9.3Related issues / PRs
Addresses the URGENT TODO documented in CLAUDE.md regarding jqwik replacement.
Checklist
CONTRIBUTING.mdandCODE_OF_CONDUCT.mdhttps://claude.ai/code/session_01XigFKHMf8r7HLsLHts1J1K