.claude/settings.json (committet) verdrahtet die MemPalace-Hooks (session-start lädt Kontext, stop/precompact persistieren) → künftige Claude- Sessions in diesem Ordner nutzen MemPalace automatisch (zusammen mit .mcp.json, das die 19 MCP-Tools bereitstellt; aktiv nach Claude-Neustart). CLAUDE.md: Abschnitt „Gedächtnis (MemPalace)" + Memory-Policy (WANN/WIE/WO eine Memory angelegt wird: durable & nicht-offensichtlich → Palast; kanonisch & projektweit → zusätzlich CLAUDE.md; Veraltetes per kg_invalidate beenden statt löschen). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
36 lines
717 B
JSON
36 lines
717 B
JSON
{
|
|
"$schema": "https://json.schemastore.org/claude-code-settings.json",
|
|
"hooks": {
|
|
"SessionStart": [
|
|
{
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "mempalace hook run --hook session-start --harness claude-code"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"Stop": [
|
|
{
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "mempalace hook run --hook stop --harness claude-code"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"PreCompact": [
|
|
{
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "mempalace hook run --hook precompact --harness claude-code"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|