feat(retain): make semantic conversation chunking the default - #7
Merged
Merged
Conversation
Danielxu0208
force-pushed
the
agent/issue-4-retain-ingestion-pipeline
branch
from
July 29, 2026 12:23
d6385c1 to
675f4d3
Compare
Danielxu0208
force-pushed
the
agent/issue-5-semantic-conversation-chunking
branch
from
August 3, 2026 09:02
89bb850 to
6d3c952
Compare
Danielxu0208
changed the base branch from
agent/issue-4-retain-ingestion-pipeline
to
main
August 3, 2026 09:03
Danielxu0208
marked this pull request as ready for review
August 3, 2026 09:05
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Motivation
Closes #5
PR #6 has been merged into
main. This branch is rebased onto that merged implementation so the diff now contains only semantic conversation chunking and its integration hardening.Long JSON conversations previously used size-based boundaries that could separate a user turn from its response and ignored topic transitions. This change makes semantic boundary planning the default while preserving source integrity, atomic publication, and deterministic recovery.
Changes
fixed_fallbackand fail-closedraisepolicies, with bounded retries and completion tokens.Validation
uv lock --check: passed.LICENSEandTHIRD_PARTY_NOTICES.md.Risk / Rollback
fixed_fallbackorraisepolicy.HMS_API_RETAIN_SEMANTIC_CHUNKING_ENABLED=falseto restore deterministic chunking.