Repository navigation
fix(memory): keep claims on every line of a note - #222
Merged
Merged
Conversation
Sentence patterns stop at a newline, so a multi-line note stored only the last line's claim and dropped earlier preferences and facts from the summary. Signed-off-by: Ting Zhang <181050363+GPT-AGI@users.noreply.github.com> Co-authored-by: Cursor <cursoragent@cursor.com>
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.
📋 Description
On
main, this note stores onlyuser prefers light mode:extract_claimssplits only on sentence punctuation, while its claim patterns donot cross newlines. The extractor now starts a new statement when a new line
matches a claim pattern or list marker, and joins wrapped continuation lines.
Regression assertions live in the existing
recall:check.🔄 Type of Change
Verification
pnpm release:checkpasses locallypnpm branding:check(no new files)Node 25.9.0 and pnpm 11.5.2:
pnpm recall:check,pnpm typecheck,pnpm branding:check,pnpm release:files,pnpm sdk:python:check,pnpm extension:check,pnpm bench:typecheck,pnpm bench:ci, andnode tools/check-integrations.mjs.pnpm dashboard:audithas the same pre-existing dependency advisory failureas
main(three high, one critical).Command "eslint" not found; no integration files changed.Behavior:
📱 Screenshots (if applicable)
None.
🔍 Code Review Checklist
📚 Related Issues
None.
🚀 Deployment Notes
None.
📋 Additional Context
The change does not alter stored data or public formats.