Skip to content

AI Bug Fixes: 2026-10-10T02:03:28Z — 1 fixed, 0 introduced, net +1 - #76

Merged
recursive-ai-dev merged 1 commit into
devfrom
ai-fixes/run-2026-10-10T02-03-28Z
Oct 10, 2026
Merged

recursive-ai-dev merged 1 commit into
devfrom
ai-fixes/run-2026-10-10T02-03-28Z

Conversation

@recursive-ai-dev

Copy link
Copy Markdown
Owner

Bugs Fixed This Run

1. "forget my name" fails to retire the saved name memory

Root cause: The forget intent parser passes the raw phrase "my name" through the generic object() helper, which calls engine.lookup("my name") and finds no lexicon entry. The result is a literal key (literal:<hash-of-"my-name">) that never matches the stored name memory, whose key is literal:<hash-of-"Alice">. The dialogue handler's filter then finds no records and replies "I don't have an active memory matching that." — even when a name is actively saved.

Fix (2 files, minimal change):

  • src/model/parser.js: Added nameOnly: /^my name$/.test(m[1].trim().toLowerCase()) to the forget intent result, following the same pattern already used in the recall intent.
  • src/model/dialogue.js: Extended the forget filter to also match m.kind === 'name' when parsed.nameOnly is true.
  • tests/conversation.test.cjs: Added regression test "forget my name" retires the saved name memory.
  • Rebuilt Kira.html and updated modelHash in APP_META.

Bugs Introduced This Run

0 — all 52 tests pass (up from 51 baseline).

Net Improvement Score

+1 (1 fixed, 0 introduced)

Lessons Applied

  • Followed the existing nameOnly pattern from the recall handler rather than duplicating logic.
  • Fixed the code, not the test; added a regression test that fails before the fix and passes after.
  • Rebuilt the artifact and updated modelHash as required by the build invariant.

… to forget intent and match name kind in forget handler
@recursive-ai-dev
recursive-ai-dev merged commit 9575c01 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: 6c4aabb0-7c00-4602-821f-9fab349c83ba

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