Schema (mother_schema.sql):
- Added machine_id TEXT UNIQUE column to hive_nodes
- Idempotent migration ALTER TABLE + constraint
- Extended derive_capabilities(): ollama_available, llama_cpp_available
with model lists, plus inference_tier (local-fast/slow/remote-only)
MCP (node-register-mcp):
- Accepts optional machine_id argument (null for unsecured nodes)
- Passes through to INSERT/UPSERT with NULLIF for empty strings
- COALESCE preserves existing machine_id on conflict (don't lose
stable identity if hostname changes)
Sam & Hermes