diff --git a/.claude/commands/wiki-compile.md b/.claude/commands/wiki-compile.md index 6a86c1eb..1ce557a3 100644 --- a/.claude/commands/wiki-compile.md +++ b/.claude/commands/wiki-compile.md @@ -368,6 +368,8 @@ into a conflict, and no synthesis lands in the live article without a review. **5.0 Claim a per-article coord lock** (via the `coord` skill): `lock claim claudetools wiki// "wiki-compile " --ttl 1`. +- **Capture the returned lock ID** — the claim prints `[coord] lock id= ...`. Save it + (`LOCK_ID=`); the release in Phase 6 takes the **lock ID, not the resource path**. - The TTL auto-evicts a dead session's lock (no permanent stranding). - If the lock is **already held** → emit `[SKIP] wiki// is being compiled on another machine; try again shortly` and exit cleanly.