Skip to content

feat: multi-model routing — model registry, hot-swap, config-driven RawModelPath#36

Merged
jeanmachuca merged 3 commits into
developmentfrom
feature/multi-model-routing
Jul 6, 2026
Merged

feat: multi-model routing — model registry, hot-swap, config-driven RawModelPath#36
jeanmachuca merged 3 commits into
developmentfrom
feature/multi-model-routing

Conversation

@jeanmachuca

Copy link
Copy Markdown
Member

Implements daemon-side multi-model routing: model registry from installed .cgp manifests, hot-swap Wide Models, config-driven raw model path, system prompt merging. See diff for details.

@jeanmachuca jeanmachuca merged commit 710ff6e into development Jul 6, 2026
0 of 2 checks passed
jeanmachuca added a commit that referenced this pull request Jul 7, 2026
* fix: remove MCP-aware code from Raw Model client (#18)

cograw is a pure firmware GGUF guardrail with no knowledge of MCP tools.
- Remove ParseResponse, RegisterTool, UnregisterTool client methods
- Remove handleMCPInvoke handler and mcp_invoke dispatch
- Remove tool forwarding to cograw from MCP register/unregister
- Remove RegisteredTools/ServerTools dead code from MCPManager
- Move tool call parsing (@@tool.name()@@ regex) into daemon itself
- Remove ToolInfo, MCPInvokePayload types (ToolCall kept for daemon use)
- Simplify ValidatePrompt to take prompt only (no tools param)

* fix: origin validation for security/reset codes, seccomp/cgroups/chroot on MCP spawn, healthcheck loop, graceful shutdown handshake (#19)

* wire Wide Model lifecycle: handleWideModelLoad/Unload, output routing by content_type, MCP result feedback loop, shutdown actions (peripheral power-off/suspend/data wipe), StateIdleRequested, patchCount in status, idle timer startup sequence (#20)

* fix: origin validation for security/reset codes, seccomp/cgroups/chroot on MCP spawn, healthcheck loop, graceful shutdown handshake (#30)

* wire Wide Model lifecycle: handleWideModelLoad/Unload, output routing by content_type, MCP result feedback loop, shutdown actions (peripheral power-off/suspend/data wipe), StateIdleRequested, patchCount in status, idle timer startup sequence (#29)

* feat: add Raw Model validation hook for package management tools (#34)

* feat: multi-model routing — model registry, hot-swap, config-driven RawModelPath (#36)

* feat: multi-model routing — model registry, hot-swap, config-driven RawModelPath, system prompt merge

* fix: restore WideModelStatus struct with ModelID field (was accidentally removed in model registry refactor)

* fix: remove NoNewPrivileges for Go 1.23 compatibility
@jeanmachuca jeanmachuca deleted the feature/multi-model-routing branch July 7, 2026 03:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant