Skip to content

P0: Implement deterministic document-to-chunk capability #2

Description

@sfloess

Implement the chunking contract now that FlossWare/scraping#1 is merged.

Acceptance criteria:

  • Sentence-aware, approximate token-bounded chunking.
  • Configurable overlap and deterministic long-segment splitting.
  • Stable chunk object with source identity/provenance, offsets and metadata.
  • Preserve upstream metadata.
  • Empty input, long segments, overlap boundaries, Unicode/non-ASCII and repeated-run determinism tests.
  • Real fixture matching the scraping document contract.
  • Core remains stdlib-only and does not import scraping, embedding, storage, model, Loom or agent packages.
  • Package/CI validation and X.Y versioning.

Dependency boundary: scraping -> document contract <- chunking.

Program tracker: FlossWare/FlossWare#4

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P0bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions