diff --git a/plugin/.claude-plugin/plugin.json b/plugin/.claude-plugin/plugin.json index 708c1ccb..07a1c6f3 100644 --- a/plugin/.claude-plugin/plugin.json +++ b/plugin/.claude-plugin/plugin.json @@ -1,7 +1,7 @@ { "name": "grimoire", "description": "Grimoire for Claude Code: connects the grimoire MCP server, adds the hooks that deliver live project state and relevant records at the right moment, ships the shared client-neutral Grimoire skills (using-grimoire, writing-plans, reporting-back, systematic-debugging, verification, brainstorming, reusing-code, shape-accounting, family-canon), and syncs your saved Grimoire Processes as skills (/grimoire:sync).", - "version": "2026.11.27.1440", + "version": "2026.11.27.1451", "author": { "name": "Bryan Van Deusen" }, diff --git a/plugin/hooks/grimoire_shape_check.sh b/plugin/hooks/grimoire_shape_check.sh index 3434f660..68014d13 100644 --- a/plugin/hooks/grimoire_shape_check.sh +++ b/plugin/hooks/grimoire_shape_check.sh @@ -116,7 +116,8 @@ if [ -s "$asked_file" ] || [ -s "$asked_earlier_file" ]; then asked_q="&written=${asked_enc}" fi if [ -s "$asked_earlier_file" ]; then - prior_enc=$(_unique "$asked_earlier_file" | grimoire_urlenc) || prior_enc="" + prior=$(_unique "$asked_earlier_file") + prior_enc=$(printf '%s' "$prior" | grimoire_urlenc) || prior_enc="" [ -n "$prior_enc" ] && asked_q="${asked_q}&earlier=${prior_enc}" fi if after=$(curl -fsS --max-time 4 \