|
18 | 18 | STATE_DIR = Path.home() / ".mempalace" / "hook_state" |
19 | 19 |
|
20 | 20 | STOP_BLOCK_REASON = ( |
21 | | - "AUTO-SAVE checkpoint. Save key topics, decisions, quotes, and code " |
22 | | - "from this session to your memory system. Organize into appropriate " |
23 | | - "categories. Use verbatim quotes where possible. Continue conversation " |
24 | | - "after saving." |
| 21 | + "AUTO-SAVE checkpoint (MemPalace). Save this session's key content:\n" |
| 22 | + "1. mempalace_diary_write — AAAK-compressed session summary\n" |
| 23 | + "2. mempalace_add_drawer — verbatim quotes, decisions, code snippets\n" |
| 24 | + "3. mempalace_kg_add — entity relationships (optional)\n" |
| 25 | + "Do NOT write to Claude Code's native auto-memory (.md files). " |
| 26 | + "Continue conversation after saving." |
25 | 27 | ) |
26 | 28 |
|
27 | 29 | PRECOMPACT_BLOCK_REASON = ( |
28 | | - "COMPACTION IMMINENT. Save ALL topics, decisions, quotes, code, and " |
29 | | - "important context from this session to your memory system. Be thorough " |
30 | | - "\u2014 after compaction, detailed context will be lost. Organize into " |
31 | | - "appropriate categories. Use verbatim quotes where possible. Save " |
32 | | - "everything, then allow compaction to proceed." |
| 30 | + "COMPACTION IMMINENT (MemPalace). Save ALL session content before context is lost:\n" |
| 31 | + "1. mempalace_diary_write — thorough AAAK-compressed session summary\n" |
| 32 | + "2. mempalace_add_drawer — ALL verbatim quotes, decisions, code, context\n" |
| 33 | + "3. mempalace_kg_add — entity relationships (optional)\n" |
| 34 | + "Be thorough \u2014 after compaction, detailed context will be lost. " |
| 35 | + "Do NOT write to Claude Code's native auto-memory (.md files). " |
| 36 | + "Save everything to MemPalace, then allow compaction to proceed." |
33 | 37 | ) |
34 | 38 |
|
35 | 39 |
|
|
0 commit comments