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(realtime): allow Codex's own .sandbox_migration marker in the voice profile
Ruben Lütke15ae715a83af
diff --git a/jarvis/codex_app_server.py b/jarvis/codex_app_server.pyindex 1392c73961..1c9598634a 100644--- a/jarvis/codex_app_server.py+++ b/jarvis/codex_app_server.py@@ -105,6 +105,11 @@ _ALLOWED_SUBSCRIPTION_HOME_ENTRIES: Final = frozenset({"auth.json","installation_id",+ # Codex 0.146 writes this tiny one-time migration marker into its+ # CODEX_HOME on a normal run. Without it in the allowlist the+ # fail-closed profile check bricked every install right after the+ # CLI's first use of the profile.+ ".sandbox_migration","tmp",_SUBSCRIPTION_PROFILE_MARKER,}@@ -724,7 +729,11 @@ def _validated_subscription_home("Create a fresh voice-only login.")for entry in entries:- if entry.name in {"auth.json", _SUBSCRIPTION_PROFILE_MARKER}:+ if entry.name in {+ "auth.json",+ ".sandbox_migration",+ _SUBSCRIPTION_PROFILE_MARKER,+ }:_validate_regular_private_file(entry)_validate_codex_runtime_state(diff --git a/tests/unit/codex_app_server/test_transport.py b/tests/unit/codex_app_server/test_transport.pyindex a11045d92f..419f599476 100644--- a/tests/unit/codex_app_server/test_transport.py+++ b/tests/unit/codex_app_server/test_transport.py@@ -2154,6 +2154,13 @@ def test_native_codex_version_and_hash_are_both_required()+def test_profile_allowlist_accepts_codex_own_runtime_markers() -> None:+ """Codex 0.146 writes these into CODEX_HOME on a normal run; rejecting+ them bricked the profile right after the CLI's first use."""+ assert ".sandbox_migration" in transport._ALLOWED_SUBSCRIPTION_HOME_ENTRIES+ assert "installation_id" in transport._ALLOWED_SUBSCRIPTION_HOME_ENTRIES++def test_capability_survives_a_version_probe_that_prints_a_shell_error(monkeypatch: pytest.MonkeyPatch,tmp_path: Path,