feat(hyperguild): mode client-local writes routing headers

Plan 6 is now deployed; replace the _routing_pending placeholder in the
routing MCP entry with a real headers block carrying X-Hyperguild-Mode:
client-local. The pod treats absent or unknown values as client-local,
so this is forward-compat for future modes.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-05-05 07:13:24 +02:00
co-authored by Claude Sonnet 4.6
parent 083c2d7db9
commit 88782de07c
3 changed files with 36 additions and 8 deletions
+5 -3
View File
@@ -78,9 +78,11 @@ func modeClientLocal(brainURL string) map[string]any {
"description": "Brain MCP — knowledge query, write, ingestion, session log",
},
"routing": map[string]any{
"url": "http://koala:30310/mcp",
"description": "Mode 2 routing pod — routes skill calls to LiteLLM/local",
"_routing_pending": "Plan 6 — routing pod not deployed yet; this URL is a placeholder",
"url": "http://koala:30310/mcp",
"description": "Mode 2 routing pod — routes skill calls to LiteLLM/local",
"headers": map[string]any{
"X-Hyperguild-Mode": "client-local",
},
},
},
}