feat: add jq for the MCP path + jq-merge the mother registry entry #97

Merged
clawdie merged 1 commit from add-jq-for-mcp into main 2026-06-21 19:26:31 +02:00
Owner

Adds jq and makes the MCP path actually use it.

Packagesjq added to pkg-list-live-operator.txt (live image where Pi + colibri-mcp run, inherited by deployed disk) and pkg-list-jails.txt (jailed agents; mirrors the companion colibri PR #139 to agent-jail-bootstrap.sh).

Consumerclawdie-enable-mother now jq-merges the mother entry into external-mcp.json (preserving any existing servers) and writes atomically (mktemp + mv), instead of overwriting the whole file as the Track C (#96) version did. Fails loudly if jq is missing.

Verified: sh -n clean; jq-merge tested — preserves a pre-existing server and merges into the empty default, valid JSON matching the ExternalMcpRegistry shape.

🤖 Generated with Claude Code

Adds `jq` and makes the MCP path actually use it. **Packages** — `jq` added to `pkg-list-live-operator.txt` (live image where Pi + colibri-mcp run, inherited by deployed disk) and `pkg-list-jails.txt` (jailed agents; mirrors the companion colibri PR #139 to `agent-jail-bootstrap.sh`). **Consumer** — `clawdie-enable-mother` now **jq-merges** the mother entry into `external-mcp.json` (preserving any existing servers) and writes atomically (mktemp + mv), instead of overwriting the whole file as the Track C (#96) version did. Fails loudly if jq is missing. Verified: `sh -n` clean; jq-merge tested — preserves a pre-existing server and merges into the empty default, valid JSON matching the `ExternalMcpRegistry` shape. 🤖 Generated with Claude Code
clawdie added 1 commit 2026-06-21 19:26:09 +02:00
The MCP tooling needs jq on PATH to parse colibri-mcp / external MCP JSON-RPC
output. Add it to the live operator image (where the auto-spawned Pi and
colibri-mcp run) and to the jail package union. The jail entry mirrors the
matching addition in Colibri's agent-jail-bootstrap.sh (kept in sync per the
list header).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
clawdie merged commit f0c1b5ea37 into main 2026-06-21 19:26:31 +02:00
clawdie deleted branch add-jq-for-mcp 2026-06-21 19:26:31 +02:00
clawdie changed title from feat(packages): add jq for the MCP tool path (live image + jails) to feat: add jq for the MCP path + jq-merge the mother registry entry 2026-06-21 19:28:45 +02:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: clawdie/clawdie-iso#97
No description provided.