bug: Code-Snippets werden nicht gespeichert #257
Labels
No labels
good first issue
has-pr
help wanted
idea
priority
critical
priority
high
priority
low
priority
medium
status
blocked
status
in-progress
status
needs-review
status
ready
type
bug
type
docs
type
enhancement
type
feature
type
refactor
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
customable/claude-mem#257
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Beschreibung
Code-Snippets werden aktuell nicht (mehr?) gespeichert. Es ist unklar ob das Feature nie funktioniert hat oder ob es durch kürzliche Änderungen kaputt gegangen ist.
Zu prüfen
Erwartetes Verhalten
Mögliche Ursachen
Debugging-Schritte
type: 'code'Observations in DB existierenRoot Cause Found
The
extractCodeBlocksmethod intask-dispatcher.tsuses a regex to match fenced code blocks:This regex expects real newline characters (
\n= char 10).However, tool outputs from the API contain escaped newlines (
\\n= chars 92+110, the literal string\n).Fix
Added normalization before running the regex:
Verified the fix works - code blocks are now matched correctly.