Self-evolving Context Database for AI Agents. Unify Agent Memory, Knowledge RAG and Skills.
Python agent-contextagent-memoryagent-pluginsagentic-ragcontext-databasedsh-pluginknowledge-basememorymemory-managementself-evolvingvector-database
fix(zcode): omit empty-string matchers from hooks template (#4391)
Almaz028c2cb503e6
diff --git a/examples/zcode-memory-plugin/README.md b/examples/zcode-memory-plugin/README.mdindex a6db48bec..a2f5d113f 100644--- a/examples/zcode-memory-plugin/README.md+++ b/examples/zcode-memory-plugin/README.md@@ -15,6 +15,8 @@ This package provides a ZCode lifecycle adapter for OpenViking long-term memory.ZCode does not support `PreCompact`/`SessionEnd`/`SubagentStart`/`SubagentStop`, so the commit-on-`Stop` strategy compensates for the absence of compact/end-of-session signals. The rollout file is the authoritative incremental transcript: stable host `turnId` values drive deduplication and allow a later Stop to recover missed turns. Hook stdin is only a fallback when the rollout file is unavailable.+> Invariant: hook groups must OMIT the matcher key rather than writing `"matcher": ""`. Strict parsers treat an empty string as invalid and may silently drop the entire configuration source.+## InstallUse the shared installer:diff --git a/examples/zcode-memory-plugin/hooks/hooks.json b/examples/zcode-memory-plugin/hooks/hooks.jsonindex ebcb12539..a6f674c56 100644--- a/examples/zcode-memory-plugin/hooks/hooks.json+++ b/examples/zcode-memory-plugin/hooks/hooks.json@@ -13,7 +13,6 @@],"UserPromptSubmit": [{- "matcher": "","hooks": [{"type": "command",@@ -37,7 +36,6 @@],"Stop": [{- "matcher": "","hooks": [{"type": "command",