Grilling: museion-tools profile-config seam at M0 #44

Closed
opened 2026-09-03 16:33:14 +02:00 by AlexKucera · 1 comment
Owner

Blocked by: #43

Part of #13

Question

S2.4 registers museion-tools into the profile "at provisioning" — but the MCP server doesn't exist until #23 builds it. What does M0's provisioning actually write (or deliberately not write) into the museion profile's config? Options to grill: write nothing in M0 (cleanest seam — #23 adds registration when the server exists), write a disabled/stub entry, write the full registration pointing at the Museion binary's future museion-tools mode. Decide what "profile is provisioned" means for M0's acceptance criteria, and what #23 can rely on finding.

[Generated by AI]

Blocked by: #43 Part of #13 ## Question S2.4 registers museion-tools into the profile "at provisioning" — but the MCP server doesn't exist until #23 builds it. What does M0's provisioning actually write (or deliberately not write) into the museion profile's config? Options to grill: write nothing in M0 (cleanest seam — #23 adds registration when the server exists), write a disabled/stub entry, write the full registration pointing at the Museion binary's future museion-tools mode. Decide what "profile is provisioned" means for M0's acceptance criteria, and what #23 can rely on finding. [Generated by AI]
AlexKucera added the wayfinder:grilling label 2026-09-03 16:33:14 +02:00
AlexKucera added a new dependency 2026-09-03 16:34:34 +02:00
AlexKucera added a new dependency 2026-09-03 16:34:34 +02:00
AlexKucera self-assigned this 2026-09-03 16:50:53 +02:00
Author
Owner

Resolution — all three as recommended

Probing facts (throwaway profile, deleted after):

  • hermes mcp add connects immediately; on failure it prompts interactively, and confirming saves the entry as enabled: false — a disabled stub is Hermes's own native pattern for unreachable servers.
  • Registration is prompt-free only when the server actually connects — at M0 the binary has no museion-tools mode, so registering would mean feeding a prompt or hand-writing YAML.
  • Engine boot never breaks on a dead registration (hermes acp --check passes, enabled or disabled) — but an enabled dead server burns discovery timeout every boot.

Decisions:

  1. Write nothing. M0 provisioning never writes mcp_servers — no stub, no full entry. #23 fires hermes mcp add museion-tools --command <app-binary> --args museion-tools itself once the mode actually serves; at that point the command is non-interactive and self-verifying (it connects on add).
  2. M0 AC gains the negative invariant: after provisioning, the profile config contains no museion-tools entry under mcp_servers — one test line locking the seam against drift.
  3. Provisioning never touches mcp_servers, even after #23 exists. Additive-only extends from skills to config uniformly; app-bundle path migration is #23's concern, not provisioning's.

ADR-0008 amended to match (registration fires via hermes mcp add once the mode exists; provisioning never writes mcp_servers). What #23 can rely on: whatever it finds in mcp_servers, it put there.

[Generated by AI]

**Resolution — all three as recommended** Probing facts (throwaway profile, deleted after): - `hermes mcp add` connects immediately; on failure it prompts interactively, and confirming saves the entry as `enabled: false` — a disabled stub is Hermes's own native pattern for unreachable servers. - Registration is prompt-free only when the server actually connects — at M0 the binary has no museion-tools mode, so registering would mean feeding a prompt or hand-writing YAML. - Engine boot never breaks on a dead registration (`hermes acp --check` passes, enabled or disabled) — but an enabled dead server burns discovery timeout every boot. Decisions: 1. **Write nothing.** M0 provisioning never writes `mcp_servers` — no stub, no full entry. #23 fires `hermes mcp add museion-tools --command <app-binary> --args museion-tools` itself once the mode actually serves; at that point the command is non-interactive and self-verifying (it connects on add). 2. **M0 AC gains the negative invariant:** after provisioning, the profile config contains no `museion-tools` entry under `mcp_servers` — one test line locking the seam against drift. 3. **Provisioning never touches `mcp_servers`, even after #23 exists.** Additive-only extends from skills to config uniformly; app-bundle path migration is #23's concern, not provisioning's. ADR-0008 amended to match (registration fires via `hermes mcp add` once the mode exists; provisioning never writes `mcp_servers`). What #23 can rely on: whatever it finds in `mcp_servers`, it put there. [Generated by AI]
Sign in to join this conversation.