Skip to content

Fix the findings of the 2026-09-07T21-20 comment audit - #19

Merged
dirkjink merged 2 commits into
mainfrom
fix/comment-audit-2026-09-07
Sep 7, 2026
Merged

Fix the findings of the 2026-09-07T21-20 comment audit#19
dirkjink merged 2 commits into
mainfrom
fix/comment-audit-2026-09-07

Conversation

@dirkjink

@dirkjink dirkjink commented Sep 7, 2026

Copy link
Copy Markdown
Member

Remediation of docs/assessment/COMMENT_AUDIT-2026-09-07T21-20-00.md (second comment audit at 850a7e3: 1 Critical, 1 High, 4 Medium, 5 Low, 3 patterns), per the review workflow: fix commit first, then the report with per-finding status lines. Comments and KDoc only, plus one test extension.

Fixed

  • Critical: the breaker-configuration KDoc no longer promises a per-class override path (contradicted ADR-0002 and its own link target).
  • High: seven date-only report references now name the immutable report file.
  • Medium: buildPipeline KDoc with the transaction contract; reentry-guard KDoc condensed to decision + rejected alternative; the metric inventory is enforced by DocumentationContractTest against the metrics overview (names, tags, enum-derived series counts) instead of a hand-mirrored KDoc table; dispatcher subclass @param pass-throughs point to the skeleton.
  • Low: ignored-exceptions rule condensed; in-file above/below pointers replaced; parser KDoc points to Properties.load for the specification; stop() gate comment condensed; stale "restart path" clause removed.
  • Pattern P2: the I/O-thread rationale in ResilientMessageSender is a hub pointer to FallbackDispatcher.

mvn verify (offline, incl. ktlint): 269 tests green; dokka:dokka with failOnWarning passes.

🤖 Generated with Claude Code

https://claude.ai/code/session_015GfdGp7eUrjJKBvcJUx3q2

dirkjink and others added 2 commits September 7, 2026 21:37
- C: the breaker-configuration KDoc no longer promises a per-class
  override path; it states the thresholds are fixed (ADR-0002)
- H: seven date-only report references name the immutable report
  file, as the first audit's rule requires
- M: buildPipeline gets a KDoc carrying its transaction contract; the
  inline block shrinks to its location-bound sentence
- M: the reentry-guard KDoc keeps decision and rejected alternative,
  the VT-cost derivation moves behind the file-named reference
- M: the metric inventory is enforced by DocumentationContractTest
  against the metrics overview (names, tags, enum-derived series
  counts); the implementation KDoc keeps the invariant only
- M: the dispatcher subclasses document only the parameters whose
  meaning they change; pass-throughs point to the skeleton
- L: ignored-exceptions rule condensed to decision + reason with the
  list left to the code; five in-file above/below pointers replaced;
  the parser KDoc keeps the two project-specific rules and points to
  Properties.load for the specification; the stop() gate comment
  condensed against the lifecycle KDoc; the stale "restart path"
  clause removed
- P2: the I/O-thread rationale in ResilientMessageSender is a hub
  pointer to FallbackDispatcher with a local residual statement

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015GfdGp7eUrjJKBvcJUx3q2
Second-round comment audit at 850a7e3 (1 Critical, 1 High, 4 Medium,
5 Low, 3 systemic patterns); every finding carries its status line
referencing the fix commit.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015GfdGp7eUrjJKBvcJUx3q2
@dirkjink
dirkjink merged commit c1f70f3 into main Sep 7, 2026
6 checks passed
@dirkjink
dirkjink deleted the fix/comment-audit-2026-09-07 branch September 7, 2026 19:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant