fix(seed): close three OOTB gaps before merge

A. ZOT_VERSION drift: build.cfg defaulted to v0.2.42 while build.sh
   preflight hint said v0.2.47. Now both default to v0.2.47.

B. AGENTS.md hw-probe phrasing: told zot to run clawdie-hw-probe,
   but the daemon already collects it into CLAWDIE_HW_PROFILE at
   autospawn time. zot should read the env var, not shell out.

C. RPC_PROMPT missing: COLIBRI_AUTOSPAWN=YES starts zot in RPC mode,
   but without RPC_PROMPT, zot blocks on stdin and idles. Added
   a prompt telling zot to read CLAWDIE_HW_PROFILE, call node_register
   on mother, and report its assigned capabilities.
This commit is contained in:
Sam & Claude 2026-06-25 04:38:06 +02:00
parent 1a85f17733
commit 85ac1ceec5
3 changed files with 11 additions and 3 deletions

View file

@ -125,7 +125,7 @@ if [ "${COLIBRI_STAGE_TEST_AGENT}" = "auto" ]; then
*) COLIBRI_STAGE_TEST_AGENT="YES" ;; *) COLIBRI_STAGE_TEST_AGENT="YES" ;;
esac esac
fi fi
ZOT_VERSION="${ZOT_VERSION:-v0.2.42}" ZOT_VERSION="${ZOT_VERSION:-v0.2.47}"
ZOT_REPO="${ZOT_REPO:-/home/clawdie/ai/zot}" ZOT_REPO="${ZOT_REPO:-/home/clawdie/ai/zot}"
ZOT_ARTIFACT_DIR="${ZOT_ARTIFACT_DIR:-}" ZOT_ARTIFACT_DIR="${ZOT_ARTIFACT_DIR:-}"
# Optional: bake the operator's DeepSeek key into the agent's auth.json (0600). # Optional: bake the operator's DeepSeek key into the agent's auth.json (0600).

View file

@ -35,8 +35,9 @@ External MCP tools are discoverable via colibri status.
## After self-configuration ## After self-configuration
1. Verify the daemon is running: service colibri_daemon status 1. Verify the daemon is running: service colibri_daemon status
2. Register with mother: use the node_register MCP tool with output from 2. Register with mother: read CLAWDIE_HW_PROFILE from your environment
clawdie-hw-probe. (the daemon collected it at boot) and call the node_register MCP tool
on the mother server with that JSON.
3. Install Hermes from /home/clawdie/ai/hermes-bsd per 3. Install Hermes from /home/clawdie/ai/hermes-bsd per
README-FreeBSD.md for persistent agent identity. README-FreeBSD.md for persistent agent identity.

View file

@ -121,6 +121,13 @@ COLIBRI_AUTOSPAWN="YES"
# support (DeepSeek native, OpenRouter, ~25 providers) and a built-in # support (DeepSeek native, OpenRouter, ~25 providers) and a built-in
# Telegram bot mode. Set COLIBRI_AUTOSPAWN_BINARY=pi to switch back. # Telegram bot mode. Set COLIBRI_AUTOSPAWN_BINARY=pi to switch back.
COLIBRI_AUTOSPAWN_BINARY="zot" COLIBRI_AUTOSPAWN_BINARY="zot"
# RPC prompt sent to the autospawned zot agent on first boot.
# zot is in RPC mode and blocks on stdin; this prompt kicks it off.
# The daemon collected hw-probe at boot (CLAWDIE_HW_PROFILE); the seed
# importer installed AGENTS.md with operational context; the provider
# keys are either baked or seeded. The agent's first job: register
# this node with mother, then report its assigned capabilities.
COLIBRI_AUTOSPAWN_RPC_PROMPT="You just booted. Read CLAWDIE_HW_PROFILE from your environment and call node_register on the mother MCP server with that JSON payload. Then report what capabilities mother assigned and what tasks are available. Your AGENTS.md context explains the verbs and infrastructure."
# Telegram bot token — set this to enable the bot channel (@your_bot). # Telegram bot token — set this to enable the bot channel (@your_bot).
# Leave blank to use CLI/TUI/Dashboard channels only. # Leave blank to use CLI/TUI/Dashboard channels only.
# TELEGRAM_BOT_TOKEN="" # TELEGRAM_BOT_TOKEN=""