fix/codex-cache-compat
develop
jsc-hooks
tools/deploy.sh
skills/deploy/SKILL.md
compat
README.md
plugin.json
.claude-plugin/plugin.json
.codex-plugin/plugin.json
find tools -type f -name '*.sh' -exec sh -n {} \;
python3 -m json.tool plugin.json
git diff --check
./tools/deploy.sh -n update codex jsc-hooks
CODEX_HOME
codex
/root/plugins/hooks/hooks/comment-scope.sh sweep
No dependencies set.
The note is not visible to the blocked user.
摘要
jsc-hooks後,尚未重啟的工作階段仍用舊 hook_run_id,導致 Stop hook 找不到舊版快取路徑。變更內容
tools/deploy.shjsc-hookscache 版本,update 後把消失的舊版路徑補成指向最新版的 symlink。skills/deploy/SKILL.mdcompat輸出與舊快取相容連結規則。README.mdplugin.json、.claude-plugin/plugin.json、.codex-plugin/plugin.json設計重點
jsc-hooks舊版 cache 路徑。測試結果
find tools -type f -name '*.sh' -exec sh -n {} \;:通過。python3 -m json.tool plugin.json、.claude-plugin/plugin.json、.codex-plugin/plugin.json:通過。git diff --check:通過。./tools/deploy.sh -n update codex jsc-hooks:通過。CODEX_HOME與假的codex指令模擬舊版 cache 被移走:輸出compat,且舊版路徑成功連到新版路徑。/root/plugins/hooks/hooks/comment-scope.sh sweep:通過。前置 Push Request