Self-Update
Allow the agent to learn from mistakes and continuously improve
Quick Start
User: Log the issue I just had
User: Update the rule for misphrasing detection
User: This lesson needs to be recorded
Update Locations
| Content Type | Target File | Example |
|---|---|---|
| User profile | CLAUDE.md | Preferences, habits |
| Methodology + feedback | */tips/*.md | Rules, lessons |
Process
User triggers ("That just failed", "Log that")
↓
[Auto] Backtrack context to identify the issue point
↓
[Auto] Read the full target file to understand the existing structure
↓
[Auto] Integrate into the appropriate section (not just append to the end!)
↓
[Auto] Feedback records only log events, not repeat rules
↓
Report update results
Key: Do not ask "What's the problem?", analyze directly from context!
Update Principles
❌ Wrong Practice: Appending to the End
## Feedback Log
### 2026-01-14
- Lesson: At the end of a review draft, a deletion task list must be generated
- Lesson: When confirming with the user, separate misphrasing and silence
Only adding to the feedback log = rules scattered at the end, the same mistakes will happen again
✅ Correct Practice: Integrate into the Text
- Read the full document, understand the section structure
- Find the appropriate position and integrate the rule
- Feedback log only records events:
- The review draft marked silences, but they were missed during editing
## IV. Review Draft Format
(Added deletion task list template)
## V. Confirmation and Execution Process ← add new section if missing
(Added process for separately confirming misphrasing and silence)
## Feedback Log
### 2026-01-14
- The review draft marked silences, but they were missed during editing (only misphrasing was deleted)
Trigger Conditions
- User corrects an AI error
- User says "Remember this" or "Note for next time"
- A new general pattern is discovered
Anti-Examples
2026-01-13
❌ Wrong:
User: That just failed, update the skills
AI: Please tell me what issue you found? ← Should not ask!
✅ Correct:
AI: [Auto backtrack context to find the failure point]
AI: [Execute the update]
2026-01-14
❌ Wrong:
AI: Updated, added 3 lessons in the feedback log ← Only appended!
✅ Correct:
AI: [Read the full document, understand the structure]
AI: [Integrate into the appropriate section]
AI: [Feedback log only records events]
AI: Updated: Added Chapter V "Confirmation and Execution Process", updated Chapter IV template
Principle: Rules must be integrated into the text; feedback records are just an event log.