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(agentic-ide): carry a Codex pane's rules and plugins across too
Ruben Lütkee05be43b85fc
diff --git a/jarvis/agent_config_parity.py b/jarvis/agent_config_parity.pyindex 1c7a85ef51..b2fca33833 100644--- a/jarvis/agent_config_parity.py+++ b/jarvis/agent_config_parity.py@@ -171,6 +171,11 @@ USER_SETUP: dict[Platform, tuple[Shared, ...]] = {Shared("hooks.json", "file", fmt="json"),Shared("prompts", "dir"),Shared("skills", "dir"),+ # User-level rules — the standing instructions a Codex session starts+ # with, the counterpart of Claude Code's user memory file.+ Shared("rules", "dir"),+ # Same reasoning as Claude Code's plugins above, and the same treatment.+ Shared("plugins", "dir", copy_fallback=False, whole=True),),}diff --git a/tests/unit/test_agent_config_parity.py b/tests/unit/test_agent_config_parity.pyindex a2dd92f0fd..69db7a1851 100644--- a/tests/unit/test_agent_config_parity.py+++ b/tests/unit/test_agent_config_parity.py@@ -141,21 +141,41 @@ def test_the_user_scope_mcp_servers_are_merged_without_the_identity(native: Pathassert doc["oauthAccount"] == {"emailAddress": "[email protected]"}-def test_codex_shares_its_config_and_prompts(tmp_path: Path) -> None:- """The same promise for the other CLI — never a Claude-only fix (AP-21)."""+def test_codex_shares_its_config_skills_rules_and_prompts(tmp_path: Path) -> None:+ """The same promise for the other CLI — never a Claude-only fix (AP-21).++ The entry names are the ones a real Codex home carries (measured+ 2026-07-27): its skills, its standing rules, its plugins and its one+ config file, which is where its MCP servers live.+ """home = tmp_path / "native" / "codex"- (home / "prompts").mkdir(parents=True)- (home / "prompts" / "review.md").write_text("review\n", encoding="utf-8")+ for folder, marker in (+ ("prompts", "review.md"),+ ("skills", "recap"),+ ("rules", "default.rules"),+ ):+ (home / folder).mkdir(parents=True)+ (home / folder / marker).write_text("x\n", encoding="utf-8")(home / "config.toml").write_text('[mcp_servers.chrome]\ncommand = "chrome-mcp"\n', encoding="utf-8")+ # Identity, in both places Codex keeps it.(home / "auth.json").write_text('{"token": "codex-secret"}', encoding="utf-8")+ (home / "secrets").mkdir()+ (home / "secrets" / "mcp_oauth.age").write_text("encrypted", encoding="utf-8")+account = agent_accounts.create_account("codex", "Second plan")report = ensure_parity("codex", account.id)+assert "config.toml" in report.sharedassert (account.config_dir / "prompts" / "review.md").is_file()+ assert (account.config_dir / "skills" / "recap").is_file()+ assert (account.config_dir / "rules" / "default.rules").is_file()assert "mcp_servers" in (account.config_dir / "config.toml").read_text(encoding="utf-8")+ # An allowlist is a promise about what it does NOT do: a login and an+ # encrypted credential store are not on it, so no code path can reach them.assert not (account.config_dir / "auth.json").exists()+ assert not (account.config_dir / "secrets").exists()# ------------------------------------------------------------- identity is safe@@ -289,12 +309,20 @@ def test_an_unknown_account_is_a_no_op(native: Path) -> None:def test_a_machine_with_no_setup_of_its_own_is_not_a_failure(tmp_path: Path) -> None:- """A fresh install has no user-level config — there is nothing to share."""+ """A fresh install has no user-level config — there is nothing to share.++ This is also the headless container case (the compose deployment): there is+ no home-directory CLI setup to carry, so this writes nothing at all rather+ than creating an empty scaffold of folders nobody asked for.+ """account = _account()report = ensure_parity("claude", account.id)assert report.redirected is Trueassert report.shared == {}assert report.skipped == ()+ # Not one entry of its own making — not even the bookkeeping file.+ assert not (account.config_dir / agent_config_parity.STATE_FILE).exists()+ assert not (account.config_dir / "skills").exists()# ------------------------------------------------------------------- every host