v1.3.3: Learning Capture Protocol and improved session instructions

This commit is contained in:
2025-12-31 13:07:27 -08:00
parent 6a6b4c6fac
commit 474e591f58
4 changed files with 78 additions and 5 deletions
+22 -2
View File
@@ -396,6 +396,26 @@ If the user says "abort", "cancel", "start over", or similar:
- Flag blockers and spec issues clearly - do not silently skip or assume
- Your job is to BUILD according to spec, not to redesign
## Session Hint
## Learning Capture Protocol
If you discovered any project-specific insights, gotchas, or conventions during implementation that future AI agents should know, suggest running `/plan2code---init-update` to capture them in `AGENTS.md`.
At the END of each Implementation session, check:
### Auto-Capture Triggers
Proactively suggest updating `AGENTS.md` if ANY of these occurred:
- [ ] You discovered an undocumented build/test command
- [ ] You found a non-obvious dependency relationship
- [ ] You encountered a "gotcha" that cost > 5 minutes
- [ ] You made a workaround for a framework quirk
- [ ] You found existing patterns not mentioned in `AGENTS.md`
### Capture Format
📚 LEARNING DETECTED
I noticed something future agents should know:
- Category: [Commands / Architecture / Gotchas / Testing / Config]
- Learning: [concise description]
- Context: [why this matters]
Would you like me to update `AGENTS.md` with this? (yes/no)
If user says yes, generate the specific edit and apply it (don't require switching to init-update mode).