Skip to content

AI Bug Fixes: 2026-10-10T03:01:45Z — 1 fixed, 0 introduced, net +1 - #77

Merged
recursive-ai-dev merged 1 commit into
devfrom
ai-fixes/run-20261010T030145Z
Oct 10, 2026
Merged

recursive-ai-dev merged 1 commit into
devfrom
ai-fixes/run-20261010T030145Z

Conversation

@recursive-ai-dev

Copy link
Copy Markdown
Owner

Bugs Fixed This Run

"forget everything" — fails to retire any active memories

  • Root cause: parser.js parsed "forget everything" as a forget intent with object: object("everything"), producing a literal key (literal:<hash>) that never matched any stored memory key or candidate. The forget handler in dialogue.js found zero records and replied "I don't have an active memory matching that." while all memories remained active.
  • Fix: Added forgetAll flag to the forget intent in parser.js — set to true when the forget target matches /^(?:everything|all(?:\s+...)?)/. In dialogue.js forget handler, prepended parsed.forgetAll as a short-circuit condition in the memory filter, so all active memories are retired when the flag is set.
  • Files changed: src/model/parser.js (1 line), src/model/dialogue.js (1 line), tests/conversation.test.cjs (+1 regression test), Kira.html (rebuilt artifact).
  • Test added: "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

  • Pattern from Run 5: the forget handler had an asymmetry to recall for the nameOnly case. This run applies the same pattern to a forgetAll case — extending the intent parser with a flag and adding a short-circuit in the filter.
  • Parallel: when a natural-language forget target can't be resolved to a key, check whether it's a semantic wildcard ("everything", "all") before falling through to "no matching memory".

… in parser.js, dialogue.js forget handler now matches when forgetAll; add regression test
@recursive-ai-dev
recursive-ai-dev merged commit e776b9e into dev Oct 10, 2026
3 checks passed
@coderabbitai

coderabbitai Bot commented Oct 10, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration
  • Configuration used: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: dd80308c-fe78-4813-b8ad-325861d56690

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant