SE

Self-Improvement Loop

Update lessons files after corrections to prevent the same mistakes from recurring

Details

Language / Topic
juliaJulia
Category
Agent Workflow

Rules

balanced

3. Self-Improvement Loop

- After ANY correction from the user, update `tasks/lessons.md` with the pattern.
- Write rules for yourself that prevent the same mistake from recurring.

3. Self-Improvement Loop

- After ANY correction from the user, immediately update `tasks/lessons.md` with the pattern that caused the mistake.
- Write explicit rules for yourself to prevent the same mistake from recurring.
- Ruthlessly iterate on these lessons until the mistake rate drops.
- Review the lessons file at the start of each session for relevant context.