-
Notifications
You must be signed in to change notification settings - Fork 3.9k
refactor(memory): confine raw profile SQLite, guard the tool_memory tools, collapse three re-export shims #5470
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 all commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
9836f67
style(core): apply cargo fmt to the unformatted merge base
senamakel f14819b
fix(memory): finish the core::event_bus to core::bus migration in gua…
senamakel 9eeb3d5
refactor(memory): confine raw profile SQLite behind a typed ProfileStore
senamakel f6eb3e0
refactor(memory): route the tool_memory agent tools through the guard
senamakel faa54cc
refactor(memory): drop the memory_diff types re-export shim
senamakel 025ad5b
refactor(memory): drop the goals GoalsDoc/GoalItem re-export shim
senamakel ed3d9bb
refactor(memory): collapse goals/store.rs onto the crate engine
senamakel 7be8449
refactor(memory): drop the conversations type/function re-export shim
senamakel 50ee067
fix(tool_memory): handle missing tool name in put operation
senamakel 39ed30b
fix(tool-memory): restore put tool after accidental removal
senamakel 5fb07ee
fix(tool_memory): correct module path for active_memory_client
senamakel 5c9d9fd
fix(tool-memory): return stored rule from put tool
senamakel 90f49c9
fix(profile_store): correct SQL query to use exact match instead of p…
senamakel f65e8ae
fix(profile_store): use LIKE for key matching in profile query
senamakel e13f7b1
chore(deps): update Cargo.lock for tinybus dependency
senamakel a5506c5
fix(profile_store): make for_tests available outside the crate
senamakel d5e9585
test(learning-phase4): wrap FacetCache with ProfileStore in integrati…
senamakel 62067fa
chore: remove unused BUS imports from tests
senamakel 17b7755
Revert "chore: remove unused BUS imports from tests"
senamakel fd3c88d
fix(tests): reorder import to match dependency order
senamakel c653135
Merge remote-tracking branch 'upstream/main' into memory-consolidate
senamakel b826009
Merge branch 'main' into memory-consolidate
senamakel 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
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
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.
Update the class-filter list method to use
storeThe class-filter method between
list_allandgetis not in the diff, so it is unchanged. Its body previously usedself.conn(the only field the old struct had), but the struct now hasstore: ProfileStoreand noconnfield. The unchanged method therefore references a field that no longer exists and will not compile. It needs to be converted toself.store.list_active_by_class(...)(or the equivalentProfileStoremethod) like the siblings above and below it.[RULE] untrusted-repo-rules ·