Skip to content

docs(troubleshooting): document jq fail-closed guard deadlock on fresh setup - #106

Merged
CryptoJones merged 1 commit into
mainfrom
docs/jq-fail-closed-deadlock
Jun 28, 2026
Merged

docs(troubleshooting): document jq fail-closed guard deadlock on fresh setup#106
CryptoJones merged 1 commit into
mainfrom
docs/jq-fail-closed-deadlock

Conversation

@CryptoJones

Copy link
Copy Markdown
Owner

What

Adds a troubleshooting section documenting a bootstrap deadlock: on a machine without jq, omind setup wires the "*" OMI-compliance guard (omi-guard.sh), which fails closed when jq is absent. Because the matcher is "*", the very next tool call — and every one after — is blocked, including the Bash call needed to install jq.

Why

omind setup checks for jq but does not install it, and on a clean box jq is usually missing. The fail-closed behavior is deliberate (per CHANGELOG) and correct for safety, but nothing documents how to recover once wedged, and the block message doesn't name the fix.

Contents (docs/troubleshooting.md)

  • Symptoms — the exact omi-guard: jq not found … BLOCKING error; note that "*" blocks all tools, not just Bash.
  • Root cause — fail-closed vs. the fail-open Bash-only guards (git-fresh-base.sh, omi-guard-hermes.sh).
  • Recovery — settings.json is read live, so: remove the "*"/omi-guard.sh block → install jq → restore the block → omind doctor.
  • The real fixsetup should install jq with the guard (as it bootstraps uv/Python), or refuse to install the fail-closed guard when jq is absent, or at minimum make the block message name the recovery.

Docs-only; no code changes.

🤖 Generated with Claude Code

…h setup

omind setup checks for jq but does not install it; the '*' OMI-compliance
guard (omi-guard.sh) fails closed when jq is absent, blocking every tool
call and creating a bootstrap deadlock. Document the symptoms, root cause,
recovery (edit settings.json -> install jq -> restore), and the real fix.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
@CryptoJones
CryptoJones merged commit 941238a into main Jun 28, 2026
11 checks passed
CryptoJones pushed a commit that referenced this pull request Jul 20, 2026
…4.0.0)' (#106) from feat/ai-token-usage into main
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant