v0.2.1 — SessionStart config injection + delegation
Highlights
- New SessionStart hook (
hooks/session-context.sh): resolves the obsidian-chronicle config once per session start and serves two consumers from the single result.- Main session — injects the resolved vault paths + a rule to delegate all vault work (read/search included, not just writes) to the
obsidian-chronicle:obsidian-vaultagent, viaadditionalContext. - obsidian-vault agent — subagents don't receive SessionStart context, so the hook also writes the resolved config to a cwd-keyed cache file that the agent reads instead of re-running
resolve-config.sh.
- Main session — injects the resolved vault paths + a rule to delegate all vault work (read/search included, not just writes) to the
- Fires on
startup/resume/clear/compact, so the injected snapshot also refreshes after compaction. - Fail-safe: recursion guard for the
claude -psummarizer child, silent exit + stale-cache removal when no vault is configured, never blocks session start. agents/obsidian-vault.mdreads the cache first (falls back to the resolver)./obsidian-chronicle:setupclears the cache after writing config.
Full changelog: v0.2.0...v0.2.1