feat(core): Implement V0 Episodic Context Manager#24643
Draft
joshualitt wants to merge 4 commits intomainfrom
Draft
feat(core): Implement V0 Episodic Context Manager#24643joshualitt wants to merge 4 commits intomainfrom
joshualitt wants to merge 4 commits intomainfrom
Conversation
3299b10 to
f66b294
Compare
|
Size Change: +16.7 kB (+0.05%) Total Size: 34 MB
ℹ️ View Unchanged
|
76f34ff to
2e943c0
Compare
2e943c0 to
0e3549f
Compare
- Re-wrote the monolithic string-based context manipulation logic into an elegant, immutable Episodic IR pipeline. - Implemented four non-destructive degradation processors: `HistorySquashingProcessor`, `ToolMaskingProcessor`, `BlobDegradationProcessor`, and `SemanticCompressionProcessor`. - Added dynamic configuration knobs (`budget` and `strategies`) to precisely tune the retention algorithms. - Implemented a power-user `incrementalGc` flag for maximum context preservation beneath the ceiling. - Enforced strict typing across the new pipeline, replacing unsafe casts with robust mapping interfaces. - Added `powerUserProfile` to support features for those wanting a bit more quality at the cost of tokens.
0e3549f to
1f56796
Compare
b9623e4 to
5e87177
Compare
5e87177 to
d0fa985
Compare
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.
HistorySquashingProcessor,ToolMaskingProcessor,BlobDegradationProcessor, andSemanticCompressionProcessor.budgetandstrategies) to precisely tune the retention algorithms.incrementalGcflag for maximum context preservation beneath the ceiling.Fixes #24642