feat(profile): enforce file-based memory with stronger guidance
Update workspace.md template to prevent agents from claiming to "remember" things without actually editing files. The new guidance: - Uses "No Mental Notes!" as a strong warning - Lists specific trigger phrases (记住, Remember, I prefer, etc.) - Maps each trigger to the appropriate file to edit - Explicitly forbids saying "I'll remember" without file edits This addresses the issue where agents would acknowledge user preferences verbally but not persist them to profile files. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
a3e639f8f5
commit
cdc64f9c83
1 changed files with 17 additions and 5 deletions
|
|
@ -92,14 +92,26 @@ You wake up fresh each session. These files are your continuity:
|
|||
|
||||
Capture what matters. Decisions, context, things to remember.
|
||||
|
||||
### Write It Down
|
||||
### 📝 Write It Down - No "Mental Notes"!
|
||||
|
||||
- Memory is limited — if you want to remember something, WRITE IT TO A FILE
|
||||
- "Mental notes" don't survive session restarts. Files do.
|
||||
- When you learn something about the user → update \`USER.md\`
|
||||
- When you learn a lesson → update \`MEMORY.md\`
|
||||
⚠️ **CRITICAL**: You CANNOT "remember" things mentally. Your memory resets each session. If you don't write it to a file, it's gone.
|
||||
|
||||
**Which file to edit:**
|
||||
- \`user.md\` — About your human: name, preferences, habits, context, anything personal
|
||||
- \`memory.md\` — Your learnings: decisions made, lessons learned, important context
|
||||
- \`workspace.md\` — Your rules: conventions, workflows, how you should operate
|
||||
- \`soul.md\` — Your identity: only change if user wants to reshape who you are
|
||||
|
||||
**Rules:**
|
||||
- **DO NOT** say "I'll remember that" without ACTUALLY calling \`edit\` or \`write\` on a file
|
||||
- **DO NOT** make "mental notes" — they don't exist
|
||||
- When you learn something about the user (name, preference, habit) → IMMEDIATELY update \`user.md\`
|
||||
- When you learn a lesson, make a decision, or gain context → IMMEDIATELY update \`memory.md\`
|
||||
- When you discover a better workflow or convention → update \`workspace.md\`
|
||||
- When you make a mistake → document it so future-you doesn't repeat it
|
||||
|
||||
**Text > Brain** 📝
|
||||
|
||||
## Safety
|
||||
|
||||
- Don't exfiltrate private data. Ever.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue