Skip to content

chore(docs): sweep aftermath - hasContent null contract, bisect note, debug-overlay guides#166

Merged
DemchaAV merged 2 commits into
developfrom
chore/sweep-aftermath
Jun 11, 2026
Merged

chore(docs): sweep aftermath - hasContent null contract, bisect note, debug-overlay guides#166
DemchaAV merged 2 commits into
developfrom
chore/sweep-aftermath

Conversation

@DemchaAV

Copy link
Copy Markdown
Owner

What

Findings 9–10 of the post-merge review, plus the deferred docs follow-up:

  • SectionLookup.hasContent null contract documented and pinned. The import sweep folded five presets' explicit section == null guards into hasContent's undocumented null tolerance; the Javadoc now states null → false is a contract (call sites feed straight from firstMatching(...)), and SectionLookupTest pins it against a future exhaustive-switch rewrite of the sealed CvSection hierarchy.
  • CHANGELOG → Internal: bisect note. Honest record that the f04a7dce sweep also carried mechanical code rewrites (~40 files: private Template → records, Collections.addAll, wildcard imports, guard folding) beyond its "imports/Javadoc only" message — verified behavior-preserving at merge time, recorded so a future bisect doesn't skip the commit.
  • Docs: getting-started.md and operations/production-rendering.md gain the DocumentDebugOptions node-label workflow next to their existing guideLines sections.

Verification

Full gate: ./mvnw verify -pl .1241 tests, 0 failures, BUILD SUCCESS (post-#165 develop merged in).

DemchaAV added 2 commits June 12, 2026 00:55
… debug-overlay guides

Documents and pins the SectionLookup.hasContent null tolerance that five v2 presets rely on since the import sweep folded their explicit guards (SectionLookupTest guards the contract against a future exhaustive-switch rewrite). Adds a CHANGELOG Internal note recording the sweep's mechanical code rewrites (~40 files: Template record conversions, Collections.addAll, wildcard imports, guard folding) so future bisects do not skip f04a7dc on the strength of its message. Extends getting-started and production-rendering with the DocumentDebugOptions node-label workflow.
@DemchaAV DemchaAV merged commit 854d177 into develop Jun 11, 2026
11 checks passed
@DemchaAV DemchaAV deleted the chore/sweep-aftermath branch June 11, 2026 23:59
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