Skip to content

feat: mandatory ICM store triggers for all AI tools#41

Merged
pszymkowiak merged 1 commit intomainfrom
fix/aggressive-store-instructions
Mar 17, 2026
Merged

feat: mandatory ICM store triggers for all AI tools#41
pszymkowiak merged 1 commit intomainfrom
fix/aggressive-store-instructions

Conversation

@pszymkowiak
Copy link
Contributor

Summary

  • Replace passive "after completing significant work" with 5 explicit MUST triggers
  • Applies to: CLI mode (CLAUDE.md, AGENTS.md, GEMINI.md), MCP server instructions, Cursor/Roo rules
  • All say "BEFORE responding to the user. Not optional."

Why

LLMs were ignoring soft "store proactively" instructions — memory was barely saved during sessions. Explicit numbered triggers with MANDATORY/MUST wording improves compliance.

Triggers

  1. Error resolved → errors-resolved
  2. Architecture decision → decisions-{project}
  3. User preference → preferences
  4. Significant task completed → context-{project}
  5. 20 tool calls without store → progress summary

- CLI template (CLAUDE.md, AGENTS.md, GEMINI.md): replace passive
  "after completing significant work" with 5 MUST triggers
- MCP server instructions: same mandatory triggers
- Cursor/Roo rule: same mandatory triggers
- All templates now say "BEFORE responding to the user. Not optional."

LLMs were ignoring the soft "store proactively" instructions.
Explicit numbered triggers with MUST/MANDATORY improve compliance.
@pszymkowiak pszymkowiak merged commit 2d0298a into main Mar 17, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant