Harden Chronicle Threads docs and runtime introspection; enable section numbering and add loop introspection tests #337
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 change tightens our contributor guidance, introduces an opt-in
code-reviewQA profile, relocates and expands project docs, and applies a set of safe, low-risk refinements across event-loop code and tests. No public API surface is intentionally changed; classes that previously implemented interfaces still do so via their superclass.Why
-Pcode-review) that runs Checkstyle, PMD, SpotBugs(+FindSecBugs), and JaCoCo.src/main/docs/and add missing operator/architecture content.What changed
Contributor guidance & docs
AGENTS.mdsrc/main/docs/….Docs relocated/added
Moved:
src/main/adoc/*→src/main/docs/*.New docs:
project-requirements.adoc(sectnums, clearer scope/IDs).decision-log.adoc(tidier structure; same decisions).Architecture/operations/perf/security/thread-safety guides:
thread-architecture-overview.adocthread-operational-controls.adocthread-performance-targets.adocthread-security-review.adocthread-thread-safety-guide.adocREADME.adoc/LICENSE.adocdocs/images/source/image1.svgBuild & quality
pom.xmlFormatting clean-ups and self-closing tags.
Properties added/pinned:
New opt-in
code-reviewprofile:New config files
src/main/config/checkstyle.xmlsrc/main/config/checkstyle-suppressions.xmlsrc/main/config/pmd-ruleset.xmlsrc/main/config/pmd-exclude.propertiessrc/main/config/spotbugs-exclude.xmlThread/event-loop refinements (behaviour-preserving)
Prefer
ExecutorService#executeoversubmitwhere result futures are unused.Stricter visibility (
private/final/volatile) on select fields and helpers.Safer calculations and logs:
Loop execution:
isRunningOnThreadand shutdown sequences made more robust.Builders:
EnumSet.copyOf).Minor Javadoc clean-ups, parameter alignment, and explicit suppressions where appropriate.
Tests (new/expanded)
Misc
system.propertiesandsystemProperties.adoctable formatting harmonised.Compatibility
implements EventLooporCloseablestill inherit those viaAbstractLifecycleEventLoop/AbstractCloseable. Method signatures remain stable.How to use the QA profile
# Run the full quality gate locally (opt-in) mvn -q -Pcode-review verify