Skip to content

Commit 249ad06

Browse files
authored
Merge branch '1.0-dev' into ishymko/extensions
2 parents 44358a1 + f6610fa commit 249ad06

2 files changed

Lines changed: 12 additions & 25 deletions

File tree

GEMINI.md

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,16 +26,22 @@
2626

2727
## 5. Mistake Reflection Protocol
2828

29+
> [!NOTE] for Users:
30+
> `docs/ai/ai_learnings.md` is a local-only file (excluded from git) meant to be
31+
> read by the developer to improve AI assistant behavior on this project. Use its
32+
> findings to improve the GEMINI.md setup.
33+
2934
When you realise you have made a mistake — whether caught by the user,
3035
by a tool, or by your own reasoning — you MUST:
3136

3237
1. **Acknowledge the mistake explicitly** and explain what went wrong.
33-
2. **Reflect on the root cause**: was it a missing check, a false
34-
assumption, skipped verification, or a gap in the workflow?
35-
3. **Immediately append a new entry to @./docs/ai/ai_learnings.md**
36-
following the format defined in that file. This is not optional and
37-
does not require user confirmation. Do it before continuing. Update user
38-
about the changes to the workflow in the current chat.
38+
2. **Reflect on the root cause**: was it a missing check, a false assumption, skipped verification, or a gap in the workflow?
39+
3. **Immediately append a new entry to `docs/ai/ai_learnings.md`** — this is not optional and does not require user confirmation. Do it before continuing, then update the user about the workflow change.
40+
41+
**Entry format:**
42+
- **Mistake**: What went wrong.
43+
- **Root cause**: Why it happened.
44+
- **Rule**: The concrete rule added to prevent recurrence.
3945

4046
The goal is to treat every mistake as a signal that the workflow is
4147
incomplete, and to improve it in place so the same mistake cannot

docs/ai/ai_learnings.md

Lines changed: 0 additions & 19 deletions
This file was deleted.

0 commit comments

Comments
 (0)