Repository navigation
AI Bug Fixes: 2026-10-10T03:01:45Z — 1 fixed, 0 introduced, net +1 - #77
Merged
Merged
Conversation
… in parser.js, dialogue.js forget handler now matches when forgetAll; add regression test
Contributor
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configuration
You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
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.
Bugs Fixed This Run
"forget everything" — fails to retire any active memories
parser.jsparsed "forget everything" as aforgetintent withobject: object("everything"), producing a literal key (literal:<hash>) that never matched any stored memory key or candidate. The forget handler indialogue.jsfound zero records and replied "I don't have an active memory matching that." while all memories remained active.forgetAllflag to the forget intent inparser.js— set totruewhen the forget target matches/^(?:everything|all(?:\s+...)?)/. Indialogue.jsforget handler, prependedparsed.forgetAllas a short-circuit condition in the memory filter, so all active memories are retired when the flag is set.src/model/parser.js(1 line),src/model/dialogue.js(1 line),tests/conversation.test.cjs(+1 regression test),Kira.html(rebuilt artifact)."forget everything" retires all active memories— asserts 0 active memories remain, reply does not contain "don't have an active memory", reply contains "stop using".Bugs Introduced This Run
None.
Net Improvement Score
+1 (1 fixed, 0 introduced)
Lessons Applied
forgethandler had an asymmetry torecallfor thenameOnlycase. This run applies the same pattern to aforgetAllcase — extending the intent parser with a flag and adding a short-circuit in the filter.