-
Notifications
You must be signed in to change notification settings - Fork 1.1k
refactor(agent-core-v2): carry the context fold cursor in state and converge fold/projection internals #2875
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 17 commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
8780d6a
refactor(agent-core-v2): carry the context fold cursor in state and c…
7Sageer 2d41945
test(agent-core-v2): move fold parity rationales into the test file h…
7Sageer e83ad3f
docs(agent-core-v2): move fold declaration comments into module headers
7Sageer 2b47fe7
refactor(agent-core-v2): merge FoldFrame into generic ContextState
7Sageer e7fe16e
refactor(agent-core-v2): compile-enforce part/event handling decision…
7Sageer 55b9e0b
refactor(agent-core-v2): converge undo-cut decision in conversationTime
7Sageer c5cf562
fix(agent-core-v2): drop removed prompts' injections on multi-turn tr…
7Sageer a8ee42c
refactor(agent-core-v2): accumulate request projection repairs as policy
7Sageer 5ddab0c
refactor(agent-core-v2): derive the visible context window from an ap…
7Sageer 8892e84
fix(agent-core-v2): rehydrate exactly the messages the visible window…
7Sageer 5ba63a4
fix(agent-core-v2): pop the visible-tail swarm reminder behind a lega…
7Sageer a7a0b45
fix(agent-core-v2): settle open transcript frames when compaction lan…
7Sageer 29c0a54
fix(agent-core-v2): settle open frames at the compaction marker
7Sageer 51f31ae
Merge remote-tracking branch 'origin/main' into refactor-context
7Sageer 641157e
refactor(agent-core-v2): tighten naming and comments in context memor…
7Sageer 2c36afe
fix(agent-core-v2): preserve bounded context state
7Sageer a085428
Merge remote-tracking branch 'origin/main' into refactor-context
7Sageer 450645f
docs(agent-core-v2): restore the domain identity line in the compacti…
7Sageer File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This rewritten header no longer begins with the required
`contextMemory` domain — ...identity line and omits the helper’s cross-domain roles, including token estimation throughkosongand reminder rendering throughsystemReminder. Restore those ownership details in the top-of-file block so the module remains discoverable under the package’s mandatory header convention.AGENTS.md reference: packages/agent-core-v2/AGENTS.md:L38-L40
Useful? React with 👍 / 👎.