The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
fix(plugins): treat every guard code extension as revision-owned on no-git carry
kshitijk4poorb2d6fed3f186
diff --git a/hermes_cli/plugins_cmd_catalog.py b/hermes_cli/plugins_cmd_catalog.pyindex 38e691d394d..677dc15cd94 100644--- a/hermes_cli/plugins_cmd_catalog.py+++ b/hermes_cli/plugins_cmd_catalog.py@@ -294,8 +294,9 @@ _NO_GIT_REVISION_DIRS = frozenset({"desktop", "skills", "sidecar", "node_modulesdef _revision_owned_without_git(rel: Path) -> bool:"""True for plugin code/control surfaces an update must never resurrect from the old tree."""+ from tools.plugin_guard import CODE_FILE_EXTENSIONSreturn (- rel.suffix == ".py"+ rel.suffix.lower() in CODE_FILE_EXTENSIONSor rel.as_posix() in _NO_GIT_REVISION_FILESor bool(rel.parts and rel.parts[0] in _NO_GIT_REVISION_DIRS))