Skip to content

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.

fix(release): repair the two v1.1.3 gate breaks — plugin keyring purity + codex slug re-export

Personal Jarvis Maintainer0883f2c0c7e5
diff --git a/jarvis/core/registry.py b/jarvis/core/registry.py
index d8a23c1675..751b124c7b 100644
--- a/jarvis/core/registry.py
+++ b/jarvis/core/registry.py
@@ -72,6 +72,18 @@ def load(group: str, name: str, protocol: type[Protocol] | None = None) -> type[
)
ep = candidates[0]
+ # Plugins must not import jarvis.* (structural purity, CLAUDE.md §5), yet
+ # several read credentials straight from the OS keyring. The HOST therefore
+ # prepares the process-wide backend before handing over: on macOS this
+ # installs the single-vault-item wrapper (BUG-103) so a plugin's direct
+ # keyring read never triggers its own per-item Keychain dialog. Idempotent
+ # and swallow-all — a missing keyring must never break plugin loading.
+ try:
+ from .config import _ensure_keyring_backend
+
+ _ensure_keyring_backend()
+ except Exception: # noqa: BLE001, S110 — best-effort host preparation
+ pass
try:
plugin_cls = ep.load()
except ImportError as exc:
diff --git a/jarvis/plugins/stt/groq_api.py b/jarvis/plugins/stt/groq_api.py
index 24cc37bd28..a2ad6c3923 100644
--- a/jarvis/plugins/stt/groq_api.py
+++ b/jarvis/plugins/stt/groq_api.py
@@ -212,16 +212,12 @@ class GroqWhisperAPI:
def _read_keyring_secret(service: str, username: str) -> str:
"""Best-effort Credential-Manager lookup. Returns ``""`` on any failure."""
- try:
- # Central backend setup first: on macOS this installs the
- # single-vault-item wrapper (BUG-103) so this read is served from the
- # bundled vault instead of a per-item Keychain entry with its own
- # permission dialog.
- from jarvis.core.config import _ensure_keyring_backend
-
- _ensure_keyring_backend()
- except Exception: # noqa: BLE001, S110 -- lookup stays best-effort
- pass
+ # No jarvis.* import here (plugin purity contract): the host's plugin
+ # loader (jarvis.core.registry.load) installs the process-wide keyring
+ # backend — on macOS the single-vault-item wrapper (BUG-103) — before this
+ # module is loaded, so this direct read is served from the bundled vault
+ # instead of a per-item Keychain entry with its own permission dialog.
+ # Standalone (non-Jarvis) use degrades to the plain OS keyring.
try:
import keyring # type: ignore[import-not-found]
except ImportError:
diff --git a/jarvis/ui/web/provider_routes.py b/jarvis/ui/web/provider_routes.py
index 2b3307d351..acb8eba4e0 100644
--- a/jarvis/ui/web/provider_routes.py
+++ b/jarvis/ui/web/provider_routes.py
@@ -32,6 +32,10 @@ from jarvis.codex_auth import CodexAuthService
from jarvis.core import config as cfg_mod
from jarvis.core.events import SecretConfigured
from jarvis.missions.worker_runtime.provider_map import (
+ # The canonical slug is re-exported even though this module no longer uses
+ # it directly: the anti-drift parity test pins BOTH names to the single
+ # source (test_codex_jarvis_agent_parity.py, BUG-008 class).
+ CODEX_SUBAGENT_CANONICAL as _CODEX_SUBAGENT_CANONICAL, # noqa: F401
CODEX_SUBAGENT_SLUGS as _CODEX_SUBAGENT_SLUGS,
)
from jarvis.setup.wizard import SECRETS as WIZARD_SECRETS