Skip to content

Fixed a nasty bug with memory files leaking into context#119

Merged
dusano merged 1 commit intomainfrom
fix/nasty-memory-bug
Feb 27, 2026
Merged

Fixed a nasty bug with memory files leaking into context#119
dusano merged 1 commit intomainfrom
fix/nasty-memory-bug

Conversation

@dusano
Copy link
Copy Markdown
Contributor

@dusano dusano commented Feb 27, 2026

There is a nasty buh where memory files are leaking into context (see below for examples). The problem is that we do git diff on the implementation code folder but we do not exclude .memory folder. So when the new memory files are created during the rendering they are included in the code diff. This patch fixes the issue.

This bug also clearly demonstrates the extreme importance of looking at prompts! The moment I looked at the prompt I could immediately see the issue:

fix-conformance-tests.md
analyze-conformance-tests.md

@dusano dusano requested a review from VitjanZ February 27, 2026 08:05
@dusano dusano self-assigned this Feb 27, 2026
@dusano dusano added the bug Something isn't working label Feb 27, 2026
Copy link
Copy Markdown
Collaborator

@VitjanZ VitjanZ left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch!

@dusano dusano merged commit 8a3619e into main Feb 27, 2026
10 checks passed
@dusano dusano deleted the fix/nasty-memory-bug branch February 27, 2026 08:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants