feat: enhance memory management protocols to enforce structured headings, utilize user first names in entries, and improve clarity in memory update rules

This commit is contained in:
Anish Sarkar 2026-04-10 04:51:56 +05:30
parent b8e1c9801b
commit 8d7b5bfe36
5 changed files with 52 additions and 26 deletions

View file

@ -52,7 +52,8 @@ memory document and output the FULL updated document.
RULES:
1. If the instruction asks to add something, add it with format: \
- (YYYY-MM-DD) [fact] text, under an existing or new ## heading.
- (YYYY-MM-DD) [fact] text, under an existing or new ## heading. \
Heading names should be descriptive, not generic categories.
2. If the instruction asks to remove something, remove the matching entry.
3. If the instruction asks to change something, update the matching entry.
4. Preserve existing ## headings and all other entries.