Dodaios is an open-source agent OS for your desktop: it runs your coding agents, browser and apps by voice or chat, on your own machine. Formerly Personal Jarvis.
Python agent-orchestrationai-agentai-coding-assistantclaude-codecoding-agentcomputer-usedesktop-applocal-firstmcppersonal-jarvisvoice-assistantvoice-coding
fix(missions): close the AD-6 provider-table drift the local brains opened
Ruben Lütkeb8e9c5b27da8
diff --git a/docs/jarvis-agents-bridge.md b/docs/jarvis-agents-bridge.mdindex 8931c76aaa..43b9daac31 100644--- a/docs/jarvis-agents-bridge.md+++ b/docs/jarvis-agents-bridge.md@@ -88,6 +88,18 @@ The following ADs are **refined** by empirical findings from `docs/spike-results| `openai` | `openai` | `OPENAI_API_KEY` | `openai_api_key` || `openrouter` | `openrouter` | `OPENROUTER_API_KEY` | `openrouter_api_key` || `grok` | `xai` | `XAI_API_KEY` (fallback `GROK_API_KEY`) | (Grok key) |+ | `nvidia` | `nvidia` | `NVIDIA_API_KEY` | `nvidia_api_key` |+ | `ollama` | `ollama` | — (keyless) | — |+ | `local-openai` | `local-openai` | — (keyless) | — |++ The last three rows do not run on the external CLI worker: they are+ OpenAI-compatible API brains served by the in-process `ApiAgentWorker`. Their+ rows exist so each is selectable as a Jarvis-Agent in the API-Keys view —+ without a row, a user running a local model could not pick it at all.+ `ollama` and `local-openai` are keyless by design: no Agent key slot exists,+ `get_jarvis_agent_secret` returns `None`, and the worker proceeds without one+ while the brain plugin supplies its own dummy SDK key. The key names in+ `MAPPINGS` for those two are placeholders that keep the row shape uniform.Bridge mechanics: read the matching Personal-Jarvis secret key, set the ENV var `openclaw` expects in the subprocess spawn (`subprocess.Popen(env={...,"GEMINI_API_KEY": secret})` or `[System.Environment]::SetEnvironmentVariable($name, $value, "Process")`). **NO** custom `OPENCLAW_*` namespace in the wizard; instead, reuse the existing `gemini_api_key`/`anthropic_api_key`/etc. secrets from `jarvis/setup/wizard.py:SECRETS`. Plus: provider-slug mapping is critical (`gemini` → `google`, `grok` → `xai`, `claude-api` → `anthropic`).diff --git a/tests/missions/worker_runtime/test_provider_map.py b/tests/missions/worker_runtime/test_provider_map.pyindex e9444fd757..4483dd4f90 100644--- a/tests/missions/worker_runtime/test_provider_map.py+++ b/tests/missions/worker_runtime/test_provider_map.py@@ -193,7 +193,13 @@ def test_ad6_table_is_complete() -> None:Grok uses the documented ``grok->xai`` row. ``nvidia`` (NVIDIA NIM) is anOpenAI-compatible API brain that, like ``openai``/``openrouter``, runs on thein-process ApiAgentWorker (not the Jarvis-Agent CLI worker harness); its row- exists so it is a selectable Jarvis-Agent in the API-Keys view."""+ exists so it is a selectable Jarvis-Agent in the API-Keys view.++ ``ollama`` and ``local-openai`` are the self-hosted rows. They carry a key+ slot name for shape only: no Agent key slot exists, so the worker proceeds+ keyless and the brain plugin supplies its own dummy SDK key. Their rows+ exist for the same reason as ``nvidia`` — without one, a user running a+ local model cannot select it as a Jarvis-Agent at all."""expected_jarvis_slugs = {"gemini","claude-api",@@ -201,6 +207,8 @@ def test_ad6_table_is_complete() -> None:"openrouter","grok","nvidia",+ "ollama",+ "local-openai",}actual = {m.jarvis for m in MAPPINGS}assert actual == expected_jarvis_slugs, (