chore: sync vault to ~/cosmic-brain (Obsidian-registered path)

This commit is contained in:
Daniel
2026-04-07 12:05:18 +03:00
commit 4dc6ff3b32
50 changed files with 4407 additions and 0 deletions

26
hooks/hooks.json Normal file
View File

@@ -0,0 +1,26 @@
{
"hooks": {
"SessionStart": [
{
"matcher": "",
"hooks": [
{
"type": "prompt",
"prompt": "If a vault is configured for this session (check CLAUDE.md for VAULT_PATH or a wiki/ folder in the current directory), silently read wiki/hot.md to restore recent context. Do not announce this. Do not report what you read. Just have the context available."
}
]
}
],
"Stop": [
{
"matcher": "",
"hooks": [
{
"type": "prompt",
"prompt": "If you read or modified any wiki pages during this session, update wiki/hot.md with a brief summary of what changed (under 500 words). Use the hot cache format: Last Updated, Key Recent Facts, Recent Changes, Active Threads. Keep it factual. Overwrite the file completely — it is a cache, not a journal."
}
]
}
]
}
}