From 783c5f653a343375add144187f2acbfc31a99494 Mon Sep 17 00:00:00 2001 From: Howard Enos Date: Thu, 18 Jun 2026 15:31:38 -0700 Subject: [PATCH] fix(wiki-compile): release coord lock by ID, not resource path coord.py 'lock release' takes the lock ID; the documented path form no-ops and strands the lock until TTL. Capture the lock ID at claim (5.0), release it in Phase 6. Recurring friction (errorlog 2x). Co-Authored-By: Claude Opus 4.8 (1M context) --- .claude/commands/wiki-compile.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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" ```