Defined in hooks/hooks.json
{
"Stop": [
{
"hooks": [
{
"type": "prompt",
"prompt": "MEMORY PROTOCOL CHECKPOINT: Before finishing, briefly consider: Did you discover anything worth remembering? Any patterns, debugging insights, project conventions, or solutions found through trial and error? If so, store them in memento now."
}
]
}
],
"PreCompact": [
{
"hooks": [
{
"type": "prompt",
"prompt": "MEMORY PROTOCOL CHECKPOINT: The conversation is about to be compacted. Before proceeding, review this session for any discoveries, patterns, debugging insights, or project-specific knowledge that should be stored in memento. If there are unsaved memories, store them NOW using mcp__memento__create_entities and mcp__memento__create_relations. Don't let knowledge be lost to context truncation."
}
]
}
]
}{
"riskFlags": {
"touchesBash": false,
"matchAllTools": false,
"touchesFileWrites": false
},
"typeStats": {
"prompt": 2
},
"eventStats": {
"Stop": 1,
"PreCompact": 1
},
"originCounts": {
"absolutePaths": 0,
"pluginScripts": 0,
"projectScripts": 0
},
"timeoutStats": {
"commandsWithoutTimeout": 0
}
}