Repository navigation
Feature/session memory - #10
Merged
Merged
Conversation
- add session memory first iteration - add action remember_session triggered by user completive or direct prompt
- add explicit session memory persist/restore flow and clear control - add remember_session runtime action handling and safer marker parsing - move memory prompts into runtime memory_rules - add summarizer timeouts and clearer L1 batch logging - block chat flow when brain and service are both offline
- add L3 session memory with event snapshots and remember_session completion flow - add REMEMBER_EVENT runtime action for saving high-signal moments - preserve durable user/jin facts, canonicalize stored_memory, and collapse duplicate fact keys - harden runtime action parsing against quoted instructions, negated markers, and placeholder search payloads - add safe context-window detection and max_tokens clamping for runtime requests - improve memory UI: empty bubble cleanup, action fade, smoother L1/L2/L3 glow, and readable failure reasons - persist explicit session bootstrap with runtime memory and event snapshots - add tests for runtime actions, memory summarizers, websocket bootstrap, search completion, and runtime client budgets
- fix for L2 affecting runtime snapshot counter
- optimized session store logic - optimizing session trigger logic - add Claude\DeepSeek mode rules
- replace prompt action templates with private bracketed markers - parse and strip internal action markers in runtime streams - keep remember session guarded by user intent - add tests for web search, memory actions, and marker cleanup
- drop legacy RUNTIME_ACTION marker constants and exports - make runtime action parser bracket-marker only - keep web search and memory actions on INTERNAL_ACTION protocol - update stream filtering for split private markers - rewrite action tests and probes around private markers - keep prompt safety checks against legacy XML markers
- clear consumed snapshots after L3 save, preserve them on failures/skips - add L3 skip/budget/max-token diagnostics - cover cleanup and edge cases
- fix runtime model metadata selection guard - fixes for session saving flow - skip model metadata entries without id/model/name before substring matching - add regression tests for bootstrap flow and model metadata selection
- add session save markers - unified logging for MEMORY:L1\L2\L3
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.
runtime_memory_snapshotsonly after a successful L3 update.