diff --git a/.claude/commands/wiki-compile.md b/.claude/commands/wiki-compile.md index 1ce557a3..6d678b76 100644 --- a/.claude/commands/wiki-compile.md +++ b/.claude/commands/wiki-compile.md @@ -411,7 +411,8 @@ git commit -m "wiki: compile ${SLUG} (${MODE})" git fetch origin && git rebase origin/main # serialized, but rebase defensively git push origin main # Release the per-article lock and clear staging (ALWAYS — even on an earlier abort): -$PY "$CLAUDETOOLS_ROOT/.claude/skills/coord/scripts/coord.py" lock release claudetools "wiki/${TYPE}/${SLUG}" 2>/dev/null || true +# NOTE: `lock release` takes the LOCK ID (captured at claim in 5.0), NOT the resource path. +$PY "$CLAUDETOOLS_ROOT/.claude/skills/coord/scripts/coord.py" lock release "$LOCK_ID" 2>/dev/null || true rm -f "$CLAUDETOOLS_ROOT/.claude/wiki_staging/${TYPE}-${SLUG}.md" ```