feat(mother): Phase 1a — machine_id + local LLM schema #229

Merged
clawdie merged 1 commit from feat/phase1a-schema-mcp into main 2026-06-27 13:22:00 +02:00

1 commit

Author SHA1 Message Date
14697a07dd feat(mother): Phase 1a — machine_id + local LLM schema
Some checks failed
CI / rust (pull_request) Has been cancelled
CI / markdown (pull_request) Has been cancelled
CI / port (pull_request) Has been cancelled
CI / agent-jail-pkgs (pull_request) Has been cancelled
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
2026-06-27 13:19:19 +02:00