Skip to content

P0: Harden deterministic document chunking contract - #3

Merged
sfloess merged 22 commits into
mainfrom
p0-verify-hardening
Sep 4, 2026
Merged

P0: Harden deterministic document chunking contract#3
sfloess merged 22 commits into
mainfrom
p0-verify-hardening

Conversation

@sfloess

@sfloess sfloess commented Sep 4, 2026

Copy link
Copy Markdown
Member

Summary

  • make implicit document IDs deterministic
  • preserve requested overlap when splitting oversized segments without redundant final windows
  • recognize ., !, and ? sentence boundaries
  • add Unicode, metadata, provenance, offset, determinism, and overlap tests
  • verify the scraping AcquiredResource contract through a fixture without coupling imports
  • adopt the FlossWare X.Y version convention (0.1)
  • add minimal GitHub Actions test coverage

Validation

The branch contains the P0 acceptance coverage. Local execution is unavailable in this environment because outbound GitHub/DNS access is unavailable; CI should be the authoritative test run.

Review

Please review against the P0 acceptance criteria, especially deterministic behavior, provenance/offset correctness, overlap semantics, and the scraping -> document contract <- chunking boundary.

Do not merge until reviewed.

@sonarqubecloud

sonarqubecloud Bot commented Sep 4, 2026

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
C Security Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

@sfloess
sfloess merged commit 46f9b2e into main Sep 4, 2026
3 of 4 checks passed
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