Adopt code-review profile, align contributor policy to ISO-8859-1, harden test utilities, and tidy docs
#136
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.



This PR brings Chronicle-Test-Framework in line with current Chronicle engineering standards. It introduces an opt-in
-P code-reviewquality gate, updates contributor guidance to ISO-8859-1 text policy, moves project docs undersrc/main/docs/, and makes a series of small but meaningful robustness and hygiene fixes across the codebase. No public APIs are changed.Why
What changed
1) Contributor docs
AGENTS.mdsrc/main/docs/decision-log.adocandsrc/main/docs/project-requirements.adoc.README.adocmvn -q -P-code-review verifyusage.2) Build / Quality gate
New opt-in profile
code-review(kept off by default):maven-checkstyle-plugin3.6.0 +com.puppycrawl.tools:checkstyle8.45.1 with sharednet/openhft/quality/checkstyle/checkstyle.xml.spotbugs-maven-plugin4.8.6.6 +com.h3xstream:findsecbugs-plugin1.14.0; repository-localsrc/main/config/spotbugs-exclude.xmlscaffold.maven-pmd-plugin3.28.0 withsrc/main/config/pmd-exclude.properties.jacoco-maven-plugin0.8.14 wired forprepare-agent,report, andcheckwith project thresholds (line 0.846, branch 0.707) in default build; same goals run undercode-reviewprofile.com.github.spotbugs:spotbugs-annotations(provided) to enable precise suppressions.Remove obsolete
pom.xml.versionsBackup.3) Documentation layout
src/main/adoc/project-requirements.adoc→src/main/docs/project-requirements.adoc(no content changes).4) Code hygiene & robustness (no API surface changes)
Log sanitisation to avoid CR/LF injection in test utilities:
VanillaExceptionTracker,CodeStructureVerifier,ProxyConnection,TcpProxy,MappedFileUtil,InternalJavaProcessBuilder: strip\r/\nfrom values used in log messages.Locale-stable formatting & casing:
Locale.ROOTinStandard*Accumulatorformatting; replace%n/ explicit padding; useLocale.ROOTfor case transforms where relevant.Correct stream usage & diagnostics:
InternalJavaProcessBuilder#getProcessStdOutnow reads fromgetInputStream()(was incorrectly readinggetErrorStream()).ProcessBuilderinvocation with pre-split args (no shell expansion) and improved logging of child process output.Static-analysis suppressions where intentional:
@SuppressFBWarningsand PMD suppressions with justifications (e.g. deliberateSystem.gc()in test utilities; exposing provided maps for test tracking; path parsing in ArchUnit integration).Minor clean-ups / correctness nits:
ProductUtilto avoid PMD false positives.SeriesUtil#isPrimecast order.@since 2006-2025copyright headers.padRighthelpers, clearer local variables, remove dead locals, tighten visibilities, use try-with-resources).How to use
Compatibility & Impact
mvn verifystill works. Adds aprovidedSpotBugs annotations dep (no runtime impact).Verification
mvn -q -Pcode-review verifygreen locally (unit tests, Checkstyle, PMD, SpotBugs+FindSecBugs, JaCoCo thresholds).InternalJavaProcessBuilderlogging improvements.AGENTS.md.Risks & Mitigations
code-reviewprofile is optional; downstreams can opt-in when ready.Follow-ups
src/main/config/spotbugs-exclude.xmlwith targeted, justified entries as needed.code-review” section, and a short note on encoding policy for docs vs source.