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.

refactor(brand): rename every jarvis-named file and folder to Dodaios (#798)

Ruben Lütkefaf1c8e4094d
diff --git a/.agents/skills/drive-dodaios-cli/SKILL.md b/.agents/skills/drive-dodaios-cli/SKILL.md
index bc1508e828..958705b643 100644
--- a/.agents/skills/drive-dodaios-cli/SKILL.md
+++ b/.agents/skills/drive-dodaios-cli/SKILL.md
@@ -11,7 +11,7 @@ description: >-
# Drive Dodaios from the CLI
`dodaios` (older names: `jarvis`, `jarvisctl`, `jctl`) is an HTTP client for a
-**running** Dodaios. Full guide: `docs/jarvis-cli.md`.
+**running** Dodaios. Full guide: `docs/dodaios-cli.md`.
- **Auth is automatic** on the same machine. `dodaios system status` says whether
Dodaios is reachable; if not, start it (`dodaios serve` for headless) instead
diff --git a/.claude/skills/drive-dodaios-cli/SKILL.md b/.claude/skills/drive-dodaios-cli/SKILL.md
index bc1508e828..958705b643 100644
--- a/.claude/skills/drive-dodaios-cli/SKILL.md
+++ b/.claude/skills/drive-dodaios-cli/SKILL.md
@@ -11,7 +11,7 @@ description: >-
# Drive Dodaios from the CLI
`dodaios` (older names: `jarvis`, `jarvisctl`, `jctl`) is an HTTP client for a
-**running** Dodaios. Full guide: `docs/jarvis-cli.md`.
+**running** Dodaios. Full guide: `docs/dodaios-cli.md`.
- **Auth is automatic** on the same machine. `dodaios system status` says whether
Dodaios is reachable; if not, start it (`dodaios serve` for headless) instead
diff --git a/.dockerignore b/.dockerignore
index b1a60695c9..983fe1559f 100644
--- a/.dockerignore
+++ b/.dockerignore
@@ -1,5 +1,5 @@
# Keep the Docker build context small AND private. The image only needs
-# pyproject.toml, README.md, LICENSE, NOTICE, the dodaios/ package and the
+# pyproject.toml, setup.py, README.md, LICENSE, NOTICE, the dodaios/ package and the
# frontend source — never the maintainer's runtime state, secrets or git
# history. LICENSE and NOTICE are not optional: pyproject declares them under
# license-files, and Apache 2.0 section 4 requires them to travel with the
diff --git a/.github/workflows/browser-runtime.yml b/.github/workflows/browser-runtime.yml
index dd21bbea1b..6a88ec7566 100644
--- a/.github/workflows/browser-runtime.yml
+++ b/.github/workflows/browser-runtime.yml
@@ -67,7 +67,7 @@ jobs:
tests/unit/society/test_browser.py
tests/unit/society/test_browser_install.py
tests/unit/society/test_approvals.py
- tests/unit/agent_chat/test_jarvis_identity.py
+ tests/unit/agent_chat/test_dodaios_identity.py
tests/unit/agent_chat/test_agent_chat_ladders.py
tests/unit/brain/test_tool_gateway.py
)
diff --git a/.gitignore b/.gitignore
index 56a178a467..d31ff1d7b5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -242,7 +242,7 @@ git-worktree-status.csv
# Downloads/Open-Source-Privacy-Separation.md for the full plan.
# ============================================================
-# Personal config instance — ship jarvis.toml.example instead. The app already
+# Personal config instance — ship dodaios.toml.example instead. The app already
# boots with no config file (pure Pydantic defaults, core/config.py). An install
# keeps a jarvis.toml it has; a new one writes dodaios.toml. The config writer's
# unique tempfiles sit beside either.
diff --git a/Dockerfile b/Dockerfile
index d72c9340c8..a8c1702961 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -60,9 +60,8 @@ WORKDIR /app
# [local-voice] extras). An editable install keeps PROJECT_ROOT == /app, so the
# runtime data dir resolves to the writable /app/data volume below rather than
# into read-only site-packages.
-COPY pyproject.toml README.md LICENSE NOTICE ./
+COPY pyproject.toml setup.py README.md LICENSE NOTICE ./
COPY dodaios ./dodaios
-COPY jarvis ./jarvis
COPY --from=web /build/dodaios/ui/web/dist ./dodaios/ui/web/dist
RUN python -m pip install --upgrade pip \
&& python -m pip install -e .
diff --git a/README.md b/README.md
index 5ac1511a71..e79a779957 100644
--- a/README.md
+++ b/README.md
@@ -126,7 +126,7 @@ work needs.
worktree), can split into parallel workers, and pass a review before you see
the result.
-Read more in the [Agents guide](https://github.com/Dodaios/Dodaios/blob/main/docs/product/extend-and-automate/jarvis-agents.md),
+Read more in the [Agents guide](https://github.com/Dodaios/Dodaios/blob/main/docs/product/extend-and-automate/dodaios-agents.md),
[how agents learn](https://github.com/Dodaios/Dodaios/blob/main/docs/agent-society/self-learning.md)
and [routines](https://github.com/Dodaios/Dodaios/blob/main/docs/routines.md).
@@ -162,7 +162,7 @@ and the [dictation guide](https://github.com/Dodaios/Dodaios/blob/main/docs/prod
Read more about [plugins](https://github.com/Dodaios/Dodaios/blob/main/docs/product/extend-and-automate/plugins.md),
[MCP](https://github.com/Dodaios/Dodaios/blob/main/docs/product/extend-and-automate/mcp-connections.md),
[command-line tools](https://github.com/Dodaios/Dodaios/blob/main/docs/product/extend-and-automate/cli-connections.md)
-and the [Dodaios CLI](https://github.com/Dodaios/Dodaios/blob/main/docs/jarvis-cli.md).
+and the [Dodaios CLI](https://github.com/Dodaios/Dodaios/blob/main/docs/dodaios-cli.md).
## You stay in control
@@ -227,7 +227,7 @@ The installer sets that up for you.
- **Getting started:** [quick start](https://github.com/Dodaios/Dodaios/blob/main/docs/product/start-here/first-run-setup.md), [app tour](https://github.com/Dodaios/Dodaios/blob/main/docs/product/start-here/desktop-app-tour.md)
- **Everyday use:** [voice](https://github.com/Dodaios/Dodaios/blob/main/docs/product/everyday-use/voice-conversations.md), [dictation](https://github.com/Dodaios/Dodaios/blob/main/docs/product/everyday-use/dictation.md), [memory](https://github.com/Dodaios/Dodaios/blob/main/docs/product/knowledge-and-sharing/wiki-and-memory.md)
-- **Agents and automation:** [agentic IDE](https://github.com/Dodaios/Dodaios/blob/main/docs/product/extend-and-automate/agentic-ide.md), [agents](https://github.com/Dodaios/Dodaios/blob/main/docs/product/extend-and-automate/jarvis-agents.md), [computer use](https://github.com/Dodaios/Dodaios/blob/main/docs/product/extend-and-automate/computer-use.md), [plugins](https://github.com/Dodaios/Dodaios/blob/main/docs/product/extend-and-automate/plugins.md), [MCP](https://github.com/Dodaios/Dodaios/blob/main/docs/product/extend-and-automate/mcp-connections.md), [CLI](https://github.com/Dodaios/Dodaios/blob/main/docs/jarvis-cli.md)
+- **Agents and automation:** [agentic IDE](https://github.com/Dodaios/Dodaios/blob/main/docs/product/extend-and-automate/agentic-ide.md), [agents](https://github.com/Dodaios/Dodaios/blob/main/docs/product/extend-and-automate/dodaios-agents.md), [computer use](https://github.com/Dodaios/Dodaios/blob/main/docs/product/extend-and-automate/computer-use.md), [plugins](https://github.com/Dodaios/Dodaios/blob/main/docs/product/extend-and-automate/plugins.md), [MCP](https://github.com/Dodaios/Dodaios/blob/main/docs/product/extend-and-automate/mcp-connections.md), [CLI](https://github.com/Dodaios/Dodaios/blob/main/docs/dodaios-cli.md)
- **Models:** [providers](https://github.com/Dodaios/Dodaios/blob/main/docs/product/personalize-and-connect/providers-and-api-keys.md), [local models](https://github.com/Dodaios/Dodaios/blob/main/docs/product/personalize-and-connect/local-ai-providers.md)
- **Running and fixing:** [server](https://github.com/Dodaios/Dodaios/blob/main/docs/headless-vps-deployment.md), [architecture](https://github.com/Dodaios/Dodaios/blob/main/docs/architecture-overview.md), [troubleshooting](https://github.com/Dodaios/Dodaios/blob/main/docs/product/privacy-safety-and-support/troubleshooting.md)
diff --git a/README.zh-CN.md b/README.zh-CN.md
index 6cfbebc2c3..073dbc3d63 100644
--- a/README.zh-CN.md
+++ b/README.zh-CN.md
@@ -112,7 +112,7 @@ Dodaios 不是又一个聊天窗口。它是一款桌面应用,把 AI 在电
- **它们交回真正的成果。** 文件、报告和计划都会出现在“产出物”中,每一次工具调用都清晰可见。
- **较长的行动在隔离环境中运行。** 编程行动在独立的 git worktree 中进行,可以拆分成并行的工作者,并在你看到结果前通过审查。
-[智能体指南 →](https://github.com/Dodaios/Dodaios/blob/main/docs/product/extend-and-automate/jarvis-agents.md) ·
+[智能体指南 →](https://github.com/Dodaios/Dodaios/blob/main/docs/product/extend-and-automate/dodaios-agents.md) ·
[智能体如何学习 →](https://github.com/Dodaios/Dodaios/blob/main/docs/agent-society/self-learning.md) ·
[例程 →](https://github.com/Dodaios/Dodaios/blob/main/docs/routines.md)
@@ -139,7 +139,7 @@ Dodaios 不是又一个聊天窗口。它是一款桌面应用,把 AI 在电
[插件 →](https://github.com/Dodaios/Dodaios/blob/main/docs/product/extend-and-automate/plugins.md) ·
[MCP →](https://github.com/Dodaios/Dodaios/blob/main/docs/product/extend-and-automate/mcp-connections.md) ·
[CLI →](https://github.com/Dodaios/Dodaios/blob/main/docs/product/extend-and-automate/cli-connections.md) ·
-[Dodaios CLI →](https://github.com/Dodaios/Dodaios/blob/main/docs/jarvis-cli.md)
+[Dodaios CLI →](https://github.com/Dodaios/Dodaios/blob/main/docs/dodaios-cli.md)
## 控制权在你手里
@@ -188,7 +188,7 @@ Dodaios 不是又一个聊天窗口。它是一款桌面应用,把 AI 在电
文档目前为英文。
-[快速开始](https://github.com/Dodaios/Dodaios/blob/main/docs/product/start-here/first-run-setup.md) · [应用导览](https://github.com/Dodaios/Dodaios/blob/main/docs/product/start-here/desktop-app-tour.md) · [语音](https://github.com/Dodaios/Dodaios/blob/main/docs/product/everyday-use/voice-conversations.md) · [听写](https://github.com/Dodaios/Dodaios/blob/main/docs/product/everyday-use/dictation.md) · [Agentic IDE](https://github.com/Dodaios/Dodaios/blob/main/docs/product/extend-and-automate/agentic-ide.md) · [智能体](https://github.com/Dodaios/Dodaios/blob/main/docs/product/extend-and-automate/jarvis-agents.md) · [电脑操控](https://github.com/Dodaios/Dodaios/blob/main/docs/product/extend-and-automate/computer-use.md) · [服务商](https://github.com/Dodaios/Dodaios/blob/main/docs/product/personalize-and-connect/providers-and-api-keys.md) · [本地模型](https://github.com/Dodaios/Dodaios/blob/main/docs/product/personalize-and-connect/local-ai-providers.md) · [插件](https://github.com/Dodaios/Dodaios/blob/main/docs/product/extend-and-automate/plugins.md) · [MCP](https://github.com/Dodaios/Dodaios/blob/main/docs/product/extend-and-automate/mcp-connections.md) · [记忆](https://github.com/Dodaios/Dodaios/blob/main/docs/product/knowledge-and-sharing/wiki-and-memory.md) · [CLI](https://github.com/Dodaios/Dodaios/blob/main/docs/jarvis-cli.md) · [服务器](https://github.com/Dodaios/Dodaios/blob/main/docs/headless-vps-deployment.md) · [架构](https://github.com/Dodaios/Dodaios/blob/main/docs/architecture-overview.md) · [故障排查](https://github.com/Dodaios/Dodaios/blob/main/docs/product/privacy-safety-and-support/troubleshooting.md)
+[快速开始](https://github.com/Dodaios/Dodaios/blob/main/docs/product/start-here/first-run-setup.md) · [应用导览](https://github.com/Dodaios/Dodaios/blob/main/docs/product/start-here/desktop-app-tour.md) · [语音](https://github.com/Dodaios/Dodaios/blob/main/docs/product/everyday-use/voice-conversations.md) · [听写](https://github.com/Dodaios/Dodaios/blob/main/docs/product/everyday-use/dictation.md) · [Agentic IDE](https://github.com/Dodaios/Dodaios/blob/main/docs/product/extend-and-automate/agentic-ide.md) · [智能体](https://github.com/Dodaios/Dodaios/blob/main/docs/product/extend-and-automate/dodaios-agents.md) · [电脑操控](https://github.com/Dodaios/Dodaios/blob/main/docs/product/extend-and-automate/computer-use.md) · [服务商](https://github.com/Dodaios/Dodaios/blob/main/docs/product/personalize-and-connect/providers-and-api-keys.md) · [本地模型](https://github.com/Dodaios/Dodaios/blob/main/docs/product/personalize-and-connect/local-ai-providers.md) · [插件](https://github.com/Dodaios/Dodaios/blob/main/docs/product/extend-and-automate/plugins.md) · [MCP](https://github.com/Dodaios/Dodaios/blob/main/docs/product/extend-and-automate/mcp-connections.md) · [记忆](https://github.com/Dodaios/Dodaios/blob/main/docs/product/knowledge-and-sharing/wiki-and-memory.md) · [CLI](https://github.com/Dodaios/Dodaios/blob/main/docs/dodaios-cli.md) · [服务器](https://github.com/Dodaios/Dodaios/blob/main/docs/headless-vps-deployment.md) · [架构](https://github.com/Dodaios/Dodaios/blob/main/docs/architecture-overview.md) · [故障排查](https://github.com/Dodaios/Dodaios/blob/main/docs/product/privacy-safety-and-support/troubleshooting.md)
## 参与贡献
diff --git a/art/studies/gigi-hover-companion/inventory.md b/art/studies/gigi-hover-companion/inventory.md
index 77a37b4d41..81b9e643af 100644
--- a/art/studies/gigi-hover-companion/inventory.md
+++ b/art/studies/gigi-hover-companion/inventory.md
@@ -8,10 +8,10 @@ The source inventory is captured separately in `usage-paths.txt`.
| 3D spirit recipe | `scripts/figures/gigi_builder.py`, `sources/gigi-mascot.json`, figure `contract.json`, `build_figures.py`, frontend `figures/catalog.json`, `figureRegistry.ts`, `assembleFigure.ts`, `assets/society/figures/spirit-gigi.glb` | Preserve existing `spirit/gigi` recipe IDs and user selections. Companion uses an independent asset, not the lead entity. Legacy presentation replacement needs the visual gate. |
| Society lead | `dodaios/society/runtime.py` lead avatar and frontend `society/data.ts` default spirit recipe | Do not delete or recreate lead, missions or saved configuration. Worker presentation is RUB-81; Gigi presence is separate. |
| Deck 3D | `components/deck/room/GigiFigure.tsx` | Replace SVG extrusion only after the new reference passes review; preserve existing press callback and resource lifecycle. |
-| Animated 2D mascot | `MascotGigi.tsx`, `JarvisOrb.tsx`, `DeckOrb.tsx`, `JarvisDock.tsx`, onboarding, home greeting, overlays | Current pixel details and monochrome material must be migrated to the new simplified shape; keep all functional handlers. |
-| App mark | `GigiMark.tsx`, `src/assets/jarvis-mark.png`, sidebar, top bar, composer, share card | Preserve imported fingerprinted URL; do not replace with a fixed cached public path. |
-| Native icons | `scripts/make_gigi_app_icon.py`, `assets/icons/jarvis-gigi-256.png`, public PNG/ICO, `dodaios/assets/__init__.py`, `dodaios/ui/overlay_styles.py` | New icon generator must replace old geometry sources as well as outputs. Check actual 16/24/32/48 sizes and native monochrome variants. |
-| Splash and favicon | frontend `index.html`, `public/jarvis-gigi.ico`, public PNG and built `dist` | Rebuild from approved sources; stage only this work's generated bundle in coordinated landing. |
+| Animated 2D mascot | `MascotGigi.tsx`, `DodaiosOrb.tsx`, `DeckOrb.tsx`, `DodaiosDock.tsx`, onboarding, home greeting, overlays | Current pixel details and monochrome material must be migrated to the new simplified shape; keep all functional handlers. |
+| App mark | `GigiMark.tsx`, `src/assets/dodaios-mark.png`, sidebar, top bar, composer, share card | Preserve imported fingerprinted URL; do not replace with a fixed cached public path. |
+| Native icons | `scripts/make_gigi_app_icon.py`, `assets/icons/dodaios-gigi-256.png`, public PNG/ICO, `dodaios/assets/__init__.py`, `dodaios/ui/overlay_styles.py` | New icon generator must replace old geometry sources as well as outputs. Check actual 16/24/32/48 sizes and native monochrome variants. |
+| Splash and favicon | frontend `index.html`, `public/dodaios-gigi.ico`, public PNG and built `dist` | Rebuild from approved sources; stage only this work's generated bundle in coordinated landing. |
| Style rules | `docs/BRAND.md`, frontend `index.css`, overlay styles | Gigi-specific black/white mandate conflicts with new direction. Update that exception during approved rollout; retain neutral UI and independent wordmark rules. |
| Website | `personaljarvisweb/src/components/mark/gigi.ts`, `TurningMark.tsx` | Read nested instructions before editing. Replacement delivery does not prove external publication. |
| Marketing/history | `wiki-video/public/gigi.svg`, `wiki-video/src/components/Ghost.tsx`, `assets/brand/social-preview.html`, `video/public/jarvis-gigi.png`, `videos/agent-mode-launch/assets/gigi.png` | Determine active template vs completed production. Preserve historical recordings/screenshots; supply reviewed replacements for active templates. |
diff --git a/art/studies/gigi-hover-companion/usage-paths.txt b/art/studies/gigi-hover-companion/usage-paths.txt
index 57ca6b5e08..d8700164cf 100644
--- a/art/studies/gigi-hover-companion/usage-paths.txt
+++ b/art/studies/gigi-hover-companion/usage-paths.txt
@@ -31,10 +31,10 @@ dodaios\ui\web\frontend\src\components\deck\DeckOrb.tsx
dodaios\ui\web\frontend\src\components\board\ShareCard.tsx
dodaios\ui\web\frontend\src\components\GigiMark.tsx
dodaios\ui\web\frontend\src\assets\society\figures\SOURCES.md
-dodaios\ui\web\frontend\src\components\JarvisDock.tsx
+dodaios\ui\web\frontend\src\components\DodaiosDock.tsx
dodaios\ui\web\frontend\src\components\MascotGigi.test.tsx
dodaios\ui\web\frontend\src\components\deck\room\GigiFigure.tsx
-dodaios\ui\web\frontend\src\components\deck\JarvisOrb.tsx
+dodaios\ui\web\frontend\src\components\deck\DodaiosOrb.tsx
dodaios\ui\web\frontend\src\components\home\HomeHeader.tsx
dodaios\ui\web\frontend\src\components\home\Greeting.tsx
dodaios\ui\web\frontend\src\components\overlay\OverlayStylePreviews.tsx
diff --git a/assets/brand/how-personal-jarvis-works-v2.png b/assets/brand/how-dodaios-works-v2.png
similarity index 100%
rename from assets/brand/how-personal-jarvis-works-v2.png
rename to assets/brand/how-dodaios-works-v2.png
diff --git a/assets/brand/how-personal-jarvis-works-v2.prompt.txt b/assets/brand/how-dodaios-works-v2.prompt.txt
similarity index 98%
rename from assets/brand/how-personal-jarvis-works-v2.prompt.txt
rename to assets/brand/how-dodaios-works-v2.prompt.txt
index e0a570f0a2..d15f628455 100644
--- a/assets/brand/how-personal-jarvis-works-v2.prompt.txt
+++ b/assets/brand/how-dodaios-works-v2.prompt.txt
@@ -2,7 +2,7 @@ README architecture illustration
Generated using the built-in image_gen tool. The tool exposes no model-version selector.
Reviewed against the README's original request-routing diagram.
-Output: how-personal-jarvis-works-v2.png
+Output: how-dodaios-works-v2.png
Generation prompt:
Use case: infographic-diagram.
diff --git a/assets/brand/how-personal-jarvis-works.png b/assets/brand/how-dodaios-works.png
similarity index 100%
rename from assets/brand/how-personal-jarvis-works.png
rename to assets/brand/how-dodaios-works.png
diff --git a/assets/brand/social-preview.html b/assets/brand/social-preview.html
index ea9f22f135..c02a2b0fbf 100644
--- a/assets/brand/social-preview.html
+++ b/assets/brand/social-preview.html
@@ -68,7 +68,7 @@
<div class="mascot-wrap">
<div class="ring r1"></div>
<div class="ring r2"></div>
- <img class="mascot" src="../icons/jarvis-gigi-256.png" alt="" />
+ <img class="mascot" src="../icons/dodaios-gigi-256.png" alt="" />
</div>
<img class="wordmark" src="banner.png" alt="Personal Jarvis" />
<div class="tagline">Your computer becomes <span class="accent">an AI agent.</span></div>
diff --git a/assets/icons/jarvis-1024.png b/assets/icons/dodaios-1024.png
similarity index 100%
rename from assets/icons/jarvis-1024.png
rename to assets/icons/dodaios-1024.png
diff --git a/assets/icons/jarvis-dev.ico b/assets/icons/dodaios-dev.ico
similarity index 100%
rename from assets/icons/jarvis-dev.ico
rename to assets/icons/dodaios-dev.ico
diff --git a/assets/icons/jarvis-dev.png b/assets/icons/dodaios-dev.png
similarity index 100%
rename from assets/icons/jarvis-dev.png
rename to assets/icons/dodaios-dev.png
diff --git a/assets/icons/jarvis-gigi-256.png b/assets/icons/dodaios-gigi-256.png
similarity index 100%
rename from assets/icons/jarvis-gigi-256.png
rename to assets/icons/dodaios-gigi-256.png
diff --git a/assets/icons/jarvis.icns b/assets/icons/dodaios.icns
similarity index 100%
rename from assets/icons/jarvis.icns
rename to assets/icons/dodaios.icns
diff --git a/assets/icons/jarvis.ico b/assets/icons/dodaios.ico
similarity index 100%
rename from assets/icons/jarvis.ico
rename to assets/icons/dodaios.ico
diff --git a/assets/icons/jarvis.ico.backup b/assets/icons/dodaios.ico.backup
similarity index 100%
rename from assets/icons/jarvis.ico.backup
rename to assets/icons/dodaios.ico.backup
diff --git a/docs/BRAND.md b/docs/BRAND.md
index 94feaadc20..64be35bab3 100644
--- a/docs/BRAND.md
+++ b/docs/BRAND.md
@@ -137,5 +137,5 @@ Write like a senior engineer who respects the reader's time.
| Product Orb | `dodaios/ui/web/frontend/public/hero-orb.png` |
| Logo (vector source) | `assets/brand/dodaios-logo.svg` |
| Logo (raster master, 1254 px) | `assets/brand/dodaios-logo.png` |
-| App icon (rendered) | `assets/icons/jarvis.ico`, `jarvis-1024.png`, `jarvis.icns` |
+| App icon (rendered) | `assets/icons/dodaios.ico`, `dodaios-1024.png`, `dodaios.icns` |
| App screenshots | `assets/screenshots/` |
diff --git a/docs/adr/0010-output-filter-pattern-based.md b/docs/adr/0010-output-filter-pattern-based.md
index f8e25022a1..f9763033d1 100644
--- a/docs/adr/0010-output-filter-pattern-based.md
+++ b/docs/adr/0010-output-filter-pattern-based.md
@@ -68,7 +68,7 @@ Hyphen compounds (`Browser-Provider`, `Brain-Provider`) are preserved by lookbeh
- **A. LLM-filter roundtrip** ("the brain produces raw, an LLM wrapper rephrases for voice"): cleanest output quality, but +200–800 ms latency kills the butler tone. **Rejected.**
- **B. Hard cut at the tool-JSON marker** (cut off everything after `dispatch_to_*`): very fast, but wrecks legitimate Dodaios-Agent replies that happen to contain JSON-like strings ("Die Datei deklariert vier Provider in JSON-Format"). **Rejected.**
-- **D. Enforce a pre-filter via the brain system prompt** ("You MUST NOT output JSON"): not reliable — Gemini Flash still leaks occasionally. Defense in depth required (prompt + filter). **Implemented as a complement** (JARVIS_PERSONA.md ECHO-PARAPHRASE section + ROUTER-DISCIPLINE section), not as a replacement.
+- **D. Enforce a pre-filter via the brain system prompt** ("You MUST NOT output JSON"): not reliable — Gemini Flash still leaks occasionally. Defense in depth required (prompt + filter). **Implemented as a complement** (DODAIOS_PERSONA.md ECHO-PARAPHRASE section + ROUTER-DISCIPLINE section), not as a replacement.
## Subsequent drift-class extension 2026-04-28
diff --git a/docs/adr/0037-jarvis-owned-local-voice-engine.md b/docs/adr/0037-dodaios-owned-local-voice-engine.md
similarity index 100%
rename from docs/adr/0037-jarvis-owned-local-voice-engine.md
rename to docs/adr/0037-dodaios-owned-local-voice-engine.md
diff --git a/docs/agent-mcp.md b/docs/agent-mcp.md
index 5f9b39c4ad..a2ec866753 100644
--- a/docs/agent-mcp.md
+++ b/docs/agent-mcp.md
@@ -23,7 +23,7 @@ and **loopback does not bypass it**: anything on the machine could otherwise
open a socket and start driving somebody's team.
Note the trailing slash: the tools surface is addressed as
-`/api/control/mcp/` (what `jarvis_harness` has always sent). Without it
+`/api/control/mcp/` (what `dodaios_harness` has always sent). Without it
Starlette answers a redirect that MCP clients do not follow. The agents URL
needs no slash — `/api/control/mcp/agents` is a path *inside* the mount.
diff --git a/docs/agent-society/MASTERPLAN.md b/docs/agent-society/MASTERPLAN.md
index eaf2215749..4b340fece4 100644
--- a/docs/agent-society/MASTERPLAN.md
+++ b/docs/agent-society/MASTERPLAN.md
@@ -385,7 +385,7 @@ add the four controls it lacked: authenticated writes (chokepoint), bounded non-
taint + wiki review gate, `delegate-to-agent` router tool + ADR amendment + voice status/ack
paths, notifications. *Exit: the spoken request "Jarvis, lass Scout und Archivist das zusammen klären" (i18n-allow: quoted German voice example)
works end to end, costs a visible bounded amount, and the meeting shows in the world.*
-- **M5 — Hardening & migration.** Old JarvisAgentsView/AgentsView slots replaced (deep links
+- **M5 — Hardening & migration.** Old DodaiosAgentsView/AgentsView slots replaced (deep links
redirected, history visible in Ledger), first-run seed (a starter coordinator + one specialist),
cost-ledger unification, German gate, boot budget, accessibility pass, full guard suite.
- **M6 — Stretch.** Skill-learning approval flow UI, event triggers ("when a PR merges"),
diff --git a/docs/agent-society/agent-definition.md b/docs/agent-society/agent-definition.md
index af9af8e786..233e158ac3 100644
--- a/docs/agent-society/agent-definition.md
+++ b/docs/agent-society/agent-definition.md
@@ -56,7 +56,7 @@ card; nothing hidden drives behavior.
decides per box: a seat's CLI when installed (`claude-api` is dual — Claude Code when
present, else the Anthropic API), Jarvis' brain runner for API rows.
- **On a seat the CLI runs AS the agent**: its briefing (§3.3) is the identity the CLI is handed
- (`jarvis_harness.identity_prompt(prompt_override=…)`, Jarvis' own layers stay out), Jarvis'
+ (`dodaios_harness.identity_prompt(prompt_override=…)`, Jarvis' own layers stay out), Jarvis'
tools reach it over MCP (`mcp__dodaios__*`; `mcp__jarvis__*` in transcripts written before the
server was renamed, read alike), and it brings its own hands (Claude Code's shell,
editor, browser). The society-only tools (`society_message_agent`, `society_wiki_note`,
diff --git a/docs/agent-society/self-learning.md b/docs/agent-society/self-learning.md
index d7412bb34c..d13b4bf0d3 100644
--- a/docs/agent-society/self-learning.md
+++ b/docs/agent-society/self-learning.md
@@ -41,7 +41,7 @@ agent's own seat.
> in the current tree; a history reconciliation merge removed it. Society
> agents learn through their `USER.md`/`MEMORY.md` notebooks and the turn
> review in `dodaios/society/review.py`. Jarvis' own learning is
-> `docs/jarvis-learning.md`.
+> `docs/dodaios-learning.md`.
>
> **Seat rule (2026-09-30):** an agent's turn review and skill learning run
> on exactly that agent's seat — the provider, model and auth mode its chat
diff --git a/docs/architecture-overview.md b/docs/architecture-overview.md
index dc2f0c6cc5..d924d8615f 100644
--- a/docs/architecture-overview.md
+++ b/docs/architecture-overview.md
@@ -118,7 +118,7 @@ When the active/selected provider lacks a needed capability — e.g. a text-only
Ack-Brain (`dodaios/brain/ack_brain/`) emits a sub-second butler-style preamble before the deep brain replies. Suppress-if-fast gate at 2000ms keeps it out of the way when the deep brain is already fast.
-**Persona / custom system prompt:** the live persona comes from `dodaios/brain/persona_loader.py`. `base_persona_prompt()` returns an editable override (`data/custom_system_prompt.md`, written atomically via the Settings UI / `settings_routes.py`) when present, else the packaged `JARVIS_PERSONA.md`. `load_effective_persona_prompt()` is what the brains call: the base **plus the active mode's character block**. Edits apply on the **next turn** (no restart); `invalidate_cache()` clears the in-process cache. Never hardcode the persona string elsewhere.
+**Persona / custom system prompt:** the live persona comes from `dodaios/brain/persona_loader.py`. `base_persona_prompt()` returns an editable override (`data/custom_system_prompt.md`, written atomically via the Settings UI / `settings_routes.py`) when present, else the packaged `DODAIOS_PERSONA.md`. `load_effective_persona_prompt()` is what the brains call: the base **plus the active mode's character block**. Edits apply on the **next turn** (no restart); `invalidate_cache()` clears the in-process cache. Never hardcode the persona string elsewhere.
### The typed chat: two surfaces, three runners (2026-08-26)
@@ -179,12 +179,12 @@ is False on every turn today. The machinery stays wired to the kit
surface that wants both works without a rebuild. How it works, when reached:
a subscription CLI keeps its own loop (that is what the subscription pays
for; only the vendor's official binary spends it) but runs with Dodaios' head: `BrainManager.render_surface_prompt` renders the
-voice turn's prompt layers read-only, `jarvis_harness.build_identity` adds the
+voice turn's prompt layers read-only, `dodaios_harness.build_identity` adds the
chat's transcript on a fresh conversation and the surface addendum, and each
CLI takes it the way it can (Claude Code: `--append-system-prompt-file`; Codex
and agy: in front of the stdin prompt; Grok Build: a compact cut on argv). The
CLI's MCP config names the session in an `X-Jarvis-Chat-Session` header;
-`mcp_server_routes` reads it into `jarvis_tools_server.CHAT_SESSION_REF`, and a
+`mcp_server_routes` reads it into `dodaios_tools_server.CHAT_SESSION_REF`, and a
Dodaios tool the CLI reaches over MCP asks on the chat's card instead of failing
fast as unattended.
@@ -296,7 +296,7 @@ The six desktop power-user features that were historically Windows-only are now
## Brand mark / logo (BINDING)
-**The official Dodaios logo is the hooded figure** in `assets/brand/dodaios-logo.svg` (black ink on white, one even-odd path). Every app icon — `assets/icons/jarvis.ico`/`.icns`/`jarvis-1024.png`, the bundled `dodaios/assets/icons/jarvis.png`, the DEV copy, the frontend favicon, splash and `jarvis-mark-256.png` — is rendered from it by `python scripts/make_app_icon.py`, which also writes `src/components/brand/jarvisLogoPath.ts` for the in-app mark; `tests/test_app_icon.py` fails when the two drift. Edit the SVG and re-run the script; never hand-edit a PNG or ICO.
+**The official Dodaios logo is the hooded figure** in `assets/brand/dodaios-logo.svg` (black ink on white, one even-odd path). Every app icon — `assets/icons/dodaios.ico`/`.icns`/`dodaios-1024.png`, the bundled `dodaios/assets/icons/dodaios.png`, the DEV copy, the frontend favicon, splash and `dodaios-mark-256.png` — is rendered from it by `python scripts/make_app_icon.py`, which also writes `src/components/brand/dodaiosLogoPath.ts` for the in-app mark; `tests/test_app_icon.py` fails when the two drift. Edit the SVG and re-run the script; never hand-edit a PNG or ICO.
---
diff --git a/docs/authoring/public-docs-manifest.yaml b/docs/authoring/public-docs-manifest.yaml
index ce79835769..aacafe6917 100644
--- a/docs/authoring/public-docs-manifest.yaml
+++ b/docs/authoring/public-docs-manifest.yaml
@@ -13,7 +13,7 @@ generated_reference_policy:
description: Generated references remain generated. Reader pages may introduce and link to them, but must not copy or hand-maintain their contents.
paths:
- docs/commands-reference.md
- - docs/jarvis-cli-reference.md
+ - docs/dodaios-cli-reference.md
pages:
- section: Start here
@@ -408,7 +408,7 @@ pages:
- dodaios/ui/web/frontend/src/views/AssistantProfileView.tsx
- dodaios/brain/agent_instructions.py
- dodaios/brain/persona_loader.py
- - dodaios/brain/JARVIS_PERSONA.md
+ - dodaios/brain/DODAIOS_PERSONA.md
- dodaios/ui/web/frontend/src/views/settings/SystemPromptGroup.tsx
related:
- chats
@@ -511,7 +511,7 @@ pages:
section_order: 4
order: 3
slug: jarvis-board
- file: docs/product/knowledge-and-sharing/jarvis-board.md
+ file: docs/product/knowledge-and-sharing/dodaios-board.md
title: Dodaios Board
diataxis: explanation
summary: Explore personal activity, achievements, and optional sharing, including what data leaves the device.
@@ -520,7 +520,7 @@ pages:
- dodaios/ui/web/board_routes.py
- dodaios/board/aggregator.py
- dodaios/board/sync.py
- - docs/jarvis-board/ARCHITECTURE.md
+ - docs/dodaios-board/ARCHITECTURE.md
related:
- profile-and-contacts
- socials-and-feedback
@@ -573,12 +573,12 @@ pages:
section_order: 5
order: 1
slug: jarvis-agents
- file: docs/product/extend-and-automate/jarvis-agents.md
+ file: docs/product/extend-and-automate/dodaios-agents.md
title: Dodaios-Agents
diataxis: explanation
summary: Learn when Dodaios delegates longer work, how missions and workers fit together, and how to follow progress and results.
authoritative_sources:
- - dodaios/ui/web/frontend/src/views/JarvisAgentsView.tsx
+ - dodaios/ui/web/frontend/src/views/DodaiosAgentsView.tsx
- dodaios/ui/web/missions_routes.py
- dodaios/missions/manager.py
- dodaios/missions/state_machine.py
@@ -916,7 +916,7 @@ pages:
- dodaios/core/control_key.py
- dodaios/ui/web/control_routes.py
- dodaios/ui/web/surface_security.py
- - dodaios/ui/web/frontend/src/views/settings/JarvisApiGroup.tsx
+ - dodaios/ui/web/frontend/src/views/settings/DodaiosApiGroup.tsx
- dodaios/ui/web/frontend/src/components/AuthGate.tsx
related:
- credentials-and-secrets
@@ -935,9 +935,9 @@ pages:
diataxis: reference
summary: Find the supported command-line surfaces, authentication options, common flags, and the generated command catalog.
authoritative_sources:
- - docs/jarvis-cli.md
- - docs/jarvis-cli-reference.md
- - docs/reference/jarvis-cli.md
+ - docs/dodaios-cli.md
+ - docs/dodaios-cli-reference.md
+ - docs/reference/dodaios-cli.md
- dodaios/cli_ctl
- scripts/ci/gen_cli_reference.py
related:
@@ -947,7 +947,7 @@ pages:
- configuration-reference
reader_level: advanced
maturity: stable
- source_policy: Link to docs/jarvis-cli-reference.md; do not copy or hand-edit its generated command catalog.
+ source_policy: Link to docs/dodaios-cli-reference.md; do not copy or hand-edit its generated command catalog.
- section: Reference
section_order: 7
@@ -958,7 +958,7 @@ pages:
diataxis: reference
summary: Understand API authentication, discovery, error behavior, and how REST operations map to CLI and in-app actions.
authoritative_sources:
- - docs/jarvis-control-api.md
+ - docs/dodaios-control-api.md
- dodaios/ui/web/server.py
- dodaios/ui/web/control_routes.py
- dodaios/ui/web/surface_security.py
diff --git a/docs/desktop-installers.md b/docs/desktop-installers.md
index dc6d017af1..4496230ae8 100644
--- a/docs/desktop-installers.md
+++ b/docs/desktop-installers.md
@@ -41,7 +41,7 @@ produce a *managed* or *dev* install, which updates through git - see
Everything starts from one PyInstaller build:
```bash
-pyinstaller jarvis.spec --noconfirm --clean
+pyinstaller dodaios.spec --noconfirm --clean
```
`onedir`, not `onefile`: no 3-5 second extraction on every launch, and each DLL
@@ -109,7 +109,7 @@ Two flags shorten the loop: `-SkipPyInstaller` repackages the existing
`dist/Jarvis` (seconds instead of ~12 minutes) and `-SkipFrontend` refuses to
run npm.
-The wizard itself is `packaging/windows/PersonalJarvis.iss`:
+The wizard itself is `packaging/windows/Dodaios.iss`:
- **per-user** (`PrivilegesRequired=lowest`, `{localappdata}\Programs\Personal
Jarvis`) - no administrator prompt, exactly like Chrome. This is also what
@@ -140,12 +140,12 @@ freeze, so an unusable certificate fails early), `APPLE_SIGNING_IDENTITY`
`APPLE_TEAM_ID` and `APPLE_APP_SPECIFIC_PASSWORD`; with none of them set it
ad-hoc signs, skips notarization and prints a one-line notice. The `.app`'s
identity (bundle id, minimum system version) comes from the `BUNDLE` block in
-`jarvis.spec`. The usage strings macOS shows in its permission dialogs
+`dodaios.spec`. The usage strings macOS shows in its permission dialogs
(microphone, screen capture, Apple events, the Desktop / Documents / Downloads /
removable-volume / network-volume folders, local network) come from ONE table,
-`dodaios/core/macos_privacy_strings.py`, which `jarvis.spec` and the managed
+`dodaios/core/macos_privacy_strings.py`, which `dodaios.spec` and the managed
source-install app both load by path, so the two apps cannot drift apart. The same
-table carries the German and Spanish versions: `jarvis.spec` declares the languages
+table carries the German and Spanish versions: `dodaios.spec` declares the languages
(`CFBundleLocalizations`) and `build.sh` writes
`Contents/Resources/{de,es}.lproj/InfoPlist.strings` into the finished `.app`
(`packaging/macos/add_localizations.py`) BEFORE it signs it, because the files are
diff --git a/docs/jarvis-board/ARCHITECTURE.md b/docs/dodaios-board/ARCHITECTURE.md
similarity index 100%
rename from docs/jarvis-board/ARCHITECTURE.md
rename to docs/dodaios-board/ARCHITECTURE.md
diff --git a/docs/jarvis-board/FEDERATION_PROTOCOL.md b/docs/dodaios-board/FEDERATION_PROTOCOL.md
similarity index 100%
rename from docs/jarvis-board/FEDERATION_PROTOCOL.md
rename to docs/dodaios-board/FEDERATION_PROTOCOL.md
diff --git a/docs/jarvis-board/MIGRATION_v1.md b/docs/dodaios-board/MIGRATION_v1.md
similarity index 100%
rename from docs/jarvis-board/MIGRATION_v1.md
rename to docs/dodaios-board/MIGRATION_v1.md
diff --git a/docs/jarvis-board/RECON.md b/docs/dodaios-board/RECON.md
similarity index 100%
rename from docs/jarvis-board/RECON.md
rename to docs/dodaios-board/RECON.md
diff --git a/docs/jarvis-cli-reference.md b/docs/dodaios-cli-reference.md
similarity index 100%
rename from docs/jarvis-cli-reference.md
rename to docs/dodaios-cli-reference.md
diff --git a/docs/jarvis-cli.md b/docs/dodaios-cli.md
similarity index 99%
rename from docs/jarvis-cli.md
rename to docs/dodaios-cli.md
index 90a60fdbdf..6f546e3bde 100644
--- a/docs/jarvis-cli.md
+++ b/docs/dodaios-cli.md
@@ -14,7 +14,7 @@ point it at a running Dodaios and drive it.
> what `dodaios` and `dodaiosctl` do, so existing scripts keep working; help
> output repeats whichever name you typed.
>
-> Full command list: [`jarvis-cli-reference.md`](jarvis-cli-reference.md)
+> Full command list: [`dodaios-cli-reference.md`](dodaios-cli-reference.md)
> (auto-generated). Design rationale: [`superpowers/specs/2026-06-21-jarvis-cli-design.md`](superpowers/specs/2026-06-21-jarvis-cli-design.md).
## How it works
diff --git a/docs/jarvis-control-api.md b/docs/dodaios-control-api.md
similarity index 100%
rename from docs/jarvis-control-api.md
rename to docs/dodaios-control-api.md
diff --git a/docs/jarvis-learning.md b/docs/dodaios-learning.md
similarity index 99%
rename from docs/jarvis-learning.md
rename to docs/dodaios-learning.md
index 076f4fff65..92eb5c8394 100644
--- a/docs/jarvis-learning.md
+++ b/docs/dodaios-learning.md
@@ -195,7 +195,7 @@ engines. No upstream code was copied.
## Verification
-`tests/unit/memory/learning/test_jarvis_learning.py` covers the evidence and
+`tests/unit/memory/learning/test_dodaios_learning.py` covers the evidence and
safety rules, ledger and budgets, every trigger, the dead-reviewer fallbacks,
the voice and chat inputs, and both prompt integrations;
`test_soul_learning.py` covers the `soul` target end to end;
diff --git a/docs/headless-vps-deployment.md b/docs/headless-vps-deployment.md
index 0363d117ed..e9f3bad59e 100644
--- a/docs/headless-vps-deployment.md
+++ b/docs/headless-vps-deployment.md
@@ -272,7 +272,7 @@ Logs: `journalctl -u jarvis -f`.
## See also
-- [`docs/jarvis-cli.md`](jarvis-cli.md) — driving a running instance from the
+- [`docs/dodaios-cli.md`](dodaios-cli.md) — driving a running instance from the
terminal, including the remote/tunnel setup.
- [`docs/os-parity.md`](os-parity.md) — what differs per operating system, with
the headless Linux column called out per capability.
diff --git a/docs/local-live-voice-rebuild.md b/docs/local-live-voice-rebuild.md
index f792afea9c..ee2853ec37 100644
--- a/docs/local-live-voice-rebuild.md
+++ b/docs/local-live-voice-rebuild.md
@@ -4,7 +4,7 @@
and Linux CPU, Mac pending hardware; P1 (engine core) built and measured,
see section 12. P2 (Jarvis integration) is next.
- **Date:** 2026-10-01
-- **Decision record:** [ADR-0037](adr/0037-jarvis-owned-local-voice-engine.md)
+- **Decision record:** [ADR-0037](adr/0037-dodaios-owned-local-voice-engine.md)
- **Supersedes:** the recovery plan in
[`local-realtime-runtime-deep-dive.md`](local-realtime-runtime-deep-dive.md)
(2026-08-08) and the backlog in
diff --git a/docs/macos-permissions.md b/docs/macos-permissions.md
index db338f03cd..189b16dc48 100644
--- a/docs/macos-permissions.md
+++ b/docs/macos-permissions.md
@@ -680,7 +680,7 @@ reset gate and the outside-app logic.
### 4.12 Packaging
- **One usage-string table:** `dodaios/core/macos_privacy_strings.py`, stdlib-only, loaded by path
- from `jarvis.spec` and from the managed bundle's `Info.plist` writer, so the two apps cannot
+ from `dodaios.spec` and from the managed bundle's `Info.plist` writer, so the two apps cannot
drift. Keys: microphone, screen capture (parity, effect unverified), Apple events, Desktop,
Documents, Downloads, removable volumes, network volumes, local network. A parity test and the
frozen-app probe assert it on the built bundle. The wording is short and calm: the Apple Events
@@ -694,7 +694,7 @@ reset gate and the outside-app logic.
`en.lproj`). The `.dmg` app gets the files from `packaging/macos/add_localizations.py`, which
`packaging/macos/build.sh` runs on the finished `.app` BEFORE it signs it (the files are part of
the code seal, so one added later would break the signature and the notarization); the
- languages are declared by `jarvis.spec`. The managed bundle writes the same files when it lays
+ languages are declared by `dodaios.spec`. The managed bundle writes the same files when it lays
out the bundle (`dodaios/setup/macos_app_bundle.py`). `scripts/ci/check_frozen_macos_app.py` asserts
the two plist keys and that each `.strings` file equals the table. The bundle format version is
**not** bumped (a bump would rebuild every installed bundle, and an ad-hoc rebuild is a new
diff --git a/docs/os-parity.md b/docs/os-parity.md
index be234b51cf..62d6b0636d 100644
--- a/docs/os-parity.md
+++ b/docs/os-parity.md
@@ -1111,7 +1111,7 @@ targets the running app's id (and refuses from any other process), and
had no `AVFoundation` module in its frozen archive (the port loads it by name, so
the microphone permission reads "unavailable" for good) and `LSBackgroundOnly` in
its `Info.plist` (PyInstaller sets it when the last executable is a console one).
-`jarvis.spec` and the macOS job now cover both, and
+`dodaios.spec` and the macOS job now cover both, and
`scripts/ci/check_frozen_macos_app.py` fails a build that regresses. A branch
dispatch of the installer workflow built the image on the Apple Silicon and the
Intel runner, the check passed, and the booted app reported a readable
@@ -1155,7 +1155,7 @@ asserts the table on the built app and, on a signed build, the entitlements
re-asks every permission): an installed app carries the new strings after its next
rebuild for another reason. **Not verified:** no Mac, no
hardened signed build and no real `codesign` output were available; the checks
-ran against the real `jarvis.spec` with stand-in PyInstaller names and recorded
+ran against the real `dodaios.spec` with stand-in PyInstaller names and recorded
`codesign` output shapes on Linux. Windows and Linux are unchanged — no TCC, no
usage strings.
@@ -1278,7 +1278,7 @@ implementations, not stubs.
| Agent society hands (own shell, browser via browser-use, learned skills) | Shell: local subprocess in the agent's workspace on every OS (Git Bash/PowerShell/bash/sh pick as the chat's folder tools), no container by decision. Browser: browser-use lives in a managed venv under the data dir (its pins collide with the app's), installed on demand — `uv`/`venv`, a 3.11–3.13 interpreter preferred, Chromium downloaded once; headless runs need no display, so a headless Linux box runs agents' browsers; the headed login session needs a display (409 without one is the follow-up); attach mode needs a running Chrome with `--remote-debugging-port`. Learning is pure files + the brain, OS-neutral |
| Agent society substrate (roster, typed board, scheduler, rooms, mission bridge, `/api/society`) | Clean; pure asyncio + SQLite (`data/society.db`, WAL) and FastAPI, no OS API, no GPU, no audio. Full REST parity from a headless `python:3.11-slim` (`tests/contract/test_society_substrate.py` covers messages, rename with stable agent/chat IDs, and archive). The agent sidebar's hide choice is a browser-local display preference on every desktop OS; it does not change roster state. The dynamic `jarvis api society …` CLI layer covers every route. FTS5 over knowledge summaries is optional — a SQLite without it degrades to plain reads (same class as P-05). Per-agent screens (`agent_screen`) are M6 and keep their own per-OS probes |
-| Typed chat on the Dodaios surface (brain runner, folder tools, approval card, CLI seats as Dodaios) | Clean; pure asyncio + SQLite, no OS API. Every CLI spawn keeps `NO_WINDOW_CREATIONFLAGS` and UTF-8 stdio. The identity for a Claude Code seat travels as a FILE under the app data dir (`jarvis_harness.write_identity_file`, removed after the turn) because Windows caps a command line at 32 767 characters; Codex and agy take it on stdin (no limit), Grok Build a compact cut on argv (`COMPACT_MAX_CHARS`). The MCP session header and the approval bridge are transport-level and OS-neutral |
+| Typed chat on the Dodaios surface (brain runner, folder tools, approval card, CLI seats as Dodaios) | Clean; pure asyncio + SQLite, no OS API. Every CLI spawn keeps `NO_WINDOW_CREATIONFLAGS` and UTF-8 stdio. The identity for a Claude Code seat travels as a FILE under the app data dir (`dodaios_harness.write_identity_file`, removed after the turn) because Windows caps a command line at 32 767 characters; Codex and agy take it on stdin (no limit), Grok Build a compact cut on argv (`COMPACT_MAX_CHARS`). The MCP session header and the approval bridge are transport-level and OS-neutral |
Persistent Society agent teams use the same SQLite and FastAPI capability on Windows, macOS, and Linux. Membership lives in `society.db`; the frontend opens two existing canonical agent chats side by side with separate socket stores. Grouping never changes agent permissions, routing, or chat history. Headless membership persistence is covered by `tests/contract/test_society_substrate.py::test_persistent_group_membership_headless`.
@@ -1340,7 +1340,7 @@ experiences today.
Dodaios is downloadable as a native installer on all three systems,
next to the one-line installer and pipx. Every artifact comes out of the same
-PyInstaller freeze of `jarvis.spec` and is published on the GitHub Release for
+PyInstaller freeze of `dodaios.spec` and is published on the GitHub Release for
the tag together with `installers-SHA256SUMS.txt`, which the in-app updater
verifies against before it replaces anything.
@@ -1437,7 +1437,7 @@ macOS restart through a renamed bundle run only against fakes.
| # | Impact | Area | Gap | Evidence | Behavior off-Windows |
|---|---|---|---|---|---|
-| P-38 | Medium | Native installer / desktop window | The Linux AppImage and `.deb` have **no native desktop window**. Windows (WebView2) and macOS (WKWebView) get one from the frozen bundle; Linux does not, because pywebview's GTK backend needs PyGObject and a frozen interpreter can never import the distribution's `python3-gi` (it is compiled against the system CPython), while bundling GTK 3 + WebKit2GTK portably means shipping its helper processes, GIO modules, pixbuf loaders, GSettings schemas and typelibs. The Qt route is also closed today: the `[desktop]` extra installs `pyside6-essentials`, which has no QtWebEngine, and `jarvis.spec` excludes PySide6 outright. Adding `pyside6-addons` and dropping that exclusion is the realistic fix, at roughly +400 MB | `packaging/linux/README.md` ("The window question"), `dodaios/ui/desktop_app.py::_degrade_to_browser_ui`, `jarvis.spec` `excludes`, `pyproject.toml` `[desktop]` | Linux: honest degradation, verified against a real build — the app catches pywebview's `WebViewException`, keeps the backend serving, and `AppRun` waits for `/api/health` and opens the interface with `xdg-open`. Everything except the window frame works, including the whole CLI. A source/pipx install on a Linux desktop with `python3-gi` + `gir1.2-webkit2-4.1` still gets the native window; only the frozen build does not. Sub-gap: the app's fallback message advises installing those system packages, which does not help a frozen build |
+| P-38 | Medium | Native installer / desktop window | The Linux AppImage and `.deb` have **no native desktop window**. Windows (WebView2) and macOS (WKWebView) get one from the frozen bundle; Linux does not, because pywebview's GTK backend needs PyGObject and a frozen interpreter can never import the distribution's `python3-gi` (it is compiled against the system CPython), while bundling GTK 3 + WebKit2GTK portably means shipping its helper processes, GIO modules, pixbuf loaders, GSettings schemas and typelibs. The Qt route is also closed today: the `[desktop]` extra installs `pyside6-essentials`, which has no QtWebEngine, and `dodaios.spec` excludes PySide6 outright. Adding `pyside6-addons` and dropping that exclusion is the realistic fix, at roughly +400 MB | `packaging/linux/README.md` ("The window question"), `dodaios/ui/desktop_app.py::_degrade_to_browser_ui`, `dodaios.spec` `excludes`, `pyproject.toml` `[desktop]` | Linux: honest degradation, verified against a real build — the app catches pywebview's `WebViewException`, keeps the backend serving, and `AppRun` waits for `/api/health` and opens the interface with `xdg-open`. Everything except the window frame works, including the whole CLI. A source/pipx install on a Linux desktop with `python3-gi` + `gir1.2-webkit2-4.1` still gets the native window; only the frozen build does not. Sub-gap: the app's fallback message advises installing those system packages, which does not help a frozen build |
| P-39 | Medium | Dictation hold-key watchdog | A HOLD-started dictation is owed a release edge, and that edge can be lost between the OS hotkey listener and the pipeline (a checker restart mid-hold, a re-arm, a handler that raised). The recording then ran to its 30-minute cap with the bar's X dead and every key press refused (BUG-191). The repair asks the keyboard instead of trusting edges: `HotkeyBackend.chord_is_down(combo)` is a three-way capability — `True`/`False` when the backend can see the keyboard, `None` when it cannot — and the recording finishes itself once the chord has read "up" for one second. The three OS backends can see different amounts: Windows reads `GetAsyncKeyState` (ground truth, the poller's own source); macOS answers from the event tap's held-set, whose modifier half is re-synced from every event's flags word, and answers `None` while the tap is not running (a normal fresh-Mac state until Input Monitoring is granted), so the watchdog stands down instead of trusting a stale view; Linux/X11 answers from pynput's held-set, which is edge-fed like the matcher itself | `dodaios/trigger/backends/__init__.py::HotkeyBackend.chord_is_down`, `backends/global_hotkeys.py::chord_is_down`, `backends/quartz.py::chord_is_down`, `backends/pynput.py::chord_is_down`, `backends/noop.py`, `dodaios/speech/pipeline.py::_watch_dictation_hold_key`, `tests/contract/test_hotkey_backend_protocol.py` | Windows: the watchdog sees the physical key and ends a lost-release recording within ~1 s. macOS / Linux-X11: the watchdog runs on the listener's own bookkeeping — it catches a release the pipeline missed, not one the listener itself missed. Wayland / no listener: the backend answers `None`, the watchdog stands down, and the other stop gestures carry alone — the key (a press during a running dictation is its stop), the bar's X, the Dictation view, `jarvis api dictation stop`. On no host does `None` ever read as "up": a phantom release is the one failure this must never produce |
| P-40 | Low | JarvisBar | The Prompt Mode switch (`[dictation].prompt_mode`, every dictation comes out as a written prompt) is a control on the native bar since 2026-08-28: a sparkle in the resting pill's left slot, drawn ONLY while the SETTING is on (visible without a hover — the pill opens as it does for mute). A click PAUSES the rewriting rather than changing the setting: the mark goes red with a slash through it, jarvis.toml is untouched, and the same click brings it back. The pause is runtime-only and clears on restart or on any write of the setting. With the setting off nothing is drawn there and the spot starts a session as before. The glyph mirrors the mic's inset rather than the close-X's, which is left untouched on a live bar. The switch has ONE writer (`dodaios/dictation/prompt_mode_switch.py`) and one broadcast (`DictationPromptModeChanged`) that the bar, the front-page pill and the settings card all redraw from | `dodaios/ui/dodaiosbar/renderer.py::_draw_sparkle`, `interaction.py::resolve_click` (`prompt_mode_toggle`), `overlay.py` / `qt_overlay.py` / `subprocess_overlay.py` (`set_prompt_mode`, `set_on_prompt_mode_toggle`), `host.py` (op `set_prompt_mode`, event `prompt_mode_toggle`), `ui/orb/bus_bridge.py` | Windows/Linux (Tk bar, in-process) and macOS (Qt bar in the companion host, over the existing IPC protocol): the same sparkle, the same click, the same event. Headless / `orb_style = none`: the NullOverlay accepts both methods as no-ops; the pill on the front page and the settings card remain the switch. Guards: `tests/unit/ui/dodaiosbar/test_prompt_mode_button.py`, `test_prompt_mode_bridge.py`, `test_surface_contract.py`, `test_host_protocol.py` |
diff --git a/docs/product/extend-and-automate/jarvis-agents.md b/docs/product/extend-and-automate/dodaios-agents.md
similarity index 100%
rename from docs/product/extend-and-automate/jarvis-agents.md
rename to docs/product/extend-and-automate/dodaios-agents.md
diff --git a/docs/product/knowledge-and-sharing/jarvis-board.md b/docs/product/knowledge-and-sharing/dodaios-board.md
similarity index 100%
rename from docs/product/knowledge-and-sharing/jarvis-board.md
rename to docs/product/knowledge-and-sharing/dodaios-board.md
diff --git a/docs/product/personalize-and-connect/local-ai-providers.md b/docs/product/personalize-and-connect/local-ai-providers.md
index d0e6b1a7d9..ce57f40643 100644
--- a/docs/product/personalize-and-connect/local-ai-providers.md
+++ b/docs/product/personalize-and-connect/local-ai-providers.md
@@ -94,7 +94,7 @@ llama-server -hf google/gemma-4-12B-it-qat-q4_0-gguf:Q4_0 --host 127.0.0.1 --por
In **Local server (OpenAI-compatible)**, use
`http://127.0.0.1:8080` and model `gemma-4-12b-it-qat-q4_0`. The matching
-optional block ships in `jarvis.toml.example`; the cloud provider remains the
+optional block ships in `dodaios.toml.example`; the cloud provider remains the
fresh-install default. Users with enough memory can instead serve
`ggml-org/Qwen3.6-35B-A3B-GGUF:Q4_K_M`, but its model file alone is about
20.4 GB, so it is not the right preset for a 16 GB GPU. On a 16 GB card, keep
diff --git a/docs/product/reference/cli-reference.md b/docs/product/reference/cli-reference.md
index f32aef4990..748391c483 100644
--- a/docs/product/reference/cli-reference.md
+++ b/docs/product/reference/cli-reference.md
@@ -67,7 +67,7 @@ schema cache for up to 24 hours. After that, an `api` invocation tries to fetch
a new schema and falls back to the older cache if the server is unreachable.
Run `jarvis refresh` to clear the cache before the next `jarvis api` call.
-Use the [generated Dodaios CLI command catalog](https://github.com/Dodaios/Dodaios/blob/main/docs/jarvis-cli-reference.md)
+Use the [generated Dodaios CLI command catalog](https://github.com/Dodaios/Dodaios/blob/main/docs/dodaios-cli-reference.md)
for the maintained list of curated groups, arguments, and options. It
intentionally does not copy the server-specific dynamic API operations.
diff --git a/docs/reference/jarvis-cli.md b/docs/reference/dodaios-cli.md
similarity index 100%
rename from docs/reference/jarvis-cli.md
rename to docs/reference/dodaios-cli.md
diff --git a/docs/sandbox-testing.md b/docs/sandbox-testing.md
index b1861f7b3b..ed13303b09 100644
--- a/docs/sandbox-testing.md
+++ b/docs/sandbox-testing.md
@@ -36,7 +36,7 @@ UI; it never drives your desktop. **Voice stays ON.**
```powershell
# 1. Provision from GitHub (fresh clone, isolated venv, isolation proofs):
-pwsh scripts\sandbox\new-jarvis-sandbox.ps1
+pwsh scripts\sandbox\new-dodaios-sandbox.ps1
# 2. CLOSE your real Jarvis first — voice shares the one mic/speakers.
@@ -44,7 +44,7 @@ pwsh scripts\sandbox\new-jarvis-sandbox.ps1
pwsh ..\Jarvis-Sandbox\run-sandbox.ps1
# 4. When done, tear it down (goes to the Recycle Bin, reversible):
-pwsh scripts\sandbox\remove-jarvis-sandbox.ps1
+pwsh scripts\sandbox\remove-dodaios-sandbox.ps1
```
The sandbox runs on its own port (default 47830), so it never clashes with your
diff --git a/jarvis.spec b/dodaios.spec
similarity index 98%
rename from jarvis.spec
rename to dodaios.spec
index 8859a7122e..c3fd8c87b6 100644
--- a/jarvis.spec
+++ b/dodaios.spec
@@ -25,7 +25,7 @@
# - Excluding unused GUI frameworks saves roughly 500 MB.
#
# Invoke through the per-OS build script (packaging/<os>/build.*) or directly
-# with `pyinstaller jarvis.spec --noconfirm --clean`.
+# with `pyinstaller dodaios.spec --noconfirm --clean`.
# ruff: noqa
@@ -318,7 +318,7 @@ if sys.platform == "darwin":
try:
hiddenimports += collect_submodules(pkg)
except Exception as exc:
- print(f"[jarvis.spec] WARNING: cannot collect {pkg}: {exc}")
+ print(f"[dodaios.spec] WARNING: cannot collect {pkg}: {exc}")
# --- Bundle-size exclusions -------------------------------------------------
@@ -456,10 +456,10 @@ if sys.platform == "win32":
def _icon_path():
"""The platform's icon, or ``None`` when it has not been generated yet."""
- candidate = ICON_DIR / ("jarvis.icns" if sys.platform == "darwin" else "jarvis.ico")
+ candidate = ICON_DIR / ("dodaios.icns" if sys.platform == "darwin" else "dodaios.ico")
if candidate.is_file():
return str(candidate)
- print(f"[jarvis.spec] icon {candidate} is missing - building without one")
+ print(f"[dodaios.spec] icon {candidate} is missing - building without one")
return None
diff --git a/jarvis.toml.example b/dodaios.toml.example
similarity index 97%
rename from jarvis.toml.example
rename to dodaios.toml.example
index 9f458c39cc..54eef31d8b 100644
--- a/jarvis.toml.example
+++ b/dodaios.toml.example
@@ -1,10 +1,11 @@
# ============================================================
# Dodaios — configuration TEMPLATE
# ------------------------------------------------------------
-# This file is OPTIONAL. Dodaios boots with no jarvis.toml at all
+# This file is OPTIONAL. Dodaios boots with no config file at all
# (every value below has a built-in default in dodaios/core/config.py).
-# Copy this to `jarvis.toml` only if you want to override defaults:
-# cp jarvis.toml.example jarvis.toml
+# Copy this to `dodaios.toml` only if you want to override defaults
+# (an install that already has a `jarvis.toml` keeps using that file):
+# cp dodaios.toml.example dodaios.toml
#
# SECRETS DO NOT GO HERE. API keys live in your OS credential manager
# (run `python -m dodaios --wizard`) or in `.env` (see .env.example).
diff --git a/jarvis/__init__.py b/dodaios/_legacy_alias/__init__.py
similarity index 80%
rename from jarvis/__init__.py
rename to dodaios/_legacy_alias/__init__.py
index 01f5ced0f3..17e60be770 100644
--- a/jarvis/__init__.py
+++ b/dodaios/_legacy_alias/__init__.py
@@ -1,9 +1,14 @@
"""Compatibility alias: this package is now ``dodaios``."""
# rename-stub: generated by scripts/rename/rewrite_package.py
-# Do not edit and do not add modules here. Old start commands
-# (``python -m jarvis``, ``-m jarvis.ui.web.launcher``, ...) and old imports keep
-# working: every ``jarvis.*`` name resolves to the SAME module object as its
-# ``dodaios.*`` twin, so no module is imported twice and no state exists twice.
+# Do not add modules here. Old start commands (``python -m jarvis``,
+# ``-m jarvis.ui.web.launcher``, ...) and old imports keep working: every
+# ``jarvis.*`` name resolves to the SAME module object as its ``dodaios.*``
+# twin, so no module is imported twice and no state exists twice.
+#
+# The file lives inside the ``dodaios`` directory so the repository has no
+# ``jarvis`` folder, but it is never imported as ``dodaios._legacy_alias``:
+# setup.py publishes this directory as the top-level ``jarvis`` package of every
+# wheel, sdist and editable install.
from __future__ import annotations
@@ -14,9 +19,6 @@ import importlib.util
import os
import sys
-# Read as text by updaters that predate the move; see the generator.
-__version__ = "0.0.0"
-
_OLD = "jarvis"
_NEW = "dodaios"
@@ -92,9 +94,11 @@ def _install() -> None:
except ModuleNotFoundError as exc:
if exc.name != _NEW:
raise
- # An editable install made before the move maps only the old name to
- # its directory; the package itself sits next to this one.
- sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
+ # An install that maps only the old name finds this file inside the
+ # ``dodaios`` directory; the folder that holds that directory goes on
+ # the path so the real package imports too.
+ here = os.path.dirname(os.path.abspath(__file__))
+ sys.path.append(os.path.dirname(os.path.dirname(here)))
importlib.invalidate_caches()
real = importlib.import_module(_NEW)
prefix = _NEW + "."
diff --git a/dodaios/agent_chat/jarvis_harness.py b/dodaios/agent_chat/dodaios_harness.py
similarity index 99%
rename from dodaios/agent_chat/jarvis_harness.py
rename to dodaios/agent_chat/dodaios_harness.py
index 86b071039d..af85837749 100644
--- a/dodaios/agent_chat/jarvis_harness.py
+++ b/dodaios/agent_chat/dodaios_harness.py
@@ -62,7 +62,7 @@ _MCP_PATH: Final[str] = "/api/control/mcp/"
_SERVER_NAME: Final[str] = MCP_TOOLS_SERVER_NAME
#: The request header that carries the chat's session id to the tool server.
-#: ``dodaios.mcp.jarvis_tools_server`` reads it (through
+#: ``dodaios.mcp.dodaios_tools_server`` reads it (through
#: ``dodaios.ui.web.mcp_server_routes``) and stamps the executor's approval
#: surface with it, so a gate the CLI reaches over MCP is answered by THIS
#: chat's card. Any other client — or a config without it — gets the
@@ -366,7 +366,7 @@ def apply_env(env: dict[str, str]) -> dict[str, str]:
def tool_count() -> int:
"""How many Jarvis tools the chat would currently be offered (0 = none)."""
try:
- from dodaios.mcp.jarvis_tools_server import offered_tools
+ from dodaios.mcp.dodaios_tools_server import offered_tools
return len(offered_tools())
except Exception: # noqa: BLE001 — a count is a nicety, never a failure
diff --git a/dodaios/agent_chat/native_control.py b/dodaios/agent_chat/native_control.py
index dee0e08f53..bf3fb52aa6 100644
--- a/dodaios/agent_chat/native_control.py
+++ b/dodaios/agent_chat/native_control.py
@@ -490,7 +490,7 @@ class NativeCodexGoal:
async def _run(self, handle: Any, objective: str) -> str | None:
started_at = time.monotonic()
from .events import make_event
- from .jarvis_harness import build_identity, codex_config_args
+ from .dodaios_harness import build_identity, codex_config_args
from .runner_cli import (
ACCOUNT_OVERRIDE,
_account_env,
diff --git a/dodaios/agent_chat/remote_mcp_config.py b/dodaios/agent_chat/remote_mcp_config.py
index 59a98da08e..b59a2a4eed 100644
--- a/dodaios/agent_chat/remote_mcp_config.py
+++ b/dodaios/agent_chat/remote_mcp_config.py
@@ -207,7 +207,7 @@ async def configure(
),
)
elif runner == "grok-cli":
- from .jarvis_harness import _grok_jarvis_block, _merge_grok_jarvis_block
+ from .dodaios_harness import _grok_jarvis_block, _merge_grok_jarvis_block
path = f"{cwd}/.grok/config.toml"
old = await files.read(path)
diff --git a/dodaios/agent_chat/runner_acp.py b/dodaios/agent_chat/runner_acp.py
index 399e712e5b..9f30ef3c7b 100644
--- a/dodaios/agent_chat/runner_acp.py
+++ b/dodaios/agent_chat/runner_acp.py
@@ -145,7 +145,7 @@ async def plan_runtime_turn(
) -> Any:
"""The ``CliPlan`` for one turn on ``runner``; raises ``CliUnavailable``."""
from dodaios import __version__
- from dodaios.agent_chat import jarvis_harness
+ from dodaios.agent_chat import dodaios_harness
from dodaios.agent_chat.runner_cli import (
_PLAN_PREAMBLE,
CliPlan,
@@ -181,8 +181,8 @@ async def plan_runtime_turn(
route=route,
resume=resume,
auto_approve=session.permission_mode == "bypass",
- mcp_url=jarvis_harness.endpoint() if tools else None,
- control_key=jarvis_harness.control_key() if tools else None,
+ mcp_url=dodaios_harness.endpoint() if tools else None,
+ control_key=dodaios_harness.control_key() if tools else None,
denied_native=_denied_native(agent, plan_mode),
effort=normalize_effort(session.provider, getattr(session, "effort", "") or ""),
reasoning=reasoning,
diff --git a/dodaios/agent_chat/runner_cli.py b/dodaios/agent_chat/runner_cli.py
index df8e93a7bc..6f72aa0113 100644
--- a/dodaios/agent_chat/runner_cli.py
+++ b/dodaios/agent_chat/runner_cli.py
@@ -71,7 +71,7 @@ from dataclasses import dataclass, field, replace
from pathlib import Path
from typing import Any, Final
-from dodaios.agent_chat import jarvis_harness
+from dodaios.agent_chat import dodaios_harness
from dodaios.agent_chat.approval_bridge import approval_ref
from dodaios.agent_chat.cli_catalog import CatalogCache, catalog_key, discover_codex_models
from dodaios.agent_chat.effort import (
@@ -606,7 +606,7 @@ def plan_claude(
effort: str,
permission_mode: str,
resume: str | None,
- identity: jarvis_harness.Identity | None = None,
+ identity: dodaios_harness.Identity | None = None,
) -> CliPlan:
return _plan_claude_code(
prompt=prompt,
@@ -616,7 +616,7 @@ def plan_claude(
permission_mode=permission_mode,
resume=resume,
identity=identity,
- env=jarvis_harness.apply_env(_account_env("claude")),
+ env=dodaios_harness.apply_env(_account_env("claude")),
thinking_summaries=True,
)
@@ -629,7 +629,7 @@ def plan_glm(
effort: str,
permission_mode: str,
resume: str | None,
- identity: jarvis_harness.Identity | None = None,
+ identity: dodaios_harness.Identity | None = None,
) -> CliPlan:
"""GLM Coding Plan: Claude Code's own plan, pointed at Z.ai by the registry.
@@ -650,7 +650,7 @@ def plan_glm(
permission_mode=permission_mode,
resume=resume,
identity=identity,
- env=jarvis_harness.apply_env(_registry_env("glm", dict(os.environ))),
+ env=dodaios_harness.apply_env(_registry_env("glm", dict(os.environ))),
)
@@ -662,7 +662,7 @@ def _plan_claude_code(
effort: str,
permission_mode: str,
resume: str | None,
- identity: jarvis_harness.Identity | None,
+ identity: dodaios_harness.Identity | None,
env: dict[str, str],
thinking_summaries: bool = False,
) -> CliPlan:
@@ -703,13 +703,13 @@ def _plan_claude_code(
# yet) — the session then behaves exactly as it did before. On the Jarvis
# surface the identity is Jarvis' whole head, in a FILE: argv cannot carry
# it on Windows (32 767 characters for the whole command line).
- mcp_config = jarvis_harness.mcp_config_json(identity.session_id if identity else None)
+ mcp_config = dodaios_harness.mcp_config_json(identity.session_id if identity else None)
if mcp_config:
argv += ["--mcp-config", mcp_config]
if identity is not None and identity.path is not None:
argv += ["--append-system-prompt-file", str(identity.path)]
else:
- argv += ["--append-system-prompt", jarvis_harness.SYSTEM_PREAMBLE]
+ argv += ["--append-system-prompt", dodaios_harness.SYSTEM_PREAMBLE]
if resume:
argv += ["--resume", resume]
sid = resume
@@ -735,7 +735,7 @@ def plan_grok(
effort: str,
permission_mode: str,
resume: str | None,
- identity: jarvis_harness.Identity | None = None,
+ identity: dodaios_harness.Identity | None = None,
) -> CliPlan:
# Grok Build takes the prompt on argv, so the identity rides in front of
# it — the compact cut, and only on a fresh conversation.
@@ -745,7 +745,7 @@ def plan_grok(
if identity is not None:
# grok has no --mcp-config; a project `.grok/config.toml` is how
# print-mode actually sees Jarvis' tools (gmail, calendar, the rest).
- jarvis_harness.install_grok_jarvis_mcp(work, identity.session_id)
+ dodaios_harness.install_grok_jarvis_mcp(work, identity.session_id)
argv = [
*grok_argv_prefix(),
"--no-auto-update",
@@ -777,7 +777,7 @@ def plan_grok(
sid = str(uuid.uuid4())
argv += ["--session-id", sid]
argv += ["-p", _argv_prompt(argv, prompt)]
- env = jarvis_harness.apply_env(_account_env("grok-build"))
+ env = dodaios_harness.apply_env(_account_env("grok-build"))
env.setdefault("PYTHONIOENCODING", "utf-8")
return CliPlan(argv, env, None, "claude", sid)
@@ -925,7 +925,7 @@ def plan_agy(
effort: str,
permission_mode: str,
resume: str | None,
- identity: jarvis_harness.Identity | None = None,
+ identity: dodaios_harness.Identity | None = None,
) -> CliPlan:
mode = normalize_permission("agy-cli", permission_mode)
# agy has no system-prompt flag: the identity rides in front of the prompt
@@ -935,7 +935,7 @@ def plan_agy(
if identity is not None:
# agy has no --mcp-config; a workspace plugin is how print-mode
# actually sees Jarvis' tools (gmail, linear, the rest of the gateway).
- jarvis_harness.install_agy_jarvis_plugin(work, identity.session_id)
+ dodaios_harness.install_agy_jarvis_plugin(work, identity.session_id)
argv = [
*agy_argv_prefix(),
"--output-format",
@@ -959,7 +959,7 @@ def plan_agy(
argv += agy_model_args(model, effort, _agy_catalog_cached())
if resume:
argv += ["--conversation", resume]
- env = jarvis_harness.apply_env(_account_env("antigravity"))
+ env = dodaios_harness.apply_env(_account_env("antigravity"))
env.setdefault("AGY_CLI_HIDE_LOGO", "1")
env.setdefault("PYTHONIOENCODING", "utf-8")
# Prompt on stdin: no argv length limit, and no ``-p`` that could swallow
@@ -1119,7 +1119,7 @@ def plan_codex(
effort: str,
permission_mode: str,
resume: str | None,
- identity: jarvis_harness.Identity | None = None,
+ identity: dodaios_harness.Identity | None = None,
) -> CliPlan:
mode = normalize_permission("codex-cli", permission_mode)
# Codex reads the prompt from stdin, which has no length limit: the
@@ -1135,7 +1135,7 @@ def plan_codex(
argv += ["--skip-git-repo-check"]
# Jarvis' own tools over streamable-HTTP MCP, mounted for this run only —
# the person's ~/.codex/config.toml is never touched.
- argv += jarvis_harness.codex_config_args(identity.session_id if identity else None)
+ argv += dodaios_harness.codex_config_args(identity.session_id if identity else None)
if identity is not None:
# A Jarvis seat must use the browser and connections visible in Jarvis.
# Inheriting the coding CLI's plugins gives it a second, unrelated
@@ -1203,7 +1203,7 @@ def plan_codex(
argv += ["--model", model]
argv += ["-"] # prompt on stdin
text = _PLAN_PREAMBLE + prompt if mode == "plan" else prompt
- return CliPlan(argv, jarvis_harness.apply_env(_account_env("codex")), text, "codex", resume)
+ return CliPlan(argv, dodaios_harness.apply_env(_account_env("codex")), text, "codex", resume)
_OPENCODE_CATALOG: dict[str, Any] = {"at": 0.0, "rows": None}
@@ -1265,7 +1265,7 @@ def plan_opencode(
effort: str,
permission_mode: str,
resume: str | None,
- identity: jarvis_harness.Identity | None = None,
+ identity: dodaios_harness.Identity | None = None,
) -> CliPlan:
mode = normalize_permission("opencode-cli", permission_mode)
# The prompt is a positional of ``run`` (no stdin mode), behind ``--`` so
@@ -1316,7 +1316,7 @@ def plan_kimi(
effort: str,
permission_mode: str,
resume: str | None,
- identity: jarvis_harness.Identity | None = None,
+ identity: dodaios_harness.Identity | None = None,
) -> CliPlan:
mode = normalize_permission("kimi-cli", permission_mode)
prompt = _with_identity(prompt, identity, resume)
@@ -1347,7 +1347,7 @@ def plan_dsh(
effort: str,
permission_mode: str,
resume: str | None,
- identity: jarvis_harness.Identity | None = None,
+ identity: dodaios_harness.Identity | None = None,
) -> CliPlan:
"""DeepSeek Harness's headless profile: one task in, the final message out.
@@ -1370,7 +1370,7 @@ def plan_cursor(
effort: str,
permission_mode: str,
resume: str | None,
- identity: jarvis_harness.Identity | None = None,
+ identity: dodaios_harness.Identity | None = None,
) -> CliPlan:
"""Cursor CLI print mode: one prompt in, stream-json events out.
@@ -1416,7 +1416,7 @@ def _digest(text: str) -> str:
def _with_identity(
prompt: str,
- identity: jarvis_harness.Identity | None,
+ identity: dodaios_harness.Identity | None,
resume: str | None,
*,
compact: bool = False,
@@ -1434,13 +1434,13 @@ def _with_identity(
society = identity.session_id.startswith("society:")
if not resume:
if society:
- refresh = jarvis_harness.society_memory_refresh(identity.text, compact=compact)
+ refresh = dodaios_harness.society_memory_refresh(identity.text, compact=compact)
_REFRESH_SENT[identity.session_id] = (_digest(refresh), 0)
text = identity.compact if compact else identity.text
return f"<jarvis_identity>\n{text}\n</jarvis_identity>\n\n{prompt}"
if not society:
return prompt
- refresh = jarvis_harness.society_memory_refresh(identity.text, compact=compact)
+ refresh = dodaios_harness.society_memory_refresh(identity.text, compact=compact)
digest = _digest(refresh)
sent, turns = _REFRESH_SENT.get(identity.session_id, ("", 0))
if sent == digest and turns + 1 < _REFRESH_EVERY:
@@ -1448,7 +1448,7 @@ def _with_identity(
else:
head, turns = refresh, 0
_REFRESH_SENT[identity.session_id] = (digest, turns)
- state = jarvis_harness.society_turn_state(identity.text)
+ state = dodaios_harness.society_turn_state(identity.text)
if state:
head += f"<jarvis_turn_context>\n{state}\n</jarvis_turn_context>\n\n"
return head + prompt
@@ -3176,7 +3176,7 @@ async def run_cli_turn(
resume
and identity
and session.surface == "society"
- and jarvis_harness.society_rollover_due(handle.history)
+ and dodaios_harness.society_rollover_due(handle.history)
):
# One endless chat, bounded CLI conversations: start fresh from the
# briefing, memory and recent transcript, and mark where it began.
@@ -3185,7 +3185,7 @@ async def run_cli_turn(
make_event(
"notice",
{
- "kind": jarvis_harness.ROLLOVER_NOTICE_KIND,
+ "kind": dodaios_harness.ROLLOVER_NOTICE_KIND,
"text": "Started a fresh working context from memory and recent messages.",
},
)
@@ -3215,7 +3215,7 @@ async def run_cli_turn(
handle = replace(handle, emit=observe, request_approval=ask)
if getattr(handle, "output_language", "") and not user_text.startswith("/goal"):
user_text += "\nRespond in this language: " + handle.output_language
- ident: jarvis_harness.Identity | None = None
+ ident: dodaios_harness.Identity | None = None
ref = approval_ref(session.session_id)
# A society agent's seat: its own briefing is the identity (not Jarvis'
# layers), and its pinned subscription account is the seat's login.
@@ -3226,7 +3226,7 @@ async def run_cli_turn(
)
account_token = ACCOUNT_OVERRIDE.set(getattr(session, "account_id", "") or "")
if identity:
- ident = await jarvis_harness.build_identity(
+ ident = await dodaios_harness.build_identity(
session_id=session.session_id,
turn_id=handle.turn_id,
user_text=user_text,
@@ -3286,8 +3286,8 @@ async def run_cli_turn(
)
if ident is not None:
# Fresh conversation: the transcript belongs in front now.
- jarvis_harness.remove_identity_file(ident.path)
- ident = await jarvis_harness.build_identity(
+ dodaios_harness.remove_identity_file(ident.path)
+ ident = await dodaios_harness.build_identity(
session_id=session.session_id,
turn_id=handle.turn_id,
user_text=user_text,
@@ -3334,7 +3334,7 @@ async def run_cli_turn(
if bridge is not None and identity:
bridge.disarm(ref)
if ident is not None:
- jarvis_harness.remove_identity_file(ident.path)
+ dodaios_harness.remove_identity_file(ident.path)
await handle.emit(
make_event(
"turn_finished",
@@ -3477,7 +3477,7 @@ async def _run_cli_once(
runner: str,
resume: str | None,
*,
- identity: jarvis_harness.Identity | None = None,
+ identity: dodaios_harness.Identity | None = None,
bridge: Any | None = None,
) -> _Outcome:
session = handle.session
diff --git a/dodaios/agent_chat/surface_kits.py b/dodaios/agent_chat/surface_kits.py
index 307e8948e7..4ed9f6f03a 100644
--- a/dodaios/agent_chat/surface_kits.py
+++ b/dodaios/agent_chat/surface_kits.py
@@ -260,7 +260,7 @@ _KITS: Final[dict[str, SurfaceKit]] = {
surface="jarvis",
brain_runner=True,
# Subscription seats may answer here too: the CLI then runs inside the
- # Jarvis harness (``jarvis_harness``) with Jarvis' tools over MCP, so a
+ # Jarvis harness (``dodaios_harness``) with Jarvis' tools over MCP, so a
# plan bills the subscription instead of a key.
cli_seats=True,
ladder=_JARVIS_LADDER,
diff --git a/dodaios/agent_runtimes/hermes.py b/dodaios/agent_runtimes/hermes.py
index ea0855827e..0d287c0aa3 100644
--- a/dodaios/agent_runtimes/hermes.py
+++ b/dodaios/agent_runtimes/hermes.py
@@ -464,7 +464,7 @@ class HermesRuntime:
)
servers: list[McpServer] = []
if turn.mcp_url and turn.control_key:
- from dodaios.agent_chat.jarvis_harness import HEADER_NAME
+ from dodaios.agent_chat.dodaios_harness import HEADER_NAME
from dodaios.core.branding import MCP_TOOLS_SERVER_NAME
servers.append(
diff --git a/dodaios/agent_runtimes/openclaw.py b/dodaios/agent_runtimes/openclaw.py
index f5a247ab78..013a79ed68 100644
--- a/dodaios/agent_runtimes/openclaw.py
+++ b/dodaios/agent_runtimes/openclaw.py
@@ -534,7 +534,7 @@ class OpenClawRuntime:
if thinking in _THINKING_LEVELS:
config["agents"]["defaults"]["thinkingDefault"] = thinking
if turn.mcp_url and turn.control_key:
- from dodaios.agent_chat.jarvis_harness import HEADER_NAME
+ from dodaios.agent_chat.dodaios_harness import HEADER_NAME
from dodaios.core.branding import MCP_TOOLS_SERVER_NAME
config["mcp"] = {
diff --git a/dodaios/assets/__init__.py b/dodaios/assets/__init__.py
index 286efa7788..0855da15c1 100644
--- a/dodaios/assets/__init__.py
+++ b/dodaios/assets/__init__.py
@@ -12,13 +12,13 @@ Currently:
``onnxruntime``. Loaded via
:func:`bundled_silero_vad_model`.
- ``icons/``: the desktop/taskbar icon (the Gigi ghost mascot), in two formats:
- ``jarvis.ico`` for every Win32 icon surface (window class icon, AUMID icon,
- Start-Menu + autostart shortcut, taskbar name) and ``jarvis.png`` for the
+ ``dodaios.ico`` for every Win32 icon surface (window class icon, AUMID icon,
+ Start-Menu + autostart shortcut, taskbar name) and ``dodaios.png`` for the
Linux XDG ``.desktop`` ``Icon=`` key (most Linux desktops cannot render
``.ico``). Bundled so both can be found regardless of how the package was
installed. Loaded via :func:`bundled_app_icon` / :func:`bundled_app_icon_png`.
The ``.ico`` is byte-identical to the build-tool copy at
- ``<repo-root>/assets/icons/jarvis.ico`` (kept in sync by
+ ``<repo-root>/assets/icons/dodaios.ico`` (kept in sync by
``tests/unit/ui/test_icon_identity.py``).
Future bundles (e.g. packaged voice clips) live under this package.
@@ -37,8 +37,8 @@ _VAD_DIR = Path(__file__).resolve().parent / "vad"
_SILERO_VAD_FILE = "silero_vad.onnx"
_ICONS_DIR = Path(__file__).resolve().parent / "icons"
-_APP_ICON_FILE = "jarvis.ico"
-_APP_ICON_PNG_FILE = "jarvis.png"
+_APP_ICON_FILE = "dodaios.ico"
+_APP_ICON_PNG_FILE = "dodaios.png"
def bundled_wakeword_models() -> dict[str, Path] | None:
@@ -79,7 +79,7 @@ def bundled_silero_vad_model() -> Path | None:
def bundled_app_icon() -> Path | None:
- """Return the absolute path to the bundled ``jarvis.ico``, or ``None``.
+ """Return the absolute path to the bundled ``dodaios.ico``, or ``None``.
``None`` only when the file is missing (partial checkout). Shipping the icon
*inside* the package — rather than at ``<repo-root>/assets/icons/`` where the
@@ -99,7 +99,7 @@ def bundled_app_icon() -> Path | None:
def _instance_icon(default_name: str) -> Path | None:
"""The icon file for the running *instance* (``dodaios.core.instance``).
- The dev app carries a DEV-badged copy (``jarvis-dev.ico`` / ``.png``,
+ The dev app carries a DEV-badged copy (``dodaios-dev.ico`` / ``.png``,
rendered by ``scripts/make_app_icon.py``) so its taskbar, dock and tray
entries are told apart from the default app's at a glance. A missing badged
file falls back to the default icon rather than to no icon at all.
@@ -118,7 +118,7 @@ def _instance_icon(default_name: str) -> Path | None:
def bundled_app_icon_png() -> Path | None:
- """Return the absolute path to the bundled ``jarvis.png``, or ``None``.
+ """Return the absolute path to the bundled ``dodaios.png``, or ``None``.
The Linux counterpart to :func:`bundled_app_icon`. Linux desktops read the
autostart/menu entry's icon from the ``.desktop`` ``Icon=`` key, and most of
diff --git a/dodaios/assets/icons/jarvis-dev.ico b/dodaios/assets/icons/dodaios-dev.ico
similarity index 100%
rename from dodaios/assets/icons/jarvis-dev.ico
rename to dodaios/assets/icons/dodaios-dev.ico
diff --git a/dodaios/assets/icons/jarvis-dev.png b/dodaios/assets/icons/dodaios-dev.png
similarity index 100%
rename from dodaios/assets/icons/jarvis-dev.png
rename to dodaios/assets/icons/dodaios-dev.png
diff --git a/dodaios/assets/icons/jarvis.ico b/dodaios/assets/icons/dodaios.ico
similarity index 100%
rename from dodaios/assets/icons/jarvis.ico
rename to dodaios/assets/icons/dodaios.ico
diff --git a/dodaios/assets/icons/jarvis.png b/dodaios/assets/icons/dodaios.png
similarity index 100%
rename from dodaios/assets/icons/jarvis.png
rename to dodaios/assets/icons/dodaios.png
diff --git a/dodaios/autostart/linux.py b/dodaios/autostart/linux.py
index f4601e7c46..51bf271692 100644
--- a/dodaios/autostart/linux.py
+++ b/dodaios/autostart/linux.py
@@ -74,7 +74,7 @@ def _icon_value() -> str | None:
"""Absolute path to the bundled PNG for the ``Icon=`` key, or ``None``.
Linux desktops read the launcher/menu/taskbar icon from ``Icon=`` and mostly
- cannot decode a Windows ``.ico`` — so we ship and point at ``jarvis.png``.
+ cannot decode a Windows ``.ico`` — so we ship and point at ``dodaios.png``.
Resolved fresh from the installed package (so the baked absolute path is
correct on any layout); a partial checkout without the PNG simply omits the
key (the entry still works, just unbranded — never a crash).
diff --git a/dodaios/autostart/windows.py b/dodaios/autostart/windows.py
index ef037109ee..900d0ddc9e 100644
--- a/dodaios/autostart/windows.py
+++ b/dodaios/autostart/windows.py
@@ -91,7 +91,7 @@ _LEGACY_NAMES = (
)
# The branded launcher under every name it has had. A logon task written by an
# earlier release starts the earlier file, which the install still ships beside
-# the current one (``jarvis.spec``): the same program in the same folder.
+# the current one (``dodaios.spec``): the same program in the same folder.
_BRANDED_LAUNCHER_NAMES = frozenset(
name.lower()
for name in (WINDOWS_BRANDED_LAUNCHER_FILE_NAME, *LEGACY_WINDOWS_BRANDED_LAUNCHER_FILE_NAMES)
@@ -360,7 +360,7 @@ def build_create_script(link: Path, spec: LaunchSpec, *, icon: str | None = None
WindowStyle 7 = minimized (tray-friendly), 1 = normal/visible.
- ``icon`` is the absolute path to ``jarvis.ico``. When given, the shortcut
+ ``icon`` is the absolute path to ``dodaios.ico``. When given, the shortcut
carries ``IconLocation`` so the taskbar button is branded with the Jarvis
icon from the moment the app autostarts — instead of the bare ``pythonw.exe``
Python logo. Without it (the historical behaviour) an autostart launch on a
@@ -416,7 +416,7 @@ def build_read_script(link: Path) -> str:
def _resolve_app_icon() -> str | None:
- """Absolute ``jarvis.ico`` path for the shortcut, or ``None`` if unresolved.
+ """Absolute ``dodaios.ico`` path for the shortcut, or ``None`` if unresolved.
Lazy import (never at module scope, HN-7): keeps this Windows-only module
free of a UI import on other OSes and off the boot critical path. Returns the
@@ -499,7 +499,7 @@ def _win32com() -> tuple[object, object] | None:
Lazy (HN-7): this module is imported on every OS, pywin32 exists only on
Windows, and only in the ``desktop`` extra. The frozen installer build
- always bundles it (``jarvis.spec`` hidden imports).
+ always bundles it (``dodaios.spec`` hidden imports).
"""
try:
import pythoncom # type: ignore[import-not-found]
diff --git a/dodaios/board/__init__.py b/dodaios/board/__init__.py
index 638c18e584..83d3dce576 100644
--- a/dodaios/board/__init__.py
+++ b/dodaios/board/__init__.py
@@ -5,7 +5,7 @@ stream into daily stats and personal records. No network calls, no forwarding
of voice text or tool arguments — the aggregator operates exclusively on
safe aggregate fields.
-See ``docs/jarvis-board/RECON.md`` and ``docs/jarvis-board/ARCHITECTURE.md``
+See ``docs/dodaios-board/RECON.md`` and ``docs/dodaios-board/ARCHITECTURE.md``
for the design.
"""
from __future__ import annotations
diff --git a/dodaios/board/aggregator.py b/dodaios/board/aggregator.py
index b3a55e986a..f0c7c07c7f 100644
--- a/dodaios/board/aggregator.py
+++ b/dodaios/board/aggregator.py
@@ -1,7 +1,7 @@
"""BoardAggregator — FlightRecorder JSONL → ``personal.db`` aggregation.
-Phase A of the Jarvis Board plan (see ``docs/jarvis-board/RECON.md`` and
-``docs/jarvis-board/ARCHITECTURE.md``).
+Phase A of the Jarvis Board plan (see ``docs/dodaios-board/RECON.md`` and
+``docs/dodaios-board/ARCHITECTURE.md``).
## Responsibilities
diff --git a/dodaios/brain/JARVIS_PERSONA.md b/dodaios/brain/DODAIOS_PERSONA.md
similarity index 100%
rename from dodaios/brain/JARVIS_PERSONA.md
rename to dodaios/brain/DODAIOS_PERSONA.md
diff --git a/dodaios/brain/agent_instructions.py b/dodaios/brain/agent_instructions.py
index 33df1c09cd..ac7dd7145b 100644
--- a/dodaios/brain/agent_instructions.py
+++ b/dodaios/brain/agent_instructions.py
@@ -3,7 +3,7 @@
This is the user's own standing-instructions file: free-text Markdown where the
user writes personal preferences for *how the assistant should treat them* — tone,
language, formatting, default choices, standing facts. It is deliberately distinct
-from the packaged persona (``JARVIS_PERSONA.md`` / ``data/custom_system_prompt.md``,
+from the packaged persona (``DODAIOS_PERSONA.md`` / ``data/custom_system_prompt.md``,
handled by ``persona_loader``), which defines *who the assistant is and what it may
do*. Preferences refine behaviour; they never override safety rules, confirmation
gates, or capabilities.
diff --git a/dodaios/brain/assistant_name.py b/dodaios/brain/assistant_name.py
index 11f582ffdc..1c5cf973c2 100644
--- a/dodaios/brain/assistant_name.py
+++ b/dodaios/brain/assistant_name.py
@@ -20,7 +20,7 @@ from typing import Any
DEFAULT_ASSISTANT_NAME = "Assistant"
# NOTE: there is no longer a "PERSONA_BASELINE_NAME". The persona files
-# (SOUL.md / JARVIS_PERSONA.md) were made name-neutral on 2026-06-29, so the
+# (SOUL.md / DODAIOS_PERSONA.md) were made name-neutral on 2026-06-29, so the
# system prompt no longer bakes in "Jarvis" anywhere. ``_build_system_prompt``
# now emits the identity directive for every resolved name except the neutral
# ``DEFAULT_ASSISTANT_NAME`` fallback, and there is no "Jarvis" baseline to
diff --git a/dodaios/brain/manager.py b/dodaios/brain/manager.py
index b03ebfe393..ebf711b8b3 100644
--- a/dodaios/brain/manager.py
+++ b/dodaios/brain/manager.py
@@ -2601,7 +2601,7 @@ class BrainManager:
"""
tier_cfg = getattr(config.brain, tier, None)
if tier_cfg is None:
- # A fresh install ships NO [brain.router] block: jarvis.toml.example
+ # A fresh install ships NO [brain.router] block: dodaios.toml.example
# has a [brain] table but no [brain.router] sub-table, and neither
# the wizard, the installer, nor onboarding ever writes one. Raising
# here left ``app.state.brain = None``, which bricked BOTH the
@@ -3835,7 +3835,7 @@ class BrainManager:
Layer order (Jarvis-Agent priority map):
1. SOUL.md — Jarvis' own persona (who I am, tone rules)
- 2. JARVIS_PERSONA.md — voice persona incl. the hang-up contract
+ 2. DODAIOS_PERSONA.md — voice persona incl. the hang-up contract
3. USER.md — about the user (name, communication style, values, …)
4. people/ — list of known people in the user's environment
5. CoreMemory — legacy JSON facts (transitional, kept for back-compat)
@@ -3879,7 +3879,7 @@ class BrainManager:
)
)
- # Persona block from JARVIS_PERSONA.md incl. the hang-up contract.
+ # Persona block from DODAIOS_PERSONA.md incl. the hang-up contract.
# The "effective" loader returns the user's custom system prompt when one
# is set in Settings (data/custom_system_prompt.md), else the packaged
# default. Read fresh each turn, so an edit/reset applies on the next turn
diff --git a/dodaios/brain/persona_loader.py b/dodaios/brain/persona_loader.py
index a46138c8fd..ee5be08520 100644
--- a/dodaios/brain/persona_loader.py
+++ b/dodaios/brain/persona_loader.py
@@ -1,6 +1,6 @@
-"""Persona loader: extracts the system-prompt block from `JARVIS_PERSONA.md`.
+"""Persona loader: extracts the system-prompt block from `DODAIOS_PERSONA.md`.
-`JARVIS_PERSONA.md` is the authoritative handbook for the voice persona
+`DODAIOS_PERSONA.md` is the authoritative handbook for the voice persona
(speech patterns, OUTPUT RULES, INTERACTION PATTERNS). The actual system
prompt is the plain text inside the first code fence (```) after the line
`## System-Prompt`. Everything around it (docs, router notes, sources) is
@@ -30,13 +30,13 @@ from pathlib import Path
log = logging.getLogger(__name__)
-_PERSONA_MD_FILENAME = "JARVIS_PERSONA.md"
+_PERSONA_MD_FILENAME = "DODAIOS_PERSONA.md"
_SECTION_MARKER = "## System-Prompt"
_FENCE = "```"
def _persona_md_path() -> Path:
- """Path to the authoritative `JARVIS_PERSONA.md` in the `dodaios/brain/` package."""
+ """Path to the authoritative `DODAIOS_PERSONA.md` in the `dodaios/brain/` package."""
return Path(__file__).resolve().parent / _PERSONA_MD_FILENAME
@@ -71,20 +71,20 @@ def _read_persona_md() -> str:
try:
return path.read_text(encoding="utf-8")
except FileNotFoundError:
- log.warning("JARVIS_PERSONA.md missing at %s — persona layer empty.", path)
+ log.warning("DODAIOS_PERSONA.md missing at %s — persona layer empty.", path)
return ""
except OSError as exc:
- log.warning("JARVIS_PERSONA.md unreadable (%s) — persona layer empty.", exc)
+ log.warning("DODAIOS_PERSONA.md unreadable (%s) — persona layer empty.", exc)
return ""
@lru_cache(maxsize=1)
def load_persona_prompt() -> str:
- """System-prompt block from `JARVIS_PERSONA.md` — cached for the process."""
+ """System-prompt block from `DODAIOS_PERSONA.md` — cached for the process."""
block = _extract_fence_after_marker(_read_persona_md())
if not block:
log.warning(
- "JARVIS_PERSONA.md: section '%s' or code fence missing — persona layer empty.",
+ "DODAIOS_PERSONA.md: section '%s' or code fence missing — persona layer empty.",
_SECTION_MARKER,
)
return block
@@ -106,7 +106,7 @@ def invalidate_cache() -> None:
# The user can replace the packaged JARVIS persona with their own Markdown from
# the Settings UI and reset back to the shipped default with one click. The
# override is a sidecar file (``data/custom_system_prompt.md``); the packaged
-# ``JARVIS_PERSONA.md`` is never mutated, so "reset to default" is just a delete
+# ``DODAIOS_PERSONA.md`` is never mutated, so "reset to default" is just a delete
# and the default is always recoverable.
#
# Unlike the default block (cached for the process lifetime above), the override
@@ -154,7 +154,7 @@ def has_custom_prompt() -> bool:
def default_persona_prompt() -> str:
- """The packaged default persona block (from ``JARVIS_PERSONA.md``)."""
+ """The packaged default persona block (from ``DODAIOS_PERSONA.md``)."""
return load_persona_prompt()
diff --git a/dodaios/brain/router.py b/dodaios/brain/router.py
index 506b08b39f..9b02073242 100644
--- a/dodaios/brain/router.py
+++ b/dodaios/brain/router.py
@@ -59,7 +59,7 @@ log = logging.getLogger(__name__)
# Everything else is enforced or stated elsewhere (do NOT re-add it here):
#
# - Voice, tone, address, spoken-input continuity (sound-alike names) and the
-# prompt-injection rule → dodaios/brain/JARVIS_PERSONA.md.
+# prompt-injection rule → dodaios/brain/DODAIOS_PERSONA.md.
# - Honesty, research-versus-action routing (search_web vs cli_*), delegation
# and settings self-control → BrainManager._CORE_CONTRACT.
# - Which agents exist and what "agent" means → the lead card
diff --git a/dodaios/core/branding.py b/dodaios/core/branding.py
index 0086eae096..93d8c60d6a 100644
--- a/dodaios/core/branding.py
+++ b/dodaios/core/branding.py
@@ -173,7 +173,7 @@ LEGACY_WINDOWS_AUTOSTART_DESCRIPTIONS = (f"{PERSISTENT_PRODUCT_NAME} (Autostart)
WINDOWS_SHORTCUT_FILE_NAME = "Dodaios.lnk"
LEGACY_WINDOWS_SHORTCUT_FILE_NAMES = (f"{PERSISTENT_PRODUCT_NAME}.lnk",)
# The windowed executable: the branded pythonw copy of a source install and the
-# GUI executable of the frozen build (``jarvis.spec``). Not ``Dodaios.exe``: it
+# GUI executable of the frozen build (``dodaios.spec``). Not ``Dodaios.exe``: it
# shares a folder with the ``dodaios`` command, and Windows paths ignore case.
# Earlier names are still found, and the frozen build still ships one, because
# taskbar pins, scheduled tasks and shortcuts name that file.
@@ -200,15 +200,15 @@ LEGACY_MACOS_APP_DIR_NAMES = tuple(f"{name}.app" for name in LEGACY_MACOS_APP_NA
# Every name a bundle of ours may carry in an Applications folder, current first.
MACOS_APP_DIR_NAMES = (MACOS_APP_DIR_NAME, *LEGACY_MACOS_APP_DIR_NAMES)
# ``Contents/MacOS/<name>``: the same program as the Windows GUI executable
-# (``jarvis.spec`` builds both under one name). A bundle's designated
+# (``dodaios.spec`` builds both under one name). A bundle's designated
# requirement names its bundle id and certificate, not this file, so the
# rename keeps every privacy grant.
MACOS_EXECUTABLE_NAME = "DodaiosApp"
LEGACY_MACOS_EXECUTABLE_NAMES = (PERSISTENT_COMPACT_NAME,)
MACOS_BUNDLE_ID = f"com.{PERSISTENT_SLUG}.desktop"
-# The downloadable .dmg (PyInstaller, ``jarvis.spec``) is a second, equally
+# The downloadable .dmg (PyInstaller, ``dodaios.spec``) is a second, equally
# legitimate installed app: its own bundle id and therefore its own macOS
-# privacy grants. ``jarvis.spec`` cannot import this module, so a parity test
+# privacy grants. ``dodaios.spec`` cannot import this module, so a parity test
# (``tests/unit/setup/test_macos_dmg_identity.py``) pins its literal to this.
MACOS_DMG_BUNDLE_ID = f"ai.{PERSISTENT_COMPACT_NAME.lower()}.desktop"
MACOS_AUTOSTART_LABEL = f"com.{PERSISTENT_SLUG}.autostart"
diff --git a/dodaios/core/frozen.py b/dodaios/core/frozen.py
index 75d3690c9b..079cefbf82 100644
--- a/dodaios/core/frozen.py
+++ b/dodaios/core/frozen.py
@@ -47,7 +47,7 @@ def resources_root() -> Path | None:
"""Root of the bundled data files (``sys._MEIPASS``); ``None`` when not frozen.
In the ``onedir`` layout this is ``<bundle_root>/_internal``; the
- package-relative ``datas`` from ``jarvis.spec`` resolve beneath it.
+ package-relative ``datas`` from ``dodaios.spec`` resolve beneath it.
"""
if not is_frozen():
return None
diff --git a/dodaios/core/installer_update.py b/dodaios/core/installer_update.py
index 8228647adc..12b94e2d47 100644
--- a/dodaios/core/installer_update.py
+++ b/dodaios/core/installer_update.py
@@ -766,10 +766,10 @@ def apply_installer(
# The Inno Setup parameter that tells the installer to start the app again
# once the files are in place (see the RelaunchRequested check in
-# packaging/windows/PersonalJarvis.iss).
+# packaging/windows/Dodaios.iss).
WINDOWS_RELAUNCH_PARAM = "/RELAUNCH=1"
# The Inno Setup parameter naming the process the installer must outlive (see
-# InitializeSetup in packaging/windows/PersonalJarvis.iss).
+# InitializeSetup in packaging/windows/Dodaios.iss).
WINDOWS_WAIT_PID_PARAM = "/WAITPID"
# Where the silent installer writes its log. A silent upgrade that fails shows
# nothing at all, so this file is the only trace of what went wrong.
diff --git a/dodaios/core/instance.py b/dodaios/core/instance.py
index bee948b59f..81451c8427 100644
--- a/dodaios/core/instance.py
+++ b/dodaios/core/instance.py
@@ -70,8 +70,8 @@ DEV_INSTANCE_NAME = "dev"
#: The dev instance listens this many ports above every configured port.
DEV_PORT_OFFSET = 100
#: Icon file (in ``assets/icons``) each instance shows on taskbar, dock and tray.
-DEFAULT_ICON_FILE_NAME = "jarvis.ico"
-DEV_ICON_FILE_NAME = "jarvis-dev.ico"
+DEFAULT_ICON_FILE_NAME = "dodaios.ico"
+DEV_ICON_FILE_NAME = "dodaios-dev.ico"
#: Short label appended to the product name ("Dodaios Dev").
DEV_LABEL = "Dev"
diff --git a/dodaios/core/macos_privacy_strings.py b/dodaios/core/macos_privacy_strings.py
index bcead8cd03..ed3a4987c8 100644
--- a/dodaios/core/macos_privacy_strings.py
+++ b/dodaios/core/macos_privacy_strings.py
@@ -6,7 +6,7 @@ Two callers cannot import the package normally and therefore load THIS FILE BY
PATH (``importlib.util.spec_from_file_location``), so neither carries a private
copy of the strings:
-* ``jarvis.spec`` - PyInstaller evaluates the spec from the checkout before the
+* ``dodaios.spec`` - PyInstaller evaluates the spec from the checkout before the
package is importable, and the strings end up in the downloadable ``.dmg``
app's ``Info.plist``.
* ``dodaios.setup.macos_app_bundle._bundle_plist`` - the managed source-install
@@ -115,7 +115,7 @@ def usage_descriptions() -> dict[str, str]:
# overrides the base ``Info.plist`` value, and ``CFBundleLocalizations`` lists the
# languages the bundle carries. English stays the base text in ``Info.plist``
# itself (and the development region), so a language without a table falls back to
-# it. The two bundles share this one table: ``jarvis.spec`` lists the languages in
+# it. The two bundles share this one table: ``dodaios.spec`` lists the languages in
# its plist and ``packaging/macos/add_localizations.py`` writes the files into the
# built ``.dmg`` app before it is signed; the managed bundle does both itself.
# The wording follows the English table and the in-app German/Spanish/Portuguese
diff --git a/dodaios/mcp/agents/__init__.py b/dodaios/mcp/agents/__init__.py
index a8b26ce697..f707507c36 100644
--- a/dodaios/mcp/agents/__init__.py
+++ b/dodaios/mcp/agents/__init__.py
@@ -1,6 +1,6 @@
"""The Agent MCP surface: Jarvis' agent ecosystem, offered outwards over MCP.
-``dodaios.mcp.jarvis_tools_server`` offers Jarvis' *hands* — the supervisor tool
+``dodaios.mcp.dodaios_tools_server`` offers Jarvis' *hands* — the supervisor tool
catalog a spawned session reaches back through. This package offers the
*ecosystem*: the society roster, the board every agent speaks on, rooms,
assignments, approvals and the connected capability catalog.
diff --git a/dodaios/mcp/jarvis_tools_server.py b/dodaios/mcp/dodaios_tools_server.py
similarity index 100%
rename from dodaios/mcp/jarvis_tools_server.py
rename to dodaios/mcp/dodaios_tools_server.py
diff --git a/dodaios/memory/learning/__init__.py b/dodaios/memory/learning/__init__.py
index c389f695e2..e21ddb4d22 100644
--- a/dodaios/memory/learning/__init__.py
+++ b/dodaios/memory/learning/__init__.py
@@ -1,4 +1,4 @@
-"""Jarvis' own self-learning loop (``docs/jarvis-learning.md``).
+"""Jarvis' own self-learning loop (``docs/dodaios-learning.md``).
* ``notebook`` USER.md and MEMORY.md of the lead identity, plus the cached
prompt snapshot every Jarvis prompt builder appends
diff --git a/dodaios/missions/kontrollierer/orchestrator.py b/dodaios/missions/kontrollierer/orchestrator.py
index aee455d186..faad029c57 100644
--- a/dodaios/missions/kontrollierer/orchestrator.py
+++ b/dodaios/missions/kontrollierer/orchestrator.py
@@ -2605,7 +2605,7 @@ class Kontrollierer:
# secret-panel code was killed AFTER delivering a clean diff
# (live mission 019eadaf-272d, 2026-06-09 — 20 min of work
# discarded via WorkerKilled(injection_detected) on rm -rf / from
- # jarvis.toml.example). Authored channels (assistant prose,
+ # dodaios.toml.example). Authored channels (assistant prose,
# commands, tool_use inputs) stay fully scanned.
detections = injection_scan(diff_text, where="diff")
detections += injection_scan(
diff --git a/dodaios/missions/safety/injection_scanner.py b/dodaios/missions/safety/injection_scanner.py
index 48d431cfec..058704f6ec 100644
--- a/dodaios/missions/safety/injection_scanner.py
+++ b/dodaios/missions/safety/injection_scanner.py
@@ -218,7 +218,7 @@ def extract_worker_authored_text(stream_text: str) -> str:
Live mission 019eadaf-272d (2026-06-09) proved the failure mode:
after 20 minutes of work and a clean 30 KB diff, the worker was
killed via WorkerKilled(injection_detected) because the raw
- stream.jsonl contained `rm -rf /` (from jarvis.toml.example's own
+ stream.jsonl contained `rm -rf /` (from dodaios.toml.example's own
safety blacklist, read via Get-Content), `OPENAI_API_KEY=...` (a
wizard docstring) and `fetch('/api/secret...')` (frontend code) —
all of them rg/Get-Content OUTPUT, none of them worker-authored.
diff --git a/dodaios/missions/voice/__init__.py b/dodaios/missions/voice/__init__.py
index 850c43a0e1..5d480d0c28 100644
--- a/dodaios/missions/voice/__init__.py
+++ b/dodaios/missions/voice/__init__.py
@@ -4,7 +4,7 @@ Re-exports of the public API.
Foundation: ADR-0009 §"Open" — voice readback on MissionApproved/Failed
uses the PhrasePicker pattern (anti-repeat window). Tone from
-`dodaios/brain/JARVIS_PERSONA.md`: butler register, never "Sir". The
+`dodaios/brain/DODAIOS_PERSONA.md`: butler register, never "Sir". The
mission-status templates are name-neutral (they carry no hardcoded owner
name) so a fresh clone never speaks the maintainer's name.
"""
diff --git a/dodaios/missions/voice/readback.py b/dodaios/missions/voice/readback.py
index 889908ce88..3366a301e4 100644
--- a/dodaios/missions/voice/readback.py
+++ b/dodaios/missions/voice/readback.py
@@ -1,6 +1,6 @@
"""DE/EN voice templates for mission status.
-Tone anchor: `dodaios/brain/JARVIS_PERSONA.md` — butler register, no hardcoded
+Tone anchor: `dodaios/brain/DODAIOS_PERSONA.md` — butler register, no hardcoded
owner name. The spoken persona addresses the user by the name in their profile;
these mission-status templates stay name-neutral so a fresh clone never speaks
the maintainer's name. Hard cap of 280 characters per voice output (TTS latency
diff --git a/dodaios/plugins/tool/app_action.py b/dodaios/plugins/tool/app_action.py
index 26c14bef33..853acfbd87 100644
--- a/dodaios/plugins/tool/app_action.py
+++ b/dodaios/plugins/tool/app_action.py
@@ -255,7 +255,7 @@ class RunAppActionTool:
) -> tuple[int | None, Any]:
import httpx
- from dodaios.agent_chat.jarvis_harness import HEADER_NAME
+ from dodaios.agent_chat.dodaios_harness import HEADER_NAME
from dodaios.society.inherit import caller_session_id
from dodaios.tasks.context import CLIENT_TIMEZONE_HEADER, turn_timezone
diff --git a/dodaios/plugins/tool/app_command.py b/dodaios/plugins/tool/app_command.py
index f8330d8b87..08afe37af7 100644
--- a/dodaios/plugins/tool/app_command.py
+++ b/dodaios/plugins/tool/app_command.py
@@ -375,7 +375,7 @@ class RegistryCommandTool:
headers[CLIENT_TIMEZONE_HEADER] = zone
session_id = caller_session_id()
if session_id:
- from dodaios.agent_chat.jarvis_harness import HEADER_NAME
+ from dodaios.agent_chat.dodaios_harness import HEADER_NAME
headers[HEADER_NAME] = session_id
try:
diff --git a/dodaios/setup/macos_app_bundle.py b/dodaios/setup/macos_app_bundle.py
index ad7137b3f4..58a2c68099 100644
--- a/dodaios/setup/macos_app_bundle.py
+++ b/dodaios/setup/macos_app_bundle.py
@@ -117,7 +117,7 @@ _PRIVACY_STRINGS_PATH = Path(__file__).resolve().parents[1] / "core" / "macos_pr
def _privacy_strings() -> ModuleType:
- """Load the shared usage-string table BY PATH, exactly as ``jarvis.spec`` does.
+ """Load the shared usage-string table BY PATH, exactly as ``dodaios.spec`` does.
The managed app is built from a source checkout, so the file is on disk. The
path load (rather than an ordinary import) is what lets the parity test
@@ -698,17 +698,17 @@ def unregister_from_launch_services(bundle: Path) -> bool:
def _try_build_icns(resources_dir: Path) -> str | None:
- """Best-effort ``jarvis.icns`` creation; never block bundle creation."""
+ """Best-effort ``dodaios.icns`` creation; never block bundle creation."""
if sys.platform != "darwin":
return None
try:
from PIL import Image # noqa: PLC0415 - optional at this boundary
- source = Path(__file__).resolve().parents[1] / "assets" / "icons" / "jarvis.png"
+ source = Path(__file__).resolve().parents[1] / "assets" / "icons" / "dodaios.png"
if not source.is_file():
return None
with tempfile.TemporaryDirectory() as raw_tmp:
- iconset = Path(raw_tmp) / "jarvis.iconset"
+ iconset = Path(raw_tmp) / "dodaios.iconset"
iconset.mkdir()
image = Image.open(source).convert("RGBA")
# Apple's iconset grammar allows exactly 16/32/128/256/512 (+@2x);
@@ -718,7 +718,7 @@ def _try_build_icns(resources_dir: Path) -> str | None:
for size in (16, 32, 128, 256, 512):
image.resize((size, size)).save(iconset / f"icon_{size}x{size}.png")
image.resize((size * 2, size * 2)).save(iconset / f"icon_{size}x{size}@2x.png")
- output = resources_dir / "jarvis.icns"
+ output = resources_dir / "dodaios.icns"
result = subprocess.run(
["iconutil", "-c", "icns", str(iconset), "-o", str(output)],
capture_output=True,
@@ -728,7 +728,7 @@ def _try_build_icns(resources_dir: Path) -> str | None:
creationflags=NO_WINDOW_CREATIONFLAGS,
)
if result.returncode == 0 and output.is_file():
- return "jarvis"
+ return "dodaios"
except Exception as exc: # noqa: BLE001 - the icon is optional
log.debug("icns build skipped: %s", exc)
return None
@@ -747,7 +747,7 @@ def _bundle_plist() -> dict[str, object]:
"LSMinimumSystemVersion": "11.0",
"NSHighResolutionCapable": True,
# Every NS...UsageDescription string comes from the one table shared
- # with jarvis.spec (the .dmg app), never from a copy kept here. The
+ # with dodaios.spec (the .dmg app), never from a copy kept here. The
# German and Spanish text is declared here and written as
# <lang>.lproj/InfoPlist.strings by _write_localizations.
**_privacy_strings().usage_descriptions(),
diff --git a/dodaios/skills/builtin/skill-creator/SKILL.md b/dodaios/skills/builtin/skill-creator/SKILL.md
index eb8912e894..93d9013167 100644
--- a/dodaios/skills/builtin/skill-creator/SKILL.md
+++ b/dodaios/skills/builtin/skill-creator/SKILL.md
@@ -90,4 +90,4 @@ until they switch it on. Never read the generated instructions aloud.
Anthropic's full Skill Creator guide (intent → draft → test → iterate) is kept
in `references/anthropic-skill-creator.md`; the Jarvis frontmatter contract is
-in `references/jarvis-schema.md`.
+in `references/dodaios-schema.md`.
diff --git a/dodaios/skills/builtin/skill-creator/references/anthropic-skill-creator.md b/dodaios/skills/builtin/skill-creator/references/anthropic-skill-creator.md
index a612321acb..c5d86a6974 100644
--- a/dodaios/skills/builtin/skill-creator/references/anthropic-skill-creator.md
+++ b/dodaios/skills/builtin/skill-creator/references/anthropic-skill-creator.md
@@ -13,7 +13,7 @@ that …" is answered by ONE `create-skill` tool call, not by an interview. Diff
runtime:
1. **Frontmatter schema:** Jarvis requires more than Anthropic's minimal
- `name` + `description` — see `references/jarvis-schema.md` for the full
+ `name` + `description` — see `references/dodaios-schema.md` for the full
`SkillFrontmatter` with triggers, risk tiers and tool requirements.
2. **Skill location:** finished skills land in the user skills directory
(`user_skills_dir()`), not in a coding-agent project folder.
diff --git a/dodaios/skills/builtin/skill-creator/references/jarvis-schema.md b/dodaios/skills/builtin/skill-creator/references/dodaios-schema.md
similarity index 100%
rename from dodaios/skills/builtin/skill-creator/references/jarvis-schema.md
rename to dodaios/skills/builtin/skill-creator/references/dodaios-schema.md
diff --git a/dodaios/society/browser/live.py b/dodaios/society/browser/live.py
index 642a845d85..48ccbdffd8 100644
--- a/dodaios/society/browser/live.py
+++ b/dodaios/society/browser/live.py
@@ -677,7 +677,7 @@ class LiveSessions:
"executable": str(install.browser_executable(self.data_dir)),
"creationflags": NO_WINDOW_CREATIONFLAGS,
"icon_path": str(
- Path(__file__).parents[2] / "assets" / "icons" / "jarvis.ico"
+ Path(__file__).parents[2] / "assets" / "icons" / "dodaios.ico"
),
"allowed_domains": list(binding.domains),
"cdp_url": self.cdp_url if binding.kind == "attach" else "",
diff --git a/dodaios/society/inherit.py b/dodaios/society/inherit.py
index 5348489435..efc5647c5e 100644
--- a/dodaios/society/inherit.py
+++ b/dodaios/society/inherit.py
@@ -49,7 +49,7 @@ def caller_session_id() -> str | None:
know which agent is creating a teammate.
"""
try:
- from dodaios.mcp.jarvis_tools_server import CHAT_SESSION_REF
+ from dodaios.mcp.dodaios_tools_server import CHAT_SESSION_REF
stamped = CHAT_SESSION_REF.get()
if stamped:
diff --git a/dodaios/ui/icon_utils.py b/dodaios/ui/icon_utils.py
index 3800c3faf1..9c8f94a494 100644
--- a/dodaios/ui/icon_utils.py
+++ b/dodaios/ui/icon_utils.py
@@ -1333,7 +1333,7 @@ def apply_tk_window_icon(root: Any) -> None:
Two OS-specific paths, because the toolkits read different surfaces:
**Windows** — the taskbar renders the window *class* icon, and the
- highest-fidelity source is the multi-resolution ``jarvis.ico``:
+ highest-fidelity source is the multi-resolution ``dodaios.ico``:
1. ``ensure_windows_app_identity`` — group this process under the Jarvis
taskbar button (idempotent across processes).
@@ -1787,21 +1787,21 @@ def load_ico_as_pil_image(ico_path: Path, size: int = 64) -> Any | None:
def project_icon_path() -> Path:
- """Resolve the desktop/taskbar icon (``jarvis.ico``), install-layout agnostic.
+ """Resolve the desktop/taskbar icon (``dodaios.ico``), install-layout agnostic.
Every Win32 icon surface (window class icon, AUMID icon, Start-Menu shortcut,
taskbar name, tray) resolves the icon through this one function — so if it
returns a non-existent path, ALL of them silently fall back to the
``pythonw.exe`` Python logo. That is exactly the "taskbar shows Python on a
fresh machine" symptom: the icon historically lived only at
- ``<repo-root>/assets/icons/jarvis.ico`` (``parents[2]``), which resolves only
+ ``<repo-root>/assets/icons/dodaios.ico`` (``parents[2]``), which resolves only
for a run *from the project folder*; a real ``pip install`` relocates the
package to ``site-packages`` where that repo-root ``assets/`` is absent.
Resolution order (first existing wins):
- 1. the **bundled** in-package copy ``dodaios/assets/icons/jarvis.ico`` — ships
+ 1. the **bundled** in-package copy ``dodaios/assets/icons/dodaios.ico`` — ships
with the code via ``package-data``, so it is present on every install;
- 2. the legacy ``<repo-root>/assets/icons/jarvis.ico`` — the dev/editable and
+ 2. the legacy ``<repo-root>/assets/icons/dodaios.ico`` — the dev/editable and
build-tool copy (PyInstaller spec, ``install_shortcuts.py``).
Falls back to the bundled path (even if missing) so callers get a stable,
@@ -1818,7 +1818,7 @@ def project_icon_path() -> Path:
icon_name = _INSTANCE.icon_file_name
repo_icons = Path(__file__).resolve().parents[2] / "assets" / "icons"
- for candidate in (repo_icons / icon_name, repo_icons / "jarvis.ico"):
+ for candidate in (repo_icons / icon_name, repo_icons / "dodaios.ico"):
if candidate.is_file():
return candidate
diff --git a/dodaios/ui/tray.py b/dodaios/ui/tray.py
index 625ca04381..f935627fc9 100644
--- a/dodaios/ui/tray.py
+++ b/dodaios/ui/tray.py
@@ -55,7 +55,7 @@ _STATE_COLORS: dict[JarvisState, tuple[int, int, int]] = {
def _make_icon(state: JarvisState, size: int = 64) -> Any:
"""Returns a PIL image for the tray.
- IDLE uses ``assets/icons/jarvis.ico`` (user branding); active states
+ IDLE uses ``assets/icons/dodaios.ico`` (user branding); active states
get a colored circle — so the state feedback is preserved while the
user still sees the real Jarvis logo by default.
"""
diff --git a/dodaios/ui/web/dist/jarvis-gigi-256.png b/dodaios/ui/web/dist/dodaios-gigi-256.png
similarity index 100%
rename from dodaios/ui/web/dist/jarvis-gigi-256.png
rename to dodaios/ui/web/dist/dodaios-gigi-256.png
diff --git a/dodaios/ui/web/dist/jarvis-gigi.ico b/dodaios/ui/web/dist/dodaios-gigi.ico
similarity index 100%
rename from dodaios/ui/web/dist/jarvis-gigi.ico
rename to dodaios/ui/web/dist/dodaios-gigi.ico
diff --git a/dodaios/ui/web/dist/jarvis-logo.png b/dodaios/ui/web/dist/dodaios-logo.png
similarity index 100%
rename from dodaios/ui/web/dist/jarvis-logo.png
rename to dodaios/ui/web/dist/dodaios-logo.png
diff --git a/dodaios/ui/web/dist/jarvis-mark-256.png b/dodaios/ui/web/dist/dodaios-mark-256.png
similarity index 100%
rename from dodaios/ui/web/dist/jarvis-mark-256.png
rename to dodaios/ui/web/dist/dodaios-mark-256.png
diff --git a/dodaios/ui/web/dist/jarvis.ico b/dodaios/ui/web/dist/dodaios.ico
similarity index 100%
rename from dodaios/ui/web/dist/jarvis.ico
rename to dodaios/ui/web/dist/dodaios.ico
diff --git a/dodaios/ui/web/jarvisx_routes.py b/dodaios/ui/web/dodaiosx_routes.py
similarity index 100%
rename from dodaios/ui/web/jarvisx_routes.py
rename to dodaios/ui/web/dodaiosx_routes.py
diff --git a/dodaios/ui/web/frontend/index.html b/dodaios/ui/web/frontend/index.html
index d66c870da4..24ac62955a 100644
--- a/dodaios/ui/web/frontend/index.html
+++ b/dodaios/ui/web/frontend/index.html
@@ -7,9 +7,9 @@
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
- <link rel="icon" href="/jarvis.ico" sizes="any" />
- <link rel="icon" type="image/png" sizes="256x256" href="/jarvis-gigi-256.png?v=hood" />
- <link rel="icon" type="image/x-icon" href="/jarvis-gigi.ico" />
+ <link rel="icon" href="/dodaios.ico" sizes="any" />
+ <link rel="icon" type="image/png" sizes="256x256" href="/dodaios-gigi-256.png?v=hood" />
+ <link rel="icon" type="image/x-icon" href="/dodaios-gigi.ico" />
<!-- Neutral, trademark-free fallback title. The inline boot script below
overwrites it with the user's own assistant name (from the localStorage
cache) the instant the window opens, so a trademarked placeholder is
@@ -229,7 +229,7 @@
<div id="jarvis-boot-splash">
<div class="jbs-group">
<div class="jbs-mark" aria-hidden="true">
- <img src="/jarvis-gigi-256.png?v=hood" alt="" width="256" height="256" />
+ <img src="/dodaios-gigi-256.png?v=hood" alt="" width="256" height="256" />
</div>
<!-- Painted synchronously by the inline script below from the cached
assistant name (the user's chosen wake word, e.g. "Nico"). Left
@@ -446,7 +446,7 @@
var mark = document.createElement("div");
mark.className = "jbs-mark";
mark.setAttribute("aria-hidden", "true");
- mark.innerHTML = '<img src="/jarvis-gigi-256.png?v=hood" alt="" width="256" height="256">';
+ mark.innerHTML = '<img src="/dodaios-gigi-256.png?v=hood" alt="" width="256" height="256">';
var progress = document.createElement("div");
progress.className = "jbs-progress";
progress.setAttribute("aria-hidden", "true");
diff --git a/dodaios/ui/web/frontend/public/jarvis-gigi-256.png b/dodaios/ui/web/frontend/public/dodaios-gigi-256.png
similarity index 100%
rename from dodaios/ui/web/frontend/public/jarvis-gigi-256.png
rename to dodaios/ui/web/frontend/public/dodaios-gigi-256.png
diff --git a/dodaios/ui/web/frontend/public/jarvis-gigi.ico b/dodaios/ui/web/frontend/public/dodaios-gigi.ico
similarity index 100%
rename from dodaios/ui/web/frontend/public/jarvis-gigi.ico
rename to dodaios/ui/web/frontend/public/dodaios-gigi.ico
diff --git a/dodaios/ui/web/frontend/public/jarvis-logo.png b/dodaios/ui/web/frontend/public/dodaios-logo.png
similarity index 100%
rename from dodaios/ui/web/frontend/public/jarvis-logo.png
rename to dodaios/ui/web/frontend/public/dodaios-logo.png
diff --git a/dodaios/ui/web/frontend/public/jarvis-mark-256.png b/dodaios/ui/web/frontend/public/dodaios-mark-256.png
similarity index 100%
rename from dodaios/ui/web/frontend/public/jarvis-mark-256.png
rename to dodaios/ui/web/frontend/public/dodaios-mark-256.png
diff --git a/dodaios/ui/web/frontend/public/jarvis.ico b/dodaios/ui/web/frontend/public/dodaios.ico
similarity index 100%
rename from dodaios/ui/web/frontend/public/jarvis.ico
rename to dodaios/ui/web/frontend/public/dodaios.ico
diff --git a/dodaios/ui/web/frontend/src/App.detached.test.tsx b/dodaios/ui/web/frontend/src/App.detached.test.tsx
index 25edb0ff48..3f45bf7b28 100644
--- a/dodaios/ui/web/frontend/src/App.detached.test.tsx
+++ b/dodaios/ui/web/frontend/src/App.detached.test.tsx
@@ -58,7 +58,7 @@ vi.mock("@/components/voice/BrowserRealtimeControl", () => ({
}));
vi.mock("@/components/ToastLayer", () => ({ ToastLayer: () => null }));
vi.mock("@/components/EditContextMenu", () => ({ EditContextMenu: () => null }));
-vi.mock("@/components/JarvisDock", () => ({ JarvisDock: () => null }));
+vi.mock("@/components/DodaiosDock", () => ({ DodaiosDock: () => null }));
vi.mock("@/components/CliConnectPoller", () => ({ CliConnectPoller: () => null }));
vi.mock("@/components/onboarding/OnboardingGate", () => ({
OnboardingGate: () => null,
diff --git a/dodaios/ui/web/frontend/src/App.tsx b/dodaios/ui/web/frontend/src/App.tsx
index 43576e3fb4..c46aa7c747 100644
--- a/dodaios/ui/web/frontend/src/App.tsx
+++ b/dodaios/ui/web/frontend/src/App.tsx
@@ -56,7 +56,7 @@ import { useAppZoom } from "@/hooks/useAppZoom";
import { ZoomIndicator } from "@/components/ZoomIndicator";
import { useQuickSwitcher } from "@/store/quickSwitcher";
import { useCreateAgentDialog } from "@/components/society/create/createAgentStore";
-import { JarvisDock } from "@/components/JarvisDock";
+import { DodaiosDock } from "@/components/DodaiosDock";
import { CliConnectPoller } from "@/components/CliConnectPoller";
import { OnboardingGate } from "@/components/onboarding/OnboardingGate";
import { installDictationFocusTracker } from "@/lib/dictationTarget";
@@ -419,7 +419,7 @@ export default function App() {
<EditContextMenu />
{/* Always-present "Jarvis presence" drop dock — drag a mission/output
card here to pull it into the live conversation context. */}
- <JarvisDock />
+ <DodaiosDock />
{/* Background polling for CLI OAuth logins — polls /check every 3s
as long as a cliConnectCoach is set in the store. */}
<CliConnectPoller />
diff --git a/dodaios/ui/web/frontend/src/__tests__/JarvisAgentPanel.altBrand.test.tsx b/dodaios/ui/web/frontend/src/__tests__/DodaiosAgentPanel.altBrand.test.tsx
similarity index 92%
rename from dodaios/ui/web/frontend/src/__tests__/JarvisAgentPanel.altBrand.test.tsx
rename to dodaios/ui/web/frontend/src/__tests__/DodaiosAgentPanel.altBrand.test.tsx
index a6d801713d..cc0832a104 100644
--- a/dodaios/ui/web/frontend/src/__tests__/JarvisAgentPanel.altBrand.test.tsx
+++ b/dodaios/ui/web/frontend/src/__tests__/DodaiosAgentPanel.altBrand.test.tsx
@@ -1,5 +1,5 @@
/**
- * Vitest+RTL tests for JarvisAgentPanel (Phase 9 Wave 4 UI).
+ * Vitest+RTL tests for DodaiosAgentPanel (Phase 9 Wave 4 UI).
*
* Covers:
* - Empty-state when no mission is selected
@@ -10,7 +10,7 @@
import { afterEach, beforeEach, describe, expect, it } from "vitest";
import { cleanup, render, screen } from "@testing-library/react";
-import { JarvisAgentPanel } from "@/components/missions/JarvisAgentPanel";
+import { DodaiosAgentPanel } from "@/components/missions/DodaiosAgentPanel";
import { useMissionsStore } from "@/components/missions/store";
import { useEventStore } from "@/store/events";
import type { JarvisAgentWorkerSnapshot } from "@/types/missions";
@@ -46,9 +46,9 @@ function makeWorker(overrides: Partial<JarvisAgentWorkerSnapshot> = {}): JarvisA
};
}
-describe("JarvisAgentPanel", () => {
+describe("DodaiosAgentPanel", () => {
it("shows the empty state when no mission is selected", () => {
- render(<JarvisAgentPanel />);
+ render(<DodaiosAgentPanel />);
expect(
screen.getByText("Select a mission to see Harald-Agent workers."),
).toBeDefined();
@@ -59,7 +59,7 @@ describe("JarvisAgentPanel", () => {
selectedMissionId: "mid-1",
workerSnapshotsByMission: { "mid-1": [] },
});
- render(<JarvisAgentPanel />);
+ render(<DodaiosAgentPanel />);
expect(
screen.getByText("No Harald-Agent workers in this mission."),
).toBeDefined();
@@ -70,7 +70,7 @@ describe("JarvisAgentPanel", () => {
selectedMissionId: "mid-1",
workerSnapshotsByMission: { "mid-1": [makeWorker()] },
});
- render(<JarvisAgentPanel />);
+ render(<DodaiosAgentPanel />);
// Model
const model = screen.getByTestId("jarvis-agent-model");
@@ -110,7 +110,7 @@ describe("JarvisAgentPanel", () => {
],
},
});
- render(<JarvisAgentPanel />);
+ render(<DodaiosAgentPanel />);
const badge = screen.getByTestId("jarvis-agent-reattach-badge");
expect(badge.getAttribute("data-reattach-status")).toBe("killed");
@@ -135,7 +135,7 @@ describe("JarvisAgentPanel", () => {
],
},
});
- render(<JarvisAgentPanel />);
+ render(<DodaiosAgentPanel />);
const rows = screen.getAllByTestId("jarvis-agent-worker-row");
expect(rows).toHaveLength(2);
diff --git a/dodaios/ui/web/frontend/src/__tests__/JarvisAgentPanel.test.tsx b/dodaios/ui/web/frontend/src/__tests__/DodaiosAgentPanel.test.tsx
similarity index 92%
rename from dodaios/ui/web/frontend/src/__tests__/JarvisAgentPanel.test.tsx
rename to dodaios/ui/web/frontend/src/__tests__/DodaiosAgentPanel.test.tsx
index 2eecd31b14..aeb0fb1207 100644
--- a/dodaios/ui/web/frontend/src/__tests__/JarvisAgentPanel.test.tsx
+++ b/dodaios/ui/web/frontend/src/__tests__/DodaiosAgentPanel.test.tsx
@@ -1,5 +1,5 @@
/**
- * Vitest+RTL tests for JarvisAgentPanel (Phase 9 Wave 4 UI).
+ * Vitest+RTL tests for DodaiosAgentPanel (Phase 9 Wave 4 UI).
*
* Covers:
* - Empty-state when no mission is selected
@@ -10,7 +10,7 @@
import { afterEach, beforeEach, describe, expect, it } from "vitest";
import { cleanup, render, screen } from "@testing-library/react";
-import { JarvisAgentPanel } from "@/components/missions/JarvisAgentPanel";
+import { DodaiosAgentPanel } from "@/components/missions/DodaiosAgentPanel";
import { useMissionsStore } from "@/components/missions/store";
import { useEventStore } from "@/store/events";
import type { JarvisAgentWorkerSnapshot } from "@/types/missions";
@@ -46,9 +46,9 @@ function makeWorker(overrides: Partial<JarvisAgentWorkerSnapshot> = {}): JarvisA
};
}
-describe("JarvisAgentPanel", () => {
+describe("DodaiosAgentPanel", () => {
it("shows the empty state when no mission is selected", () => {
- render(<JarvisAgentPanel />);
+ render(<DodaiosAgentPanel />);
expect(
screen.getByText("Select a mission to see Nova-Agent workers."),
).toBeDefined();
@@ -59,7 +59,7 @@ describe("JarvisAgentPanel", () => {
selectedMissionId: "mid-1",
workerSnapshotsByMission: { "mid-1": [] },
});
- render(<JarvisAgentPanel />);
+ render(<DodaiosAgentPanel />);
expect(
screen.getByText("No Nova-Agent workers in this mission."),
).toBeDefined();
@@ -70,7 +70,7 @@ describe("JarvisAgentPanel", () => {
selectedMissionId: "mid-1",
workerSnapshotsByMission: { "mid-1": [makeWorker()] },
});
- render(<JarvisAgentPanel />);
+ render(<DodaiosAgentPanel />);
// Model
const model = screen.getByTestId("jarvis-agent-model");
@@ -110,7 +110,7 @@ describe("JarvisAgentPanel", () => {
],
},
});
- render(<JarvisAgentPanel />);
+ render(<DodaiosAgentPanel />);
const badge = screen.getByTestId("jarvis-agent-reattach-badge");
expect(badge.getAttribute("data-reattach-status")).toBe("killed");
@@ -135,7 +135,7 @@ describe("JarvisAgentPanel", () => {
],
},
});
- render(<JarvisAgentPanel />);
+ render(<DodaiosAgentPanel />);
const rows = screen.getAllByTestId("jarvis-agent-worker-row");
expect(rows).toHaveLength(2);
diff --git a/dodaios/ui/web/frontend/src/assets/jarvis-mark.png b/dodaios/ui/web/frontend/src/assets/dodaios-mark.png
similarity index 100%
rename from dodaios/ui/web/frontend/src/assets/jarvis-mark.png
rename to dodaios/ui/web/frontend/src/assets/dodaios-mark.png
diff --git a/dodaios/ui/web/frontend/src/components/BootSplash.tsx b/dodaios/ui/web/frontend/src/components/BootSplash.tsx
index f460b68cb4..ed8627aea8 100644
--- a/dodaios/ui/web/frontend/src/components/BootSplash.tsx
+++ b/dodaios/ui/web/frontend/src/components/BootSplash.tsx
@@ -55,7 +55,7 @@ export function BootSplash({
>
<div className="jbs-group">
<div className="jbs-mark" aria-hidden="true">
- <img src="/jarvis-gigi-256.png?v=hood" alt="" width={256} height={256} />
+ <img src="/dodaios-gigi-256.png?v=hood" alt="" width={256} height={256} />
</div>
<div className="name">{name}</div>
<div
diff --git a/dodaios/ui/web/frontend/src/components/CommandActivityLayer.tsx b/dodaios/ui/web/frontend/src/components/CommandActivityLayer.tsx
index e0ef6b0b2e..7389010f82 100644
--- a/dodaios/ui/web/frontend/src/components/CommandActivityLayer.tsx
+++ b/dodaios/ui/web/frontend/src/components/CommandActivityLayer.tsx
@@ -28,7 +28,7 @@ import { useT } from "@/i18n";
* layer's block). Trust through visibility — the UI half of the shell
* explain layer.
*
- * Sits above the JarvisDock (bottom-right); toasts keep the top-right.
+ * Sits above the DodaiosDock (bottom-right); toasts keep the top-right.
*/
const MAX_VISIBLE = 4;
diff --git a/dodaios/ui/web/frontend/src/components/JarvisDock.filedrop.test.tsx b/dodaios/ui/web/frontend/src/components/DodaiosDock.filedrop.test.tsx
similarity index 94%
rename from dodaios/ui/web/frontend/src/components/JarvisDock.filedrop.test.tsx
rename to dodaios/ui/web/frontend/src/components/DodaiosDock.filedrop.test.tsx
index 3ec5923e49..70af06d689 100644
--- a/dodaios/ui/web/frontend/src/components/JarvisDock.filedrop.test.tsx
+++ b/dodaios/ui/web/frontend/src/components/DodaiosDock.filedrop.test.tsx
@@ -15,7 +15,7 @@ vi.mock("@/hooks/useOverlayStyle", () => ({
}));
vi.mock("@/lib/sound", () => ({ playDropConfirm: () => playDropConfirm() }));
-import { JarvisDock, MISSION_DND_MIME } from "./JarvisDock";
+import { DodaiosDock, MISSION_DND_MIME } from "./DodaiosDock";
import { useEventStore } from "@/store/events";
import { useMissionDrag } from "@/store/missionDrag";
@@ -42,7 +42,7 @@ function nativeDataTransfer(opts: {
} as unknown as DataTransfer;
}
-describe("JarvisDock — native OS file/text drop", () => {
+describe("DodaiosDock — native OS file/text drop", () => {
beforeEach(() => {
send.mockClear();
playDropConfirm.mockClear();
@@ -58,7 +58,7 @@ describe("JarvisDock — native OS file/text drop", () => {
});
it("POSTs a dropped file to /api/chat/drop with files + thread_id", async () => {
- render(<JarvisDock />);
+ render(<DodaiosDock />);
const zone = screen.getByTestId("jarvis-dock");
const file = new File(["hello"], "note.txt", { type: "text/plain" });
fireEvent.drop(zone, {
@@ -79,7 +79,7 @@ describe("JarvisDock — native OS file/text drop", () => {
});
it("POSTs dragged text/URL with a text field and no files", async () => {
- render(<JarvisDock />);
+ render(<DodaiosDock />);
const zone = screen.getByTestId("jarvis-dock");
fireEvent.drop(zone, {
dataTransfer: nativeDataTransfer({
@@ -101,7 +101,7 @@ describe("JarvisDock — native OS file/text drop", () => {
});
it("plays the confirmation feedback on a successful native drop", async () => {
- render(<JarvisDock />);
+ render(<DodaiosDock />);
const zone = screen.getByTestId("jarvis-dock");
const file = new File(["x"], "a.png", { type: "image/png" });
fireEvent.drop(zone, {
@@ -111,7 +111,7 @@ describe("JarvisDock — native OS file/text drop", () => {
});
it("keeps the mission path: a mission-MIME drop sends mission.inject, not fetch", async () => {
- render(<JarvisDock />);
+ render(<DodaiosDock />);
const zone = screen.getByTestId("jarvis-dock");
const dt = {
getData: (mime: string) =>
@@ -131,7 +131,7 @@ describe("JarvisDock — native OS file/text drop", () => {
});
it("ignores an empty/garbage native drop (no files, no text)", () => {
- render(<JarvisDock />);
+ render(<DodaiosDock />);
const zone = screen.getByTestId("jarvis-dock");
fireEvent.drop(zone, { dataTransfer: nativeDataTransfer({}) });
expect(global.fetch).not.toHaveBeenCalled();
@@ -139,7 +139,7 @@ describe("JarvisDock — native OS file/text drop", () => {
});
it("blooms (becomes visible) during a native file drag, not just a mission drag", () => {
- render(<JarvisDock />);
+ render(<DodaiosDock />);
const zone = screen.getByTestId("jarvis-dock");
expect(zone.className).toContain("opacity-0");
fireEvent.dragEnter(zone, {
@@ -153,7 +153,7 @@ describe("JarvisDock — native OS file/text drop", () => {
});
it("accepts a native drop on the full-window catch layer (toss near Jarvis)", async () => {
- render(<JarvisDock />);
+ render(<DodaiosDock />);
const zone = screen.getByTestId("jarvis-dock");
// Arm a native drag so the catch layer mounts.
fireEvent.dragEnter(zone, {
diff --git a/dodaios/ui/web/frontend/src/components/JarvisDock.test.tsx b/dodaios/ui/web/frontend/src/components/DodaiosDock.test.tsx
similarity index 91%
rename from dodaios/ui/web/frontend/src/components/JarvisDock.test.tsx
rename to dodaios/ui/web/frontend/src/components/DodaiosDock.test.tsx
index c8dee4d11b..a039ff3429 100644
--- a/dodaios/ui/web/frontend/src/components/JarvisDock.test.tsx
+++ b/dodaios/ui/web/frontend/src/components/DodaiosDock.test.tsx
@@ -15,7 +15,7 @@ vi.mock("@/hooks/useOverlayStyle", () => ({
}));
vi.mock("@/lib/sound", () => ({ playDropConfirm: () => playDropConfirm() }));
-import { JarvisDock, MISSION_DND_MIME } from "./JarvisDock";
+import { DodaiosDock, MISSION_DND_MIME } from "./DodaiosDock";
import { useEventStore } from "@/store/events";
import { useMissionDrag } from "@/store/missionDrag";
@@ -29,7 +29,7 @@ function fakeDataTransfer(json: string) {
} as unknown as DataTransfer;
}
-describe("JarvisDock", () => {
+describe("DodaiosDock", () => {
beforeEach(() => {
send.mockClear();
playDropConfirm.mockClear();
@@ -42,7 +42,7 @@ describe("JarvisDock", () => {
afterEach(() => cleanup());
it("sends a mission.inject command on a valid drop", async () => {
- render(<JarvisDock />);
+ render(<DodaiosDock />);
const zone = screen.getByTestId("jarvis-dock");
fireEvent.drop(zone, {
dataTransfer: fakeDataTransfer(
@@ -58,14 +58,14 @@ describe("JarvisDock", () => {
});
it("ignores a drop with no mission payload", () => {
- render(<JarvisDock />);
+ render(<DodaiosDock />);
const zone = screen.getByTestId("jarvis-dock");
fireEvent.drop(zone, { dataTransfer: fakeDataTransfer("") });
expect(send).not.toHaveBeenCalled();
});
it("plays the soft confirmation sound on a successful drop", async () => {
- render(<JarvisDock />);
+ render(<DodaiosDock />);
const zone = screen.getByTestId("jarvis-dock");
fireEvent.drop(zone, {
dataTransfer: fakeDataTransfer(JSON.stringify({ slug: "s", utterance: "u" })),
@@ -75,14 +75,14 @@ describe("JarvisDock", () => {
});
it("does not play the sound for an empty drop", () => {
- render(<JarvisDock />);
+ render(<DodaiosDock />);
const zone = screen.getByTestId("jarvis-dock");
fireEvent.drop(zone, { dataTransfer: fakeDataTransfer("") });
expect(playDropConfirm).not.toHaveBeenCalled();
});
it("stays visually hidden in idle and reveals only while a mission drag is in flight", () => {
- const { rerender } = render(<JarvisDock />);
+ const { rerender } = render(<DodaiosDock />);
// Idle: present in the DOM (so the drop handler stays wired) but invisible
// and non-interactive — no permanent icon cluttering the corner.
const idle = screen.getByTestId("jarvis-dock");
@@ -91,23 +91,23 @@ describe("JarvisDock", () => {
// A mission card lifts → the dock blooms into a visible target.
useMissionDrag.getState().begin();
- rerender(<JarvisDock />);
+ rerender(<DodaiosDock />);
const live = screen.getByTestId("jarvis-dock");
expect(live.className).toContain("opacity-100");
expect(live.className).not.toContain("opacity-0");
});
it("mounts a full-window catch layer only while a mission drag is active", () => {
- const { rerender } = render(<JarvisDock />);
+ const { rerender } = render(<DodaiosDock />);
expect(screen.queryByTestId("jarvis-dock-catch")).toBeNull();
useMissionDrag.getState().begin();
- rerender(<JarvisDock />);
+ rerender(<DodaiosDock />);
expect(screen.getByTestId("jarvis-dock-catch")).toBeTruthy();
});
it("injects when a card is dropped on the catch layer (toss near the dock)", async () => {
useMissionDrag.getState().begin();
- render(<JarvisDock />);
+ render(<DodaiosDock />);
const catcher = screen.getByTestId("jarvis-dock-catch");
fireEvent.drop(catcher, {
dataTransfer: fakeDataTransfer(JSON.stringify({ slug: "s", utterance: "u" })),
@@ -118,7 +118,7 @@ describe("JarvisDock", () => {
it("clears the global drag state after a drop", async () => {
useMissionDrag.getState().begin();
- render(<JarvisDock />);
+ render(<DodaiosDock />);
const zone = screen.getByTestId("jarvis-dock");
fireEvent.drop(zone, {
dataTransfer: fakeDataTransfer(JSON.stringify({ slug: "s", utterance: "u" })),
diff --git a/dodaios/ui/web/frontend/src/components/JarvisDock.tsx b/dodaios/ui/web/frontend/src/components/DodaiosDock.tsx
similarity index 99%
rename from dodaios/ui/web/frontend/src/components/JarvisDock.tsx
rename to dodaios/ui/web/frontend/src/components/DodaiosDock.tsx
index 58ca5fe520..470950cd11 100644
--- a/dodaios/ui/web/frontend/src/components/JarvisDock.tsx
+++ b/dodaios/ui/web/frontend/src/components/DodaiosDock.tsx
@@ -55,7 +55,7 @@ function isDroppable(dt: DataTransfer | null): boolean {
* the ghost mascot otherwise. This in-app surface is the cloud-first drop
* target — it works in any browser, unlike the separate Tk overlay windows.
*/
-export function JarvisDock() {
+export function DodaiosDock() {
const t = useT();
const { config } = useOverlayStyle();
const dragging = useMissionDrag((s) => s.dragging);
diff --git a/dodaios/ui/web/frontend/src/components/MascotGigi.tsx b/dodaios/ui/web/frontend/src/components/MascotGigi.tsx
index c5a5b8dd0c..2c3f04c486 100644
--- a/dodaios/ui/web/frontend/src/components/MascotGigi.tsx
+++ b/dodaios/ui/web/frontend/src/components/MascotGigi.tsx
@@ -1,5 +1,5 @@
import { useCallback, useEffect, useRef, useState } from "react";
-import { JARVIS_LOGO_PATH } from "@/components/brand/jarvisLogoPath";
+import { JARVIS_LOGO_PATH } from "@/components/brand/dodaiosLogoPath";
import { cn } from "@/lib/utils";
import { fill, translate, useT } from "@/i18n";
import { useEventStore, type VoiceState, type SectionId } from "@/store/events";
diff --git a/dodaios/ui/web/frontend/src/components/board/ShareCard.tsx b/dodaios/ui/web/frontend/src/components/board/ShareCard.tsx
index 5e7c82f051..175710f7f8 100644
--- a/dodaios/ui/web/frontend/src/components/board/ShareCard.tsx
+++ b/dodaios/ui/web/frontend/src/components/board/ShareCard.tsx
@@ -107,7 +107,7 @@ export const ShareCard = forwardRef<HTMLDivElement, ShareCardProps>(
boxShadow: "0 0 24px -6px rgba(245,244,239,0.5)",
}}
>
- <img src="/jarvis-mark-256.png?v=hood" width={38} height={38} alt="" style={{ display: "block" }} />
+ <img src="/dodaios-mark-256.png?v=hood" width={38} height={38} alt="" style={{ display: "block" }} />
</span>
<span
style={{
diff --git a/dodaios/ui/web/frontend/src/components/brand/jarvisLogoPath.ts b/dodaios/ui/web/frontend/src/components/brand/dodaiosLogoPath.ts
similarity index 100%
rename from dodaios/ui/web/frontend/src/components/brand/jarvisLogoPath.ts
rename to dodaios/ui/web/frontend/src/components/brand/dodaiosLogoPath.ts
diff --git a/dodaios/ui/web/frontend/src/components/deck/DeckOrb.tsx b/dodaios/ui/web/frontend/src/components/deck/DeckOrb.tsx
index 2f51fa715a..6f177a3919 100644
--- a/dodaios/ui/web/frontend/src/components/deck/DeckOrb.tsx
+++ b/dodaios/ui/web/frontend/src/components/deck/DeckOrb.tsx
@@ -1,6 +1,6 @@
import { useEffect, useId, useMemo, useRef } from "react";
import { useEventStore, type VoiceState } from "@/store/events";
-import { JarvisOrb } from "@/components/deck/JarvisOrb";
+import { DodaiosOrb } from "@/components/deck/DodaiosOrb";
import type { ThinkingStep } from "@/lib/thinkingSteps";
import { HudHaloDefs } from "@/components/deck/HudFrame";
import { readVoiceInputLevel } from "@/lib/voiceInputLevel";
@@ -12,7 +12,7 @@ import { cn } from "@/lib/utils";
* bright arc per running step, the voice meter, and four small readouts at
* the corners.
*
- * The middle is Gigi itself (`JarvisOrb`), moved by the real voice state,
+ * The middle is Gigi itself (`DodaiosOrb`), moved by the real voice state,
* with a soft accent glow throwing the dark silhouette forward. It was a PNG
* of a glowing sphere until 2026-08-20; the maintainer had asked repeatedly
* for that picture to go and for the mascot to carry the product, and the
@@ -281,7 +281,7 @@ export function DeckOrb({
* The orb — the part of the centre a press lands on.
*
* Back to front: a soft accent glow wider than the sphere (`.deck-orb-glow`,
- * keyed on the voice state), then the mascot itself (`JarvisOrb`).
+ * keyed on the voice state), then the mascot itself (`DodaiosOrb`).
*/
function OrbFace({ voiceState, orbSize }: { voiceState: VoiceState; orbSize: number }) {
// The light behind the figure, a little wider than it so the silhouette
@@ -296,7 +296,7 @@ function OrbFace({ voiceState, orbSize }: { voiceState: VoiceState; orbSize: num
data-voice={voiceState}
style={{ width: glow, height: glow }}
/>
- <JarvisOrb size={orbSize} voiceState={voiceState} className="absolute inset-0" />
+ <DodaiosOrb size={orbSize} voiceState={voiceState} className="absolute inset-0" />
</>
);
}
diff --git a/dodaios/ui/web/frontend/src/components/deck/JarvisOrb.tsx b/dodaios/ui/web/frontend/src/components/deck/DodaiosOrb.tsx
similarity index 99%
rename from dodaios/ui/web/frontend/src/components/deck/JarvisOrb.tsx
rename to dodaios/ui/web/frontend/src/components/deck/DodaiosOrb.tsx
index a3d2998da9..403f920558 100644
--- a/dodaios/ui/web/frontend/src/components/deck/JarvisOrb.tsx
+++ b/dodaios/ui/web/frontend/src/components/deck/DodaiosOrb.tsx
@@ -64,7 +64,7 @@ const MOTION: Record<VoiceState, { animate: TargetAndTransition; duration: numbe
},
};
-export function JarvisOrb({
+export function DodaiosOrb({
size,
voiceState,
className,
diff --git a/dodaios/ui/web/frontend/src/components/missions/JarvisAgentPanel.tsx b/dodaios/ui/web/frontend/src/components/missions/DodaiosAgentPanel.tsx
similarity index 99%
rename from dodaios/ui/web/frontend/src/components/missions/JarvisAgentPanel.tsx
rename to dodaios/ui/web/frontend/src/components/missions/DodaiosAgentPanel.tsx
index 0da8363085..c3e0c4ddda 100644
--- a/dodaios/ui/web/frontend/src/components/missions/JarvisAgentPanel.tsx
+++ b/dodaios/ui/web/frontend/src/components/missions/DodaiosAgentPanel.tsx
@@ -50,7 +50,7 @@ async function copyToClipboard(value: string): Promise<void> {
await robustCopy(value);
}
-export function JarvisAgentPanel() {
+export function DodaiosAgentPanel() {
const t = useT();
const workers = useMissionsStore(
useShallow((s) => {
diff --git a/dodaios/ui/web/frontend/src/components/society/RuntimeBadge.tsx b/dodaios/ui/web/frontend/src/components/society/RuntimeBadge.tsx
index 5a8c47128c..5656be145f 100644
--- a/dodaios/ui/web/frontend/src/components/society/RuntimeBadge.tsx
+++ b/dodaios/ui/web/frontend/src/components/society/RuntimeBadge.tsx
@@ -12,7 +12,7 @@ export function RuntimeMark({ runtime, label }: { runtime: AgentRuntime; label:
// The built-in runtime carries the Jarvis app logo, not the user's pet:
// here it names a product beside Hermes and OpenClaw, not the companion.
return runtime === "jarvis"
- ? <img src="/jarvis-gigi-256.png?v=hood" alt="" aria-hidden="true" width={16} height={16} className="size-4 shrink-0 rounded-[4px]" data-testid="runtime-mark-jarvis" />
+ ? <img src="/dodaios-gigi-256.png?v=hood" alt="" aria-hidden="true" width={16} height={16} className="size-4 shrink-0 rounded-[4px]" data-testid="runtime-mark-jarvis" />
: <ProviderLogo providerId={runtime} label={label} size="sm" />;
}
diff --git a/dodaios/ui/web/frontend/src/components/society/card/OptionsRail.tsx b/dodaios/ui/web/frontend/src/components/society/card/OptionsRail.tsx
index 18cd261e76..6261255955 100644
--- a/dodaios/ui/web/frontend/src/components/society/card/OptionsRail.tsx
+++ b/dodaios/ui/web/frontend/src/components/society/card/OptionsRail.tsx
@@ -13,7 +13,7 @@ import { useT } from "@/i18n";
import type { SocietyAgent } from "../data";
import { AgentBrowserPreview } from "./AgentBrowserPreview";
import { AgentRoutinesList } from "./AgentRoutinesList";
-import { JarvisHistoryRail } from "../chat/JarvisHistoryRail";
+import { DodaiosHistoryRail } from "../chat/DodaiosHistoryRail";
import { RetireButton } from "./RetireButton";
const AgentAppearanceDialog = lazy(() => import("../companion/AgentAppearanceDialog").then(m => ({ default: m.AgentAppearanceDialog })));
const ShareAgentDialog = lazy(() => import("./ShareAgentDialog").then(m => ({ default: m.ShareAgentDialog })));
@@ -100,7 +100,7 @@ export function OptionsRail({ agent, onRetired, sample = false }: OptionsRailPro
</div>
<div className={routineOpen ? "hidden" : "contents"}>
<AgentBrowserPreview agent={agent} />
- {agent.tier === "lead" ? <JarvisHistoryRail /> : null}
+ {agent.tier === "lead" ? <DodaiosHistoryRail /> : null}
</div>
<AgentRoutinesList
key={agent.agentId}
diff --git a/dodaios/ui/web/frontend/src/components/society/chat/AgentChatPanel.switch.test.tsx b/dodaios/ui/web/frontend/src/components/society/chat/AgentChatPanel.switch.test.tsx
index a061dadf94..69e9087610 100644
--- a/dodaios/ui/web/frontend/src/components/society/chat/AgentChatPanel.switch.test.tsx
+++ b/dodaios/ui/web/frontend/src/components/society/chat/AgentChatPanel.switch.test.tsx
@@ -16,7 +16,7 @@ import { useEventStore } from "@/store/events";
import type { AgentChatEvent, AgentChatSession } from "@/lib/agentChatApi";
import type { ChatAttachment } from "@/lib/agentChatApi";
import { useHomeStore } from "@/store/home";
-import { JarvisHistoryRail } from "./JarvisHistoryRail";
+import { DodaiosHistoryRail } from "./DodaiosHistoryRail";
import { useRoutineNavigation } from "./routineNavigation";
import * as cardData from "../cardData";
@@ -233,7 +233,7 @@ it("reads archived calls on the actual voice stage and returns there fresh after
] }));
return new Response(JSON.stringify({ providers: [], sessions: [], mapping: [], events: [] }));
});
- const view = render(<><AgentChatPanel agent={jarvis} roster={[jarvis]} /><JarvisHistoryRail /></>);
+ const view = render(<><AgentChatPanel agent={jarvis} roster={[jarvis]} /><DodaiosHistoryRail /></>);
fireEvent.click(await screen.findByTestId("jarvis-history-voice-row"));
expect(await screen.findByText("Archived question")).toBeTruthy();
expect(screen.getByText("Archived answer")).toBeTruthy();
diff --git a/dodaios/ui/web/frontend/src/components/society/chat/JarvisHistoryRail.test.tsx b/dodaios/ui/web/frontend/src/components/society/chat/DodaiosHistoryRail.test.tsx
similarity index 95%
rename from dodaios/ui/web/frontend/src/components/society/chat/JarvisHistoryRail.test.tsx
rename to dodaios/ui/web/frontend/src/components/society/chat/DodaiosHistoryRail.test.tsx
index 46162d01be..6d9ddd4ba3 100644
--- a/dodaios/ui/web/frontend/src/components/society/chat/JarvisHistoryRail.test.tsx
+++ b/dodaios/ui/web/frontend/src/components/society/chat/DodaiosHistoryRail.test.tsx
@@ -5,7 +5,7 @@
import { act, cleanup, fireEvent, render, screen, waitFor } from "@testing-library/react";
import { afterEach, beforeEach, describe, expect, test, vi } from "vitest";
-import { JarvisHistoryRail } from "@/components/society/chat/JarvisHistoryRail";
+import { DodaiosHistoryRail } from "@/components/society/chat/DodaiosHistoryRail";
import { useAgentChatStore } from "@/store/agentChat";
import { useEventStore } from "@/store/events";
import { useHomeStore } from "@/store/home";
@@ -64,7 +64,7 @@ function json(body: unknown, status = 200) {
} as Response;
}
-describe("JarvisHistoryRail", () => {
+describe("DodaiosHistoryRail", () => {
beforeEach(() => {
vi.clearAllMocks();
useHomeStore.setState({ voiceSelectionPending: false, voiceSwitchStopping: false, continuedVoiceId: null });
@@ -116,7 +116,7 @@ describe("JarvisHistoryRail", () => {
});
test("lists typed chats and voice sessions in two sections", async () => {
- render(<JarvisHistoryRail />);
+ render(<DodaiosHistoryRail />);
expect(await screen.findByTestId("jarvis-history-chat-row")).toBeTruthy();
expect(await screen.findByTestId("jarvis-history-voice-row")).toBeTruthy();
expect(screen.getByTestId("jarvis-history-chat-row").textContent).toContain("Typed questions");
@@ -124,14 +124,14 @@ describe("JarvisHistoryRail", () => {
});
test("opening a chat row shows that session in the column", async () => {
- render(<JarvisHistoryRail />);
+ render(<DodaiosHistoryRail />);
fireEvent.click(await screen.findByTestId("jarvis-history-chat-row"));
expect(useAgentChatStore.getState().activeSessionId).toBe("chat-1");
});
test("opening a voice row clears the chat and marks the thread", async () => {
useAgentChatStore.setState({ activeSessionId: "chat-1" });
- render(<JarvisHistoryRail />);
+ render(<DodaiosHistoryRail />);
fireEvent.click(await screen.findByTestId("jarvis-history-voice-row"));
expect(useAgentChatStore.getState().activeSessionId).toBeNull();
expect(useEventStore.getState().activeThreadId).toBe("voice-1");
@@ -145,7 +145,7 @@ describe("JarvisHistoryRail", () => {
const transcript = [{ id: "live", who: "assistant" as const, text: "Current answer", ts: 3 }];
useEventStore.setState({ voiceState: "speaking" });
useHomeStore.setState({ liveSessionId: "voice-1", transcript, liveReply: "Still answering" });
- render(<JarvisHistoryRail />);
+ render(<DodaiosHistoryRail />);
fireEvent.click(await screen.findByTestId("jarvis-history-voice-row"));
expect(useHomeStore.getState().transcript).toBe(transcript);
expect(useHomeStore.getState().liveReply).toBe("Still answering");
@@ -158,7 +158,7 @@ describe("JarvisHistoryRail", () => {
test("a late archive response cannot restore the previous call after hangup", async () => {
let finish!: (response: Response) => void;
- render(<JarvisHistoryRail />);
+ render(<DodaiosHistoryRail />);
await screen.findByTestId("jarvis-history-voice-row");
vi.mocked(fetch).mockImplementationOnce(() => new Promise<Response>((resolve) => { finish = resolve; }));
fireEvent.click(screen.getByTestId("jarvis-history-voice-row"));
@@ -175,7 +175,7 @@ describe("JarvisHistoryRail", () => {
test("switching archives ends the active call before resuming and keeps the selected context", async () => {
useEventStore.setState({ voiceState: "listening" });
useHomeStore.setState({ liveSessionId: "other-call", continuedVoiceId: "other-archive" });
- render(<JarvisHistoryRail />);
+ render(<DodaiosHistoryRail />);
fireEvent.click(await screen.findByTestId("jarvis-history-voice-row"));
await waitFor(() => expect(fetch).toHaveBeenCalledWith("/api/voice/hangup", { method: "POST", cache: "no-store" }));
expect(vi.mocked(fetch).mock.calls.some(([url]) => String(url).endsWith("/resume"))).toBe(false);
@@ -195,7 +195,7 @@ describe("JarvisHistoryRail", () => {
test("the new button clears whatever is open", async () => {
useAgentChatStore.setState({ activeSessionId: "chat-1" });
useEventStore.setState({ activeKind: "voice", activeThreadId: "voice-1" });
- render(<JarvisHistoryRail />);
+ render(<DodaiosHistoryRail />);
fireEvent.click(await screen.findByTestId("jarvis-history-new"));
expect(useAgentChatStore.getState().activeSessionId).toBeNull();
expect(useEventStore.getState().activeThreadId).toBeNull();
@@ -205,7 +205,7 @@ describe("JarvisHistoryRail", () => {
useAgentChatStore.setState({ activeSessionId: "chat-1" });
useEventStore.setState({ activeKind: "voice", activeThreadId: "voice-1", transcription: "unfinished", transcriptionFinal: false });
useHomeStore.getState().seedTranscript([{ id: "old", who: "user", text: "Previous call", ts: 1 }]);
- render(<JarvisHistoryRail />);
+ render(<DodaiosHistoryRail />);
await screen.findByTestId("jarvis-history-voice-row");
fireEvent.click(screen.getByTestId("jarvis-history-new-voice"));
await waitFor(() => expect(setJarvisCardMode).toHaveBeenCalledWith("voice"));
@@ -220,7 +220,7 @@ describe("JarvisHistoryRail", () => {
test("a failed voice reset preserves the conversation and offers a retry", async () => {
useHomeStore.getState().seedTranscript([{ id: "old", who: "user", text: "Previous call", ts: 1 }]);
- render(<JarvisHistoryRail />);
+ render(<DodaiosHistoryRail />);
await screen.findByTestId("jarvis-history-voice-row");
vi.mocked(fetch).mockResolvedValueOnce(json({}, 500));
fireEvent.click(screen.getByTestId("jarvis-history-new-voice"));
diff --git a/dodaios/ui/web/frontend/src/components/society/chat/JarvisHistoryRail.tsx b/dodaios/ui/web/frontend/src/components/society/chat/DodaiosHistoryRail.tsx
similarity index 99%
rename from dodaios/ui/web/frontend/src/components/society/chat/JarvisHistoryRail.tsx
rename to dodaios/ui/web/frontend/src/components/society/chat/DodaiosHistoryRail.tsx
index cab40530e9..352f1e77d1 100644
--- a/dodaios/ui/web/frontend/src/components/society/chat/JarvisHistoryRail.tsx
+++ b/dodaios/ui/web/frontend/src/components/society/chat/DodaiosHistoryRail.tsx
@@ -23,7 +23,7 @@ import { setJarvisCardMode } from "./AgentChatPanel";
* speaking, like the front page). Opening either kind closes the other, so
* the two can never claim the column at once. "+" starts a blank page.
*/
-export function JarvisHistoryRail() {
+export function DodaiosHistoryRail() {
const t = useT();
const [startingVoice, setStartingVoice] = useState(false);
const startingVoiceRef = useRef(false);
diff --git a/dodaios/ui/web/frontend/src/components/society/world/README.md b/dodaios/ui/web/frontend/src/components/society/world/README.md
index 2ed65b8474..2361a0f125 100644
--- a/dodaios/ui/web/frontend/src/components/society/world/README.md
+++ b/dodaios/ui/web/frontend/src/components/society/world/README.md
@@ -21,7 +21,7 @@ Binding design: `docs/agent-society/world-masterplan-v2.md` (look, kit, market,
| `Walkers.tsx` · `WalkerFigure.tsx` · `walkerRegistry.ts` | Agents on foot: state machine, stand-in figure, minimap pins. |
| `retirement.ts` · `retirementRoute.ts` · `retireStore.ts` · `RetirementScene.tsx` | Deleting an agent, as a scene: the lead walks up, shoots it, and two bearers carry the body to the mine and tip it in. Curves and route are pure and tested; the scene drives the existing walkers through a mutable pose map and commits the `DELETE` only when the body lands. |
| `PlaceLabels.tsx` · `WorldHud.tsx` · `Minimap.tsx` · `world.css` | DOM over the canvas in the world's type. |
-| `WorldStage.tsx` | The composition; mounted by `views/JarvisAgentsView.tsx` behind the World / Ledger switch. |
+| `WorldStage.tsx` | The composition; mounted by `views/DodaiosAgentsView.tsx` behind the World / Ledger switch. |
Strings live in the lazy `society` locale chunk (`src/i18n/locales/society/`).
diff --git a/dodaios/ui/web/frontend/src/hooks/useJarvisApi.ts b/dodaios/ui/web/frontend/src/hooks/useDodaiosApi.ts
similarity index 98%
rename from dodaios/ui/web/frontend/src/hooks/useJarvisApi.ts
rename to dodaios/ui/web/frontend/src/hooks/useDodaiosApi.ts
index 3c2c7123c4..f5e786b0a9 100644
--- a/dodaios/ui/web/frontend/src/hooks/useJarvisApi.ts
+++ b/dodaios/ui/web/frontend/src/hooks/useDodaiosApi.ts
@@ -17,7 +17,7 @@ interface RotateResult {
}
/** Loads /api/control/api-key and exposes rotate() + setKey(). Mirrors useAutostart. */
-export function useJarvisApi() {
+export function useDodaiosApi() {
const [data, setData] = useState<ControlApiKey | null>(null);
const [loading, setLoading] = useState(true);
const [error, setError] = useState<string | null>(null);
diff --git a/dodaios/ui/web/frontend/src/hooks/useWebSocket.ts b/dodaios/ui/web/frontend/src/hooks/useWebSocket.ts
index 512b3e63ed..df11130dea 100644
--- a/dodaios/ui/web/frontend/src/hooks/useWebSocket.ts
+++ b/dodaios/ui/web/frontend/src/hooks/useWebSocket.ts
@@ -19,7 +19,7 @@ import {
type ChatMessage,
type VoiceState,
} from "@/store/events";
-import { useSubAgentStore, SUB_AGENT_EVENT_NAMES } from "@/store/jarvisAgents";
+import { useSubAgentStore, SUB_AGENT_EVENT_NAMES } from "@/store/dodaiosAgents";
import {
useCommandActivityStore,
COMMAND_ACTIVITY_EVENTS,
diff --git a/dodaios/ui/web/frontend/src/index.css b/dodaios/ui/web/frontend/src/index.css
index da08f232e6..ef33cc9e6c 100644
--- a/dodaios/ui/web/frontend/src/index.css
+++ b/dodaios/ui/web/frontend/src/index.css
@@ -1952,7 +1952,7 @@ body {
}
/* -----------------------------------------------------------
- The orb moves with the voice (DeckOrb.tsx, JarvisOrb.tsx).
+ The orb moves with the voice (DeckOrb.tsx, DodaiosOrb.tsx).
`--orb-level` is ONE number, 0..1, on the orb's root — the real
microphone while listening, a speech-shaped envelope while the
assistant speaks, a heartbeat while it thinks (lib/orbLevel.ts)
diff --git a/dodaios/ui/web/frontend/src/lib/jarvisxApi.test.ts b/dodaios/ui/web/frontend/src/lib/dodaiosxApi.test.ts
similarity index 98%
rename from dodaios/ui/web/frontend/src/lib/jarvisxApi.test.ts
rename to dodaios/ui/web/frontend/src/lib/dodaiosxApi.test.ts
index 9da90e4fc2..83682c05e3 100644
--- a/dodaios/ui/web/frontend/src/lib/jarvisxApi.test.ts
+++ b/dodaios/ui/web/frontend/src/lib/dodaiosxApi.test.ts
@@ -13,7 +13,7 @@ import {
saveJarvisXSettings,
withVersion,
type JarvisXItem,
-} from "@/lib/jarvisxApi";
+} from "@/lib/dodaiosxApi";
function json(body: unknown, status = 200): Response {
return { ok: status < 400, status, json: async () => body } as Response;
@@ -35,7 +35,7 @@ function item(id: string, created_at: string): JarvisXItem {
};
}
-describe("jarvisxApi", () => {
+describe("dodaiosxApi", () => {
let fetchMock: ReturnType<typeof vi.fn>;
beforeEach(() => {
diff --git a/dodaios/ui/web/frontend/src/lib/jarvisxApi.ts b/dodaios/ui/web/frontend/src/lib/dodaiosxApi.ts
similarity index 100%
rename from dodaios/ui/web/frontend/src/lib/jarvisxApi.ts
rename to dodaios/ui/web/frontend/src/lib/dodaiosxApi.ts
diff --git a/dodaios/ui/web/frontend/src/lib/jarvisxEditorModel.test.ts b/dodaios/ui/web/frontend/src/lib/dodaiosxEditorModel.test.ts
similarity index 99%
rename from dodaios/ui/web/frontend/src/lib/jarvisxEditorModel.test.ts
rename to dodaios/ui/web/frontend/src/lib/dodaiosxEditorModel.test.ts
index 0d6c576a52..ae2c834176 100644
--- a/dodaios/ui/web/frontend/src/lib/jarvisxEditorModel.test.ts
+++ b/dodaios/ui/web/frontend/src/lib/dodaiosxEditorModel.test.ts
@@ -33,7 +33,7 @@ import {
type CounterShape,
type SegmentShape,
type Shape,
-} from "@/lib/jarvisxEditorModel";
+} from "@/lib/dodaiosxEditorModel";
const style = { color: "#ff3b30", width: 4, shadow: false };
diff --git a/dodaios/ui/web/frontend/src/lib/jarvisxEditorModel.ts b/dodaios/ui/web/frontend/src/lib/dodaiosxEditorModel.ts
similarity index 100%
rename from dodaios/ui/web/frontend/src/lib/jarvisxEditorModel.ts
rename to dodaios/ui/web/frontend/src/lib/dodaiosxEditorModel.ts
diff --git a/dodaios/ui/web/frontend/src/lib/jarvisxRender.ts b/dodaios/ui/web/frontend/src/lib/dodaiosxRender.ts
similarity index 99%
rename from dodaios/ui/web/frontend/src/lib/jarvisxRender.ts
rename to dodaios/ui/web/frontend/src/lib/dodaiosxRender.ts
index ad66529f06..c3b3b31c62 100644
--- a/dodaios/ui/web/frontend/src/lib/jarvisxRender.ts
+++ b/dodaios/ui/web/frontend/src/lib/dodaiosxRender.ts
@@ -18,7 +18,7 @@ import {
type EditorDoc,
type Shape,
type TextShape,
-} from "@/lib/jarvisxEditorModel";
+} from "@/lib/dodaiosxEditorModel";
export const TEXT_FONT_FAMILY = '"Inter Variable", Inter, system-ui, sans-serif';
const TEXT_LINE_HEIGHT = 1.25;
diff --git a/dodaios/ui/web/frontend/src/lib/missionDnd.ts b/dodaios/ui/web/frontend/src/lib/missionDnd.ts
index f5b90fb90f..7ad99a2358 100644
--- a/dodaios/ui/web/frontend/src/lib/missionDnd.ts
+++ b/dodaios/ui/web/frontend/src/lib/missionDnd.ts
@@ -2,7 +2,7 @@
* Dragging a run toward the Jarvis dock — the payload and the drag start.
*
* Lived in `views/OutputsView.tsx` until the Outputs section folded into the
- * Artifacts section (2026-08-23). The dock (`components/JarvisDock.tsx`) reads
+ * Artifacts section (2026-08-23). The dock (`components/DodaiosDock.tsx`) reads
* the same MIME type; both sides import it from here so the two can never
* drift apart.
*/
diff --git a/dodaios/ui/web/frontend/src/lib/sound.ts b/dodaios/ui/web/frontend/src/lib/sound.ts
index 3af38f3f77..9aff39ea43 100644
--- a/dodaios/ui/web/frontend/src/lib/sound.ts
+++ b/dodaios/ui/web/frontend/src/lib/sound.ts
@@ -1,6 +1,6 @@
/**
* A tiny, dependency-free confirmation chime for UI affordances (currently the
- * JarvisDock "mission captured" feedback). WebAudio is a browser built-in, so
+ * DodaiosDock "mission captured" feedback). WebAudio is a browser built-in, so
* this works on any cloud-first client and adds nothing to the bundle.
*
* Brief from the product: quiet and smooth. Two soft sine voices a gentle
diff --git a/dodaios/ui/web/frontend/src/store/jarvisAgents.ts b/dodaios/ui/web/frontend/src/store/dodaiosAgents.ts
similarity index 99%
rename from dodaios/ui/web/frontend/src/store/jarvisAgents.ts
rename to dodaios/ui/web/frontend/src/store/dodaiosAgents.ts
index 4ffe1b3318..f75719bf84 100644
--- a/dodaios/ui/web/frontend/src/store/jarvisAgents.ts
+++ b/dodaios/ui/web/frontend/src/store/dodaiosAgents.ts
@@ -3,7 +3,7 @@
*
* Fed by the WebSocket hook (9 event types: JarvisAgentTaskStarted/Review/
* Completed, BrainTurnStarted/Completed, ToolCallStarted/Completed, Harness-
- * Dispatched/Completed) and rendered in <JarvisAgentsView /> as a live table.
+ * Dispatched/Completed) and rendered in <DodaiosAgentsView /> as a live table.
*/
import { create } from "zustand";
diff --git a/dodaios/ui/web/frontend/src/store/missionDrag.ts b/dodaios/ui/web/frontend/src/store/missionDrag.ts
index 0b19c375f6..ba5b0391e0 100644
--- a/dodaios/ui/web/frontend/src/store/missionDrag.ts
+++ b/dodaios/ui/web/frontend/src/store/missionDrag.ts
@@ -5,7 +5,7 @@ import { create } from "zustand";
*
* The drag source (a rail row in the Artifacts section, via `lib/missionDnd`)
* and the drop surface
- * (`JarvisDock`, far away in the tree) need to agree that a drag is in flight so
+ * (`DodaiosDock`, far away in the tree) need to agree that a drag is in flight so
* the dock can bloom into a big, forgiving target and mount its full-window
* catch layer. A tiny zustand store is the lightest way to bridge them — same
* pattern as `useEventStore` / `useI18nStore`.
diff --git a/dodaios/ui/web/frontend/src/views/ApiKeysView.tsx b/dodaios/ui/web/frontend/src/views/ApiKeysView.tsx
index 97bde2b825..6c0b1570d3 100644
--- a/dodaios/ui/web/frontend/src/views/ApiKeysView.tsx
+++ b/dodaios/ui/web/frontend/src/views/ApiKeysView.tsx
@@ -13,7 +13,7 @@ import { useProviderFamilies } from "@/lib/providerFamilies";
import { useLocaleChunk, useT } from "@/i18n";
import { cn } from "@/lib/utils";
import { useEventStore } from "@/store/events";
-import { JarvisApiGroup } from "@/views/settings/JarvisApiGroup";
+import { DodaiosApiGroup } from "@/views/settings/DodaiosApiGroup";
// Agents first: the providers are set up there; live calls reuse the OpenAI login.
const TABS = ["agents", "voice"] as const;
@@ -133,7 +133,7 @@ export function ApiKeysView() {
{/* The Control Key unlocks the browser UI and authenticates local agents. */}
{tab === "agents" && (
<div className="mt-10">
- <JarvisApiGroup />
+ <DodaiosApiGroup />
</div>
)}
</div>
diff --git a/dodaios/ui/web/frontend/src/views/JarvisAgentsView.test.tsx b/dodaios/ui/web/frontend/src/views/DodaiosAgentsView.test.tsx
similarity index 82%
rename from dodaios/ui/web/frontend/src/views/JarvisAgentsView.test.tsx
rename to dodaios/ui/web/frontend/src/views/DodaiosAgentsView.test.tsx
index 54fe01b473..8acdc1bf10 100644
--- a/dodaios/ui/web/frontend/src/views/JarvisAgentsView.test.tsx
+++ b/dodaios/ui/web/frontend/src/views/DodaiosAgentsView.test.tsx
@@ -1,6 +1,6 @@
import { cleanup, fireEvent, render, screen } from "@testing-library/react";
import { afterEach, expect, it, vi } from "vitest";
-import { JarvisAgentsView } from "./JarvisAgentsView";
+import { DodaiosAgentsView } from "./DodaiosAgentsView";
vi.mock("@/i18n", () => ({ useLocaleChunk: () => true }));
vi.mock("@/components/society/world/WorldStage", () => ({ WorldStage: () => { throw new Error("Legacy world must not mount"); } }));
@@ -12,7 +12,7 @@ afterEach(() => { cleanup(); window.history.replaceState(null, "", initialUrl);
it.each(["?view=agents", "?view=agents&world=legacy", "?view=agents&world=mars"])("mounts only the ship for %s", async (url) => {
window.history.replaceState(null, "", url);
const openAgents = vi.fn();
- render(<JarvisAgentsView onOpenAgents={openAgents} />);
+ render(<DodaiosAgentsView onOpenAgents={openAgents} />);
expect(await screen.findByTestId("ship-map")).toBeTruthy();
expect(screen.queryByRole("button", { name: /previous|preview/i })).toBeNull();
fireEvent.click(screen.getByText("Open agents"));
@@ -21,16 +21,16 @@ it.each(["?view=agents", "?view=agents&world=legacy", "?view=agents&world=mars"]
it("forwards an agent picked on the ship", async () => {
const onSelect = vi.fn();
- render(<JarvisAgentsView onOpenAgents={() => undefined} onSelectAgent={onSelect} />);
+ render(<DodaiosAgentsView onOpenAgents={() => undefined} onSelectAgent={onSelect} />);
fireEvent.click(await screen.findByText("Agent a1"));
expect(onSelect).toHaveBeenCalledWith("a1");
});
it("forwards visibility without replacing the ship", () => {
- const view = render(<JarvisAgentsView onOpenAgents={() => undefined} />);
+ const view = render(<DodaiosAgentsView onOpenAgents={() => undefined} />);
const ship = screen.getByTestId("ship-map");
expect(ship.dataset.active).toBe("true");
- view.rerender(<JarvisAgentsView active={false} onOpenAgents={() => undefined} />);
+ view.rerender(<DodaiosAgentsView active={false} onOpenAgents={() => undefined} />);
expect(screen.getByTestId("ship-map")).toBe(ship);
expect(ship.dataset.active).toBe("false");
});
diff --git a/dodaios/ui/web/frontend/src/views/JarvisAgentsView.tsx b/dodaios/ui/web/frontend/src/views/DodaiosAgentsView.tsx
similarity index 83%
rename from dodaios/ui/web/frontend/src/views/JarvisAgentsView.tsx
rename to dodaios/ui/web/frontend/src/views/DodaiosAgentsView.tsx
index f828425737..98d39967e7 100644
--- a/dodaios/ui/web/frontend/src/views/JarvisAgentsView.tsx
+++ b/dodaios/ui/web/frontend/src/views/DodaiosAgentsView.tsx
@@ -7,7 +7,7 @@ import { useLocaleChunk } from "@/i18n";
import type { PlaceId } from "@/components/society/world/islandLayout";
import { VerseStage } from "@/components/society/verse/VerseStage";
-export interface JarvisAgentsViewProps {
+export interface DodaiosAgentsViewProps {
onSelectAgent?: (agentId: string | null) => void;
onSelectPlace?: (place: PlaceId) => void;
onOpenAgents: () => void;
@@ -16,7 +16,7 @@ export interface JarvisAgentsViewProps {
active?: boolean;
}
-export function JarvisAgentsView({ onSelectAgent, onOpenAgents, onCreateAgent, onOpenGroup, active = true }: JarvisAgentsViewProps) {
+export function DodaiosAgentsView({ onSelectAgent, onOpenAgents, onCreateAgent, onOpenGroup, active = true }: DodaiosAgentsViewProps) {
const ready = useLocaleChunk("society");
if (!ready) return null;
return (
diff --git a/dodaios/ui/web/frontend/src/views/MissionsView.tsx b/dodaios/ui/web/frontend/src/views/MissionsView.tsx
index d866e730a3..90548f2049 100644
--- a/dodaios/ui/web/frontend/src/views/MissionsView.tsx
+++ b/dodaios/ui/web/frontend/src/views/MissionsView.tsx
@@ -41,7 +41,7 @@ import { EventTimeline } from "@/components/missions/EventTimeline";
import { CapacityDecisionPanel } from "@/components/missions/CapacityDecisionPanel";
import { GlobalKillButton } from "@/components/missions/GlobalKillButton";
import { MissionTree } from "@/components/missions/MissionTree";
-import { JarvisAgentPanel } from "@/components/missions/JarvisAgentPanel";
+import { DodaiosAgentPanel } from "@/components/missions/DodaiosAgentPanel";
import {
ToolApprovalPanel,
useMissionToolApprovals,
@@ -228,7 +228,7 @@ export function MissionsView() {
<PlanPanel />
</TabsContent>
<TabsContent value="jarvis-agent" className="m-0 flex-1 overflow-hidden">
- <JarvisAgentPanel />
+ <DodaiosAgentPanel />
</TabsContent>
<TabsContent
value="approvals"
diff --git a/dodaios/ui/web/frontend/src/views/dodaiosx/JarvisXConfirmDialog.tsx b/dodaios/ui/web/frontend/src/views/dodaiosx/DodaiosXConfirmDialog.tsx
similarity index 97%
rename from dodaios/ui/web/frontend/src/views/dodaiosx/JarvisXConfirmDialog.tsx
rename to dodaios/ui/web/frontend/src/views/dodaiosx/DodaiosXConfirmDialog.tsx
index 3d7a7905e6..1660ad8625 100644
--- a/dodaios/ui/web/frontend/src/views/dodaiosx/JarvisXConfirmDialog.tsx
+++ b/dodaios/ui/web/frontend/src/views/dodaiosx/DodaiosXConfirmDialog.tsx
@@ -7,7 +7,7 @@ import { useT } from "@/i18n";
* An in-app confirmation. Never `window.confirm`: a native dialog blocks the
* desktop WebView's loop and looks foreign in both themes.
*/
-export function JarvisXConfirmDialog({
+export function DodaiosXConfirmDialog({
title,
body,
confirmLabel,
diff --git a/dodaios/ui/web/frontend/src/views/dodaiosx/JarvisXEditor.tsx b/dodaios/ui/web/frontend/src/views/dodaiosx/DodaiosXEditor.tsx
similarity index 99%
rename from dodaios/ui/web/frontend/src/views/dodaiosx/JarvisXEditor.tsx
rename to dodaios/ui/web/frontend/src/views/dodaiosx/DodaiosXEditor.tsx
index efed6e2ae4..f9cd0e7d24 100644
--- a/dodaios/ui/web/frontend/src/views/dodaiosx/JarvisXEditor.tsx
+++ b/dodaios/ui/web/frontend/src/views/dodaiosx/DodaiosXEditor.tsx
@@ -35,7 +35,7 @@ import {
saveJarvisXEdited,
withVersion,
type JarvisXItem,
-} from "@/lib/jarvisxApi";
+} from "@/lib/dodaiosxApi";
import {
DEFAULT_COLOR,
DEFAULT_FONT_SIZE,
@@ -84,11 +84,11 @@ import {
type Shape,
type TextShape,
type Tool,
-} from "@/lib/jarvisxEditorModel";
-import { exportPng, measureTextShape, paintDocument, textFont } from "@/lib/jarvisxRender";
+} from "@/lib/dodaiosxEditorModel";
+import { exportPng, measureTextShape, paintDocument, textFont } from "@/lib/dodaiosxRender";
import { cn } from "@/lib/utils";
import { useEventStore } from "@/store/events";
-import { JarvisXConfirmDialog } from "@/views/dodaiosx/JarvisXConfirmDialog";
+import { DodaiosXConfirmDialog } from "@/views/dodaiosx/DodaiosXConfirmDialog";
/**
* The Jarvis X annotation editor.
@@ -238,7 +238,7 @@ function extendDraft(shape: Shape, origin: Point, p: Point): Shape {
}
}
-export interface JarvisXEditorProps {
+export interface DodaiosXEditorProps {
/** The capture to edit; absent together with `devSrc` opens a local picture read-only. */
itemId: string | null;
/** Dev/verification fallback: a same-origin image URL to annotate without an item. */
@@ -251,7 +251,7 @@ export interface JarvisXEditorProps {
trailing?: ReactNode;
}
-export function JarvisXEditor({ itemId, devSrc, variant, onClose, leading, trailing }: JarvisXEditorProps) {
+export function DodaiosXEditor({ itemId, devSrc, variant, onClose, leading, trailing }: DodaiosXEditorProps) {
const t = useT();
const pushToast = useEventStore((s) => s.pushToast);
@@ -1100,7 +1100,7 @@ export function JarvisXEditor({ itemId, devSrc, variant, onClose, leading, trail
)}
{confirm === "discard" && (
- <JarvisXConfirmDialog
+ <DodaiosXConfirmDialog
title={t("jarvisx.editor.discard_title")}
body={t("jarvisx.editor.discard_body")}
confirmLabel={t("jarvisx.editor.discard_confirm")}
@@ -1112,7 +1112,7 @@ export function JarvisXEditor({ itemId, devSrc, variant, onClose, leading, trail
/>
)}
{confirm === "original" && (
- <JarvisXConfirmDialog
+ <DodaiosXConfirmDialog
title={t("jarvisx.editor.switch_title")}
body={t("jarvisx.editor.switch_body")}
confirmLabel={t("jarvisx.editor.discard_confirm")}
@@ -1124,7 +1124,7 @@ export function JarvisXEditor({ itemId, devSrc, variant, onClose, leading, trail
/>
)}
{confirm === "delete" && (
- <JarvisXConfirmDialog
+ <DodaiosXConfirmDialog
title={t("jarvisx.delete_title")}
body={t("jarvisx.delete_body")}
confirmLabel={t("jarvisx.delete")}
diff --git a/dodaios/ui/web/frontend/src/views/dodaiosx/JarvisXEditorWindow.tsx b/dodaios/ui/web/frontend/src/views/dodaiosx/DodaiosXEditorWindow.tsx
similarity index 95%
rename from dodaios/ui/web/frontend/src/views/dodaiosx/JarvisXEditorWindow.tsx
rename to dodaios/ui/web/frontend/src/views/dodaiosx/DodaiosXEditorWindow.tsx
index 3598fa2f69..aea4cd432a 100644
--- a/dodaios/ui/web/frontend/src/views/dodaiosx/JarvisXEditorWindow.tsx
+++ b/dodaios/ui/web/frontend/src/views/dodaiosx/DodaiosXEditorWindow.tsx
@@ -4,7 +4,7 @@ import { ToastLayer } from "@/components/ToastLayer";
import { EditContextMenu } from "@/components/EditContextMenu";
import { useDesktopChrome, WindowControls } from "@/components/layout/WindowControls";
import { hydrateUiLanguage } from "@/i18n";
-import { JarvisXEditor } from "@/views/dodaiosx/JarvisXEditor";
+import { DodaiosXEditor } from "@/views/dodaiosx/DodaiosXEditor";
/** The view id the backend opens the editor window with. */
export const JARVISX_EDITOR_VIEW = "jarvisx-editor";
@@ -23,7 +23,7 @@ export function isJarvisXEditorSearch(search: string): boolean {
* broker for an unknown view id. The window keeps its title strip — the
* toolbar row doubles as the drag handle — and the toast layer.
*/
-export function JarvisXEditorWindow() {
+export function DodaiosXEditorWindow() {
const params = new URLSearchParams(window.location.search);
const itemId = params.get("item");
// Verification fallback: a same-origin picture opened without a stored item.
@@ -63,7 +63,7 @@ export function JarvisXEditorWindow() {
return (
<div className="flex h-screen w-screen flex-col overflow-hidden bg-background text-foreground">
- <JarvisXEditor
+ <DodaiosXEditor
itemId={itemId}
devSrc={devSrc}
variant="window"
diff --git a/dodaios/ui/web/frontend/src/views/dodaiosx/JarvisXSettingsPanel.tsx b/dodaios/ui/web/frontend/src/views/dodaiosx/DodaiosXSettingsPanel.tsx
similarity index 99%
rename from dodaios/ui/web/frontend/src/views/dodaiosx/JarvisXSettingsPanel.tsx
rename to dodaios/ui/web/frontend/src/views/dodaiosx/DodaiosXSettingsPanel.tsx
index c8b9f08fb2..c4424e00a2 100644
--- a/dodaios/ui/web/frontend/src/views/dodaiosx/JarvisXSettingsPanel.tsx
+++ b/dodaios/ui/web/frontend/src/views/dodaiosx/DodaiosXSettingsPanel.tsx
@@ -16,7 +16,7 @@ import {
type JarvisXHotkeyAction,
type JarvisXSettings,
type JarvisXSettingsPatch,
-} from "@/lib/jarvisxApi";
+} from "@/lib/dodaiosxApi";
import { useEventStore } from "@/store/events";
import { KeybindRow } from "@/views/settings/KeybindRow";
@@ -77,7 +77,7 @@ function Section({ title, children }: { title: string; children: ReactNode }) {
);
}
-export function JarvisXSettingsPanel({
+export function DodaiosXSettingsPanel({
settings,
error,
onRetry,
diff --git a/dodaios/ui/web/frontend/src/views/dodaiosx/JarvisXView.test.tsx b/dodaios/ui/web/frontend/src/views/dodaiosx/DodaiosXView.test.tsx
similarity index 95%
rename from dodaios/ui/web/frontend/src/views/dodaiosx/JarvisXView.test.tsx
rename to dodaios/ui/web/frontend/src/views/dodaiosx/DodaiosXView.test.tsx
index 54f116d483..e39f9168bd 100644
--- a/dodaios/ui/web/frontend/src/views/dodaiosx/JarvisXView.test.tsx
+++ b/dodaios/ui/web/frontend/src/views/dodaiosx/DodaiosXView.test.tsx
@@ -2,7 +2,7 @@ import { act, cleanup, fireEvent, render, screen, waitFor } from "@testing-libra
import { afterEach, beforeEach, describe, expect, it, vi } from "vitest";
import { useEventStore } from "@/store/events";
-import { JarvisXView } from "@/views/dodaiosx/JarvisXView";
+import { DodaiosXView } from "@/views/dodaiosx/DodaiosXView";
const SETTINGS = {
enabled: true,
@@ -61,7 +61,7 @@ function json(body: unknown, status = 200): Response {
return { ok: status < 400, status, json: async () => body } as Response;
}
-describe("JarvisXView", () => {
+describe("DodaiosXView", () => {
let fetchMock: ReturnType<typeof vi.fn>;
let items: typeof ITEMS;
@@ -91,7 +91,7 @@ describe("JarvisXView", () => {
});
it("lists captures newest first with a video duration", async () => {
- render(<JarvisXView />);
+ render(<DodaiosXView />);
const cards = await screen.findAllByTestId("jarvisx-item");
expect(cards).toHaveLength(2);
expect(cards[0].textContent).toContain("1:23");
@@ -102,7 +102,7 @@ describe("JarvisXView", () => {
it("deletes only after the in-app confirmation", async () => {
const confirmSpy = vi.fn();
vi.stubGlobal("confirm", confirmSpy);
- render(<JarvisXView />);
+ render(<DodaiosXView />);
await screen.findAllByTestId("jarvisx-item");
const deleteButtons = screen.getAllByTestId("jarvisx-item-delete");
fireEvent.click(deleteButtons[1]);
@@ -114,7 +114,7 @@ describe("JarvisXView", () => {
});
it("refreshes the library when a capture event arrives", async () => {
- render(<JarvisXView />);
+ render(<DodaiosXView />);
await screen.findAllByTestId("jarvisx-item");
const before = fetchMock.mock.calls.filter(([url]) => String(url).startsWith("/api/jarvisx/items?")).length;
act(() => {
@@ -133,7 +133,7 @@ describe("JarvisXView", () => {
});
it("shows a recording indicator from the websocket event", async () => {
- render(<JarvisXView />);
+ render(<DodaiosXView />);
await screen.findAllByTestId("jarvisx-item");
act(() => {
useEventStore.getState().pushEvent({
@@ -148,7 +148,7 @@ describe("JarvisXView", () => {
});
it("hides the seconds field while the thumbnail stays until dismissed", async () => {
- render(<JarvisXView />);
+ render(<DodaiosXView />);
fireEvent.click(await screen.findByText("Settings"));
const persist = await screen.findByTestId("jarvisx-persist");
expect(screen.getByTestId("jarvisx-dismiss-row")).toBeDefined();
@@ -163,7 +163,7 @@ describe("JarvisXView", () => {
});
it("saves a clamped dismiss delay", async () => {
- render(<JarvisXView />);
+ render(<DodaiosXView />);
fireEvent.click(await screen.findByText("Settings"));
const input = await screen.findByTestId("jarvisx-dismiss-input");
fireEvent.change(input, { target: { value: "999" } });
@@ -177,7 +177,7 @@ describe("JarvisXView", () => {
});
it("shows whether each shortcut is armed", async () => {
- render(<JarvisXView />);
+ render(<DodaiosXView />);
fireEvent.click(await screen.findByText("Settings"));
expect(await screen.findByTestId("jarvisx-hotkey-armed-region")).toBeDefined();
expect(screen.getByTestId("jarvisx-hotkey-unarmed-window").textContent).toContain("taken by another app");
diff --git a/dodaios/ui/web/frontend/src/views/dodaiosx/JarvisXView.tsx b/dodaios/ui/web/frontend/src/views/dodaiosx/DodaiosXView.tsx
similarity index 98%
rename from dodaios/ui/web/frontend/src/views/dodaiosx/JarvisXView.tsx
rename to dodaios/ui/web/frontend/src/views/dodaiosx/DodaiosXView.tsx
index d614b48ab6..58eeb579b2 100644
--- a/dodaios/ui/web/frontend/src/views/dodaiosx/JarvisXView.tsx
+++ b/dodaios/ui/web/frontend/src/views/dodaiosx/DodaiosXView.tsx
@@ -41,12 +41,12 @@ import {
type JarvisXRecordMode,
type JarvisXRecordStatus,
type JarvisXSettings,
-} from "@/lib/jarvisxApi";
+} from "@/lib/dodaiosxApi";
import { cn } from "@/lib/utils";
import { useEventStore } from "@/store/events";
-import { JarvisXConfirmDialog } from "@/views/dodaiosx/JarvisXConfirmDialog";
-import { JarvisXEditor } from "@/views/dodaiosx/JarvisXEditor";
-import { JarvisXSettingsPanel } from "@/views/dodaiosx/JarvisXSettingsPanel";
+import { DodaiosXConfirmDialog } from "@/views/dodaiosx/DodaiosXConfirmDialog";
+import { DodaiosXEditor } from "@/views/dodaiosx/DodaiosXEditor";
+import { DodaiosXSettingsPanel } from "@/views/dodaiosx/DodaiosXSettingsPanel";
import { uiLocale } from "@/lib/boardInsights";
/**
@@ -74,7 +74,7 @@ function relativeTime(iso: string, t: (key: string) => string, now: number): str
: date.toLocaleDateString(uiLocale(), { day: "numeric", month: "short", hour: "2-digit", minute: "2-digit" });
}
-export function JarvisXView() {
+export function DodaiosXView() {
const t = useT();
const [tab, setTab] = useState<Tab>("library");
const [settings, setSettings] = useState<JarvisXSettings | null>(null);
@@ -114,7 +114,7 @@ export function JarvisXView() {
{tab === "library" ? (
<JarvisXLibrary settings={settings} />
) : (
- <JarvisXSettingsPanel
+ <DodaiosXSettingsPanel
settings={settings}
error={settingsError}
onRetry={() => setSettingsAttempt((n) => n + 1)}
@@ -392,7 +392,7 @@ export function JarvisXLibrary({ settings }: { settings: JarvisXSettings | null
)}
{confirmDelete && (
- <JarvisXConfirmDialog
+ <DodaiosXConfirmDialog
title={t("jarvisx.delete_title")}
body={t("jarvisx.delete_body")}
confirmLabel={t("jarvisx.delete")}
@@ -408,7 +408,7 @@ export function JarvisXLibrary({ settings }: { settings: JarvisXSettings | null
aria-modal="true"
aria-label={t("jarvisx.editor.title")}
>
- <JarvisXEditor
+ <DodaiosXEditor
itemId={editing}
variant="overlay"
onClose={() => {
diff --git a/dodaios/ui/web/frontend/src/views/settings/JarvisApiGroup.test.tsx b/dodaios/ui/web/frontend/src/views/settings/DodaiosApiGroup.test.tsx
similarity index 95%
rename from dodaios/ui/web/frontend/src/views/settings/JarvisApiGroup.test.tsx
rename to dodaios/ui/web/frontend/src/views/settings/DodaiosApiGroup.test.tsx
index 2b8bc551a5..9e8cf69f81 100644
--- a/dodaios/ui/web/frontend/src/views/settings/JarvisApiGroup.test.tsx
+++ b/dodaios/ui/web/frontend/src/views/settings/DodaiosApiGroup.test.tsx
@@ -1,6 +1,6 @@
import { fireEvent, render, screen, waitFor } from "@testing-library/react";
import { afterEach, describe, expect, it, vi } from "vitest";
-import { JarvisApiGroup } from "./JarvisApiGroup";
+import { DodaiosApiGroup } from "./DodaiosApiGroup";
const KEY = "jctl_secretvalue1234";
const MASKED = "jctl_…1234";
@@ -31,10 +31,10 @@ function stubKeyFetch(
return mock;
}
-describe("JarvisApiGroup", () => {
+describe("DodaiosApiGroup", () => {
it("renders the 'Control Key' heading and the masked key (full key hidden)", async () => {
stubKeyFetch();
- render(<JarvisApiGroup />);
+ render(<DodaiosApiGroup />);
expect(screen.getByRole("heading", { name: "Control Key" })).toBeTruthy();
await waitFor(() => expect(screen.getByText(MASKED)).toBeTruthy());
@@ -44,7 +44,7 @@ describe("JarvisApiGroup", () => {
it("reveals the full key when Show is clicked", async () => {
stubKeyFetch();
- render(<JarvisApiGroup />);
+ render(<DodaiosApiGroup />);
await waitFor(() => screen.getByText(MASKED));
fireEvent.click(screen.getByRole("button", { name: /show/i }));
@@ -53,7 +53,7 @@ describe("JarvisApiGroup", () => {
it("copies the clear key via robustCopy", async () => {
stubKeyFetch();
- render(<JarvisApiGroup />);
+ render(<DodaiosApiGroup />);
await waitFor(() => screen.getByText(MASKED));
fireEvent.click(screen.getByRole("button", { name: /copy/i }));
@@ -69,7 +69,7 @@ describe("JarvisApiGroup", () => {
}
: undefined,
);
- render(<JarvisApiGroup />);
+ render(<DodaiosApiGroup />);
await waitFor(() => screen.getByText(MASKED));
fireEvent.click(screen.getByRole("button", { name: /generate random key/i }));
@@ -91,7 +91,7 @@ describe("JarvisApiGroup", () => {
? { ok: true, json: async () => ({ ok: true, masked: "…tery" }) }
: undefined,
);
- render(<JarvisApiGroup />);
+ render(<DodaiosApiGroup />);
await waitFor(() => screen.getByText(MASKED));
fireEvent.click(screen.getByRole("button", { name: /choose my own key/i }));
@@ -116,7 +116,7 @@ describe("JarvisApiGroup", () => {
it("rejects a too-short custom key locally without any request", async () => {
stubKeyFetch();
- render(<JarvisApiGroup />);
+ render(<DodaiosApiGroup />);
await waitFor(() => screen.getByText(MASKED));
const fetchMock = window.fetch as ReturnType<typeof vi.fn>;
const callsBefore = fetchMock.mock.calls.length;
@@ -152,7 +152,7 @@ describe("JarvisApiGroup", () => {
}
: undefined,
);
- render(<JarvisApiGroup />);
+ render(<DodaiosApiGroup />);
await waitFor(() => screen.getByText(MASKED));
fireEvent.click(screen.getByRole("switch"));
@@ -188,7 +188,7 @@ describe("JarvisApiGroup", () => {
: undefined,
true,
);
- render(<JarvisApiGroup />);
+ render(<DodaiosApiGroup />);
await waitFor(() => screen.getByText(MASKED));
await waitFor(() =>
expect(screen.getByRole("switch").getAttribute("aria-checked")).toBe("true"),
diff --git a/dodaios/ui/web/frontend/src/views/settings/JarvisApiGroup.tsx b/dodaios/ui/web/frontend/src/views/settings/DodaiosApiGroup.tsx
similarity index 98%
rename from dodaios/ui/web/frontend/src/views/settings/JarvisApiGroup.tsx
rename to dodaios/ui/web/frontend/src/views/settings/DodaiosApiGroup.tsx
index d542f7094d..2dfb62d30e 100644
--- a/dodaios/ui/web/frontend/src/views/settings/JarvisApiGroup.tsx
+++ b/dodaios/ui/web/frontend/src/views/settings/DodaiosApiGroup.tsx
@@ -13,7 +13,7 @@ import {
import { Button } from "@/components/ui/button";
import { Switch } from "@/components/ui/switch";
import { useBrowserLock } from "@/hooks/useBrowserLock";
-import { useJarvisApi } from "@/hooks/useJarvisApi";
+import { useDodaiosApi } from "@/hooks/useDodaiosApi";
import { robustCopy } from "@/lib/clipboard";
import { useEventStore } from "@/store/events";
import { useT } from "@/i18n";
@@ -38,9 +38,9 @@ const CUSTOM_KEY_RE = /^[A-Za-z0-9._~-]+$/;
* with a memorable key of their own. Reveal/change are session-permitted so
* the panel works before the user possesses the key.
*/
-export function JarvisApiGroup() {
+export function DodaiosApiGroup() {
const t = useT();
- const { data, loading, error, rotate, setKey } = useJarvisApi();
+ const { data, loading, error, rotate, setKey } = useDodaiosApi();
const browserLock = useBrowserLock();
const pushToast = useEventStore((s) => s.pushToast);
const [revealed, setRevealed] = useState(false);
diff --git a/dodaios/ui/web/frontend/src/views/society/SocietyView.deferred.test.tsx b/dodaios/ui/web/frontend/src/views/society/SocietyView.deferred.test.tsx
index 92d5cd5d9f..d05fbcb55c 100644
--- a/dodaios/ui/web/frontend/src/views/society/SocietyView.deferred.test.tsx
+++ b/dodaios/ui/web/frontend/src/views/society/SocietyView.deferred.test.tsx
@@ -18,9 +18,9 @@ vi.mock("@/components/society/roster/RosterRail", () => ({ RosterRail: () => nul
vi.mock("@/components/society/card/AgentCardOverlay", () => ({ AgentCardOverlay: ({ onCreate }: { onCreate: () => void }) => (
<><input aria-label="Existing chat draft" /><button onClick={onCreate}>Create agent</button></>
) }));
-vi.mock("@/views/JarvisAgentsView", () => {
+vi.mock("@/views/DodaiosAgentsView", () => {
loaded.world += 1;
- return { JarvisAgentsView: ({ onSelectPlace }: { onSelectPlace: (place: string) => void }) => <>
+ return { DodaiosAgentsView: ({ onSelectPlace }: { onSelectPlace: (place: string) => void }) => <>
<button onClick={() => onSelectPlace("foundry")}>Open foundry</button>
<button onClick={() => onSelectPlace("plugins")}>Open docks</button>
</> };
diff --git a/dodaios/ui/web/frontend/src/views/society/SocietyView.test.tsx b/dodaios/ui/web/frontend/src/views/society/SocietyView.test.tsx
index d075115883..ae46f2e3b1 100644
--- a/dodaios/ui/web/frontend/src/views/society/SocietyView.test.tsx
+++ b/dodaios/ui/web/frontend/src/views/society/SocietyView.test.tsx
@@ -26,7 +26,7 @@ vi.mock("@/components/society/data", () => ({ useQuickCreateAgent: () => quick.c
{ agentId: "lead", name: "Lead", tier: "lead", state: "idle" },
{ agentId: "specialist", name: "Specialist", tier: "specialist", state: "idle" },
] }, isLoading: false }) }));
-vi.mock("@/views/JarvisAgentsView", () => ({ JarvisAgentsView: ({ active, onSelectAgent, onOpenAgents, onMarsSelectionChange }: any) => (
+vi.mock("@/views/DodaiosAgentsView", () => ({ DodaiosAgentsView: ({ active, onSelectAgent, onOpenAgents, onMarsSelectionChange }: any) => (
<div data-testid="map" data-active={active}><button onClick={() => onSelectAgent("specialist")}>Map specialist</button><button onClick={onOpenAgents}>Map fallback</button><div data-mars-ui><input aria-label="Mars draft" /></div><div data-mars-mode="player"><button>Player viewport</button></div><div data-mars-mode="follow"><button>Follow viewport</button></div><button onClick={() => onMarsSelectionChange(false)}>Previous world</button><button onClick={() => onMarsSelectionChange(true)}>Mars world</button></div>
) }));
vi.mock("@/components/society/mars/MarsStationPanel", () => ({ MarsStationPanel: ({ onClose }: any) => <aside aria-label="Mars station"><button onClick={onClose}>Close station</button></aside> }));
diff --git a/dodaios/ui/web/frontend/src/views/society/SocietyView.tsx b/dodaios/ui/web/frontend/src/views/society/SocietyView.tsx
index 417368557a..8d4be48f38 100644
--- a/dodaios/ui/web/frontend/src/views/society/SocietyView.tsx
+++ b/dodaios/ui/web/frontend/src/views/society/SocietyView.tsx
@@ -32,7 +32,7 @@ const MODES = [
{ value: "agents", labelKey: "society.roster.title", Icon: Users },
] as const;
-const loadWorld = () => import("@/views/JarvisAgentsView").then((m) => ({ default: m.JarvisAgentsView }));
+const loadWorld = () => import("@/views/DodaiosAgentsView").then((m) => ({ default: m.DodaiosAgentsView }));
const JarvisAgentsBoard = lazy(loadWorld);
const preloadWorld = () => { void loadWorld().catch((error) => console.debug("World preload unavailable", error)); };
diff --git a/dodaios/ui/web/frontend/src/views/sub-agents/AgentInsight.test.tsx b/dodaios/ui/web/frontend/src/views/sub-agents/AgentInsight.test.tsx
index 6e7b18205f..3bd0460feb 100644
--- a/dodaios/ui/web/frontend/src/views/sub-agents/AgentInsight.test.tsx
+++ b/dodaios/ui/web/frontend/src/views/sub-agents/AgentInsight.test.tsx
@@ -3,7 +3,7 @@ import { QueryClient, QueryClientProvider } from "@tanstack/react-query";
import { cleanup, fireEvent, render, screen, waitFor } from "@testing-library/react";
import { afterEach, beforeEach, describe, expect, it, vi } from "vitest";
-import type { SubAgentNode } from "@/store/jarvisAgents";
+import type { SubAgentNode } from "@/store/dodaiosAgents";
import { AgentInsight, requestTitle } from "./AgentInsight";
const MISSION_ID = "019fecaa-5a92-7360-a784-829281639cf6";
diff --git a/dodaios/ui/web/frontend/src/views/sub-agents/AgentInsight.tsx b/dodaios/ui/web/frontend/src/views/sub-agents/AgentInsight.tsx
index f0a48defbb..bae7fe2197 100644
--- a/dodaios/ui/web/frontend/src/views/sub-agents/AgentInsight.tsx
+++ b/dodaios/ui/web/frontend/src/views/sub-agents/AgentInsight.tsx
@@ -41,7 +41,7 @@ import {
XCircle,
} from "lucide-react";
-import type { SubAgentNode, ToolCallEntry } from "@/store/jarvisAgents";
+import type { SubAgentNode, ToolCallEntry } from "@/store/dodaiosAgents";
import type {
CriticAxisResult,
CriticVerdictReady,
diff --git a/dodaios/ui/web/frontend/src/views/sub-agents/DepartureBoard.tsx b/dodaios/ui/web/frontend/src/views/sub-agents/DepartureBoard.tsx
index b507d96b3e..4d9885ce06 100644
--- a/dodaios/ui/web/frontend/src/views/sub-agents/DepartureBoard.tsx
+++ b/dodaios/ui/web/frontend/src/views/sub-agents/DepartureBoard.tsx
@@ -22,7 +22,7 @@
import { useEffect, useMemo, useState, type ReactNode } from "react";
import { AlertTriangle, Bot, CheckCircle2, ChevronRight, CircleAlert, Radio, Wrench } from "lucide-react";
-import type { SubAgentNode } from "@/store/jarvisAgents";
+import type { SubAgentNode } from "@/store/dodaiosAgents";
import type { SectionHealth } from "@/hooks/useProviders";
import { ScrollArea } from "@/components/ui/scroll-area";
import {
diff --git a/dodaios/ui/web/frontend/src/views/sub-agents/ToolsCanvas.tsx b/dodaios/ui/web/frontend/src/views/sub-agents/ToolsCanvas.tsx
index b8e370ef6e..33ceb426fa 100644
--- a/dodaios/ui/web/frontend/src/views/sub-agents/ToolsCanvas.tsx
+++ b/dodaios/ui/web/frontend/src/views/sub-agents/ToolsCanvas.tsx
@@ -26,7 +26,7 @@ import { useCallback, useEffect, useMemo, useState } from "react";
import { ScrollArea } from "@/components/ui/scroll-area";
import { useT } from "@/i18n";
-import type { SubAgentNode, ToolCallEntry } from "@/store/jarvisAgents";
+import type { SubAgentNode, ToolCallEntry } from "@/store/dodaiosAgents";
import { getToolAppearance, type ToolAppearance } from "./tool-icons";
diff --git a/dodaios/ui/web/frontend/src/views/sub-agents/failureLabel.ts b/dodaios/ui/web/frontend/src/views/sub-agents/failureLabel.ts
index cad992ce9c..701e2aaa01 100644
--- a/dodaios/ui/web/frontend/src/views/sub-agents/failureLabel.ts
+++ b/dodaios/ui/web/frontend/src/views/sub-agents/failureLabel.ts
@@ -1,4 +1,4 @@
-import type { SubAgentNode } from "@/store/jarvisAgents";
+import type { SubAgentNode } from "@/store/dodaiosAgents";
/** i18n keys for the closed MissionErrorClass vocabulary (parity-tested
* against dodaios/missions/events.py MISSION_ERROR_CLASSES). Legacy/unknown
diff --git a/dodaios/ui/web/frontend/src/views/sub-agents/missionRows.test.ts b/dodaios/ui/web/frontend/src/views/sub-agents/missionRows.test.ts
index 3dbdabebdd..cbb88f82e4 100644
--- a/dodaios/ui/web/frontend/src/views/sub-agents/missionRows.test.ts
+++ b/dodaios/ui/web/frontend/src/views/sub-agents/missionRows.test.ts
@@ -1,7 +1,7 @@
import { describe, expect, it } from "vitest";
import type { MissionSummary } from "@/types/missions";
-import type { SubAgentNode } from "@/store/jarvisAgents";
+import type { SubAgentNode } from "@/store/dodaiosAgents";
import { mergeBoardRows, missionToNode, normalizeTraceId } from "./missionRows";
function mission(over: Partial<MissionSummary> = {}): MissionSummary {
diff --git a/dodaios/ui/web/frontend/src/views/sub-agents/missionRows.ts b/dodaios/ui/web/frontend/src/views/sub-agents/missionRows.ts
index 15969b978e..af0a9b2047 100644
--- a/dodaios/ui/web/frontend/src/views/sub-agents/missionRows.ts
+++ b/dodaios/ui/web/frontend/src/views/sub-agents/missionRows.ts
@@ -25,7 +25,7 @@
* not (the directory was cleaned up), the row keeps what it had.
*/
import type { MissionSummary } from "@/types/missions";
-import type { SubAgentNode } from "@/store/jarvisAgents";
+import type { SubAgentNode } from "@/store/dodaiosAgents";
import type { OutputSummary } from "@/hooks/useOutputs";
import { missionIdFromTraceId } from "./outcome";
diff --git a/dodaios/ui/web/frontend/src/views/sub-agents/narrative.test.ts b/dodaios/ui/web/frontend/src/views/sub-agents/narrative.test.ts
index 8e878e71ea..a190215167 100644
--- a/dodaios/ui/web/frontend/src/views/sub-agents/narrative.test.ts
+++ b/dodaios/ui/web/frontend/src/views/sub-agents/narrative.test.ts
@@ -1,6 +1,6 @@
import { describe, expect, it } from "vitest";
-import type { SubAgentNode } from "@/store/jarvisAgents";
+import type { SubAgentNode } from "@/store/dodaiosAgents";
import type { CriticVerdictReady, WorkerKilled } from "@/types/missions";
import { composeNarrative } from "./narrative";
import type { AgentOutcome } from "./outcome";
diff --git a/dodaios/ui/web/frontend/src/views/sub-agents/narrative.ts b/dodaios/ui/web/frontend/src/views/sub-agents/narrative.ts
index d53a0d93c4..6c2d3e91df 100644
--- a/dodaios/ui/web/frontend/src/views/sub-agents/narrative.ts
+++ b/dodaios/ui/web/frontend/src/views/sub-agents/narrative.ts
@@ -12,7 +12,7 @@
* Pure: facts in, i18n keys + variables out. The component only renders.
*/
import { fill } from "@/i18n";
-import type { SubAgentNode } from "@/store/jarvisAgents";
+import type { SubAgentNode } from "@/store/dodaiosAgents";
import { type AgentOutcome, splitReason, REASON_LABEL_KEYS } from "./outcome";
type T = (key: string) => string;
diff --git a/dodaios/ui/web/frontend/src/views/sub-agents/rows.test.ts b/dodaios/ui/web/frontend/src/views/sub-agents/rows.test.ts
index 27483a90ae..54e1d45b12 100644
--- a/dodaios/ui/web/frontend/src/views/sub-agents/rows.test.ts
+++ b/dodaios/ui/web/frontend/src/views/sub-agents/rows.test.ts
@@ -1,6 +1,6 @@
import { describe, expect, it } from "vitest";
import { selectTaskRows } from "./rows";
-import type { SubAgentNode } from "@/store/jarvisAgents";
+import type { SubAgentNode } from "@/store/dodaiosAgents";
function node(
partial: Partial<SubAgentNode> & { trace_id: string },
diff --git a/dodaios/ui/web/frontend/src/views/sub-agents/rows.ts b/dodaios/ui/web/frontend/src/views/sub-agents/rows.ts
index d381df797a..1255abb2c8 100644
--- a/dodaios/ui/web/frontend/src/views/sub-agents/rows.ts
+++ b/dodaios/ui/web/frontend/src/views/sub-agents/rows.ts
@@ -1,4 +1,4 @@
-import type { SubAgentNode } from "@/store/jarvisAgents";
+import type { SubAgentNode } from "@/store/dodaiosAgents";
/**
* Collapse the flat node map to ONE row per task.
diff --git a/dodaios/ui/web/mcp_server_routes.py b/dodaios/ui/web/mcp_server_routes.py
index e1789cc3cc..9664686ff1 100644
--- a/dodaios/ui/web/mcp_server_routes.py
+++ b/dodaios/ui/web/mcp_server_routes.py
@@ -102,7 +102,7 @@ class _Surface:
def _build_tools_server() -> Any:
- from dodaios.mcp.jarvis_tools_server import build_server
+ from dodaios.mcp.dodaios_tools_server import build_server
return build_server()
@@ -308,8 +308,8 @@ def build_mcp_asgi_app() -> Any:
# The session travels in a ContextVar: the stateless transport runs
# the tool call in a task started from this request, which inherits
# the context, and the tool server reads it when it builds the
- # executor's approval surface (jarvis_tools_server.approval_snapshot).
- from dodaios.mcp.jarvis_tools_server import CHAT_SESSION_REF
+ # executor's approval surface (dodaios_tools_server.approval_snapshot).
+ from dodaios.mcp.dodaios_tools_server import CHAT_SESSION_REF
token = CHAT_SESSION_REF.set(session_ref(scope))
try:
diff --git a/dodaios/ui/web/provider_routes.py b/dodaios/ui/web/provider_routes.py
index 1fe387e65a..15b3825a0a 100644
--- a/dodaios/ui/web/provider_routes.py
+++ b/dodaios/ui/web/provider_routes.py
@@ -39,7 +39,7 @@ from dodaios.core.events import SecretConfigured
# 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).
+# (test_codex_dodaios_agent_parity.py, BUG-008 class).
from dodaios.missions.worker_runtime.provider_map import (
CODEX_SUBAGENT_CANONICAL as _CODEX_SUBAGENT_CANONICAL, # noqa: F401
)
diff --git a/dodaios/ui/web/server.py b/dodaios/ui/web/server.py
index cf2ffeddda..c0b5f4294b 100644
--- a/dodaios/ui/web/server.py
+++ b/dodaios/ui/web/server.py
@@ -543,7 +543,7 @@ class WebServer:
from .grok_build_routes import router as grok_build_router
from .ide_browser_routes import router as ide_browser_router
from .ide_skills_routes import router as ide_skills_router
- from .jarvisx_routes import router as jarvisx_router
+ from .dodaiosx_routes import router as jarvisx_router
from .live_routes import router as live_router
from .local_models_assistant_routes import (
router as local_models_assistant_router,
diff --git a/packaging/README.md b/packaging/README.md
index a1b47f41e0..cb24077fe0 100644
--- a/packaging/README.md
+++ b/packaging/README.md
@@ -17,7 +17,7 @@ GitHub Release for the tag.
Shared pieces that are not per-OS:
-- **`../jarvis.spec`** - the PyInstaller build every script starts from. One
+- **`../dodaios.spec`** - the PyInstaller build every script starts from. One
`onedir` bundle: the windowed launcher (`PersonalJarvis`) and the console CLI
(`dodaios`, built a second time as `jarvis`, its earlier name).
- **`pyinstaller_rthook_frozen.py`** - runtime hook that points a frozen
diff --git a/packaging/linux/README.md b/packaging/linux/README.md
index 8a72e05778..7a00e3cae4 100644
--- a/packaging/linux/README.md
+++ b/packaging/linux/README.md
@@ -56,7 +56,7 @@ not a bug, and here is the whole reasoning:
distributions - the exact failure mode this project treats as a defect.
* **Qt is not available either, today.** The `[desktop]` extra installs
`pyside6-essentials`, which does *not* contain QtWebEngine; pywebview's Qt
- backend needs `QtWebEngineWidgets` from `pyside6-addons`. `jarvis.spec` also
+ backend needs `QtWebEngineWidgets` from `pyside6-addons`. `dodaios.spec` also
excludes PySide6 outright to keep the bundle small. Adding `pyside6-addons`
and removing that exclusion is the realistic route to a native Linux window,
at roughly +400 MB - a trade worth making deliberately, not by accident.
diff --git a/packaging/linux/build.sh b/packaging/linux/build.sh
index b408a62226..ed1c8e61d1 100755
--- a/packaging/linux/build.sh
+++ b/packaging/linux/build.sh
@@ -57,11 +57,11 @@ APPIMAGETOOL_URL="https://github.com/AppImage/appimagetool/releases/download/${A
APPIMAGETOOL_SHA256="ed4ce84f0d9caff66f50bcca6ff6f35aae54ce8135408b3fa33abfc3cb384eb0"
APPIMAGETOOL_CACHE="${DIST_DIR}/.build-tools/appimagetool-${APPIMAGETOOL_VERSION}-x86_64.AppImage"
-ICON_SOURCE="${REPO_ROOT}/assets/icons/jarvis-gigi-256.png"
+ICON_SOURCE="${REPO_ROOT}/assets/icons/dodaios-gigi-256.png"
# The desktop entry, its icon and the window class share one name
# (dodaios/core/branding.py: LINUX_DESKTOP_ENTRY_FILE_NAME, LINUX_WM_CLASS).
DESKTOP_FILE_NAME="dodaios.desktop"
-# The console command and its earlier name; both ship (jarvis.spec builds both).
+# The console command and its earlier name; both ship (dodaios.spec builds both).
CLI_EXE_NAMES=("dodaios" "jarvis")
ICON_FILE_NAME="dodaios.png"
# usr/share/<name> inside the AppDir; AppRun reads its browser-ui marker there.
@@ -122,19 +122,19 @@ fi
command -v "${PYTHON}" >/dev/null 2>&1 || die "interpreter not found: ${PYTHON}"
-# jarvis.spec bundles ./jarvis.toml unconditionally, and that file is
+# dodaios.spec bundles ./jarvis.toml unconditionally, and that file is
# .gitignore'd - a fresh clone (every CI runner) does not have one and
# PyInstaller aborts before it starts. Seed the shipped default so the build
# works from a clean checkout. On a machine that already has a live config the
# spec bundles THAT file as-is, which is a privacy question the build cannot
# answer for the maintainer, so it says so instead of quietly shipping it.
if [ ! -f "${REPO_ROOT}/jarvis.toml" ]; then
- [ -f "${REPO_ROOT}/jarvis.toml.example" ] \
- || die "neither jarvis.toml nor jarvis.toml.example exists; jarvis.spec cannot bundle a default configuration"
- log "seeding jarvis.toml from jarvis.toml.example (clean checkout)"
- run cp "${REPO_ROOT}/jarvis.toml.example" "${REPO_ROOT}/jarvis.toml"
-elif ! cmp -s "${REPO_ROOT}/jarvis.toml" "${REPO_ROOT}/jarvis.toml.example"; then
- log "WARNING: jarvis.spec bundles this machine's jarvis.toml into the package, and it differs from jarvis.toml.example. Check it carries nothing personal before publishing the build."
+ [ -f "${REPO_ROOT}/dodaios.toml.example" ] \
+ || die "neither jarvis.toml nor dodaios.toml.example exists; dodaios.spec cannot bundle a default configuration"
+ log "seeding jarvis.toml from dodaios.toml.example (clean checkout)"
+ run cp "${REPO_ROOT}/dodaios.toml.example" "${REPO_ROOT}/jarvis.toml"
+elif ! cmp -s "${REPO_ROOT}/jarvis.toml" "${REPO_ROOT}/dodaios.toml.example"; then
+ log "WARNING: dodaios.spec bundles this machine's jarvis.toml into the package, and it differs from dodaios.toml.example. Check it carries nothing personal before publishing the build."
fi
if [ "${SKIP_PYINSTALLER}" = "1" ]; then
@@ -147,11 +147,11 @@ else
log "running PyInstaller"
(
cd "${REPO_ROOT}"
- run "${PYTHON}" -m PyInstaller jarvis.spec --noconfirm --clean
+ run "${PYTHON}" -m PyInstaller dodaios.spec --noconfirm --clean
)
fi
-# The windowed target is named DodaiosApp in jarvis.spec, because `Dodaios`
+# The windowed target is named DodaiosApp in dodaios.spec, because `Dodaios`
# and `dodaios` are the SAME path on Windows and on a default macOS volume and
# the second executable would overwrite the first. Linux has no such problem,
# but the freeze is shared, so accept the earlier names too rather than pinning
@@ -166,7 +166,7 @@ if building; then
fi
done
[ -n "${GUI_EXE_NAME}" ] \
- || die "PyInstaller produced none of ${GUI_EXE_CANDIDATES[*]} in '${FREEZE_DIR}' - jarvis.spec has no windowed EXE target"
+ || die "PyInstaller produced none of ${GUI_EXE_CANDIDATES[*]} in '${FREEZE_DIR}' - dodaios.spec has no windowed EXE target"
log "windowed executable: ${GUI_EXE_NAME}"
else
GUI_EXE_NAME="${GUI_EXE_CANDIDATES[0]}"
@@ -189,7 +189,7 @@ if building; then
# AppRun and the .desktop entry address the launcher as usr/bin/Jarvis, which
# is the name the release contract uses. A symlink keeps that stable whatever
- # jarvis.spec calls the binary; PyInstaller resolves its _internal directory
+ # dodaios.spec calls the binary; PyInstaller resolves its _internal directory
# through /proc/self/exe, which follows the link into the same directory.
if [ ! -e "${APPDIR}/usr/bin/Jarvis" ]; then
ln -s "${GUI_EXE_NAME}" "${APPDIR}/usr/bin/Jarvis"
@@ -201,7 +201,7 @@ if building; then
# for even when the spec ships no such executable. Say it loudly: on
# Windows and macOS a missing console target is a real gap, not a
# cosmetic one.
- log "WARNING: the freeze has no '${cli_name}' executable - jarvis.spec has no console CLI EXE target of that name. Linking it to ${GUI_EXE_NAME} so the CLI entry exists."
+ log "WARNING: the freeze has no '${cli_name}' executable - dodaios.spec has no console CLI EXE target of that name. Linking it to ${GUI_EXE_NAME} so the CLI entry exists."
ln -s "${GUI_EXE_NAME}" "${APPDIR}/usr/bin/${cli_name}"
fi
done
diff --git a/packaging/macos/README.md b/packaging/macos/README.md
index 71edcde597..4f2ba145c9 100644
--- a/packaging/macos/README.md
+++ b/packaging/macos/README.md
@@ -10,7 +10,7 @@ family:
The image contains `Dodaios.app` next to a symlink to `/Applications`:
open it, drag the app across, done. The app is a PyInstaller `BUNDLE` built
-from `jarvis.spec`; its icon is `assets/icons/jarvis.icns`, regenerated by
+from `dodaios.spec`; its icon is `assets/icons/dodaios.icns`, regenerated by
`packaging/macos/make_icns.py`.
## Building
@@ -29,7 +29,7 @@ The last command reads the finished app (the CI job runs it too) and fails when
the bundle could not use its macOS permissions, which no headless smoke run can
see:
-* `LSBackgroundOnly` must be `False` in `Info.plist` (`jarvis.spec` sets it
+* `LSBackgroundOnly` must be `False` in `Info.plist` (`dodaios.spec` sets it
explicitly). PyInstaller turns it on whenever the last executable of the bundle
is a console one — the `jarvis` CLI is — and LaunchServices then runs the app
with no Dock icon and no windows.
@@ -56,7 +56,7 @@ inside.
The `NS...UsageDescription` strings macOS shows in its permission dialogs live
in exactly one file, `dodaios/core/macos_privacy_strings.py` (standard library
-only). `jarvis.spec` (this `.dmg` app) and
+only). `dodaios.spec` (this `.dmg` app) and
`dodaios/setup/macos_app_bundle.py` (the managed source-install app) both load that
file **by path**: the spec runs before the `jarvis` package is importable, so
neither can use an ordinary import, and neither keeps a copy.
@@ -215,7 +215,7 @@ There is no camera and no speech-recognition row: Jarvis has no caller for
either, so the bundle neither declares a string nor an entitlement for them.
The downloaded app is its own app to macOS: bundle id `ai.personaljarvis.desktop`
-(`jarvis.spec`), separate from the managed bundle the source installer builds
+(`dodaios.spec`), separate from the managed bundle the source installer builds
(`com.personal-jarvis.desktop`). Both are accepted as "the installed app" by the
permission code, and each keeps its own grants.
diff --git a/packaging/macos/add_localizations.py b/packaging/macos/add_localizations.py
index 5647454888..17e53a1fac 100644
--- a/packaging/macos/add_localizations.py
+++ b/packaging/macos/add_localizations.py
@@ -1,14 +1,14 @@
"""Write the translated ``InfoPlist.strings`` into a built ``Dodaios.app``.
PyInstaller's ``BUNDLE`` writes the base (English) ``Info.plist`` and, through
-``jarvis.spec``, the ``CFBundleLocalizations`` key. The per-language strings that
+``dodaios.spec``, the ``CFBundleLocalizations`` key. The per-language strings that
macOS shows in its permission dialogs live in ``Contents/Resources/<lang>.lproj/
InfoPlist.strings`` and cannot come from the spec, so ``packaging/macos/build.sh``
runs this script on the finished ``.app`` BEFORE it signs it: the files are part of
the code seal, and a file added afterwards would invalidate the signature.
The text comes from the single table in ``dodaios/core/macos_privacy_strings.py``,
-loaded by path exactly like ``jarvis.spec`` does (the package is not necessarily
+loaded by path exactly like ``dodaios.spec`` does (the package is not necessarily
importable on the build machine). The managed source-install app writes the same
files itself (``dodaios.setup.macos_app_bundle``), so both bundles show the same
sentences.
diff --git a/packaging/macos/build.sh b/packaging/macos/build.sh
index 84991b0a38..a51ef20c34 100755
--- a/packaging/macos/build.sh
+++ b/packaging/macos/build.sh
@@ -14,7 +14,7 @@
#
# The disk image contains "Dodaios.app" next to a symlink to
# /Applications, which is the drag-to-install layout every Mac user already
-# knows. The app is a PyInstaller BUNDLE built from jarvis.spec.
+# knows. The app is a PyInstaller BUNDLE built from dodaios.spec.
#
# Signing and notarization are driven entirely by the environment, so the same
# script runs unchanged on a maintainer's Mac and on a GitHub runner:
@@ -60,7 +60,7 @@ ENTITLEMENTS="${SCRIPT_DIR}/entitlements.plist"
# The copy of ENTITLEMENTS that codesign embeds; see prepare_entitlements().
NORMALIZED_ENTITLEMENTS="${DIST_DIR}/entitlements.normalized.plist"
SIGNING_ENTITLEMENTS="${ENTITLEMENTS}"
-ICNS="${REPO_ROOT}/assets/icons/jarvis.icns"
+ICNS="${REPO_ROOT}/assets/icons/dodaios.icns"
log() { printf '[macos-build] %s\n' "$*"; }
die() { printf '[macos-build] ERROR: %s\n' "$*" >&2; exit 1; }
@@ -230,19 +230,19 @@ if building; then
|| die "PyInstaller is not installed for ${PYTHON} (pip install pyinstaller)"
fi
-# jarvis.spec bundles ./jarvis.toml unconditionally, and that file is
+# dodaios.spec bundles ./jarvis.toml unconditionally, and that file is
# .gitignore'd - a fresh clone (every CI runner) does not have one and
# PyInstaller aborts before it starts. Seed the shipped default so the build
# works from a clean checkout. On a machine that already has a live config the
# spec bundles THAT file as-is, which is a privacy question the build cannot
# answer for the maintainer, so it says so instead of quietly shipping it.
if [ ! -f "${REPO_ROOT}/jarvis.toml" ]; then
- [ -f "${REPO_ROOT}/jarvis.toml.example" ] \
- || die "neither jarvis.toml nor jarvis.toml.example exists; jarvis.spec cannot bundle a default configuration"
- log "seeding jarvis.toml from jarvis.toml.example (clean checkout)"
- run cp "${REPO_ROOT}/jarvis.toml.example" "${REPO_ROOT}/jarvis.toml"
-elif ! cmp -s "${REPO_ROOT}/jarvis.toml" "${REPO_ROOT}/jarvis.toml.example"; then
- log "WARNING: jarvis.spec bundles this machine's jarvis.toml into the app, and it differs from jarvis.toml.example. Check it carries nothing personal before publishing the build."
+ [ -f "${REPO_ROOT}/dodaios.toml.example" ] \
+ || die "neither jarvis.toml nor dodaios.toml.example exists; dodaios.spec cannot bundle a default configuration"
+ log "seeding jarvis.toml from dodaios.toml.example (clean checkout)"
+ run cp "${REPO_ROOT}/dodaios.toml.example" "${REPO_ROOT}/jarvis.toml"
+elif ! cmp -s "${REPO_ROOT}/jarvis.toml" "${REPO_ROOT}/dodaios.toml.example"; then
+ log "WARNING: dodaios.spec bundles this machine's jarvis.toml into the app, and it differs from dodaios.toml.example. Check it carries nothing personal before publishing the build."
fi
if [ -f "${ICNS}" ] || [ "${DRY_RUN}" = "1" ]; then
@@ -258,12 +258,12 @@ run "${PYTHON}" "${REPO_ROOT}/scripts/prepare_browser_wheelhouse.py"
log "running PyInstaller"
(
cd "${REPO_ROOT}"
- run "${PYTHON}" -m PyInstaller jarvis.spec --noconfirm --clean
+ run "${PYTHON}" -m PyInstaller dodaios.spec --noconfirm --clean
)
if building; then
- [ -d "${APP_BUNDLE}" ] || die "PyInstaller did not produce '${APP_BUNDLE}'. jarvis.spec must contain a darwin BUNDLE(...) block that names the app '${APP_NAME}'."
- # The console command and its earlier name; jarvis.spec builds both.
+ [ -d "${APP_BUNDLE}" ] || die "PyInstaller did not produce '${APP_BUNDLE}'. dodaios.spec must contain a darwin BUNDLE(...) block that names the app '${APP_NAME}'."
+ # The console command and its earlier name; dodaios.spec builds both.
for cli_name in dodaios jarvis; do
[ -x "${APP_BUNDLE}/Contents/MacOS/${cli_name}" ] \
|| die "'${APP_BUNDLE}/Contents/MacOS/${cli_name}' is missing. The bundle must ship the console CLI entry so '${cli_name} serve' works from a native install."
@@ -288,7 +288,7 @@ fi
log "app bundle: ${APP_BUNDLE}"
# German and Spanish permission-dialog text. The languages are declared in the
-# plist by jarvis.spec; the <lang>.lproj/InfoPlist.strings files are written here
+# plist by dodaios.spec; the <lang>.lproj/InfoPlist.strings files are written here
# from the same table, BEFORE signing: they are part of the code seal, so a file
# added after codesign would break the signature (and the notarization).
run "${PYTHON}" "${SCRIPT_DIR}/add_localizations.py" --app "${APP_BUNDLE}"
diff --git a/packaging/macos/make_icns.py b/packaging/macos/make_icns.py
index 25edcf762d..2d80879667 100644
--- a/packaging/macos/make_icns.py
+++ b/packaging/macos/make_icns.py
@@ -1,4 +1,4 @@
-"""Generate ``assets/icons/jarvis.icns`` — the macOS app-bundle icon.
+"""Generate ``assets/icons/dodaios.icns`` — the macOS app-bundle icon.
macOS is the only platform that cannot read the ``.ico``/``.png`` pair the rest
of the project ships: ``CFBundleIconFile`` resolves to an ``.icns`` container,
@@ -12,7 +12,7 @@ Run it from anywhere; it resolves the repository from this file's location:
python packaging/macos/make_icns.py --check # verify only, write nothing
Honest limitation, deliberately not hidden: the largest mascot master in the
-repository is 256x256 (``assets/icons/jarvis-gigi-256.png``). Apple's icon set
+repository is 256x256 (``assets/icons/dodaios-gigi-256.png``). Apple's icon set
goes to 1024x1024, so the 512 and 1024 members are upscaled with Lanczos
resampling and are correspondingly soft on a Retina display at large sizes.
Drop a 1024x1024 master next to the 256 one and rerun this script to fix that
@@ -33,14 +33,14 @@ from pathlib import Path
REPO_ROOT = Path(__file__).resolve().parents[2]
ICONS_DIR = REPO_ROOT / "assets" / "icons"
-TARGET = ICONS_DIR / "jarvis.icns"
+TARGET = ICONS_DIR / "dodaios.icns"
#: Source masters, best first. The first one that exists wins.
SOURCE_CANDIDATES: tuple[str, ...] = (
- "jarvis-1024.png",
+ "dodaios-1024.png",
"jarvis-512.png",
- "jarvis-gigi-256.png",
- "jarvis.png",
+ "dodaios-gigi-256.png",
+ "dodaios.png",
)
#: The distinct pixel sizes an ``.icns`` written by Pillow contains.
diff --git a/packaging/pyinstaller_rthook_frozen.py b/packaging/pyinstaller_rthook_frozen.py
index 63820ef635..08c7fd00a8 100644
--- a/packaging/pyinstaller_rthook_frozen.py
+++ b/packaging/pyinstaller_rthook_frozen.py
@@ -32,7 +32,7 @@ The per-user directory had an earlier name (``%LOCALAPPDATA%\\Jarvis``,
The desktop app itself (the GUI executable, default instance, no other
instance running) first moves it to the current name with one rename and
leaves a junction or symlink behind. The engine that does it,
-``dodaios/core/identity_migration.py``, is shipped by ``jarvis.spec`` as a plain
+``dodaios/core/identity_migration.py``, is shipped by ``dodaios.spec`` as a plain
file so this hook can load it by path. Helpers and the console CLI only
resolve. When the engine cannot be loaded, the hook resolves with an inline
copy of the rule and moves nothing. The config file is never renamed: an
@@ -59,7 +59,7 @@ _FALLBACK_USER_DATA_DIR_NAME = ".dodaios-data"
_LEGACY_FALLBACK_USER_DATA_DIR_NAMES = (".jarvis",)
_CONFIG_FILE_NAME = "dodaios.toml"
_LEGACY_CONFIG_FILE_NAMES = ("jarvis.toml",)
-# The executables that are the desktop app itself (jarvis.spec GUI_EXE_NAME and
+# The executables that are the desktop app itself (dodaios.spec GUI_EXE_NAME and
# LEGACY_GUI_EXE_NAMES). Only one of them migrates the data directory.
_GUI_EXE_NAMES = ("DodaiosApp", "PersonalJarvis")
# Single-instance mutexes of a running desktop app, every instance and every
@@ -73,9 +73,9 @@ _MUTEX_NAMES = (
# Lock files a running primary holds in the data directory
# (dodaios.core.identity_boot.PRIMARY_LOCK_FILES).
_PRIMARY_LOCK_FILES = ("instance.lock", os.path.join("data", "jarvis.lock"))
-# The name the bundle ships its default configuration under (jarvis.spec).
+# The name the bundle ships its default configuration under (dodaios.spec).
_BUNDLED_CONFIG_FILE_NAME = "jarvis.toml"
-# Where jarvis.spec puts the migration engine inside the bundle.
+# Where dodaios.spec puts the migration engine inside the bundle.
_ENGINE_PATH = ("dodaios", "core", "identity_migration.py")
_MIGRATION_WAIT_SECONDS = 2.0
# Carries the hook's one-line migration report to the launcher, which logs it
diff --git a/packaging/windows/PersonalJarvis.iss b/packaging/windows/Dodaios.iss
similarity index 99%
rename from packaging/windows/PersonalJarvis.iss
rename to packaging/windows/Dodaios.iss
index 57b0e879e9..5605c4b596 100644
--- a/packaging/windows/PersonalJarvis.iss
+++ b/packaging/windows/Dodaios.iss
@@ -39,7 +39,7 @@
#define OutputDir "..\..\dist\installers"
#endif
#ifndef IconFile
- #define IconFile "..\..\assets\icons\jarvis.ico"
+ #define IconFile "..\..\assets\icons\dodaios.ico"
#endif
; NEVER change this default. It is the identity Windows upgrades against. Only
; the installer end-to-end test overrides it (/DAppGuid=...), so its throwaway
@@ -52,7 +52,7 @@
#define AppPublisher "Dodaios"
#define AppUrl "https://github.com/Dodaios/Dodaios"
#define GuiExeName "DodaiosApp.exe"
-; The windowed launcher's earlier name. The bundle ships it too (jarvis.spec).
+; The windowed launcher's earlier name. The bundle ships it too (dodaios.spec).
#define LegacyGuiExeName "PersonalJarvis.exe"
; The product's earlier name: the Start-menu group and the shortcuts an
; earlier release created are spelled this way.
diff --git a/packaging/windows/build.ps1 b/packaging/windows/build.ps1
index 58bbd69e7f..0a89a0b1a1 100644
--- a/packaging/windows/build.ps1
+++ b/packaging/windows/build.ps1
@@ -7,7 +7,7 @@
One command from a clean checkout to a shippable installer:
1. build the React frontend when dodaios/ui/web/dist is missing,
- 2. freeze the app with PyInstaller (jarvis.spec, onedir),
+ 2. freeze the app with PyInstaller (dodaios.spec, onedir),
3. wrap dist/Jarvis in an Inno Setup wizard.
The result is dist/installers/PersonalJarvis-Setup-x64.exe - the name the
@@ -77,16 +77,16 @@ function Invoke-Checked {
# --- Locate the repository -------------------------------------------------
$RepoRoot = (Resolve-Path (Join-Path $PSScriptRoot "..\..")).Path
-$SpecFile = Join-Path $RepoRoot "jarvis.spec"
+$SpecFile = Join-Path $RepoRoot "dodaios.spec"
$BundleDir = Join-Path $RepoRoot "dist\Jarvis"
$InstallerDir = Join-Path $RepoRoot "dist\installers"
$FrontendDir = Join-Path $RepoRoot "dodaios\ui\web\frontend"
$FrontendDist = Join-Path $RepoRoot "dodaios\ui\web\dist"
-$IssFile = Join-Path $PSScriptRoot "PersonalJarvis.iss"
-$IconFile = Join-Path $RepoRoot "assets\icons\jarvis.ico"
+$IssFile = Join-Path $PSScriptRoot "Dodaios.iss"
+$IconFile = Join-Path $RepoRoot "assets\icons\dodaios.ico"
-if (-not (Test-Path $SpecFile)) { Stop-WithError "jarvis.spec not found at $SpecFile" }
-if (-not (Test-Path $IssFile)) { Stop-WithError "PersonalJarvis.iss not found at $IssFile" }
+if (-not (Test-Path $SpecFile)) { Stop-WithError "dodaios.spec not found at $SpecFile" }
+if (-not (Test-Path $IssFile)) { Stop-WithError "Dodaios.iss not found at $IssFile" }
# --- Version ---------------------------------------------------------------
# Single source of truth. A hand-typed version here would drift from the tag
@@ -122,7 +122,7 @@ if (Test-Path (Join-Path $FrontendDist "index.html")) {
}
# --- 2. PyInstaller --------------------------------------------------------
-# jarvis.spec bundles ./jarvis.toml unconditionally, and that file is
+# dodaios.spec bundles ./jarvis.toml unconditionally, and that file is
# .gitignore'd - a fresh clone (every CI runner) does not have one and
# PyInstaller aborts before it starts with "Unable to find ... jarvis.toml".
# Seed the shipped default so the build works from a clean checkout. On a
@@ -134,16 +134,16 @@ if (Test-Path (Join-Path $FrontendDist "index.html")) {
# they were written; this script did not, which is why the first CI run
# produced a DMG and an AppImage and no .exe.
$ConfigFile = Join-Path $RepoRoot "jarvis.toml"
-$ConfigExample = Join-Path $RepoRoot "jarvis.toml.example"
+$ConfigExample = Join-Path $RepoRoot "dodaios.toml.example"
if (-not (Test-Path $ConfigFile)) {
if (-not (Test-Path $ConfigExample)) {
- Stop-WithError "neither jarvis.toml nor jarvis.toml.example exists; jarvis.spec cannot bundle a default configuration"
+ Stop-WithError "neither jarvis.toml nor dodaios.toml.example exists; dodaios.spec cannot bundle a default configuration"
}
- Write-Step "seeding jarvis.toml from jarvis.toml.example (clean checkout)"
+ Write-Step "seeding jarvis.toml from dodaios.toml.example (clean checkout)"
Copy-Item -LiteralPath $ConfigExample -Destination $ConfigFile
} elseif ((Test-Path $ConfigExample) -and
((Get-FileHash -LiteralPath $ConfigFile).Hash -ne (Get-FileHash -LiteralPath $ConfigExample).Hash)) {
- Write-Step "WARNING: jarvis.spec bundles this machine's jarvis.toml into the installer, and it differs from jarvis.toml.example. Check it carries nothing personal before publishing the build."
+ Write-Step "WARNING: dodaios.spec bundles this machine's jarvis.toml into the installer, and it differs from dodaios.toml.example. Check it carries nothing personal before publishing the build."
}
if ($SkipPyInstaller) {
@@ -151,12 +151,12 @@ if ($SkipPyInstaller) {
} else {
Write-Step "2/3 freezing with PyInstaller"
Invoke-Checked -Executable $Python `
- -Arguments @("-m", "PyInstaller", "jarvis.spec", "--noconfirm", "--clean") `
+ -Arguments @("-m", "PyInstaller", "dodaios.spec", "--noconfirm", "--clean") `
-WorkingDirectory $RepoRoot -What "pyinstaller"
}
# The windowed launcher under its current and its earlier name, then the CLI
-# under both of its names (jarvis.spec).
+# under both of its names (dodaios.spec).
foreach ($required in @("DodaiosApp.exe", "PersonalJarvis.exe", "dodaios.exe", "jarvis.exe")) {
$candidate = Join-Path $BundleDir $required
if (-not (Test-Path $candidate)) {
@@ -167,7 +167,7 @@ foreach ($required in @("DodaiosApp.exe", "PersonalJarvis.exe", "dodaios.exe", "
# Running the app straight out of dist/Jarvis (the obvious way to smoke-test a
# build) leaves runtime state behind in _internal: a jarvis.db, flight-recorder
# JSONL, logs. Shipping that would put the builder's own data inside every
-# downloaded installer. The build output is defined by jarvis.spec, so anything
+# downloaded installer. The build output is defined by dodaios.spec, so anything
# below is not part of it and goes before the payload is compressed.
$strayState = @("_internal\data", "_internal\data-dev", "_internal\logs")
foreach ($stray in $strayState) {
diff --git a/pyproject.toml b/pyproject.toml
index 6719d0a31e..ac0152d472 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -878,14 +878,9 @@ contact-lookup = "dodaios.plugins.tool.contact_lookup:ContactLookupTool"
contact-upsert = "dodaios.plugins.tool.contact_upsert:ContactUpsertTool"
call-contact = "dodaios.plugins.tool.call_contact:CallContactTool"
-[tool.setuptools.packages.find]
-where = ["."]
-# ``conductor`` is the scheduled-jobs engine behind /api/conductor/* and the
-# ``jarvis conductor`` commands. Left out, it imported only when the app ran
-# with the checkout as its working directory (run.bat), so the console script,
-# autostart and every wheel install served no Conductor API at all.
-include = ["dodaios*", "jarvis*", "conductor*"]
-exclude = ["*.__pycache__", "*.__pycache__.*"]
+# The package list (dodaios, conductor and the legacy ``jarvis`` alias built
+# from dodaios/_legacy_alias) is in setup.py: a ``packages`` table here would
+# override it, and ``packages.find`` cannot publish a folder under another name.
[tool.setuptools.exclude-package-data]
# Resource globs must never distribute interpreter caches or their build paths.
@@ -917,7 +912,7 @@ dodaios = [
# Voice persona (brain/persona_loader.py), skill-authoring import
# allowlist (skills/authoring/draft_writer.py), Jarvis-Agent critic
# verdict JSON-schema (core/review/spawns.py).
- "brain/JARVIS_PERSONA.md",
+ "brain/DODAIOS_PERSONA.md",
"skills/safe_imports.txt",
"core/review/verdict_schema.json",
"society/mars/definition.json",
diff --git a/scripts/ci/agent_integrate.py b/scripts/ci/agent_integrate.py
index 7e2d4fb91b..ed3f254f34 100644
--- a/scripts/ci/agent_integrate.py
+++ b/scripts/ci/agent_integrate.py
@@ -70,7 +70,7 @@ FRONTEND = "dodaios/ui/web/frontend"
# (glob, regenerator key). Main's copy is taken, then the key regenerates it.
GENERATED: tuple[tuple[str, str], ...] = (
("dodaios/ui/web/dist/*", "frontend-build"),
- ("docs/jarvis-cli-reference.md", "reference-docs"),
+ ("docs/dodaios-cli-reference.md", "reference-docs"),
("docs/commands-reference.md", "reference-docs"),
(f"{FRONTEND}/package-lock.json", "npm-lock"),
("uv.lock", "uv-lock"),
diff --git a/scripts/ci/check_frozen_macos_app.py b/scripts/ci/check_frozen_macos_app.py
index d52c63d6ff..510b6159b6 100644
--- a/scripts/ci/check_frozen_macos_app.py
+++ b/scripts/ci/check_frozen_macos_app.py
@@ -96,7 +96,7 @@ def check_info_plist(info: dict, macos_dir: Path) -> list[str]:
if info.get("LSBackgroundOnly"):
problems.append(
"LSBackgroundOnly is true: LaunchServices would run the app as a faceless "
- "background process (no Dock icon, no windows). Set it to False in jarvis.spec."
+ "background process (no Dock icon, no windows). Set it to False in dodaios.spec."
)
executable = info.get("CFBundleExecutable")
if not isinstance(executable, str) or not (macos_dir / executable).is_file():
@@ -135,13 +135,13 @@ def check_usage_strings(info: Mapping[str, object]) -> list[str]:
elif value != expected[key]:
problems.append(
f"{key} differs from dodaios/core/macos_privacy_strings.py: the bundle was "
- "not built from the single usage-string table (jarvis.spec must load it)"
+ "not built from the single usage-string table (dodaios.spec must load it)"
)
for key in macos_privacy_strings.REMOVED_USAGE_KEYS:
if key in info:
problems.append(
f"{key} is in Info.plist but Jarvis has no caller for that permission: "
- "remove it from jarvis.spec (least privilege)"
+ "remove it from dodaios.spec (least privilege)"
)
return problems
@@ -154,7 +154,7 @@ def check_localization_keys(info: Mapping[str, object]) -> list[str]:
if info.get(key) != value:
problems.append(
f"{key} is {info.get(key)!r}, expected {value!r}: the bundle declares no "
- "German/Spanish localisation (jarvis.spec must spread "
+ "German/Spanish localisation (dodaios.spec must spread "
"localization_plist_keys() into its Info.plist)"
)
return problems
@@ -297,7 +297,7 @@ def check_frozen_modules(names: Collection[str]) -> list[str]:
present = set(names)
return [
f"the frozen archive has no {module!r} module (needs the [desktop-macos] extra "
- "on the build machine and a hidden import in jarvis.spec)"
+ "on the build machine and a hidden import in dodaios.spec)"
for module in REQUIRED_FROZEN_MODULES
if module not in present
]
diff --git a/scripts/ci/classify_changes.py b/scripts/ci/classify_changes.py
index 3a7babb137..05f79db513 100644
--- a/scripts/ci/classify_changes.py
+++ b/scripts/ci/classify_changes.py
@@ -170,7 +170,7 @@ _MACOS_FILES = {
"pyproject.toml",
"uv.lock",
".githooks/pre-push",
- "jarvis.spec",
+ "dodaios.spec",
"dodaios/core/macos_privacy_strings.py",
"dodaios/core/branding.py",
"dodaios/core/events.py",
diff --git a/scripts/ci/gen_cli_reference.py b/scripts/ci/gen_cli_reference.py
index 60c6937a88..e7e6d05dd1 100644
--- a/scripts/ci/gen_cli_reference.py
+++ b/scripts/ci/gen_cli_reference.py
@@ -1,11 +1,11 @@
-"""Generate docs/jarvis-cli-reference.md from the curated CLI command tree.
+"""Generate docs/dodaios-cli-reference.md from the curated CLI command tree.
Walks the Typer app (the curated commands only — NOT the dynamic `api` group,
which needs a live server's OpenAPI) and emits a grouped markdown reference. Run
after adding/removing commands so the reference never drifts.
Modes:
-* (no flag) — regenerate ``docs/jarvis-cli-reference.md`` in place.
+* (no flag) — regenerate ``docs/dodaios-cli-reference.md`` in place.
* ``--check`` — build the reference in memory and exit non-zero if it differs
from the committed file (the pre-push hook + CI drift gate use this, so the
reference can never silently fall behind the command tree).
@@ -24,7 +24,7 @@ import typer # noqa: E402
from dodaios.cli_ctl.__main__ import app # noqa: E402
from dodaios.core.branding import CLI_COMMAND_NAME, PRODUCT_NAME # noqa: E402
-_OUT = _REPO / "docs" / "jarvis-cli-reference.md"
+_OUT = _REPO / "docs" / "dodaios-cli-reference.md"
def _is_group(cmd: click.Command) -> bool:
diff --git a/scripts/ci/privacy_gate/references/distribution-denylist.txt b/scripts/ci/privacy_gate/references/distribution-denylist.txt
index 9c32be5d00..0a8c7edf16 100644
--- a/scripts/ci/privacy_gate/references/distribution-denylist.txt
+++ b/scripts/ci/privacy_gate/references/distribution-denylist.txt
@@ -129,7 +129,7 @@ docs/phase6-test-report.md
docs/spike-results-jarvis-agents.md
docs/voice-acceptance-brief.md
docs/bug-019-spawn-failure-report.html
-docs/jarvis-board/PHASE_A_DONE.md
+docs/dodaios-board/PHASE_A_DONE.md
docs/phase5-research.md
docs/phase5-integration-test-results.md
diff --git a/scripts/ci/silent-handlers-baseline.json b/scripts/ci/silent-handlers-baseline.json
index a45fa15a2f..aecd4872e2 100644
--- a/scripts/ci/silent-handlers-baseline.json
+++ b/scripts/ci/silent-handlers-baseline.json
@@ -173,7 +173,7 @@
"dodaios/mcp/agents/tools.py": 4,
"dodaios/mcp/bootstrap.py": 3,
"dodaios/mcp/claude_export.py": 2,
- "dodaios/mcp/jarvis_tools_server.py": 1,
+ "dodaios/mcp/dodaios_tools_server.py": 1,
"dodaios/mcp/server.py": 3,
"dodaios/mcp/state.py": 2,
"dodaios/memory/bootstrap_runner.py": 1,
diff --git a/scripts/jarvis-config-drift-guard.ps1 b/scripts/dodaios-config-drift-guard.ps1
similarity index 99%
rename from scripts/jarvis-config-drift-guard.ps1
rename to scripts/dodaios-config-drift-guard.ps1
index f55dd33dbc..b04be9a17a 100644
--- a/scripts/jarvis-config-drift-guard.ps1
+++ b/scripts/dodaios-config-drift-guard.ps1
@@ -41,10 +41,10 @@
Attempts a BurntToast notification after a repair.
.EXAMPLE
- powershell -NoProfile -ExecutionPolicy Bypass -File scripts/jarvis-config-drift-guard.ps1
+ powershell -NoProfile -ExecutionPolicy Bypass -File scripts/dodaios-config-drift-guard.ps1
.EXAMPLE
- powershell -NoProfile -ExecutionPolicy Bypass -File scripts/jarvis-config-drift-guard.ps1 -DryRun
+ powershell -NoProfile -ExecutionPolicy Bypass -File scripts/dodaios-config-drift-guard.ps1 -DryRun
#>
[CmdletBinding()]
diff --git a/scripts/drift-guard-daemon.ps1 b/scripts/drift-guard-daemon.ps1
index a638805c8a..5d05d4694d 100644
--- a/scripts/drift-guard-daemon.ps1
+++ b/scripts/drift-guard-daemon.ps1
@@ -1,7 +1,7 @@
<#
.SYNOPSIS
- Daemon-Loop fuer den Jarvis-Config-Drift-Guard. Laeuft permanent im
- Hintergrund und triggert alle 5 Min das jarvis-config-drift-guard.ps1.
+ Daemon loop for the Dodaios config drift guard. Runs permanently in the
+ background and triggers dodaios-config-drift-guard.ps1 every 5 minutes.
.DESCRIPTION
Hintergrund: Windows-Task-Scheduler und PowerShell-ScheduledJob brauchen
@@ -35,7 +35,7 @@ param(
$ErrorActionPreference = "Continue" # Daemon darf nicht crashen wenn ein Lauf failt
-$guardScript = Join-Path $RepoRoot "scripts\jarvis-config-drift-guard.ps1"
+$guardScript = Join-Path $RepoRoot "scripts\dodaios-config-drift-guard.ps1"
$logFile = Join-Path $RepoRoot "logs\config-drift-guard.log"
$lockFile = Join-Path $RepoRoot "logs\drift-guard-daemon.lock"
diff --git a/scripts/figures/contract.json b/scripts/figures/contract.json
index c1227e3b35..de264bde63 100644
--- a/scripts/figures/contract.json
+++ b/scripts/figures/contract.json
@@ -433,7 +433,7 @@
"archetype": "biped",
"variant": "medium",
"base": "office",
- "source": "jarvis-humanoids",
+ "source": "dodaios-humanoids",
"character": "Office",
"label": "Office",
"styles": [
@@ -445,7 +445,7 @@
"archetype": "biped",
"variant": "medium",
"base": "casual",
- "source": "jarvis-humanoids",
+ "source": "dodaios-humanoids",
"character": "Casual",
"label": "Casual",
"styles": [
@@ -457,7 +457,7 @@
"archetype": "biped",
"variant": "medium",
"base": "chibi",
- "source": "jarvis-humanoids",
+ "source": "dodaios-humanoids",
"character": "Chibi",
"label": "Chibi",
"styles": [
@@ -469,7 +469,7 @@
"archetype": "biped",
"variant": "medium",
"base": "android",
- "source": "jarvis-humanoids",
+ "source": "dodaios-humanoids",
"character": "Android",
"label": "Android",
"styles": [
@@ -481,7 +481,7 @@
"archetype": "biped",
"variant": "medium",
"base": "worker",
- "source": "jarvis-humanoids",
+ "source": "dodaios-humanoids",
"character": "Worker",
"label": "Worker",
"styles": [
@@ -493,7 +493,7 @@
"archetype": "biped",
"variant": "medium",
"base": "athlete",
- "source": "jarvis-humanoids",
+ "source": "dodaios-humanoids",
"character": "Athlete",
"label": "Athlete",
"styles": [
@@ -505,7 +505,7 @@
"archetype": "biped",
"variant": "medium",
"base": "medic",
- "source": "jarvis-humanoids",
+ "source": "dodaios-humanoids",
"character": "Medic",
"label": "Medic",
"styles": [
@@ -517,7 +517,7 @@
"archetype": "biped",
"variant": "medium",
"base": "toon",
- "source": "jarvis-humanoids",
+ "source": "dodaios-humanoids",
"character": "Toon",
"label": "Toon",
"styles": [
@@ -529,7 +529,7 @@
"archetype": "biped",
"variant": "medium",
"base": "blockhead",
- "source": "jarvis-humanoids",
+ "source": "dodaios-humanoids",
"character": "Blockhead",
"label": "Blockhead",
"styles": [
@@ -541,7 +541,7 @@
"archetype": "biped",
"variant": "medium",
"base": "pilot",
- "source": "jarvis-humanoids",
+ "source": "dodaios-humanoids",
"character": "Pilot",
"label": "Pilot",
"styles": [
@@ -553,7 +553,7 @@
"archetype": "biped",
"variant": "medium",
"base": "trooper",
- "source": "jarvis-humanoids",
+ "source": "dodaios-humanoids",
"character": "Trooper",
"label": "Trooper",
"styles": [
@@ -565,7 +565,7 @@
"archetype": "biped",
"variant": "medium",
"base": "scientist",
- "source": "jarvis-humanoids",
+ "source": "dodaios-humanoids",
"character": "Scientist",
"label": "Scientist",
"styles": [
@@ -577,7 +577,7 @@
"archetype": "biped",
"variant": "medium",
"base": "dwarf",
- "source": "jarvis-humanoids",
+ "source": "dodaios-humanoids",
"character": "Dwarf",
"label": "Dwarf",
"styles": [
@@ -589,7 +589,7 @@
"archetype": "biped",
"variant": "medium",
"base": "elf",
- "source": "jarvis-humanoids",
+ "source": "dodaios-humanoids",
"character": "Elf",
"label": "Elf",
"styles": [
@@ -601,7 +601,7 @@
"archetype": "biped",
"variant": "medium",
"base": "monk",
- "source": "jarvis-humanoids",
+ "source": "dodaios-humanoids",
"character": "Monk",
"label": "Monk",
"styles": [
@@ -613,7 +613,7 @@
"archetype": "quadruped",
"variant": "default",
"base": "fox",
- "source": "jarvis-animals",
+ "source": "dodaios-animals",
"character": "Fox",
"label": "Fox",
"styles": [
@@ -625,7 +625,7 @@
"archetype": "quadruped",
"variant": "default",
"base": "cat",
- "source": "jarvis-animals",
+ "source": "dodaios-animals",
"character": "Cat",
"label": "Cat",
"styles": [
@@ -637,7 +637,7 @@
"archetype": "quadruped",
"variant": "default",
"base": "dog",
- "source": "jarvis-animals",
+ "source": "dodaios-animals",
"character": "Dog",
"label": "Dog",
"styles": [
@@ -649,7 +649,7 @@
"archetype": "quadruped",
"variant": "default",
"base": "wolf",
- "source": "jarvis-animals",
+ "source": "dodaios-animals",
"character": "Wolf",
"label": "Wolf",
"styles": [
@@ -661,7 +661,7 @@
"archetype": "quadruped",
"variant": "default",
"base": "rabbit",
- "source": "jarvis-animals",
+ "source": "dodaios-animals",
"character": "Rabbit",
"label": "Rabbit",
"styles": [
@@ -673,7 +673,7 @@
"archetype": "quadruped",
"variant": "default",
"base": "bear",
- "source": "jarvis-animals",
+ "source": "dodaios-animals",
"character": "Bear",
"label": "Bear",
"styles": [
diff --git a/scripts/figures/sources/jarvis-animals.json b/scripts/figures/sources/dodaios-animals.json
similarity index 100%
rename from scripts/figures/sources/jarvis-animals.json
rename to scripts/figures/sources/dodaios-animals.json
diff --git a/scripts/figures/sources/jarvis-humanoids.json b/scripts/figures/sources/dodaios-humanoids.json
similarity index 100%
rename from scripts/figures/sources/jarvis-humanoids.json
rename to scripts/figures/sources/dodaios-humanoids.json
diff --git a/scripts/install-config-drift-guard-task.ps1 b/scripts/install-config-drift-guard-task.ps1
index 0ac4edb7e6..6bed1b9290 100644
--- a/scripts/install-config-drift-guard-task.ps1
+++ b/scripts/install-config-drift-guard-task.ps1
@@ -3,8 +3,8 @@
Registriert den Personal-Jarvis-Config-Drift-Guard Task im Windows Task Scheduler.
.DESCRIPTION
- Legt einen Task an, der scripts/jarvis-config-drift-guard.ps1 alle 5 Minuten
- unter dem aktuellen User ausfuehrt. Default-Trigger: AtLogOn + Once mit
+ Creates a task that runs scripts/dodaios-config-drift-guard.ps1 every 5 minutes
+ as the current user. Default-Trigger: AtLogOn + Once mit
Repetition alle 5 Min, unbegrenzte Dauer.
User-Auth wird beibehalten, weil der Task NICHT als SYSTEM laeuft — wir
@@ -32,7 +32,7 @@ param(
$ErrorActionPreference = "Stop"
$taskName = "Personal-Jarvis-Config-Drift-Guard"
-$scriptPath = Join-Path $RepoRoot "scripts\jarvis-config-drift-guard.ps1"
+$scriptPath = Join-Path $RepoRoot "scripts\dodaios-config-drift-guard.ps1"
if (-not (Test-Path $scriptPath)) {
Write-Host "FEHLER: $scriptPath nicht gefunden."
diff --git a/scripts/install_shortcuts.py b/scripts/install_shortcuts.py
index 34442bbd7d..91f629172f 100644
--- a/scripts/install_shortcuts.py
+++ b/scripts/install_shortcuts.py
@@ -5,7 +5,7 @@ Run once:
python scripts/install_shortcuts.py
Result:
- 1. assets/icons/jarvis.ico — multi-size Windows icon (black + signal yellow)
+ 1. assets/icons/dodaios.ico — multi-size Windows icon (black + signal yellow)
2. Desktop\\Dodaios.lnk — double-click opens the window
3. shell:startup\\Dodaios.lnk — starts Jarvis at Windows login
@@ -49,7 +49,7 @@ from dodaios.core.instance import ( # noqa: E402 - script source path above
)
ICON_DIR = PROJECT_ROOT / "assets" / "icons"
-ICON_PATH = ICON_DIR / "jarvis.ico"
+ICON_PATH = ICON_DIR / "dodaios.ico"
DEV_INSTANCE = InstanceIdentity(DEV_INSTANCE_NAME)
DEV_ICON_PATH = ICON_DIR / DEV_INSTANCE.icon_file_name
DEV_SHORTCUT_NAME = DEV_INSTANCE.windows_shortcut_file_name
diff --git a/scripts/make_app_icon.py b/scripts/make_app_icon.py
index 5ddb907987..ca55de3ea9 100644
--- a/scripts/make_app_icon.py
+++ b/scripts/make_app_icon.py
@@ -6,7 +6,7 @@ The single source is ``assets/brand/dodaios-logo.svg``: the hooded figure as one
even-odd path in a ``0 0 256 256`` viewBox. Everything else is generated from
it — the taskbar/dock tile at every ICO size, the 1024 px master the macOS
``.icns`` is built from, the DEV-badged copy, the free-standing white mark for
-dark surfaces, and ``src/components/brand/jarvisLogoPath.ts`` that the
+dark surfaces, and ``src/components/brand/dodaiosLogoPath.ts`` that the
frontend draws the same figure with. ``tests/test_app_icon.py`` fails when the
TypeScript copy drifts from the SVG.
@@ -31,7 +31,7 @@ from PIL import Image, ImageChops, ImageDraw, ImageFont
ROOT = Path(__file__).resolve().parent.parent
LOGO_SVG = ROOT / "assets" / "brand" / "dodaios-logo.svg"
FRONTEND = ROOT / "dodaios" / "ui" / "web" / "frontend"
-LOGO_TS = FRONTEND / "src" / "components" / "brand" / "jarvisLogoPath.ts"
+LOGO_TS = FRONTEND / "src" / "components" / "brand" / "dodaiosLogoPath.ts"
VIEWBOX = 256.0
SQUIRCLE_N = 5.0 # superellipse exponent; 5 is the shape platforms settled on
@@ -200,32 +200,32 @@ def main() -> None:
members = [render_tile(s) for s in sorted(ICO_SIZES, reverse=True)]
public = FRONTEND / "public"
- write_png(ROOT / "assets" / "icons" / "jarvis-1024.png", render_tile(MASTER))
+ write_png(ROOT / "assets" / "icons" / "dodaios-1024.png", render_tile(MASTER))
for path in (
- ROOT / "dodaios" / "assets" / "icons" / "jarvis.png",
- ROOT / "assets" / "icons" / "jarvis-gigi-256.png",
- public / "jarvis-gigi-256.png",
- public / "jarvis-logo.png",
- FRONTEND / "src" / "assets" / "jarvis-mark.png",
+ ROOT / "dodaios" / "assets" / "icons" / "dodaios.png",
+ ROOT / "assets" / "icons" / "dodaios-gigi-256.png",
+ public / "dodaios-gigi-256.png",
+ public / "dodaios-logo.png",
+ FRONTEND / "src" / "assets" / "dodaios-mark.png",
):
write_png(path, tile_256)
- write_png(public / "jarvis-mark-256.png", render_mark(256))
+ write_png(public / "dodaios-mark-256.png", render_mark(256))
for path in (
- ROOT / "dodaios" / "assets" / "icons" / "jarvis.ico",
- ROOT / "assets" / "icons" / "jarvis.ico",
- public / "jarvis.ico",
- public / "jarvis-gigi.ico",
+ ROOT / "dodaios" / "assets" / "icons" / "dodaios.ico",
+ ROOT / "assets" / "icons" / "dodaios.ico",
+ public / "dodaios.ico",
+ public / "dodaios-gigi.ico",
):
write_ico(path, members)
# The dev instance (``--instance dev``) shows its own DEV-badged copy on the
# taskbar and in its shortcut, rendered from the same vector.
dev_members = [render_dev_tile(s) for s in sorted(ICO_SIZES, reverse=True)]
dev_png = render_dev_tile(256)
- write_png(ROOT / "assets" / "icons" / "jarvis-dev.png", dev_png)
- write_png(ROOT / "dodaios" / "assets" / "icons" / "jarvis-dev.png", dev_png)
+ write_png(ROOT / "assets" / "icons" / "dodaios-dev.png", dev_png)
+ write_png(ROOT / "dodaios" / "assets" / "icons" / "dodaios-dev.png", dev_png)
for path in (
- ROOT / "dodaios" / "assets" / "icons" / "jarvis-dev.ico",
- ROOT / "assets" / "icons" / "jarvis-dev.ico",
+ ROOT / "dodaios" / "assets" / "icons" / "dodaios-dev.ico",
+ ROOT / "assets" / "icons" / "dodaios-dev.ico",
):
write_ico(path, dev_members)
print(f"wrote the app icon at {MASTER} px, 256 px, {len(ICO_SIZES)} ICO members, and DEV")
diff --git a/scripts/pets/build_pets.py b/scripts/pets/build_pets.py
index 155f320453..c548a3df6f 100644
--- a/scripts/pets/build_pets.py
+++ b/scripts/pets/build_pets.py
@@ -796,7 +796,7 @@ class PetDesign:
# -- Gigi: the Jarvis ghost ---------------------------------------------------
#
-# Drawn after the brand mark (``assets/icons/jarvis-gigi-256.png``, docs/BRAND.md):
+# Drawn after the brand mark (``assets/icons/dodaios-gigi-256.png``, docs/BRAND.md):
# a black body with a white edge, a rounded head with straight sides, white
# oval eyes with black pupils, grey cheek marks, two grey bands with a small
# "o" mouth between them, thin hanging arms, three sharp teeth along the hem
diff --git a/scripts/sandbox/new-jarvis-sandbox.ps1 b/scripts/sandbox/new-dodaios-sandbox.ps1
similarity index 97%
rename from scripts/sandbox/new-jarvis-sandbox.ps1
rename to scripts/sandbox/new-dodaios-sandbox.ps1
index 1639bb329e..93adca1697 100644
--- a/scripts/sandbox/new-jarvis-sandbox.ps1
+++ b/scripts/sandbox/new-dodaios-sandbox.ps1
@@ -50,7 +50,7 @@
prints the launch command so YOU control the mic handoff.
.EXAMPLE
- powershell -File scripts\sandbox\new-jarvis-sandbox.ps1
+ powershell -File scripts\sandbox\new-dodaios-sandbox.ps1
#>
[CmdletBinding()]
param(
@@ -147,7 +147,7 @@ Write-Ok "installed .[full] + keyrings.alt into the sandbox venv"
# --- 5. Seed isolated config (Computer-Use OFF) ----------------------------
Write-Step "5. Seed sandbox config"
$sandboxConfig = Join-Path $SandboxRoot "jarvis.toml"
-$exampleConfig = Join-Path $SandboxRoot "jarvis.toml.example"
+$exampleConfig = Join-Path $SandboxRoot "dodaios.toml.example"
if (Test-Path $exampleConfig) { Copy-Item $exampleConfig $sandboxConfig -Force }
else { Set-Content -Path $sandboxConfig -Value "# sandbox config" -Encoding utf8 }
$cuOverride = "`r`n# --- sandbox override: never drive the physical desktop ---`r`n[computer_use]`r`nenabled = false`r`n"
@@ -175,7 +175,7 @@ $dataDir = Join-Path $SandboxRoot "data"
$appLocal = Join-Path $SandboxRoot "appdata\Local"
New-Item -ItemType Directory -Force -Path $appLocal | Out-Null
$runLines = @(
- "# Launch the ISOLATED Jarvis sandbox. Generated by new-jarvis-sandbox.ps1.",
+ "# Launch the ISOLATED Jarvis sandbox. Generated by new-dodaios-sandbox.ps1.",
"# Close your REAL Jarvis first -- voice shares the one mic/speakers.",
"`$ErrorActionPreference = 'Stop'",
("Set-Location '{0}'" -f $SandboxRoot),
@@ -241,7 +241,7 @@ Write-Host (" 2. (optional) add a provider key to: {0}" -f $sandboxEnv) -Fore
Write-Host (" 3. Run: powershell -File `"{0}`"" -f $runScript) -ForegroundColor White
Write-Host ""
Write-Host (" Runs on port {0}, Computer-Use OFF, walled off from your real config/data/keys." -f $Port) -ForegroundColor DarkGray
-Write-Host " Remove it any time with remove-jarvis-sandbox.ps1 (goes to the Recycle Bin)." -ForegroundColor DarkGray
+Write-Host " Remove it any time with remove-dodaios-sandbox.ps1 (goes to the Recycle Bin)." -ForegroundColor DarkGray
if ($Launch) {
Write-Step "Launching now (-Launch)"
diff --git a/scripts/sandbox/remove-jarvis-sandbox.ps1 b/scripts/sandbox/remove-dodaios-sandbox.ps1
similarity index 100%
rename from scripts/sandbox/remove-jarvis-sandbox.ps1
rename to scripts/sandbox/remove-dodaios-sandbox.ps1
diff --git a/setup.py b/setup.py
new file mode 100644
index 0000000000..d9b56b25b0
--- /dev/null
+++ b/setup.py
@@ -0,0 +1,34 @@
+"""Package list of the distribution; everything else is in pyproject.toml.
+
+pyproject.toml cannot say this one thing: the top-level ``jarvis`` package
+(the alias that keeps ``python -m jarvis`` and ``import jarvis.x`` working for
+autostart entries and MCP registrations written before the rename) is built
+from ``dodaios/_legacy_alias``, so the repository needs no ``jarvis`` folder.
+``[tool.setuptools.packages.find]`` only finds a package under its own folder
+name, and a ``packages`` table there would override this file, so the list
+lives here.
+"""
+
+from __future__ import annotations
+
+from setuptools import find_packages, setup
+
+#: The earlier package name and the folder it is built from.
+LEGACY_PACKAGE = "jarvis"
+LEGACY_PACKAGE_DIR = "dodaios/_legacy_alias"
+
+#: ``conductor`` is the scheduled-jobs engine behind /api/conductor/* and the
+#: ``dodaios conductor`` commands. Left out, it imported only when the app ran
+#: with the checkout as its working directory (run.bat), so the console script,
+#: autostart and every wheel install served no Conductor API at all.
+INCLUDE = ("dodaios*", "conductor*")
+EXCLUDE = ("*.__pycache__", "*.__pycache__.*", "dodaios._legacy_alias")
+
+
+def packages(where: str = ".") -> list[str]:
+ """Every package the distribution ships, the legacy alias included."""
+ return [*find_packages(where=where, include=INCLUDE, exclude=EXCLUDE), LEGACY_PACKAGE]
+
+
+if __name__ == "__main__":
+ setup(packages=packages(), package_dir={LEGACY_PACKAGE: LEGACY_PACKAGE_DIR})
diff --git a/tests/contract/native_window_probe.py b/tests/contract/native_window_probe.py
index fa8242414b..852dc0cd16 100644
--- a/tests/contract/native_window_probe.py
+++ b/tests/contract/native_window_probe.py
@@ -114,7 +114,7 @@ async def main() -> None:
native = NativeWindow(int(pid))
assert await asyncio.to_thread(native.ready.wait, 5)
native.park()
- badge = await asyncio.to_thread(native.brand, str(root / "dodaios/assets/icons/jarvis.ico"))
+ badge = await asyncio.to_thread(native.brand, str(root / "dodaios/assets/icons/dodaios.ico"))
await asyncio.sleep(0.5)
u = native.user32
u.EnumChildWindows.argtypes = [wintypes.HWND, native.callback_type, wintypes.LPARAM]
diff --git a/tests/contract/test_agent_autonomy.py b/tests/contract/test_agent_autonomy.py
index 7e140e7b83..288b4c972f 100644
--- a/tests/contract/test_agent_autonomy.py
+++ b/tests/contract/test_agent_autonomy.py
@@ -20,7 +20,7 @@ from dodaios.brain.tool_gateway import BrainSupervisorToolGateway
from dodaios.core import runtime_refs
from dodaios.core.bus import EventBus
from dodaios.core.protocols import ChatTurn, current_chat_turn
-from dodaios.mcp.jarvis_tools_server import build_server
+from dodaios.mcp.dodaios_tools_server import build_server
from dodaios.society.routine_runner import run_owned_routine
from dodaios.society.runtime import SocietyRuntime
from dodaios.society.surface import tools_for_cli_session
diff --git a/tests/contract/test_agent_mcp_surface.py b/tests/contract/test_agent_mcp_surface.py
index 4781c6565a..de5274592a 100644
--- a/tests/contract/test_agent_mcp_surface.py
+++ b/tests/contract/test_agent_mcp_surface.py
@@ -153,7 +153,7 @@ def test_no_spawn_vehicle_is_offered() -> None:
def test_server_name_is_distinct_from_the_tools_surface() -> None:
"""Both surfaces may be connected at once, so their names must not collide."""
- from dodaios.mcp.jarvis_tools_server import build_server as tools_server
+ from dodaios.mcp.dodaios_tools_server import build_server as tools_server
assert SERVER_NAME == "jarvis-agents"
assert tools_server().name != SERVER_NAME
diff --git a/tests/contract/test_browser_desktop_mcp.py b/tests/contract/test_browser_desktop_mcp.py
index 49b4036e2d..d21b2bd483 100644
--- a/tests/contract/test_browser_desktop_mcp.py
+++ b/tests/contract/test_browser_desktop_mcp.py
@@ -10,7 +10,7 @@ from dodaios.core.protocols import SupervisorToolRequest, ToolResult
async def test_desktop_bootstrap_publishes_the_mcp_endpoint(monkeypatch):
- from dodaios.agent_chat import jarvis_harness
+ from dodaios.agent_chat import dodaios_harness
from dodaios.core import runtime_refs
from dodaios.core.bus import EventBus
from dodaios.ui.web.server import WebServer
@@ -18,7 +18,7 @@ async def test_desktop_bootstrap_publishes_the_mcp_endpoint(monkeypatch):
urls = []
monkeypatch.setattr(runtime_refs, "set_api_base_url", urls.append)
monkeypatch.setattr(runtime_refs, "get_api_base_url", lambda: urls[-1] if urls else None)
- monkeypatch.setattr(jarvis_harness, "control_key", lambda: "test-placeholder")
+ monkeypatch.setattr(dodaios_harness, "control_key", lambda: "test-placeholder")
class ProbeFinished(Exception):
pass
@@ -38,7 +38,7 @@ async def test_desktop_bootstrap_publishes_the_mcp_endpoint(monkeypatch):
)
with pytest.raises(ProbeFinished):
await WebServer.start(probe, start_serving=False)
- entry = jarvis_harness.agy_mcp_server_entry("society:nala")
+ entry = dodaios_harness.agy_mcp_server_entry("society:nala")
assert entry["serverUrl"] == "http://127.0.0.1:48123/api/control/mcp/"
assert entry["headers"]["X-Jarvis-Chat-Session"] == "society:nala"
@@ -195,14 +195,14 @@ async def test_root_subscription_browser_uses_chat_model_without_changing_roster
def test_jarvis_codex_seat_uses_owned_browser_not_inherited_plugins(
tmp_path, monkeypatch, session_id, resume
):
- from dodaios.agent_chat import jarvis_harness, runner_cli
+ from dodaios.agent_chat import dodaios_harness, runner_cli
monkeypatch.setattr(runner_cli, "codex_argv_prefix", lambda: ["codex"])
monkeypatch.setattr(runner_cli, "_account_env", lambda _: {})
monkeypatch.setattr(
- jarvis_harness, "endpoint", lambda: "http://127.0.0.1:47821/api/control/mcp/"
+ dodaios_harness, "endpoint", lambda: "http://127.0.0.1:47821/api/control/mcp/"
)
- monkeypatch.setattr(jarvis_harness, "control_key", lambda: "test-placeholder")
+ monkeypatch.setattr(dodaios_harness, "control_key", lambda: "test-placeholder")
args = dict(
prompt="Use the browser",
cwd=tmp_path,
@@ -211,7 +211,7 @@ def test_jarvis_codex_seat_uses_owned_browser_not_inherited_plugins(
permission_mode="ask",
resume=resume,
)
- identity = jarvis_harness.Identity(session_id, "identity", "identity")
+ identity = dodaios_harness.Identity(session_id, "identity", "identity")
plan = runner_cli.plan_codex(**args, identity=identity)
assert "--ignore-user-config" in plan.argv
assert "--ignore-rules" in plan.argv
@@ -228,7 +228,7 @@ async def test_failed_browser_mcp_preserves_partial_outcome_and_error_flag(monke
import mcp.types as types
- from dodaios.mcp import jarvis_tools_server as server
+ from dodaios.mcp import dodaios_tools_server as server
tool = SimpleNamespace(
name="society_browser",
@@ -261,7 +261,7 @@ async def test_cli_browser_retries_keep_the_user_turn_trace(monkeypatch):
from dodaios.agent_chat.tool_context import register_turn, unregister_turn
from dodaios.core.protocols import ChatTurn, current_chat_turn
- from dodaios.mcp import jarvis_tools_server as server
+ from dodaios.mcp import dodaios_tools_server as server
seen = []
tool = SimpleNamespace(
diff --git a/tests/contract/test_bypass_permissions.py b/tests/contract/test_bypass_permissions.py
index 8bac309e6c..d82c0af21f 100644
--- a/tests/contract/test_bypass_permissions.py
+++ b/tests/contract/test_bypass_permissions.py
@@ -23,7 +23,7 @@ from tests.fakes.fake_permission_tool import FakePermissionTool
def test_example_config_and_fresh_config_share_the_bypass_default():
- example = tomllib.loads(Path("jarvis.toml.example").read_text(encoding="utf-8"))
+ example = tomllib.loads(Path("dodaios.toml.example").read_text(encoding="utf-8"))
assert SafetyConfig.model_validate(example["safety"]).approval_mode == "bypass"
assert JarvisConfig().safety.approval_mode == "bypass"
diff --git a/tests/contract/test_society_memory_books.py b/tests/contract/test_society_memory_books.py
index 5924ecf436..8199152f64 100644
--- a/tests/contract/test_society_memory_books.py
+++ b/tests/contract/test_society_memory_books.py
@@ -241,7 +241,7 @@ async def test_global_profile_writers_are_withheld_but_private_notebook_tool_rem
def test_resumed_cli_context_contains_its_own_user_and_memory_notebooks():
- from dodaios.agent_chat.jarvis_harness import society_memory_refresh
+ from dodaios.agent_chat.dodaios_harness import society_memory_refresh
context = society_memory_refresh(
"## Your user profile\nUSER.md: Prefers short replies.\n\n"
diff --git a/tests/e2e/test_self_mod_e2e.py b/tests/e2e/test_self_mod_e2e.py
index cfdf3a5385..cb25599640 100644
--- a/tests/e2e/test_self_mod_e2e.py
+++ b/tests/e2e/test_self_mod_e2e.py
@@ -59,7 +59,7 @@ FIXTURE = (
/ "unit"
/ "self_mod"
/ "fixtures"
- / "minimal_jarvis.toml"
+ / "minimal_dodaios.toml"
)
diff --git a/tests/integration/test_config_drift_guard_env.py b/tests/integration/test_config_drift_guard_env.py
index d1888305b4..e4789d7392 100644
--- a/tests/integration/test_config_drift_guard_env.py
+++ b/tests/integration/test_config_drift_guard_env.py
@@ -23,7 +23,7 @@ import pytest
from dodaios.core.process_utils import NO_WINDOW_CREATIONFLAGS
_REPO_ROOT = Path(__file__).resolve().parents[2]
-_SCRIPT = _REPO_ROOT / "scripts" / "jarvis-config-drift-guard.ps1"
+_SCRIPT = _REPO_ROOT / "scripts" / "dodaios-config-drift-guard.ps1"
_SHELL = shutil.which("powershell") or shutil.which("pwsh")
pytestmark = pytest.mark.skipif(
diff --git a/tests/integration/test_jarvis_agent_active_brain.py b/tests/integration/test_dodaios_agent_active_brain.py
similarity index 100%
rename from tests/integration/test_jarvis_agent_active_brain.py
rename to tests/integration/test_dodaios_agent_active_brain.py
diff --git a/tests/integration/test_jarvis_agent_keyless_providers.py b/tests/integration/test_dodaios_agent_keyless_providers.py
similarity index 100%
rename from tests/integration/test_jarvis_agent_keyless_providers.py
rename to tests/integration/test_dodaios_agent_keyless_providers.py
diff --git a/tests/integration/test_jarvis_agent_model_drift.py b/tests/integration/test_dodaios_agent_model_drift.py
similarity index 100%
rename from tests/integration/test_jarvis_agent_model_drift.py
rename to tests/integration/test_dodaios_agent_model_drift.py
diff --git a/tests/integration/test_jarvis_agent_model_route.py b/tests/integration/test_dodaios_agent_model_route.py
similarity index 100%
rename from tests/integration/test_jarvis_agent_model_route.py
rename to tests/integration/test_dodaios_agent_model_route.py
diff --git a/tests/integration/test_update_handover_real_os.py b/tests/integration/test_update_handover_real_os.py
index 3b7ce48a57..6bb0905308 100644
--- a/tests/integration/test_update_handover_real_os.py
+++ b/tests/integration/test_update_handover_real_os.py
@@ -325,7 +325,7 @@ def _build_setup(iscc: Path, fake_exe: Path, version: str, work: Path) -> Path:
f"/DSourceDir={source}",
f"/DOutputDir={out}",
f"/DAppGuid={TEST_APP_GUID}",
- str(REPO / "packaging" / "windows" / "PersonalJarvis.iss"),
+ str(REPO / "packaging" / "windows" / "Dodaios.iss"),
],
check=True,
timeout=600,
diff --git a/tests/missions/test_jarvis_agent_worker_routing.py b/tests/missions/test_dodaios_agent_worker_routing.py
similarity index 100%
rename from tests/missions/test_jarvis_agent_worker_routing.py
rename to tests/missions/test_dodaios_agent_worker_routing.py
diff --git a/tests/missions/test_injection_scanner.py b/tests/missions/test_injection_scanner.py
index 512b5eda25..06f8608e0a 100644
--- a/tests/missions/test_injection_scanner.py
+++ b/tests/missions/test_injection_scanner.py
@@ -185,7 +185,7 @@ def test_has_high_severity_false_for_empty() -> None:
# because the safety scan ran over the raw stream.jsonl — which contains
# the OUTPUT of the worker's READ commands (rg / Get-Content). The worker
# had merely read its own repo: `rm -rf /` from the safety blacklist in
-# jarvis.toml.example, `OPENAI_API_KEY=...` from a wizard docstring, and
+# dodaios.toml.example, `OPENAI_API_KEY=...` from a wizard docstring, and
# `fetch('/api/secret...')` from the frontend. Reading dangerous strings
# is not authoring them — only worker-authored text (assistant prose,
# commands it wants to run, tool_use inputs) may trigger the kill-path.
@@ -205,7 +205,7 @@ def test_codex_read_output_is_not_worker_authored() -> None:
{
"id": "item_1",
"type": "command_execution",
- "command": "powershell.exe -Command 'Get-Content jarvis.toml.example'",
+ "command": "powershell.exe -Command 'Get-Content dodaios.toml.example'",
"aggregated_output": (
'commands = ["format *", "rm -rf /", "del /f /s /q C:\\\\"]\n'
"export OPENAI_API_KEY=sk-example\n"
diff --git a/tests/review/test_config_review_section.py b/tests/review/test_config_review_section.py
index df4fb0e681..05d831f7e1 100644
--- a/tests/review/test_config_review_section.py
+++ b/tests/review/test_config_review_section.py
@@ -83,7 +83,7 @@ def test_rubric_items_not_empty() -> None:
def test_example_config_uses_valid_review_defaults() -> None:
"""The public example remains valid when the review section is omitted."""
- jarvis_toml = REPO_ROOT / "jarvis.toml.example"
+ jarvis_toml = REPO_ROOT / "dodaios.toml.example"
assert jarvis_toml.exists()
raw = tomllib.loads(jarvis_toml.read_text(encoding="utf-8"))
diff --git a/tests/review/test_jarvis_agent_files.py b/tests/review/test_dodaios_agent_files.py
similarity index 100%
rename from tests/review/test_jarvis_agent_files.py
rename to tests/review/test_dodaios_agent_files.py
diff --git a/tests/test_app_icon.py b/tests/test_app_icon.py
index 8fa8b2bd41..944e825775 100644
--- a/tests/test_app_icon.py
+++ b/tests/test_app_icon.py
@@ -2,7 +2,7 @@
``scripts/make_app_icon.py`` renders every native icon from
``assets/brand/dodaios-logo.svg`` and writes the same path into
-``src/components/brand/jarvisLogoPath.ts`` for the frontend. There is no
+``src/components/brand/dodaiosLogoPath.ts`` for the frontend. There is no
runtime that can share the two — one side is Python drawing a PNG at build
time, the other is React drawing SVG in a browser — so a copy nothing checks
would drift and show up as a taskbar icon that no longer matches the app.
@@ -62,5 +62,5 @@ def test_every_size_renders_a_filled_tile(size: int) -> None:
def test_committed_icons_are_the_current_render() -> None:
"""Re-run ``python scripts/make_app_icon.py`` after editing the logo."""
- committed = Image.open(ROOT / "dodaios" / "assets" / "icons" / "jarvis.png").convert("RGBA")
+ committed = Image.open(ROOT / "dodaios" / "assets" / "icons" / "dodaios.png").convert("RGBA")
assert committed.tobytes() == render_tile(256).tobytes()
diff --git a/tests/unit/agent_chat/test_chat_ide_separation.py b/tests/unit/agent_chat/test_chat_ide_separation.py
index c02e594b85..1f73e3f372 100644
--- a/tests/unit/agent_chat/test_chat_ide_separation.py
+++ b/tests/unit/agent_chat/test_chat_ide_separation.py
@@ -29,7 +29,7 @@ _IDE = _ROOT / "dodaios" / "agentic_ide"
#: The chat-only modules. Nothing under ``dodaios/agentic_ide`` may reach these:
#: they are what hands a session Jarvis' own tools.
-_CHAT_ONLY = ("dodaios.agent_chat.jarvis_harness", "dodaios.agent_chat.runner_cli")
+_CHAT_ONLY = ("dodaios.agent_chat.dodaios_harness", "dodaios.agent_chat.runner_cli")
def _imported_modules(path: Path) -> set[str]:
@@ -80,12 +80,12 @@ def test_the_chat_child_environment_is_a_copy_never_the_process_environment():
"""The control key must reach the chat's child and nothing else on the box."""
import os
- from dodaios.agent_chat import jarvis_harness
+ from dodaios.agent_chat import dodaios_harness
- before = os.environ.get(jarvis_harness.KEY_ENV_VAR)
+ before = os.environ.get(dodaios_harness.KEY_ENV_VAR)
child: dict[str, str] = {}
- jarvis_harness.apply_env(child)
- assert os.environ.get(jarvis_harness.KEY_ENV_VAR) == before
+ dodaios_harness.apply_env(child)
+ assert os.environ.get(dodaios_harness.KEY_ENV_VAR) == before
def test_the_ide_panes_and_the_chat_do_not_share_a_spawn_function():
diff --git a/tests/unit/agent_chat/test_jarvis_harness.py b/tests/unit/agent_chat/test_dodaios_harness.py
similarity index 75%
rename from tests/unit/agent_chat/test_jarvis_harness.py
rename to tests/unit/agent_chat/test_dodaios_harness.py
index 6fcc06d381..8d6defa83a 100644
--- a/tests/unit/agent_chat/test_jarvis_harness.py
+++ b/tests/unit/agent_chat/test_dodaios_harness.py
@@ -13,9 +13,9 @@ from typing import Any
import pytest
-from dodaios.agent_chat import jarvis_harness
+from dodaios.agent_chat import dodaios_harness
from dodaios.core import runtime_refs
-from dodaios.mcp import jarvis_tools_server as server
+from dodaios.mcp import dodaios_tools_server as server
@dataclass
@@ -137,68 +137,68 @@ def test_a_tool_result_becomes_text_the_model_can_read():
def test_the_config_is_withheld_until_the_app_can_actually_serve_it(monkeypatch):
"""Half a config is worse than none: the CLI would fail to connect mid-turn."""
- monkeypatch.setattr(jarvis_harness, "control_key", lambda: "k")
- monkeypatch.setattr(jarvis_harness, "endpoint", lambda: None)
- assert jarvis_harness.mcp_config_json() is None # no base URL yet
- assert jarvis_harness.codex_config_args() == []
- assert jarvis_harness.agy_mcp_server_entry() is None
- assert jarvis_harness.grok_mcp_server_entry() is None
+ monkeypatch.setattr(dodaios_harness, "control_key", lambda: "k")
+ monkeypatch.setattr(dodaios_harness, "endpoint", lambda: None)
+ assert dodaios_harness.mcp_config_json() is None # no base URL yet
+ assert dodaios_harness.codex_config_args() == []
+ assert dodaios_harness.agy_mcp_server_entry() is None
+ assert dodaios_harness.grok_mcp_server_entry() is None
monkeypatch.setattr(
- jarvis_harness, "endpoint", lambda: "http://127.0.0.1:47821/api/control/mcp/"
+ dodaios_harness, "endpoint", lambda: "http://127.0.0.1:47821/api/control/mcp/"
)
- monkeypatch.setattr(jarvis_harness, "control_key", lambda: None)
- assert jarvis_harness.mcp_config_json() is None # no key
- assert jarvis_harness.codex_config_args() == []
- assert jarvis_harness.agy_mcp_server_entry() is None
- assert jarvis_harness.grok_mcp_server_entry() is None
+ monkeypatch.setattr(dodaios_harness, "control_key", lambda: None)
+ assert dodaios_harness.mcp_config_json() is None # no key
+ assert dodaios_harness.codex_config_args() == []
+ assert dodaios_harness.agy_mcp_server_entry() is None
+ assert dodaios_harness.grok_mcp_server_entry() is None
def test_the_key_travels_in_the_environment_never_in_argv(monkeypatch):
"""argv is readable by every process on the machine; the control key is the boundary."""
- monkeypatch.setattr(jarvis_harness, "control_key", lambda: "super-secret-key")
+ monkeypatch.setattr(dodaios_harness, "control_key", lambda: "super-secret-key")
runtime_refs.set_api_base_url("http://127.0.0.1:47821")
- config = jarvis_harness.mcp_config_json() or ""
- codex_args = " ".join(jarvis_harness.codex_config_args())
- grok = jarvis_harness.grok_mcp_server_entry("sess-g") or {}
+ config = dodaios_harness.mcp_config_json() or ""
+ codex_args = " ".join(dodaios_harness.codex_config_args())
+ grok = dodaios_harness.grok_mcp_server_entry("sess-g") or {}
assert "super-secret-key" not in config
assert "super-secret-key" not in codex_args
assert "super-secret-key" not in json.dumps(grok)
assert "${JARVIS_CONTROL_API_KEY}" in config
assert "bearer_token_env_var" in codex_args
- assert grok["bearer_token_env_var"] == jarvis_harness.KEY_ENV_VAR
+ assert grok["bearer_token_env_var"] == dodaios_harness.KEY_ENV_VAR
- env = jarvis_harness.apply_env({})
+ env = dodaios_harness.apply_env({})
assert env["JARVIS_CONTROL_API_KEY"] == "super-secret-key"
def test_both_cli_shapes_point_at_the_same_endpoint(monkeypatch):
- monkeypatch.setattr(jarvis_harness, "control_key", lambda: "k")
+ monkeypatch.setattr(dodaios_harness, "control_key", lambda: "k")
runtime_refs.set_api_base_url("http://127.0.0.1:47921/")
url = "http://127.0.0.1:47921/api/control/mcp"
- assert url in (jarvis_harness.mcp_config_json() or "")
- assert any(url in arg for arg in jarvis_harness.codex_config_args())
- agy = jarvis_harness.agy_mcp_server_entry("sess-9")
+ assert url in (dodaios_harness.mcp_config_json() or "")
+ assert any(url in arg for arg in dodaios_harness.codex_config_args())
+ agy = dodaios_harness.agy_mcp_server_entry("sess-9")
assert agy is not None
assert url in agy["serverUrl"]
- assert agy["headers"][jarvis_harness.HEADER_NAME] == "sess-9"
- grok = jarvis_harness.grok_mcp_server_entry("sess-9")
+ assert agy["headers"][dodaios_harness.HEADER_NAME] == "sess-9"
+ grok = dodaios_harness.grok_mcp_server_entry("sess-9")
assert grok is not None
assert url in grok["url"]
- assert grok["headers"][jarvis_harness.HEADER_NAME] == "sess-9"
+ assert grok["headers"][dodaios_harness.HEADER_NAME] == "sess-9"
def test_the_preamble_names_the_prefix_the_tools_actually_get():
"""If the prefix drifts, the model is told to use tools it cannot see."""
- assert jarvis_harness._SERVER_NAME == "dodaios"
- assert "`mcp__dodaios__<tool>`" in jarvis_harness.SYSTEM_PREAMBLE
- assert "`dodaios__<tool>`" in jarvis_harness.SYSTEM_PREAMBLE
- assert "`mcp__dodaios__run_shell` / `dodaios__run_shell`" in jarvis_harness.SYSTEM_PREAMBLE
- assert "from the `dodaios` MCP server" in jarvis_harness.SYSTEM_PREAMBLE
+ assert dodaios_harness._SERVER_NAME == "dodaios"
+ assert "`mcp__dodaios__<tool>`" in dodaios_harness.SYSTEM_PREAMBLE
+ assert "`dodaios__<tool>`" in dodaios_harness.SYSTEM_PREAMBLE
+ assert "`mcp__dodaios__run_shell` / `dodaios__run_shell`" in dodaios_harness.SYSTEM_PREAMBLE
+ assert "from the `dodaios` MCP server" in dodaios_harness.SYSTEM_PREAMBLE
# The model is told one name: the one the tools are mounted under.
- assert "jarvis__" not in jarvis_harness.SYSTEM_PREAMBLE
- society = jarvis_harness.SOCIETY_PREAMBLE
+ assert "jarvis__" not in dodaios_harness.SYSTEM_PREAMBLE
+ society = dodaios_harness.SOCIETY_PREAMBLE
assert "`mcp__dodaios__<tool>`" in society and "`dodaios__<tool>`" in society
assert "from the `dodaios` MCP server" in society
assert "jarvis__" not in society
@@ -206,17 +206,17 @@ def test_the_preamble_names_the_prefix_the_tools_actually_get():
def test_every_cli_shape_mounts_the_server_under_the_one_name(monkeypatch):
"""Claude's JSON, Codex' overrides and the Grok block must agree on the name."""
- monkeypatch.setattr(jarvis_harness, "control_key", lambda: "k")
+ monkeypatch.setattr(dodaios_harness, "control_key", lambda: "k")
runtime_refs.set_api_base_url("http://127.0.0.1:47821")
- assert list(json.loads(jarvis_harness.mcp_config_json("s") or "{}")["mcpServers"]) == [
+ assert list(json.loads(dodaios_harness.mcp_config_json("s") or "{}")["mcpServers"]) == [
"dodaios"
]
- codex = jarvis_harness.codex_config_args("society:scout")
+ codex = dodaios_harness.codex_config_args("society:scout")
assert codex[1::2] and all(arg.startswith("mcp_servers.dodaios.") for arg in codex[1::2])
assert 'mcp_servers.dodaios.tools.society_browser.approval_mode="approve"' in codex
assert 'mcp_servers.dodaios.default_tools_approval_mode="approve"' in codex
- block = jarvis_harness._grok_jarvis_block(jarvis_harness.grok_mcp_server_entry("s") or {})
+ block = dodaios_harness._grok_jarvis_block(dodaios_harness.grok_mcp_server_entry("s") or {})
assert "[mcp_servers.dodaios]" in block and "[mcp_servers.dodaios.headers]" in block
@@ -234,10 +234,10 @@ def test_a_grok_block_written_under_the_earlier_name_is_replaced_not_joined():
"",
]
)
- block = jarvis_harness._grok_jarvis_block(
+ block = dodaios_harness._grok_jarvis_block(
{"url": "http://127.0.0.1:47821/api/control/mcp/", "bearer_token_env_var": "K"}
)
- merged = jarvis_harness._merge_grok_jarvis_block(older, block)
+ merged = dodaios_harness._merge_grok_jarvis_block(older, block)
assert "[mcp_servers.jarvis]" not in merged
assert merged.count("[mcp_servers.dodaios]") == 1
@@ -245,10 +245,10 @@ def test_a_grok_block_written_under_the_earlier_name_is_replaced_not_joined():
def test_agy_plugin_is_skipped_when_the_app_is_not_ready(tmp_path, monkeypatch):
- monkeypatch.setattr(jarvis_harness, "control_key", lambda: None)
- assert jarvis_harness.install_agy_jarvis_plugin(tmp_path, "sess") is None
+ monkeypatch.setattr(dodaios_harness, "control_key", lambda: None)
+ assert dodaios_harness.install_agy_jarvis_plugin(tmp_path, "sess") is None
assert not (tmp_path / ".agents").exists()
- assert jarvis_harness.install_grok_jarvis_mcp(tmp_path, "sess") is None
+ assert dodaios_harness.install_grok_jarvis_mcp(tmp_path, "sess") is None
assert not (tmp_path / ".grok").exists()
@@ -256,7 +256,7 @@ def test_claude_argv_carries_the_tools_and_the_identity(monkeypatch):
from dodaios.agent_chat import runner_cli
monkeypatch.setattr(runner_cli, "claude_argv_prefix", lambda: ["claude"])
- monkeypatch.setattr(runner_cli.jarvis_harness, "control_key", lambda: "k")
+ monkeypatch.setattr(runner_cli.dodaios_harness, "control_key", lambda: "k")
runtime_refs.set_api_base_url("http://127.0.0.1:47821")
from pathlib import Path
@@ -281,7 +281,7 @@ def test_a_chat_without_a_ready_app_spawns_exactly_as_before(monkeypatch):
from dodaios.agent_chat import runner_cli
monkeypatch.setattr(runner_cli, "claude_argv_prefix", lambda: ["claude"])
- monkeypatch.setattr(runner_cli.jarvis_harness, "control_key", lambda: None)
+ monkeypatch.setattr(runner_cli.dodaios_harness, "control_key", lambda: None)
plan = runner_cli.plan_claude(
prompt="hi",
diff --git a/tests/unit/agent_chat/test_jarvis_identity.py b/tests/unit/agent_chat/test_dodaios_identity.py
similarity index 80%
rename from tests/unit/agent_chat/test_jarvis_identity.py
rename to tests/unit/agent_chat/test_dodaios_identity.py
index c8d1f94013..760e37f2c6 100644
--- a/tests/unit/agent_chat/test_jarvis_identity.py
+++ b/tests/unit/agent_chat/test_dodaios_identity.py
@@ -13,11 +13,11 @@ from typing import Any
import pytest
-from dodaios.agent_chat import jarvis_harness, runner_cli
+from dodaios.agent_chat import dodaios_harness, runner_cli
from dodaios.agent_chat.events import make_event
from dodaios.core import runtime_refs
from dodaios.core.response_style import KEEP_GOING_ON_TOOL_FAILURE
-from dodaios.mcp import jarvis_tools_server as server
+from dodaios.mcp import dodaios_tools_server as server
from dodaios.ui.web import mcp_server_routes
@@ -53,19 +53,19 @@ def _history() -> list[dict[str, Any]]:
async def test_identity_has_the_jarvis_layers_the_transcript_and_the_addendum(monkeypatch):
brain = _Brain()
- monkeypatch.setattr(jarvis_harness, "_brain", lambda: brain)
- text = await jarvis_harness.identity_prompt(
+ monkeypatch.setattr(dodaios_harness, "_brain", lambda: brain)
+ text = await dodaios_harness.identity_prompt(
user_text="and now?", history=_history(), resume=None
)
assert text.index("YOU ARE GEORGE") < text.index("Date: today")
assert "Person: what did we decide?" in text and "You: To ship on Friday." in text
- assert text.endswith(jarvis_harness.SYSTEM_PREAMBLE)
+ assert text.endswith(dodaios_harness.SYSTEM_PREAMBLE)
assert brain.asked_with == ["and now?"], "the wiki context is pulled for THIS turn's text"
async def test_a_resumed_conversation_carries_no_transcript(monkeypatch):
- monkeypatch.setattr(jarvis_harness, "_brain", lambda: _Brain())
- text = await jarvis_harness.identity_prompt(
+ monkeypatch.setattr(dodaios_harness, "_brain", lambda: _Brain())
+ text = await dodaios_harness.identity_prompt(
user_text="and now?", history=_history(), resume="vendor-session-1"
)
assert "This conversation so far" not in text
@@ -73,59 +73,59 @@ async def test_a_resumed_conversation_carries_no_transcript(monkeypatch):
async def test_without_a_brain_the_addendum_stands_alone(monkeypatch):
- monkeypatch.setattr(jarvis_harness, "_brain", lambda: None)
- text = await jarvis_harness.identity_prompt(user_text="hi", history=[], resume=None)
- assert text == jarvis_harness.SYSTEM_PREAMBLE
+ monkeypatch.setattr(dodaios_harness, "_brain", lambda: None)
+ text = await dodaios_harness.identity_prompt(user_text="hi", history=[], resume=None)
+ assert text == dodaios_harness.SYSTEM_PREAMBLE
async def test_failing_layers_never_cost_the_turn(monkeypatch):
- monkeypatch.setattr(jarvis_harness, "_brain", lambda: _Brain(fail=True))
- text = await jarvis_harness.identity_prompt(user_text="hi", history=_history(), resume=None)
- assert text.endswith(jarvis_harness.SYSTEM_PREAMBLE) and "Person:" in text
+ monkeypatch.setattr(dodaios_harness, "_brain", lambda: _Brain(fail=True))
+ text = await dodaios_harness.identity_prompt(user_text="hi", history=_history(), resume=None)
+ assert text.endswith(dodaios_harness.SYSTEM_PREAMBLE) and "Person:" in text
def test_the_compact_cut_keeps_the_addendum_whole():
- long_text = ("a line of soul\n" * 3000) + "\n\n" + jarvis_harness.SYSTEM_PREAMBLE
- compact = jarvis_harness.compact_identity(long_text, max_chars=4000)
+ long_text = ("a line of soul\n" * 3000) + "\n\n" + dodaios_harness.SYSTEM_PREAMBLE
+ compact = dodaios_harness.compact_identity(long_text, max_chars=4000)
assert len(compact) <= 4100
- assert compact.endswith(jarvis_harness.SYSTEM_PREAMBLE)
+ assert compact.endswith(dodaios_harness.SYSTEM_PREAMBLE)
assert "…" in compact
async def test_a_society_seat_closes_with_the_society_preamble_kept_whole():
- text = await jarvis_harness.identity_prompt(
+ text = await dodaios_harness.identity_prompt(
user_text="hi", history=[], resume=None, prompt_override="## You are Scout\n" * 2000
)
- assert text.endswith(jarvis_harness.SOCIETY_PREAMBLE)
+ assert text.endswith(dodaios_harness.SOCIETY_PREAMBLE)
assert "same assistant" not in text and "by voice" not in text
- compact = jarvis_harness.compact_identity(text, max_chars=4000)
+ compact = dodaios_harness.compact_identity(text, max_chars=4000)
assert len(compact) <= 4100
- assert compact.endswith(jarvis_harness.SOCIETY_PREAMBLE)
+ assert compact.endswith(dodaios_harness.SOCIETY_PREAMBLE)
def test_the_identity_file_lives_in_the_app_data_dir_and_is_removed(monkeypatch, tmp_path: Path):
- monkeypatch.setattr(jarvis_harness, "identity_dir", lambda: tmp_path / "identity")
- path = jarvis_harness.write_identity_file("who I am", turn_id="turn-1")
+ monkeypatch.setattr(dodaios_harness, "identity_dir", lambda: tmp_path / "identity")
+ path = dodaios_harness.write_identity_file("who I am", turn_id="turn-1")
assert path.parent == tmp_path / "identity" and path.read_text(encoding="utf-8") == "who I am"
- jarvis_harness.remove_identity_file(path)
+ dodaios_harness.remove_identity_file(path)
assert not path.exists()
- jarvis_harness.remove_identity_file(path) # twice is fine
+ dodaios_harness.remove_identity_file(path) # twice is fine
# --------------------------------------------------------- what each CLI gets
-def _identity(tmp_path: Path) -> jarvis_harness.Identity:
+def _identity(tmp_path: Path) -> dodaios_harness.Identity:
path = tmp_path / "id.md"
path.write_text("FULL IDENTITY", encoding="utf-8")
- return jarvis_harness.Identity(
+ return dodaios_harness.Identity(
session_id="sess-1", text="FULL IDENTITY", compact="SHORT IDENTITY", path=path
)
def test_claude_takes_the_identity_as_a_file_and_names_the_session(monkeypatch, tmp_path: Path):
monkeypatch.setattr(runner_cli, "claude_argv_prefix", lambda: ["claude"])
- monkeypatch.setattr(runner_cli.jarvis_harness, "control_key", lambda: "k")
+ monkeypatch.setattr(runner_cli.dodaios_harness, "control_key", lambda: "k")
runtime_refs.set_api_base_url("http://127.0.0.1:47821")
plan = runner_cli.plan_claude(
prompt="hi",
@@ -141,26 +141,26 @@ def test_claude_takes_the_identity_as_a_file_and_names_the_session(monkeypatch,
assert argv[argv.index("--append-system-prompt-file") + 1] == str(tmp_path / "id.md")
assert "--append-system-prompt" not in argv
config = argv[argv.index("--mcp-config") + 1]
- assert jarvis_harness.HEADER_NAME in config and "sess-1" in config
+ assert dodaios_harness.HEADER_NAME in config and "sess-1" in config
assert plan.stdin_text and "FULL IDENTITY" not in plan.stdin_text
def test_claude_without_identity_spawns_exactly_as_before(monkeypatch, tmp_path: Path):
monkeypatch.setattr(runner_cli, "claude_argv_prefix", lambda: ["claude"])
- monkeypatch.setattr(runner_cli.jarvis_harness, "control_key", lambda: "k")
+ monkeypatch.setattr(runner_cli.dodaios_harness, "control_key", lambda: "k")
runtime_refs.set_api_base_url("http://127.0.0.1:47821")
plan = runner_cli.plan_claude(
prompt="hi", cwd=tmp_path, model="", effort="", permission_mode="ask", resume=None
)
assert "--append-system-prompt" in plan.argv
assert "--append-system-prompt-file" not in plan.argv
- assert jarvis_harness.HEADER_NAME not in plan.argv[plan.argv.index("--mcp-config") + 1]
+ assert dodaios_harness.HEADER_NAME not in plan.argv[plan.argv.index("--mcp-config") + 1]
def test_codex_gets_the_identity_on_stdin_and_the_session_header(monkeypatch, tmp_path: Path):
monkeypatch.setattr(runner_cli, "codex_argv_prefix", lambda: ["codex"])
monkeypatch.setattr(runner_cli, "read_codex_models", lambda: None)
- monkeypatch.setattr(runner_cli.jarvis_harness, "control_key", lambda: "k")
+ monkeypatch.setattr(runner_cli.dodaios_harness, "control_key", lambda: "k")
runtime_refs.set_api_base_url("http://127.0.0.1:47821")
plan = runner_cli.plan_codex(
prompt="hi",
@@ -225,7 +225,7 @@ def test_grok_plan_mode_does_not_auto_approve(monkeypatch, tmp_path: Path):
def test_grok_with_identity_writes_a_project_mcp_config(monkeypatch, tmp_path: Path):
monkeypatch.setattr(runner_cli, "grok_argv_prefix", lambda: ["grok"])
- monkeypatch.setattr(runner_cli.jarvis_harness, "control_key", lambda: "k")
+ monkeypatch.setattr(runner_cli.dodaios_harness, "control_key", lambda: "k")
runtime_refs.set_api_base_url("http://127.0.0.1:47821")
(tmp_path / ".grok").mkdir()
(tmp_path / ".grok" / "config.toml").write_text(
@@ -283,7 +283,7 @@ def test_agy_takes_the_identity_on_stdin(monkeypatch, tmp_path: Path):
def test_agy_with_identity_drops_a_workspace_plugin(monkeypatch, tmp_path: Path):
monkeypatch.setattr(runner_cli, "agy_argv_prefix", lambda: ["agy"])
monkeypatch.setattr(runner_cli, "_agy_catalog_cached", lambda: None)
- monkeypatch.setattr(runner_cli.jarvis_harness, "control_key", lambda: "k")
+ monkeypatch.setattr(runner_cli.dodaios_harness, "control_key", lambda: "k")
runtime_refs.set_api_base_url("http://127.0.0.1:47821")
runner_cli.plan_agy(
prompt="hi",
@@ -301,7 +301,7 @@ def test_agy_with_identity_drops_a_workspace_plugin(monkeypatch, tmp_path: Path)
server = payload["mcpServers"]["dodaios"]
assert server["serverUrl"].endswith("/api/control/mcp/")
assert server["headers"]["Authorization"] == "Bearer k"
- assert server["headers"][jarvis_harness.HEADER_NAME] == "sess-1"
+ assert server["headers"][dodaios_harness.HEADER_NAME] == "sess-1"
# ------------------------------------------------------- the session header
@@ -367,12 +367,12 @@ def test_the_tool_server_names_the_chats_card_for_a_session_request():
def test_the_config_names_the_header_only_with_a_session(monkeypatch):
- monkeypatch.setattr(jarvis_harness, "control_key", lambda: "k")
+ monkeypatch.setattr(dodaios_harness, "control_key", lambda: "k")
runtime_refs.set_api_base_url("http://127.0.0.1:47821")
- plain = jarvis_harness.mcp_config_json() or ""
- named = jarvis_harness.mcp_config_json("sess-2") or ""
- assert jarvis_harness.HEADER_NAME not in plain
- assert jarvis_harness.HEADER_NAME in named and "sess-2" in named
+ plain = dodaios_harness.mcp_config_json() or ""
+ named = dodaios_harness.mcp_config_json("sess-2") or ""
+ assert dodaios_harness.HEADER_NAME not in plain
+ assert dodaios_harness.HEADER_NAME in named and "sess-2" in named
assert "${JARVIS_CONTROL_API_KEY}" in named, "the key still travels by env, never in the config"
- assert not any("http_headers" in a for a in jarvis_harness.codex_config_args())
- assert any("http_headers" in a for a in jarvis_harness.codex_config_args("sess-2"))
+ assert not any("http_headers" in a for a in dodaios_harness.codex_config_args())
+ assert any("http_headers" in a for a in dodaios_harness.codex_config_args("sess-2"))
diff --git a/tests/unit/agent_chat/test_ide_cli_seats.py b/tests/unit/agent_chat/test_ide_cli_seats.py
index fec270cbb7..9b3fca4f0e 100644
--- a/tests/unit/agent_chat/test_ide_cli_seats.py
+++ b/tests/unit/agent_chat/test_ide_cli_seats.py
@@ -321,7 +321,7 @@ def stubbed(monkeypatch: pytest.MonkeyPatch) -> None:
monkeypatch.setattr(rc, "claude_argv_prefix", lambda: ["claude"])
monkeypatch.setattr(rc, "_account_env", lambda platform: {"HOME": "h"})
monkeypatch.setattr(rc, "_registry_env", lambda agent, base: {**base, "AGENT": agent})
- monkeypatch.setattr(rc.jarvis_harness, "mcp_config_json", lambda sid=None: None)
+ monkeypatch.setattr(rc.dodaios_harness, "mcp_config_json", lambda sid=None: None)
def test_plan_opencode_speaks_run_json_and_the_stance_flags(stubbed: None) -> None:
diff --git a/tests/unit/agent_chat/test_response_style.py b/tests/unit/agent_chat/test_response_style.py
index 28079e1fb8..6b902ef38c 100644
--- a/tests/unit/agent_chat/test_response_style.py
+++ b/tests/unit/agent_chat/test_response_style.py
@@ -4,7 +4,7 @@ from pathlib import Path
import pytest
-from dodaios.agent_chat import jarvis_harness
+from dodaios.agent_chat import dodaios_harness
from dodaios.agent_chat.runner_api import system_prompt
from dodaios.brain.manager import _WRITTEN_CHAT_STYLE
from dodaios.brain.persona_loader import load_compact_persona_prompt, load_persona_prompt
@@ -46,8 +46,8 @@ def test_reply_style_keeps_the_person_oriented_without_a_persona() -> None:
async def test_cli_without_brain_layers_still_receives_the_shared_default(monkeypatch) -> None:
- monkeypatch.setattr(jarvis_harness, "_brain", lambda: None)
- prompt = await jarvis_harness.identity_prompt(user_text="Hello", history=[], resume=None)
+ monkeypatch.setattr(dodaios_harness, "_brain", lambda: None)
+ prompt = await dodaios_harness.identity_prompt(user_text="Hello", history=[], resume=None)
assert CONVERSATIONAL_TURN_REMINDER in prompt
assert "think longer and go deeper" not in prompt
assert "Frontier-lab style" not in prompt
diff --git a/tests/unit/agent_chat/test_society_memory_refresh.py b/tests/unit/agent_chat/test_society_memory_refresh.py
index e02b7a5176..a8d20a31ce 100644
--- a/tests/unit/agent_chat/test_society_memory_refresh.py
+++ b/tests/unit/agent_chat/test_society_memory_refresh.py
@@ -1,6 +1,6 @@
"""Fresh agent knowledge reaches a resumed vendor conversation."""
-from dodaios.agent_chat.jarvis_harness import COMPACT_MAX_CHARS, Identity, society_memory_refresh
+from dodaios.agent_chat.dodaios_harness import COMPACT_MAX_CHARS, Identity, society_memory_refresh
from dodaios.agent_chat.runner_cli import _REFRESH_EVERY, _with_identity
from dodaios.core.response_style import CREDENTIAL_GUIDANCE
diff --git a/tests/unit/agent_chat/test_society_rollover.py b/tests/unit/agent_chat/test_society_rollover.py
index e180bcea89..795e1f76d9 100644
--- a/tests/unit/agent_chat/test_society_rollover.py
+++ b/tests/unit/agent_chat/test_society_rollover.py
@@ -2,7 +2,7 @@
from __future__ import annotations
-from dodaios.agent_chat.jarvis_harness import (
+from dodaios.agent_chat.dodaios_harness import (
ROLLOVER_NOTICE_KIND,
SOCIETY_ROLLOVER_CHARS,
society_rollover_due,
diff --git a/tests/unit/agent_chat/test_task_recovery.py b/tests/unit/agent_chat/test_task_recovery.py
index 199689dca5..cfc23dd26c 100644
--- a/tests/unit/agent_chat/test_task_recovery.py
+++ b/tests/unit/agent_chat/test_task_recovery.py
@@ -7,7 +7,7 @@ from types import SimpleNamespace
import pytest
-from dodaios.agent_chat import jarvis_harness, runner_cli
+from dodaios.agent_chat import dodaios_harness, runner_cli
from dodaios.agent_chat.events import make_event
from dodaios.agent_chat.runner_api import TurnHandle
from dodaios.agent_chat.task_recovery import ToolRecovery
@@ -138,7 +138,7 @@ def turn(monkeypatch):
return "Agent instructions"
async def identity(**kwargs):
- return jarvis_harness.Identity(
+ return dodaios_harness.Identity(
session.session_id, "Agent instructions", "Agent instructions"
)
@@ -146,7 +146,7 @@ def turn(monkeypatch):
return "en"
monkeypatch.setattr(runner_cli, "_surface_identity", briefing)
- monkeypatch.setattr(jarvis_harness, "build_identity", identity)
+ monkeypatch.setattr(dodaios_harness, "build_identity", identity)
monkeypatch.setattr("dodaios.society.reply_preference.resolve_agent_reply_language", language)
handle = TurnHandle(
session=session,
diff --git a/tests/unit/agents/test_node_status_parity.py b/tests/unit/agents/test_node_status_parity.py
index 081b9864f3..a5e247415b 100644
--- a/tests/unit/agents/test_node_status_parity.py
+++ b/tests/unit/agents/test_node_status_parity.py
@@ -21,7 +21,7 @@ _STORE = (
/ "frontend"
/ "src"
/ "store"
- / "jarvisAgents.ts"
+ / "dodaiosAgents.ts"
)
_BOARD = (
_REPO
diff --git a/tests/unit/audio/test_vad_bundled_model.py b/tests/unit/audio/test_vad_bundled_model.py
index 5d15eea037..83a7c4efd8 100644
--- a/tests/unit/audio/test_vad_bundled_model.py
+++ b/tests/unit/audio/test_vad_bundled_model.py
@@ -33,7 +33,7 @@ from dodaios.core.protocols import AudioChunk
REPO_ROOT = Path(__file__).resolve().parents[3]
PYPROJECT = REPO_ROOT / "pyproject.toml"
-PYINSTALLER_SPEC = REPO_ROOT / "jarvis.spec"
+PYINSTALLER_SPEC = REPO_ROOT / "dodaios.spec"
UV_LOCK = REPO_ROOT / "uv.lock"
diff --git a/tests/unit/autostart/test_linux.py b/tests/unit/autostart/test_linux.py
index 9ec078c8f6..49cad842a9 100644
--- a/tests/unit/autostart/test_linux.py
+++ b/tests/unit/autostart/test_linux.py
@@ -52,7 +52,7 @@ def test_install_brands_entry_with_icon_and_wmclass(monkeypatch, tmp_path: Path)
text = (tmp_path / "autostart" / "dodaios.desktop").read_text(encoding="utf-8")
png = bundled_app_icon_png()
- assert png is not None, "bundled jarvis.png must ship for the Linux Icon= key"
+ assert png is not None, "bundled dodaios.png must ship for the Linux Icon= key"
# Every value goes through the key-file encoding. On a real Linux host that
# is the identity for an icon path; on a Windows dev/CI host the bundled
# path carries backslashes, and NOT escaping them would be the bug.
diff --git a/tests/unit/autostart/test_windows_scripts.py b/tests/unit/autostart/test_windows_scripts.py
index ae64976239..4424cd38bc 100644
--- a/tests/unit/autostart/test_windows_scripts.py
+++ b/tests/unit/autostart/test_windows_scripts.py
@@ -66,12 +66,12 @@ def test_read_script_reads_the_icon_back() -> None:
@pytest.mark.parametrize(
("actual", "expected", "matches"),
[
- (r"C:\app\jarvis.ico,0", r"C:\app\jarvis.ico", True),
- (r"c:\APP\jarvis.ico,0", r"C:\app\jarvis.ico", True), # Windows is case-blind
- (r"C:\old-worktree\jarvis.ico,0", r"C:\app\jarvis.ico", False),
- (",0", r"C:\app\jarvis.ico", False), # empty == inherit pythonw's logo
- ("", r"C:\app\jarvis.ico", False),
- (r"C:\anything\jarvis.ico,0", None, True), # unresolvable → leave it alone
+ (r"C:\app\dodaios.ico,0", r"C:\app\dodaios.ico", True),
+ (r"c:\APP\dodaios.ico,0", r"C:\app\dodaios.ico", True), # Windows is case-blind
+ (r"C:\old-worktree\dodaios.ico,0", r"C:\app\dodaios.ico", False),
+ (",0", r"C:\app\dodaios.ico", False), # empty == inherit pythonw's logo
+ ("", r"C:\app\dodaios.ico", False),
+ (r"C:\anything\dodaios.ico,0", None, True), # unresolvable → leave it alone
],
)
def test_icon_matches(actual: str, expected: str | None, matches: bool) -> None:
@@ -81,7 +81,7 @@ def test_icon_matches(actual: str, expected: str | None, matches: bool) -> None:
def test_create_script_embeds_icon_when_given() -> None:
"""The autostart .lnk must carry the Jarvis icon so the taskbar button is
branded from first paint — not the bare pythonw.exe Python logo."""
- ico = r"C:\Users\u\Personal Jarvis\dodaios\assets\icons\jarvis.ico"
+ ico = r"C:\Users\u\Personal Jarvis\dodaios\assets\icons\dodaios.ico"
script = build_create_script(Path(r"C:\startup\Personal Jarvis.lnk"), _spec(), icon=ico)
assert f"$sc.IconLocation = '{ico},0'" in script
@@ -115,11 +115,11 @@ def test_create_script_escapes_apostrophes_in_paths() -> None:
script = build_create_script(
Path(r"C:\Users\O'Brien\Startup\Personal Jarvis.lnk"),
_APOSTROPHE_SPEC,
- icon=r"C:\Users\O'Brien\jarvis.ico",
+ icon=r"C:\Users\O'Brien\dodaios.ico",
)
assert r"$sc.TargetPath = 'C:\Users\O''Brien\.venv\Scripts\pythonw.exe'" in script
assert r"Ruben''s Jarvis" in script
- assert r"$sc.IconLocation = 'C:\Users\O''Brien\jarvis.ico,0'" in script
+ assert r"$sc.IconLocation = 'C:\Users\O''Brien\dodaios.ico,0'" in script
assert _quotes_balanced(script)
diff --git a/tests/unit/brain/test_custom_system_prompt.py b/tests/unit/brain/test_custom_system_prompt.py
index f56393841f..2d7d854179 100644
--- a/tests/unit/brain/test_custom_system_prompt.py
+++ b/tests/unit/brain/test_custom_system_prompt.py
@@ -3,7 +3,7 @@
Feature 2026-06-14: the user can replace the packaged JARVIS persona with their
own Markdown in the Settings UI, and reset back to the default with one click.
The override lives in a sidecar file (``data/custom_system_prompt.md``) so the
-shipped ``JARVIS_PERSONA.md`` is never mutated and "reset to default" is just a
+shipped ``DODAIOS_PERSONA.md`` is never mutated and "reset to default" is just a
file delete. These lock the persona-loader contract the routes + UI depend on.
"""
from __future__ import annotations
diff --git a/tests/unit/brain/test_custom_system_prompt_in_manager.py b/tests/unit/brain/test_custom_system_prompt_in_manager.py
index 6a358f3e7e..b566de5d0f 100644
--- a/tests/unit/brain/test_custom_system_prompt_in_manager.py
+++ b/tests/unit/brain/test_custom_system_prompt_in_manager.py
@@ -39,7 +39,7 @@ def _isolate_data_dir(tmp_path, monkeypatch: pytest.MonkeyPatch):
def test_default_persona_block_present_without_custom() -> None:
prompt = _manager()._build_system_prompt()
- # A signature phrase from the packaged JARVIS_PERSONA.md persona block
+ # A signature phrase from the packaged DODAIOS_PERSONA.md persona block
# (persona was reworked; "voice companion" opens the new first sentence).
assert "voice companion" in prompt
diff --git a/tests/unit/brain/test_jarvis_agent_voice_switch_validated.py b/tests/unit/brain/test_dodaios_agent_voice_switch_validated.py
similarity index 100%
rename from tests/unit/brain/test_jarvis_agent_voice_switch_validated.py
rename to tests/unit/brain/test_dodaios_agent_voice_switch_validated.py
diff --git a/tests/unit/brain/test_missing_router_block_default.py b/tests/unit/brain/test_missing_router_block_default.py
index 4329f82150..9b7aaab603 100644
--- a/tests/unit/brain/test_missing_router_block_default.py
+++ b/tests/unit/brain/test_missing_router_block_default.py
@@ -1,6 +1,6 @@
"""A fresh install ships no [brain.router] block — the brain must still build.
-Regression (AP-23 "works on my machine"): ``jarvis.toml.example`` has a [brain]
+Regression (AP-23 "works on my machine"): ``dodaios.toml.example`` has a [brain]
table but NO [brain.router] sub-table, and neither the wizard, the installer,
nor onboarding writes one. ``BrainManager.from_tier_config`` used to RAISE
``BrainConfigError`` when ``config.brain.router`` was ``None``. On the desktop
diff --git a/tests/unit/brain/test_persona_loader.py b/tests/unit/brain/test_persona_loader.py
index 597ed5be25..be499c9bb3 100644
--- a/tests/unit/brain/test_persona_loader.py
+++ b/tests/unit/brain/test_persona_loader.py
@@ -76,7 +76,7 @@ def test_extract_fence_missing_fence_returns_empty() -> None:
def test_load_persona_prompt_extracts_real_persona(monkeypatch) -> None:
- """Integration test against the real JARVIS_PERSONA.md in the repo.
+ """Integration test against the real DODAIOS_PERSONA.md in the repo.
Checks sections that have been live in the MD since persona mandate
phase 2 (2026-04-25) — critical for the hangup contract and echo
@@ -123,7 +123,7 @@ def test_compact_falls_back_to_full_when_section_missing(
"""A persona that silently shrank to nothing would change the voice;
a missing compact section must serve the full block instead."""
invalidate_cache()
- md_file = tmp_path / "JARVIS_PERSONA.md"
+ md_file = tmp_path / "DODAIOS_PERSONA.md"
md_file.write_text(
"## System-Prompt\n```\nFull only.\n```\n", encoding="utf-8"
)
@@ -160,7 +160,7 @@ def test_load_persona_prompt_missing_file_returns_empty(monkeypatch, tmp_path) -
def test_load_persona_prompt_cache_reuses_read(monkeypatch, tmp_path) -> None:
"""`load_persona_prompt` reads the file only once per cache window."""
invalidate_cache()
- md_file = tmp_path / "JARVIS_PERSONA.md"
+ md_file = tmp_path / "DODAIOS_PERSONA.md"
md_file.write_text(
"## System-Prompt\n```\nFirst version.\n```\n", encoding="utf-8"
)
@@ -184,7 +184,7 @@ def test_load_persona_prompt_cache_reuses_read(monkeypatch, tmp_path) -> None:
def test_load_persona_prompt_crlf_normalized(monkeypatch, tmp_path) -> None:
"""Windows CRLF is processed as LF."""
invalidate_cache()
- md_file = tmp_path / "JARVIS_PERSONA.md"
+ md_file = tmp_path / "DODAIOS_PERSONA.md"
md_file.write_bytes(
b"## System-Prompt\r\n```\r\nCRLF content.\r\n```\r\n"
)
diff --git a/tests/unit/brain/test_routing.py b/tests/unit/brain/test_routing.py
index 0d9dc85793..14079e5f4c 100644
--- a/tests/unit/brain/test_routing.py
+++ b/tests/unit/brain/test_routing.py
@@ -3153,7 +3153,7 @@ def test_research_question_answer_deliverable_routes_inline_not_spawned() -> Non
# inline, NEVER re-dispatched as a new mission.
#
# Live doom-loop 2026-06-16 (missions.db 019ed04e / 019ed051): the user dragged
-# a finished/failed mission card onto the JarvisDock to get a recap. The recap
+# a finished/failed mission card onto the DodaiosDock to get a recap. The recap
# directive embeds the dropped card's OWN text verbatim, so a title that
# contains a spawn trigger ("sub-agent") or an action verb ("Write …") leaks
# that trigger back into the directive -> the router force-spawned a NEW mission
diff --git a/tests/unit/brain/test_self_mod_tools.py b/tests/unit/brain/test_self_mod_tools.py
index e16868e265..c9f1e5b78f 100644
--- a/tests/unit/brain/test_self_mod_tools.py
+++ b/tests/unit/brain/test_self_mod_tools.py
@@ -39,7 +39,7 @@ FIXTURE = (
Path(__file__).parent.parent
/ "self_mod"
/ "fixtures"
- / "minimal_jarvis.toml"
+ / "minimal_dodaios.toml"
)
@@ -219,7 +219,7 @@ class TestListMutableSettings:
def test_current_values_match_fixture(self, tools: dict[str, Any]) -> None:
result = _exec(tools["list_mutable_settings"], {})
by_path = {entry["path"]: entry for entry in result.output}
- # From minimal_jarvis.toml:
+ # From minimal_dodaios.toml:
assert by_path["tts.provider"]["current_value"] == "gemini-flash-tts"
assert by_path["tts.speed"]["current_value"] == 1.0
assert by_path["profile.language"]["current_value"] == "de"
diff --git a/tests/unit/ci/test_agent_runtime_lane.py b/tests/unit/ci/test_agent_runtime_lane.py
index 41d3389eec..53a530fb41 100644
--- a/tests/unit/ci/test_agent_runtime_lane.py
+++ b/tests/unit/ci/test_agent_runtime_lane.py
@@ -235,5 +235,5 @@ def test_the_runtime_pins_ship_in_the_wheel_and_the_frozen_app():
assert "agent_runtimes/runtime-versions.json" in (
pyproject["tool"]["setuptools"]["package-data"]["dodaios"]
)
- spec = (ROOT / "jarvis.spec").read_text(encoding="utf-8")
+ spec = (ROOT / "dodaios.spec").read_text(encoding="utf-8")
assert '"dodaios/agent_runtimes/runtime-versions.json"), "dodaios/agent_runtimes")' in spec
diff --git a/tests/unit/ci/test_build_distributions.py b/tests/unit/ci/test_build_distributions.py
index 41df09bb66..176b54b32a 100644
--- a/tests/unit/ci/test_build_distributions.py
+++ b/tests/unit/ci/test_build_distributions.py
@@ -42,8 +42,10 @@ def test_only_the_names_change() -> None:
renamed = tomllib.loads(bd.renamed_pyproject(PYPROJECT))
for key in ("version", "dependencies", "scripts", "entry-points", "requires-python"):
assert renamed["project"][key] == original["project"][key], key
- for key in ("packages", "package-data", "exclude-package-data"):
+ for key in ("package-data", "exclude-package-data"):
assert renamed["tool"]["setuptools"][key] == original["tool"]["setuptools"][key], key
+ # The package list lives in setup.py, which both builds share unchanged.
+ assert "packages" not in renamed["tool"]["setuptools"]
assert renamed["build-system"] == original["build-system"]
diff --git a/tests/unit/ci/test_check_no_new_german.py b/tests/unit/ci/test_check_no_new_german.py
index a13c18d500..41d9166fb9 100644
--- a/tests/unit/ci/test_check_no_new_german.py
+++ b/tests/unit/ci/test_check_no_new_german.py
@@ -62,7 +62,7 @@ class TestLooksGerman:
# --------------------------------------------------------------------------- #
class TestAllowlist:
patterns = [
- "dodaios/brain/JARVIS_PERSONA.md",
+ "dodaios/brain/DODAIOS_PERSONA.md",
"scripts/bulk_translate*.py",
"*/i18n/*",
"wiki/obsidian-vault/*",
@@ -70,7 +70,7 @@ class TestAllowlist:
]
def test_exact_match(self):
- assert gate.is_allowlisted("dodaios/brain/JARVIS_PERSONA.md", self.patterns)
+ assert gate.is_allowlisted("dodaios/brain/DODAIOS_PERSONA.md", self.patterns)
def test_glob_prefix(self):
assert gate.is_allowlisted("scripts/bulk_translate_2.py", self.patterns)
@@ -84,7 +84,7 @@ class TestAllowlist:
)
def test_backslash_normalised(self):
- assert gate.is_allowlisted("dodaios\\brain\\JARVIS_PERSONA.md", self.patterns)
+ assert gate.is_allowlisted("dodaios\\brain\\DODAIOS_PERSONA.md", self.patterns)
def test_non_allowlisted(self):
assert not gate.is_allowlisted("dodaios/brain/manager.py", self.patterns)
@@ -152,8 +152,8 @@ class TestFindViolations:
assert violations[0][1] == 11
def test_allowlisted_path_is_exempt(self):
- added = [("dodaios/brain/JARVIS_PERSONA.md", 5, "Du bist ein Butler und hilfst")]
- assert gate.find_violations(added, ["dodaios/brain/JARVIS_PERSONA.md"]) == []
+ added = [("dodaios/brain/DODAIOS_PERSONA.md", 5, "Du bist ein Butler und hilfst")]
+ assert gate.find_violations(added, ["dodaios/brain/DODAIOS_PERSONA.md"]) == []
def test_inline_escape_is_exempt(self):
added = [("dodaios/x.py", 5, 'TEST = "Datei nicht gefunden" # i18n-allow')]
diff --git a/tests/unit/ci/test_installer_aliases.py b/tests/unit/ci/test_installer_aliases.py
index 3d972d5d28..415cbbf4fa 100644
--- a/tests/unit/ci/test_installer_aliases.py
+++ b/tests/unit/ci/test_installer_aliases.py
@@ -79,7 +79,7 @@ def test_the_windows_setup_is_signed_under_the_pinned_name() -> None:
upload = next(s for s in windows if s.get("name") == "Upload the installer")
assert staged["with"]["path"].endswith("/PersonalJarvis-Setup-x64.exe")
assert upload["with"]["path"].endswith("/PersonalJarvis-Setup-x64.exe")
- iss = (ROOT / "packaging/windows/PersonalJarvis.iss").read_text(encoding="utf-8")
+ iss = (ROOT / "packaging/windows/Dodaios.iss").read_text(encoding="utf-8")
assert '#define SignedSetupBaseName "PersonalJarvis-Setup-x64"' in iss
assert "OutputBaseFilename={#SignedSetupBaseName}" in iss
diff --git a/tests/unit/ci/test_package_move_integration.py b/tests/unit/ci/test_package_move_integration.py
index 3aa86817e1..57dc16219e 100644
--- a/tests/unit/ci/test_package_move_integration.py
+++ b/tests/unit/ci/test_package_move_integration.py
@@ -194,6 +194,38 @@ def test_a_branch_from_before_the_move_is_carried_across_without_conflicts(repo,
assert codemod.main(check) == 0
[email protected]("mode", ["merge", "rebase"])
+def test_a_branch_from_before_the_move_is_carried_after_main_drops_the_old_folder(repo, mode):
+ """Main later moves the compatibility file out of the old folder. Detection
+ asks the BRANCH for the old layout and the move commit for the script, so a
+ branch from before the move is still carried across, and lands without any
+ path under the old name."""
+ move = _move_on_main(repo)
+ (repo / "dodaios" / "_legacy_alias").mkdir(parents=True)
+ _git(repo, "mv", "jarvis/__init__.py", "dodaios/_legacy_alias/__init__.py")
+ _git(repo, "commit", "-q", "-m", "move the compatibility package into dodaios")
+ _feature_work(repo)
+
+ assert agent_integrate.package_move("main", repo) == (
+ _git(repo, "rev-parse", f"{move}^").strip(),
+ move,
+ )
+ report = agent_integrate.update("main", mode, "", repo)
+
+ assert report["status"] == "updated", report
+ assert report["package_move"] == move
+ assert _git(repo, "status", "--porcelain").strip() == ""
+ tree = _tree(repo)
+ assert {name for name in tree if name.startswith("jarvis/")} == set()
+ assert _show(repo, "dodaios/_legacy_alias/__init__.py") == _git(
+ repo, "show", "main:dodaios/_legacy_alias/__init__.py"
+ )
+ assert _show(repo, "dodaios/core/alpha.py") == (
+ "from dodaios.core import beta, gamma\n\nVALUE = 2\n"
+ )
+ assert "dodaios/core/gamma.py" not in tree
+
+
def test_the_script_of_the_move_commit_is_the_one_that_replays(repo):
"""A branch never needs the script itself, and a later edit to it on main
cannot change what an old branch is carried across with."""
@@ -433,7 +465,7 @@ def test_every_lane_a_package_change_can_reach_is_reached_under_both_names():
def test_a_file_that_is_not_in_the_package_is_not_mistaken_for_it():
- assert classify_changes.classify(["jarvis.spec"])["macos_desktop"] is True
+ assert classify_changes.classify(["dodaios.spec"])["macos_desktop"] is True
assert classify_changes.classify(["docs/jarvis/notes.md"])["frontend"] is False
assert classify_changes.classify(["dodaios.md"]) == classify_changes.classify(["notes.md"])
diff --git a/tests/unit/ci/test_pipeline_scripts.py b/tests/unit/ci/test_pipeline_scripts.py
index c14a15a2ed..2487fbb7c4 100644
--- a/tests/unit/ci/test_pipeline_scripts.py
+++ b/tests/unit/ci/test_pipeline_scripts.py
@@ -61,7 +61,7 @@ def test_updater_change_turns_on_the_cross_os_updater_lane():
for path in (
"dodaios/core/installer_update.py",
"dodaios\\ui\\relauncher.py",
- "packaging/windows/PersonalJarvis.iss",
+ "packaging/windows/Dodaios.iss",
"tests/unit/ui/web/test_update_routes_frozen.py",
):
assert classify_changes.classify([path])["updater"] is True, path
@@ -78,7 +78,7 @@ def test_unrelated_python_change_leaves_the_updater_lane_off():
[
# Packaging: the spec, the build script, the entitlements and the single
# usage-string table both macOS bundles load.
- "jarvis.spec",
+ "dodaios.spec",
"packaging/macos/build.sh",
"packaging/macos/entitlements.plist",
"packaging/macos/README.md",
@@ -135,7 +135,7 @@ def test_macos_permission_and_packaging_paths_turn_on_the_macos_lane(path):
[
"dodaios/society/roster.py",
"dodaios/ui/web/society_browser_routes.py",
- "packaging/windows/PersonalJarvis.iss",
+ "packaging/windows/Dodaios.iss",
"packaging/linux/build.sh",
"docs/macos-permissions.md",
],
@@ -146,7 +146,7 @@ def test_unrelated_paths_leave_the_macos_lane_off(path):
def test_the_macos_lane_gate_names_the_new_paths_it_adds_to_the_prefix_tables():
"""Guard the data, not just the outcome: a refactor must not drop an entry."""
- assert {"jarvis.spec", "dodaios/core/macos_privacy_strings.py"} <= classify_changes._MACOS_FILES
+ assert {"dodaios.spec", "dodaios/core/macos_privacy_strings.py"} <= classify_changes._MACOS_FILES
assert "dodaios/ui/web/permissions_routes.py" in classify_changes._MACOS_FILES
assert {
"dodaios/plugins/tool/screen_snapshot.py",
diff --git a/tests/unit/conductor/test_packaging.py b/tests/unit/conductor/test_packaging.py
index 5c1da20bec..0ec941a3a9 100644
--- a/tests/unit/conductor/test_packaging.py
+++ b/tests/unit/conductor/test_packaging.py
@@ -1,19 +1,18 @@
"""Conductor ships in the distribution, data files included.
-``conductor`` was missing from ``packages.find``: it imported only when the
+``conductor`` was missing from the package list: it imported only when the
app's working directory was the checkout (run.bat), so the console script,
autostart and every wheel install served no ``/api/conductor/*`` at all and
-``jarvis conductor ...`` answered 404.
+``jarvis conductor ...`` answered 404. The list lives in setup.py.
"""
from __future__ import annotations
import fnmatch
+import importlib.util
import tomllib
from pathlib import Path
-from setuptools import find_packages
-
ROOT = Path(__file__).resolve().parents[3]
@@ -22,18 +21,24 @@ def _setuptools_cfg() -> dict:
return tomllib.load(fh)["tool"]["setuptools"]
+def _setup_script(): # noqa: ANN202
+ """setup.py loaded as a module; its ``setup()`` call runs only as a script."""
+ spec = importlib.util.spec_from_file_location("project_setup_script", ROOT / "setup.py")
+ assert spec is not None and spec.loader is not None
+ module = importlib.util.module_from_spec(spec)
+ spec.loader.exec_module(module)
+ return module
+
+
def test_conductor_packages_are_distributed() -> None:
- find = _setuptools_cfg()["packages"]["find"]
- packages = set(
- find_packages(
- where=str(ROOT / find.get("where", ["."])[0]),
- include=find["include"],
- exclude=find.get("exclude", []),
- )
- )
+ packages = set(_setup_script().packages(str(ROOT)))
assert {"conductor", "conductor.api", "conductor.core", "conductor.jobs"} <= packages
+def test_pyproject_declares_no_package_list_that_would_override_setup_py() -> None:
+ assert "packages" not in _setuptools_cfg()
+
+
def test_conductor_runtime_data_files_are_declared() -> None:
patterns = _setuptools_cfg()["package-data"]["conductor"]
data_files = [
diff --git a/tests/unit/core/test_identity_single_source.py b/tests/unit/core/test_identity_single_source.py
index 6d13bb0191..267285336a 100644
--- a/tests/unit/core/test_identity_single_source.py
+++ b/tests/unit/core/test_identity_single_source.py
@@ -121,43 +121,43 @@ def test_the_frozen_runtime_hook_restates_the_lock_files_and_launcher_names() ->
branding.MACOS_EXECUTABLE_NAME,
*branding.LEGACY_MACOS_EXECUTABLE_NAMES,
*(name.removesuffix(".exe") for name in windows_names),
- _module_constant("jarvis.spec", "GUI_EXE_NAME"),
- *_module_constant("jarvis.spec", "LEGACY_GUI_EXE_NAMES"),
+ _module_constant("dodaios.spec", "GUI_EXE_NAME"),
+ *_module_constant("dodaios.spec", "LEGACY_GUI_EXE_NAMES"),
}
assert set(_module_constant(hook_path, "_GUI_EXE_NAMES")) == gui_names
- # The bundle seeds a first-run config from the file jarvis.spec ships.
+ # The bundle seeds a first-run config from the file dodaios.spec ships.
bundled = _module_constant(hook_path, "_BUNDLED_CONFIG_FILE_NAME")
- assert f'datas.append((str(PROJECT_ROOT / "{bundled}"), "."))' in _read("jarvis.spec")
+ assert f'datas.append((str(PROJECT_ROOT / "{bundled}"), "."))' in _read("dodaios.spec")
# And the engine it loads by path is shipped as a plain file.
engine = "/".join(_module_constant(hook_path, "_ENGINE_PATH"))
- assert f'(str(PROJECT_ROOT / "{engine}"), "dodaios/core")' in _read("jarvis.spec")
+ assert f'(str(PROJECT_ROOT / "{engine}"), "dodaios/core")' in _read("dodaios.spec")
assert (_ROOT / engine).is_file()
def test_the_pyinstaller_spec_restates_the_bundle_names() -> None:
- assert _module_constant("jarvis.spec", "GUI_EXE_NAME") == branding.MACOS_EXECUTABLE_NAME
+ assert _module_constant("dodaios.spec", "GUI_EXE_NAME") == branding.MACOS_EXECUTABLE_NAME
assert (
- f'{_module_constant("jarvis.spec", "GUI_EXE_NAME")}.exe'
+ f'{_module_constant("dodaios.spec", "GUI_EXE_NAME")}.exe'
== branding.WINDOWS_BRANDED_LAUNCHER_FILE_NAME
)
# The windowed launcher ships under its earlier name too: pins, logon tasks
# and shortcuts of earlier releases start that file.
- legacy_gui = _module_constant("jarvis.spec", "LEGACY_GUI_EXE_NAMES")
+ legacy_gui = _module_constant("dodaios.spec", "LEGACY_GUI_EXE_NAMES")
assert legacy_gui == branding.LEGACY_MACOS_EXECUTABLE_NAMES
assert tuple(f"{name}.exe" for name in legacy_gui) == (
branding.LEGACY_WINDOWS_BRANDED_LAUNCHER_FILE_NAMES
)
- assert "*legacy_gui_exes," in _read("jarvis.spec")
- assert _module_constant("jarvis.spec", "CLI_EXE_NAME") == branding.CLI_COMMAND_NAME
+ assert "*legacy_gui_exes," in _read("dodaios.spec")
+ assert _module_constant("dodaios.spec", "CLI_EXE_NAME") == branding.CLI_COMMAND_NAME
# The frozen build keeps the command's first earlier name beside the new one.
- legacy_exes = _module_constant("jarvis.spec", "LEGACY_CLI_EXE_NAMES")
+ legacy_exes = _module_constant("dodaios.spec", "LEGACY_CLI_EXE_NAMES")
assert legacy_exes == branding.LEGACY_CLI_COMMAND_NAMES[:1]
- assert "*legacy_cli_exes," in _read("jarvis.spec")
- assert _module_constant("jarvis.spec", "MACOS_APP_NAME") == branding.MACOS_APP_DIR_NAME
+ assert "*legacy_cli_exes," in _read("dodaios.spec")
+ assert _module_constant("dodaios.spec", "MACOS_APP_NAME") == branding.MACOS_APP_DIR_NAME
assert (
- _module_constant("jarvis.spec", "MACOS_BUNDLE_IDENTIFIER") == branding.MACOS_DMG_BUNDLE_ID
+ _module_constant("dodaios.spec", "MACOS_BUNDLE_IDENTIFIER") == branding.MACOS_DMG_BUNDLE_ID
)
- spec = _read("jarvis.spec")
+ spec = _read("dodaios.spec")
assert f'"CFBundleName": "{branding.MACOS_APP_NAME}"' in spec
assert f'"CFBundleDisplayName": "{branding.MACOS_APP_NAME}"' in spec
@@ -332,12 +332,12 @@ def test_the_shell_uninstaller_names_every_credential_service() -> None:
)
def test_the_windows_installer_script_restates_the_names(definition: str, expected: str) -> None:
assert f'\n#define {definition} "{expected}"\n' in _read(
- "packaging/windows/PersonalJarvis.iss"
+ "packaging/windows/Dodaios.iss"
)
def test_the_windows_installer_retires_the_earlier_shortcuts_and_keeps_its_identity() -> None:
- script = _read("packaging/windows/PersonalJarvis.iss")
+ script = _read("packaging/windows/Dodaios.iss")
# Windows upgrades by AppId: a new one would install a second product.
assert '#define AppGuid "7F1C4E42-2E5B-4F0A-9E1B-1A7B6C0D5E88"' in script
# The shortcuts an earlier release created under the earlier name go; the
@@ -408,7 +408,7 @@ def test_the_project_metadata_restates_the_distribution_and_its_commands() -> No
def test_the_frozen_build_bundles_the_metadata_under_either_distribution_name() -> None:
- spec = _read("jarvis.spec")
+ spec = _read("dodaios.spec")
assert f"\nDISTRIBUTION_NAMES = {branding.DISTRIBUTION_NAMES!r}\n" in spec
assert "datas += copy_metadata(_installed_distribution())" in spec
diff --git a/tests/unit/core/test_installer_update.py b/tests/unit/core/test_installer_update.py
index 613918c1f8..52ad273804 100644
--- a/tests/unit/core/test_installer_update.py
+++ b/tests/unit/core/test_installer_update.py
@@ -438,7 +438,7 @@ def test_windows_handover_never_relies_on_restart_manager_relaunch(tmp_path: Pat
def test_windows_installer_script_honours_the_relaunch_param() -> None:
"""The flag the app passes must be the one the installer's [Run] reads."""
- iss = Path(__file__).resolve().parents[3] / "packaging" / "windows" / "PersonalJarvis.iss"
+ iss = Path(__file__).resolve().parents[3] / "packaging" / "windows" / "Dodaios.iss"
text = iss.read_text(encoding="utf-8")
name = WINDOWS_RELAUNCH_PARAM.lstrip("/").split("=", 1)[0]
assert f"{{param:{name}|0}}" in text
@@ -1121,7 +1121,7 @@ def test_windows_handover_reports_an_installer_that_cannot_start(tmp_path: Path)
def _iss_text() -> str:
- iss = Path(__file__).resolve().parents[3] / "packaging" / "windows" / "PersonalJarvis.iss"
+ iss = Path(__file__).resolve().parents[3] / "packaging" / "windows" / "Dodaios.iss"
return iss.read_text(encoding="utf-8")
diff --git a/tests/unit/core/test_instance.py b/tests/unit/core/test_instance.py
index 353de5b4c6..a8e088c04e 100644
--- a/tests/unit/core/test_instance.py
+++ b/tests/unit/core/test_instance.py
@@ -159,7 +159,7 @@ def test_dev_icons_ship_in_both_icon_homes() -> None:
root = Path(inst.__file__).resolve().parents[2]
for home in (root / "dodaios" / "assets" / "icons", root / "assets" / "icons"):
assert (home / inst.DEV_ICON_FILE_NAME).is_file(), home
- assert (home / "jarvis-dev.png").is_file(), home
+ assert (home / "dodaios-dev.png").is_file(), home
# ---------------------------------------------------------------------------
diff --git a/tests/unit/core/test_pet_config.py b/tests/unit/core/test_pet_config.py
index c7335ef02a..56cb9c5570 100644
--- a/tests/unit/core/test_pet_config.py
+++ b/tests/unit/core/test_pet_config.py
@@ -199,7 +199,7 @@ def test_shipped_pet_toggle_cannot_fire_the_both_alt_appshot_gesture() -> None:
def test_example_config_documents_the_pet_keys() -> None:
- example = Path(__file__).resolve().parents[3] / "jarvis.toml.example"
+ example = Path(__file__).resolve().parents[3] / "dodaios.toml.example"
data = tomllib.loads(example.read_text(encoding="utf-8"))
assert data["ui"]["pet_id"] == UIConfig().pet_id
assert data["ui"]["pet_scale"] == UIConfig().pet_scale
diff --git a/tests/unit/core/test_worker_tier_alias_parity.py b/tests/unit/core/test_worker_tier_alias_parity.py
index 438efca5bc..6ea3c7ee31 100644
--- a/tests/unit/core/test_worker_tier_alias_parity.py
+++ b/tests/unit/core/test_worker_tier_alias_parity.py
@@ -156,10 +156,10 @@ def test_migration_write_failure_is_logged_noop(
def test_checked_in_example_config_has_no_split_brain() -> None:
"""The shipped example config must never reintroduce both tables."""
- example = _REPO_ROOT / "jarvis.toml.example"
+ example = _REPO_ROOT / "dodaios.toml.example"
data = tomllib.loads(example.read_text(encoding="utf-8"))
brain = data.get("brain", {})
assert not ("worker" in brain and "sub_jarvis" in brain), (
- "jarvis.toml.example carries BOTH [brain.worker] and [brain.sub_jarvis] — "
+ "dodaios.toml.example carries BOTH [brain.worker] and [brain.sub_jarvis] — "
"keep only the canonical [brain.worker] table"
)
diff --git a/tests/unit/dodaiosx/test_service_and_routes.py b/tests/unit/dodaiosx/test_service_and_routes.py
index 9c393c1613..a6782257b5 100644
--- a/tests/unit/dodaiosx/test_service_and_routes.py
+++ b/tests/unit/dodaiosx/test_service_and_routes.py
@@ -247,7 +247,7 @@ def test_settings_writer_round_trip_and_allowlist(tmp_path) -> None:
@pytest.fixture
def client(tmp_path, monkeypatch, fake_screen):
from dodaios.dodaiosx import recorder as rec
- from dodaios.ui.web.jarvisx_routes import router
+ from dodaios.ui.web.dodaiosx_routes import router
config_path = tmp_path / "jarvis.toml"
config_path.write_text(
diff --git a/tests/unit/memory/learning/test_jarvis_learning.py b/tests/unit/memory/learning/test_dodaios_learning.py
similarity index 100%
rename from tests/unit/memory/learning/test_jarvis_learning.py
rename to tests/unit/memory/learning/test_dodaios_learning.py
diff --git a/tests/unit/memory/learning/test_soul_learning.py b/tests/unit/memory/learning/test_soul_learning.py
index 29ff4b3e4b..1a79c635d4 100644
--- a/tests/unit/memory/learning/test_soul_learning.py
+++ b/tests/unit/memory/learning/test_soul_learning.py
@@ -1,7 +1,7 @@
"""The learning loop keeps SOUL.md, the assistant's own character, up to date.
Real files under ``tmp_path`` and a scripted reviewer, like
-``test_jarvis_learning``; no provider, no mocks.
+``test_dodaios_learning``; no provider, no mocks.
"""
from __future__ import annotations
diff --git a/tests/unit/missions/test_jarvis_agent_default_provider.py b/tests/unit/missions/test_dodaios_agent_default_provider.py
similarity index 100%
rename from tests/unit/missions/test_jarvis_agent_default_provider.py
rename to tests/unit/missions/test_dodaios_agent_default_provider.py
diff --git a/tests/unit/packaging/test_legacy_package_alias.py b/tests/unit/packaging/test_legacy_package_alias.py
new file mode 100644
index 0000000000..606b8a90a5
--- /dev/null
+++ b/tests/unit/packaging/test_legacy_package_alias.py
@@ -0,0 +1,90 @@
+"""The earlier package name ships as an alias, built from a folder of another name.
+
+``python -m jarvis`` and ``import jarvis.x`` stay valid for autostart entries
+and MCP registrations written before the rename. The alias source lives in
+``dodaios/_legacy_alias`` and setup.py publishes it as the top-level
+``jarvis`` package, so the repository itself has no folder or file of that
+name. These tests run the real setup.py helper and the real alias module; a
+wheel round trip is too slow for the unit suite.
+"""
+
+from __future__ import annotations
+
+import importlib.util
+import subprocess
+import sys
+from pathlib import Path
+
+import pytest
+
+from dodaios.core import branding
+
+ROOT = Path(__file__).resolve().parents[3]
+_NO_WINDOW = getattr(subprocess, "CREATE_NO_WINDOW", 0)
+
+
+def _setup_script(): # noqa: ANN202
+ spec = importlib.util.spec_from_file_location("project_setup_script", ROOT / "setup.py")
+ assert spec is not None and spec.loader is not None
+ module = importlib.util.module_from_spec(spec)
+ spec.loader.exec_module(module)
+ return module
+
+
+def test_setup_publishes_the_alias_once_under_its_earlier_name() -> None:
+ script = _setup_script()
+ packages = script.packages(str(ROOT))
+
+ assert script.LEGACY_PACKAGE == branding.LEGACY_PACKAGE_NAMES[0]
+ assert packages.count(script.LEGACY_PACKAGE) == 1
+ # Built only as ``jarvis``, never a second time as a dodaios subpackage.
+ assert not [name for name in packages if name.startswith("dodaios._legacy_alias")]
+ assert "dodaios" in packages
+ assert (ROOT / script.LEGACY_PACKAGE_DIR / "__init__.py").is_file()
+
+
+def test_the_alias_resolves_old_names_to_the_same_module_objects() -> None:
+ """What an installed wheel does: the folder is imported as ``jarvis``."""
+ probe = (
+ "import importlib.util, sys\n"
+ f"sys.path.insert(0, {str(ROOT)!r})\n"
+ f"init = {str(ROOT / 'dodaios' / '_legacy_alias' / '__init__.py')!r}\n"
+ "spec = importlib.util.spec_from_file_location('jarvis', init,"
+ " submodule_search_locations=[])\n"
+ "module = importlib.util.module_from_spec(spec)\n"
+ "sys.modules['jarvis'] = module\n"
+ "spec.loader.exec_module(module)\n"
+ "import dodaios, dodaios.core.branding\n"
+ "import jarvis.core.branding\n"
+ "assert sys.modules['jarvis'] is dodaios\n"
+ "assert jarvis.core.branding is dodaios.core.branding\n"
+ "print('ok')\n"
+ )
+ result = subprocess.run(
+ [sys.executable, "-c", probe],
+ cwd=ROOT,
+ capture_output=True,
+ text=True,
+ timeout=60,
+ check=False,
+ creationflags=_NO_WINDOW,
+ )
+ assert result.returncode == 0, result.stderr
+ assert result.stdout.strip() == "ok"
+
+
+def test_the_repository_tracks_no_path_with_the_earlier_name() -> None:
+ try:
+ listing = subprocess.run(
+ ["git", "ls-files", "-z"], # noqa: S607
+ cwd=ROOT,
+ capture_output=True,
+ check=True,
+ timeout=60,
+ creationflags=_NO_WINDOW,
+ ).stdout
+ except (OSError, subprocess.CalledProcessError):
+ pytest.skip("not a git checkout")
+ paths = [name for name in listing.decode("utf-8", "replace").split("\0") if name]
+ assert paths
+ assert [name for name in paths if "jarvis" in name.lower()] == []
diff --git a/tests/unit/packaging/test_macos_build_script.py b/tests/unit/packaging/test_macos_build_script.py
index 4546311e51..1b93c94d14 100644
--- a/tests/unit/packaging/test_macos_build_script.py
+++ b/tests/unit/packaging/test_macos_build_script.py
@@ -60,10 +60,10 @@ def layout(tmp_path: Path) -> Path:
)
(root / "dodaios" / "ui" / "web" / "dist").mkdir(parents=True)
(root / "dodaios" / "ui" / "web" / "dist" / "index.html").write_text("<html></html>")
- (root / "jarvis.toml.example").write_text("# defaults\n", encoding="utf-8")
+ (root / "dodaios.toml.example").write_text("# defaults\n", encoding="utf-8")
(root / "jarvis.toml").write_text("# defaults\n", encoding="utf-8")
(root / "assets" / "icons").mkdir(parents=True)
- (root / "assets" / "icons" / "jarvis.icns").write_bytes(b"icns")
+ (root / "assets" / "icons" / "dodaios.icns").write_bytes(b"icns")
return root
diff --git a/tests/unit/packaging/test_macos_privacy_strings.py b/tests/unit/packaging/test_macos_privacy_strings.py
index 7f989b14f5..548b3831db 100644
--- a/tests/unit/packaging/test_macos_privacy_strings.py
+++ b/tests/unit/packaging/test_macos_privacy_strings.py
@@ -1,7 +1,7 @@
"""The macOS usage-description strings have exactly one source, and both bundles read it.
``dodaios/core/macos_privacy_strings.py`` holds the single table of
-``NS...UsageDescription`` strings. The downloadable ``.dmg`` app (``jarvis.spec``,
+``NS...UsageDescription`` strings. The downloadable ``.dmg`` app (``dodaios.spec``,
evaluated by PyInstaller before the package is importable) and the managed
source-install app (``macos_app_bundle._bundle_plist``) both load THAT FILE BY
PATH. These tests pin the table's shape and prove that the spec's plist dict, the
@@ -9,7 +9,7 @@ managed bundle's plist and the table agree - including that neither carries a
private copy - and that ``entitlements.plist`` stays comment-free and
camera-free.
-Everything here runs off macOS: the real ``jarvis.spec`` is executed against
+Everything here runs off macOS: the real ``dodaios.spec`` is executed against
stand-in PyInstaller names (it needs no Mac to describe its own ``Info.plist``).
What a real Mac does with these strings is not checked and stays unverified.
"""
@@ -32,7 +32,7 @@ from dodaios.core import macos_privacy_strings as table_module
from dodaios.core.branding import PRODUCT_NAME
REPO_ROOT = Path(__file__).resolve().parents[3]
-SPEC_PATH = REPO_ROOT / "jarvis.spec"
+SPEC_PATH = REPO_ROOT / "dodaios.spec"
TABLE_PATH = REPO_ROOT / "dodaios" / "core" / "macos_privacy_strings.py"
ENTITLEMENTS_PATH = REPO_ROOT / "packaging" / "macos" / "entitlements.plist"
@@ -56,7 +56,7 @@ SENTINEL = "SENTINEL usage string that only the edited table carries."
def _load_by_path(path: Path) -> types.ModuleType:
- """Exactly what ``jarvis.spec`` and ``macos_app_bundle`` do to read the table."""
+ """Exactly what ``dodaios.spec`` and ``macos_app_bundle`` do to read the table."""
loader_spec = importlib.util.spec_from_file_location("_table_under_test", path)
assert loader_spec is not None and loader_spec.loader is not None
module = importlib.util.module_from_spec(loader_spec)
@@ -151,11 +151,11 @@ def test_loading_by_path_and_importing_give_the_same_table() -> None:
assert Path(table_module.__file__).resolve() == TABLE_PATH.resolve()
-# --- the .dmg app: jarvis.spec -------------------------------------------------
+# --- the .dmg app: dodaios.spec -------------------------------------------------
def _exec_spec(monkeypatch: pytest.MonkeyPatch, root: Path) -> dict:
- """Run the real ``jarvis.spec`` with stand-in PyInstaller names; return BUNDLE's kwargs."""
+ """Run the real ``dodaios.spec`` with stand-in PyInstaller names; return BUNDLE's kwargs."""
calls: dict[str, dict] = {}
def recorder(name: str):
@@ -186,12 +186,12 @@ def _exec_spec(monkeypatch: pytest.MonkeyPatch, root: Path) -> dict:
namespace: dict[str, object] = {
"SPECPATH": str(root),
- "__file__": str(root / "jarvis.spec"),
+ "__file__": str(root / "dodaios.spec"),
}
for builtin in ("Analysis", "PYZ", "EXE", "COLLECT", "BUNDLE"):
namespace[builtin] = recorder(builtin)
- source = (root / "jarvis.spec").read_text(encoding="utf-8")
- exec(compile(source, str(root / "jarvis.spec"), "exec"), namespace) # noqa: S102
+ source = (root / "dodaios.spec").read_text(encoding="utf-8")
+ exec(compile(source, str(root / "dodaios.spec"), "exec"), namespace) # noqa: S102
assert "BUNDLE" in calls, "the spec must build a BUNDLE on darwin"
return calls["BUNDLE"]
@@ -203,7 +203,7 @@ def spec_root(tmp_path: Path) -> Path:
(root / "dodaios" / "core").mkdir(parents=True)
(root / "dodaios" / "__init__.py").write_text('__version__ = "9.9.9"\n', encoding="utf-8")
shutil.copy2(TABLE_PATH, root / "dodaios" / "core" / "macos_privacy_strings.py")
- shutil.copy2(SPEC_PATH, root / "jarvis.spec")
+ shutil.copy2(SPEC_PATH, root / "dodaios.spec")
helper_dir = root / "scripts" / "packaging"
helper_dir.mkdir(parents=True)
shutil.copy2(
diff --git a/tests/unit/packaging/test_spec_console_executables.py b/tests/unit/packaging/test_spec_console_executables.py
index 4a1802539f..2607f2f529 100644
--- a/tests/unit/packaging/test_spec_console_executables.py
+++ b/tests/unit/packaging/test_spec_console_executables.py
@@ -1,4 +1,4 @@
-"""``jarvis.spec`` builds the launcher and the console CLI under their names and earlier names.
+"""``dodaios.spec`` builds the launcher and the console CLI under their names and earlier names.
The frozen build ships four executables in one folder: the windowed launcher
(``DodaiosApp``) and the same windowed program once more as ``PersonalJarvis``,
@@ -21,7 +21,7 @@ import pytest
from dodaios.core import branding
REPO_ROOT = Path(__file__).resolve().parents[3]
-SPEC_PATH = REPO_ROOT / "jarvis.spec"
+SPEC_PATH = REPO_ROOT / "dodaios.spec"
def _exec_spec(
@@ -70,11 +70,11 @@ def _exec_spec(
monkeypatch.setitem(sys.modules, name, module)
monkeypatch.setattr(sys, "platform", platform)
- namespace: dict[str, object] = {"SPECPATH": str(root), "__file__": str(root / "jarvis.spec")}
+ namespace: dict[str, object] = {"SPECPATH": str(root), "__file__": str(root / "dodaios.spec")}
for builtin in ("Analysis", "PYZ", "EXE", "COLLECT", "BUNDLE"):
namespace[builtin] = recorder(builtin)
- source = (root / "jarvis.spec").read_text(encoding="utf-8")
- exec(compile(source, str(root / "jarvis.spec"), "exec"), namespace) # noqa: S102
+ source = (root / "dodaios.spec").read_text(encoding="utf-8")
+ exec(compile(source, str(root / "dodaios.spec"), "exec"), namespace) # noqa: S102
return calls
@@ -88,7 +88,7 @@ def spec_root(tmp_path: Path) -> Path:
REPO_ROOT / "dodaios" / "core" / "macos_privacy_strings.py",
root / "dodaios" / "core" / "macos_privacy_strings.py",
)
- shutil.copy2(SPEC_PATH, root / "jarvis.spec")
+ shutil.copy2(SPEC_PATH, root / "dodaios.spec")
# The notice collector walks every installed distribution, which has
# nothing to do with the executables under test: a stand-in with the same
# entry point keeps this file about the build targets (and fast).
diff --git a/tests/unit/scripts/test_drift_guard_brain_primary_contract.py b/tests/unit/scripts/test_drift_guard_brain_primary_contract.py
index 945260760e..d5902ddde8 100644
--- a/tests/unit/scripts/test_drift_guard_brain_primary_contract.py
+++ b/tests/unit/scripts/test_drift_guard_brain_primary_contract.py
@@ -12,7 +12,7 @@ choice on its next 5-minute run), the guard's derived ENV-variable name for
``brain.primary`` MUST be exactly ``JARVIS__BRAIN__PRIMARY`` -- the same name
the UI sets and the same name the maintainer sets by hand.
-``scripts/jarvis-config-drift-guard.ps1`` derives that name with the rule
+``scripts/dodaios-config-drift-guard.ps1`` derives that name with the rule
(see the ENV-override block around lines 153-163)::
"JARVIS__" + <section>.ToUpper() + "__" + <key>.ToUpper()
@@ -48,7 +48,7 @@ DESIRED_STATE_PATH = (
def _derive_env_name(section: str, key: str) -> str:
"""Reproduce the drift-guard's JARVIS__<SECTION>__<KEY> derivation.
- Mirrors ``scripts/jarvis-config-drift-guard.ps1``:
+ Mirrors ``scripts/dodaios-config-drift-guard.ps1``:
"JARVIS__" + $section.Name.ToUpper() + "__" + $keyProp.Name.ToUpper()
"""
return "JARVIS__" + section.upper() + "__" + key.upper()
@@ -140,7 +140,7 @@ def test_structured_stt_models_never_becomes_one_env_override(
guard = (
Path(__file__).resolve().parents[3]
/ "scripts"
- / "jarvis-config-drift-guard.ps1"
+ / "dodaios-config-drift-guard.ps1"
)
sandbox = tmp_path / "repo"
sandbox.mkdir()
@@ -204,7 +204,7 @@ def test_user_selected_stt_provider_survives_stale_desired_state(
guard = (
Path(__file__).resolve().parents[3]
/ "scripts"
- / "jarvis-config-drift-guard.ps1"
+ / "dodaios-config-drift-guard.ps1"
)
sandbox = tmp_path / "repo"
sandbox.mkdir()
diff --git a/tests/unit/self_mod/fixtures/minimal_jarvis.toml b/tests/unit/self_mod/fixtures/minimal_dodaios.toml
similarity index 100%
rename from tests/unit/self_mod/fixtures/minimal_jarvis.toml
rename to tests/unit/self_mod/fixtures/minimal_dodaios.toml
diff --git a/tests/unit/self_mod/test_pending_store.py b/tests/unit/self_mod/test_pending_store.py
index 0c9239151f..d63ec5693a 100644
--- a/tests/unit/self_mod/test_pending_store.py
+++ b/tests/unit/self_mod/test_pending_store.py
@@ -22,7 +22,7 @@ from dodaios.core.self_mod import (
)
from dodaios.core.self_mod.schema import MutationRequest
-FIXTURE = Path(__file__).parent / "fixtures" / "minimal_jarvis.toml"
+FIXTURE = Path(__file__).parent / "fixtures" / "minimal_dodaios.toml"
def _isolated_loader(path: Path) -> JarvisConfig:
diff --git a/tests/unit/self_mod/test_provider_lock.py b/tests/unit/self_mod/test_provider_lock.py
index c8453f865b..f785b9307c 100644
--- a/tests/unit/self_mod/test_provider_lock.py
+++ b/tests/unit/self_mod/test_provider_lock.py
@@ -34,7 +34,7 @@ from dodaios.core.self_mod.provider_lock import (
is_provider_lock_path,
)
-FIXTURE = Path(__file__).parent / "fixtures" / "minimal_jarvis.toml"
+FIXTURE = Path(__file__).parent / "fixtures" / "minimal_dodaios.toml"
def _isolated_loader(path: Path) -> JarvisConfig:
diff --git a/tests/unit/self_mod/test_writer.py b/tests/unit/self_mod/test_writer.py
index c6928ac44e..ba50257b54 100644
--- a/tests/unit/self_mod/test_writer.py
+++ b/tests/unit/self_mod/test_writer.py
@@ -36,7 +36,7 @@ from dodaios.core.self_mod import (
SelfModAudit,
)
-FIXTURE = Path(__file__).parent / "fixtures" / "minimal_jarvis.toml"
+FIXTURE = Path(__file__).parent / "fixtures" / "minimal_dodaios.toml"
# ----------------------------------------------------------------------
diff --git a/tests/unit/self_mod/test_writer_readonly.py b/tests/unit/self_mod/test_writer_readonly.py
index 41d7047912..ac4f3820bf 100644
--- a/tests/unit/self_mod/test_writer_readonly.py
+++ b/tests/unit/self_mod/test_writer_readonly.py
@@ -21,7 +21,7 @@ from dodaios.core.config import JarvisConfig
from dodaios.core.self_mod import AtomicConfigWriter, SelfModAudit
from dodaios.core.self_mod.schema import MutationRequest
-FIXTURE = Path(__file__).parent / "fixtures" / "minimal_jarvis.toml"
+FIXTURE = Path(__file__).parent / "fixtures" / "minimal_dodaios.toml"
def _loader(path: Path) -> JarvisConfig:
diff --git a/tests/unit/setup/test_macos_app_bundle.py b/tests/unit/setup/test_macos_app_bundle.py
index 31fe033df3..82d376abce 100644
--- a/tests/unit/setup/test_macos_app_bundle.py
+++ b/tests/unit/setup/test_macos_app_bundle.py
@@ -592,7 +592,7 @@ def test_icns_iconset_members_use_only_apple_valid_names(
resources = tmp_path / "Resources"
resources.mkdir()
- assert mab._try_build_icns(resources) == "jarvis"
+ assert mab._try_build_icns(resources) == "dodaios"
valid = {
f"icon_{size}x{size}{scale}.png"
diff --git a/tests/unit/setup/test_macos_dmg_identity.py b/tests/unit/setup/test_macos_dmg_identity.py
index b7299f3565..ccad1867b2 100644
--- a/tests/unit/setup/test_macos_dmg_identity.py
+++ b/tests/unit/setup/test_macos_dmg_identity.py
@@ -1,6 +1,6 @@
"""The downloadable .dmg app is its own installed app, with its own identity.
-``jarvis.spec`` (PyInstaller) cannot import ``dodaios.core.branding``, so it
+``dodaios.spec`` (PyInstaller) cannot import ``dodaios.core.branding``, so it
carries the .dmg bundle id as a literal. The permission port accepts that id as
an installed identity; if the two ever drift apart, every macOS feature of the
.dmg app fails closed again — with every permission granted and no button left
@@ -22,7 +22,7 @@ from dodaios.platform.permissions import ACCEPTED_BUNDLE_IDS
from dodaios.setup.macos_app_bundle import APP_DIR_NAME, installed_macos_app_bundle_path
REPO_ROOT = Path(__file__).resolve().parents[3]
-PYINSTALLER_SPEC = REPO_ROOT / "jarvis.spec"
+PYINSTALLER_SPEC = REPO_ROOT / "dodaios.spec"
def test_the_spec_names_the_bundle_id_the_app_accepts_as_its_own() -> None:
@@ -30,7 +30,7 @@ def test_the_spec_names_the_bundle_id_the_app_accepts_as_its_own() -> None:
match = re.search(r'^MACOS_BUNDLE_IDENTIFIER\s*=\s*"([^"]+)"', spec, re.MULTILINE)
- assert match is not None, "jarvis.spec must declare MACOS_BUNDLE_IDENTIFIER"
+ assert match is not None, "dodaios.spec must declare MACOS_BUNDLE_IDENTIFIER"
assert match.group(1) == MACOS_DMG_BUNDLE_ID
# The Info.plist and the BUNDLE call must both use that one literal.
assert '"CFBundleIdentifier": MACOS_BUNDLE_IDENTIFIER' in spec
diff --git a/tests/unit/society/test_cli_routines.py b/tests/unit/society/test_cli_routines.py
index 09d264ba0c..ffb11f3ef9 100644
--- a/tests/unit/society/test_cli_routines.py
+++ b/tests/unit/society/test_cli_routines.py
@@ -13,7 +13,7 @@ from dodaios.agent_chat.tool_context import register_turn, restore_turn, unregis
from dodaios.brain.tool_gateway import BrainSupervisorToolGateway
from dodaios.core import runtime_refs
from dodaios.core.protocols import ChatTurn, current_chat_turn
-from dodaios.mcp.jarvis_tools_server import CHAT_SESSION_REF, build_server
+from dodaios.mcp.dodaios_tools_server import CHAT_SESSION_REF, build_server
from dodaios.society.runtime import SocietyRuntime
from dodaios.society.surface import tools_for_cli_session
from dodaios.tasks.context import client_timezone
@@ -227,14 +227,14 @@ def test_context_cleanup_and_isolation():
def test_resumed_society_seat_refreshes_routine_contract(monkeypatch, tmp_path):
- from dodaios.agent_chat import jarvis_harness, runner_cli
+ from dodaios.agent_chat import dodaios_harness, runner_cli
monkeypatch.setattr(runner_cli, "codex_argv_prefix", lambda: ["codex"])
- monkeypatch.setattr(jarvis_harness, "control_key", lambda: "test-key")
+ monkeypatch.setattr(dodaios_harness, "control_key", lambda: "test-key")
monkeypatch.setattr(
- jarvis_harness, "endpoint", lambda: "http://localhost:47821/api/control/mcp/"
+ dodaios_harness, "endpoint", lambda: "http://localhost:47821/api/control/mcp/"
)
- identity = jarvis_harness.Identity(
+ identity = dodaios_harness.Identity(
session_id="society:scout", text="LARGE OLD IDENTITY", compact="old", path=None
)
plan = runner_cli.plan_codex(
@@ -262,7 +262,7 @@ def test_resumed_society_seat_refreshes_routine_contract(monkeypatch, tmp_path):
for session_id in (None, "ordinary-chat"):
assert not any(
"default_tools_approval_mode" in arg
- for arg in jarvis_harness.codex_config_args(session_id)
+ for arg in dodaios_harness.codex_config_args(session_id)
)
# The routine contract lives in the tool descriptions, sent fresh by MCP;
# the resumed turn carries only the memory refresh, never the old identity.
@@ -273,14 +273,14 @@ def test_resumed_society_seat_refreshes_routine_contract(monkeypatch, tmp_path):
def test_routine_approval_delegation_is_only_for_society(monkeypatch):
- from dodaios.agent_chat import jarvis_harness
+ from dodaios.agent_chat import dodaios_harness
- monkeypatch.setattr(jarvis_harness, "control_key", lambda: "test-key")
+ monkeypatch.setattr(dodaios_harness, "control_key", lambda: "test-key")
monkeypatch.setattr(
- jarvis_harness, "endpoint", lambda: "http://localhost:47821/api/control/mcp/"
+ dodaios_harness, "endpoint", lambda: "http://localhost:47821/api/control/mcp/"
)
for session_id in (None, "ordinary-chat"):
assert not any(
"default_tools_approval_mode" in arg
- for arg in jarvis_harness.codex_config_args(session_id)
+ for arg in dodaios_harness.codex_config_args(session_id)
)
diff --git a/tests/unit/society/test_remote_tools.py b/tests/unit/society/test_remote_tools.py
index 996b00b9f9..cc3f8cf767 100644
--- a/tests/unit/society/test_remote_tools.py
+++ b/tests/unit/society/test_remote_tools.py
@@ -466,7 +466,7 @@ async def test_expired_request_cannot_borrow_next_turn(world, active_turn): # n
import mcp.types as types
from dodaios.agent_chat.tool_context import required_turn_id
- from dodaios.mcp.jarvis_tools_server import CHAT_SESSION_REF
+ from dodaios.mcp.dodaios_tools_server import CHAT_SESSION_REF
entered, release = asyncio.Event(), asyncio.Event()
original = world.gateway.session_catalog
diff --git a/tests/unit/society/test_reply_style.py b/tests/unit/society/test_reply_style.py
index cfe50fd8d3..533b90cfc6 100644
--- a/tests/unit/society/test_reply_style.py
+++ b/tests/unit/society/test_reply_style.py
@@ -2,7 +2,7 @@
import pytest
-from dodaios.agent_chat.jarvis_harness import Identity, compact_identity, identity_prompt
+from dodaios.agent_chat.dodaios_harness import Identity, compact_identity, identity_prompt
from dodaios.agent_chat.runner_cli import _with_identity
from dodaios.core.response_style import (
CONVERSATIONAL_RESPONSE_STYLE,
diff --git a/tests/unit/society/test_role_naming.py b/tests/unit/society/test_role_naming.py
index d1b8ee8b21..1fe913b941 100644
--- a/tests/unit/society/test_role_naming.py
+++ b/tests/unit/society/test_role_naming.py
@@ -4,7 +4,7 @@ from dataclasses import replace
import pytest
-from dodaios.agent_chat.jarvis_harness import COMPACT_MAX_CHARS, Identity
+from dodaios.agent_chat.dodaios_harness import COMPACT_MAX_CHARS, Identity
from dodaios.agent_chat.runner_cli import _with_identity
from dodaios.core.chat_turn import ChatTurn
from dodaios.core.protocols import current_chat_turn
@@ -150,7 +150,7 @@ async def test_compact_resume_keeps_name_guidance_ahead_of_long_memory(world):
rt, _ = world
agent, _ = await rt.roster.create(description="Research sources.")
text = build_briefing(agent, [], [], memory="## Your memory\n" + "A fact.\n" * 3000)
- from dodaios.agent_chat.jarvis_harness import society_memory_refresh
+ from dodaios.agent_chat.dodaios_harness import society_memory_refresh
refreshed = society_memory_refresh(text, compact=True)
assert AGENT_NAMING_GUIDANCE in refreshed
diff --git a/tests/unit/society/test_subscriptions.py b/tests/unit/society/test_subscriptions.py
index 13aa1fad36..edcc58098f 100644
--- a/tests/unit/society/test_subscriptions.py
+++ b/tests/unit/society/test_subscriptions.py
@@ -98,7 +98,7 @@ def test_account_env_prefers_the_pinned_seat(monkeypatch, tmp_path: Path):
async def test_identity_override_replaces_jarvis_layers():
- from dodaios.agent_chat.jarvis_harness import (
+ from dodaios.agent_chat.dodaios_harness import (
SOCIETY_PREAMBLE,
SYSTEM_PREAMBLE,
identity_prompt,
diff --git a/tests/unit/society/test_surface.py b/tests/unit/society/test_surface.py
index e6a03657b1..839fee71c3 100644
--- a/tests/unit/society/test_surface.py
+++ b/tests/unit/society/test_surface.py
@@ -90,7 +90,7 @@ def _live_chat(rt: SocietyRuntime, session: SimpleNamespace):
async def test_task_execution_contract_survives_long_memory_and_compact_transport(rt):
- from dodaios.agent_chat.jarvis_harness import SOCIETY_PREAMBLE, compact_identity
+ from dodaios.agent_chat.dodaios_harness import SOCIETY_PREAMBLE, compact_identity
agent, _ = await rt.roster.create(name="Task owner", description="Complete assigned work.")
briefing = build_briefing(
diff --git a/tests/unit/speech/test_jarvis_agent_readback.py b/tests/unit/speech/test_dodaios_agent_readback.py
similarity index 100%
rename from tests/unit/speech/test_jarvis_agent_readback.py
rename to tests/unit/speech/test_dodaios_agent_readback.py
diff --git a/tests/unit/test_bare_jarvis_starts_desktop.py b/tests/unit/test_bare_dodaios_starts_desktop.py
similarity index 100%
rename from tests/unit/test_bare_jarvis_starts_desktop.py
rename to tests/unit/test_bare_dodaios_starts_desktop.py
diff --git a/tests/unit/test_codex_jarvis_agent_parity.py b/tests/unit/test_codex_dodaios_agent_parity.py
similarity index 100%
rename from tests/unit/test_codex_jarvis_agent_parity.py
rename to tests/unit/test_codex_dodaios_agent_parity.py
diff --git a/tests/unit/test_jarvis_agent_board_listing.py b/tests/unit/test_dodaios_agent_board_listing.py
similarity index 100%
rename from tests/unit/test_jarvis_agent_board_listing.py
rename to tests/unit/test_dodaios_agent_board_listing.py
diff --git a/tests/unit/test_jarvis_agent_harness_config.py b/tests/unit/test_dodaios_agent_harness_config.py
similarity index 100%
rename from tests/unit/test_jarvis_agent_harness_config.py
rename to tests/unit/test_dodaios_agent_harness_config.py
diff --git a/tests/unit/test_grok_build_jarvis_agent_parity.py b/tests/unit/test_grok_build_dodaios_agent_parity.py
similarity index 100%
rename from tests/unit/test_grok_build_jarvis_agent_parity.py
rename to tests/unit/test_grok_build_dodaios_agent_parity.py
diff --git a/tests/unit/test_router_vision_config.py b/tests/unit/test_router_vision_config.py
index f11463f85f..544e1f0e35 100644
--- a/tests/unit/test_router_vision_config.py
+++ b/tests/unit/test_router_vision_config.py
@@ -38,7 +38,7 @@ def test_router_vision_config_defaults():
def test_public_example_loads_without_router_vision_override():
"""The public example loads without requiring a private jarvis.toml."""
- toml_path = REPO_ROOT / "jarvis.toml.example"
+ toml_path = REPO_ROOT / "dodaios.toml.example"
assert toml_path.exists(), f"public config example not found at {toml_path}"
with toml_path.open("rb") as f:
diff --git a/tests/unit/ui/test_branded_launcher.py b/tests/unit/ui/test_branded_launcher.py
index 44c8fdf979..c9e2a68a17 100644
--- a/tests/unit/ui/test_branded_launcher.py
+++ b/tests/unit/ui/test_branded_launcher.py
@@ -151,7 +151,7 @@ def test_relocated_copy_carries_the_runtime_dlls(
without them the relocated exe dies before any window exists."""
_brandable(monkeypatch)
src_dir = _fake_interpreter_dir(tmp_path)
- ico = tmp_path / "jarvis.ico"
+ ico = tmp_path / "dodaios.ico"
ico.write_bytes(b"ico")
target = tmp_path / "user" / "bin" / icon_utils.BRANDED_LAUNCHER_EXE_NAME
@@ -170,7 +170,7 @@ def test_relocated_copy_that_fails_the_smoke_start_is_discarded(
(the re-exec parent already exited) — it must be deleted, not returned."""
_brandable(monkeypatch, boots=False)
src_dir = _fake_interpreter_dir(tmp_path)
- ico = tmp_path / "jarvis.ico"
+ ico = tmp_path / "dodaios.ico"
ico.write_bytes(b"ico")
target = tmp_path / "user" / "bin" / icon_utils.BRANDED_LAUNCHER_EXE_NAME
@@ -185,7 +185,7 @@ def test_relocated_copy_missing_a_dll_is_rebuilt(
build) cannot start and would otherwise be trusted forever."""
_brandable(monkeypatch)
src_dir = _fake_interpreter_dir(tmp_path)
- ico = tmp_path / "jarvis.ico"
+ ico = tmp_path / "dodaios.ico"
ico.write_bytes(b"ico")
target = tmp_path / "user" / "bin" / icon_utils.BRANDED_LAUNCHER_EXE_NAME
target.parent.mkdir(parents=True)
@@ -211,7 +211,7 @@ def test_unwritable_first_home_falls_through_to_the_user_dir(
_brandable(monkeypatch)
src_dir = _fake_interpreter_dir(tmp_path)
src = src_dir / "pythonw.exe"
- ico = tmp_path / "jarvis.ico"
+ ico = tmp_path / "dodaios.ico"
ico.write_bytes(b"ico")
# Candidate 1's parent is a FILE → every write attempt there fails, like a
# read-only Program Files dir. Candidate 2 is a writable user dir.
diff --git a/tests/unit/ui/test_icon_identity.py b/tests/unit/ui/test_icon_identity.py
index 54dd9f7587..9db83bb110 100644
--- a/tests/unit/ui/test_icon_identity.py
+++ b/tests/unit/ui/test_icon_identity.py
@@ -67,7 +67,7 @@ def _delete_test_key() -> None:
# all resolve the icon through ``project_icon_path()``. If that returns a path
# that does not exist, ALL of them silently fall back to the ``pythonw.exe``
# Python logo — the "taskbar shows Python on a fresh machine" report. The icon
-# used to live ONLY at ``<repo-root>/assets/icons/jarvis.ico`` (found via
+# used to live ONLY at ``<repo-root>/assets/icons/dodaios.ico`` (found via
# ``parents[2]``), which resolves only for a run from the project folder; a real
# ``pip install`` relocates the package to ``site-packages`` where that repo-root
# ``assets/`` is absent. The fix bundles the icon inside the package. These
@@ -93,7 +93,7 @@ def test_project_icon_path_prefers_bundled_in_package_copy() -> None:
bundled = bundled_app_icon()
assert bundled is not None and bundled.is_file()
# The in-package copy lives under dodaios/assets/icons/, NOT the repo root.
- assert bundled.as_posix().endswith("dodaios/assets/icons/jarvis.ico")
+ assert bundled.as_posix().endswith("dodaios/assets/icons/dodaios.ico")
# project_icon_path() returns exactly that bundled copy when present.
assert project_icon_path() == bundled
@@ -101,13 +101,13 @@ def test_project_icon_path_prefers_bundled_in_package_copy() -> None:
def test_bundled_icon_is_byte_identical_to_repo_root_copy() -> None:
"""Drift guard: the packaged icon must match the build-tool repo-root copy.
- The repo-root ``assets/icons/jarvis.ico`` is still referenced by the
+ The repo-root ``assets/icons/dodaios.ico`` is still referenced by the
PyInstaller spec and ``scripts/install_shortcuts.py``. Keeping the two copies
byte-identical means updating the brand icon in one place without the runtime
and the installer drifting apart. If this fails, re-copy the repo-root icon
into ``dodaios/assets/icons/``.
"""
- repo_root = Path(__file__).resolve().parents[3] / "assets" / "icons" / "jarvis.ico"
+ repo_root = Path(__file__).resolve().parents[3] / "assets" / "icons" / "dodaios.ico"
if not repo_root.is_file():
pytest.skip("repo-root icon copy absent (slim checkout)")
from dodaios.assets import bundled_app_icon
@@ -115,7 +115,7 @@ def test_bundled_icon_is_byte_identical_to_repo_root_copy() -> None:
bundled = bundled_app_icon()
assert bundled is not None
assert bundled.read_bytes() == repo_root.read_bytes(), (
- "dodaios/assets/icons/jarvis.ico drifted from assets/icons/jarvis.ico — "
+ "dodaios/assets/icons/dodaios.ico drifted from assets/icons/dodaios.ico — "
"re-copy the repo-root icon into the package"
)
@@ -161,7 +161,7 @@ def test_bundled_app_icon_png_exists_for_linux() -> None:
png = bundled_app_icon_png()
assert png is not None and png.is_file()
- assert png.as_posix().endswith("dodaios/assets/icons/jarvis.png")
+ assert png.as_posix().endswith("dodaios/assets/icons/dodaios.png")
def test_the_linux_shell_name_is_dodaios_and_the_aumid_stays() -> None:
@@ -200,7 +200,7 @@ def test_register_aumid_writes_icon_resource_when_given() -> None:
import winreg
_delete_test_key()
- ico = Path(r"C:\fake\jarvis.ico")
+ ico = Path(r"C:\fake\dodaios.ico")
try:
ok = register_windows_app_user_model_id(
_TEST_AUMID, display_name="Personal Jarvis", icon_path=ico
diff --git a/tests/unit/ui/web/test_fast_bootstrap.py b/tests/unit/ui/web/test_fast_bootstrap.py
index 05e8f4d9d2..038bb2966f 100644
--- a/tests/unit/ui/web/test_fast_bootstrap.py
+++ b/tests/unit/ui/web/test_fast_bootstrap.py
@@ -240,7 +240,7 @@ async def test_missing_asset_is_held_never_answered_with_index_html(tmp_path) ->
dist_dir=_seed_dist(tmp_path), hold_timeout=0.05, session_token=_TOKEN
)
cookie = await _exchange(bs)
- sent = await _drive(bs.app, _http("/jarvis-logo.png", cookie=cookie))
+ sent = await _drive(bs.app, _http("/dodaios-logo.png", cookie=cookie))
assert _status(sent) == 503 # held → warming timeout, never index.html 200
assert b"<div id=root>" not in _body(sent)
@@ -290,7 +290,7 @@ def test_boot_page_acknowledges_after_two_frames() -> None:
html = page.read_text(encoding="utf-8")
assert "/api/ui/shell-painted" in html
assert html.count("requestAnimationFrame") >= 2
- assert '<link rel="icon" href="/jarvis.ico"' in html
+ assert '<link rel="icon" href="/dodaios.ico"' in html
# --- listener self-healing (the lock-zombie root cause) ---------------------
diff --git a/tests/unit/ui/web/test_spa_asset_fallback.py b/tests/unit/ui/web/test_spa_asset_fallback.py
index a36a67e92b..218b2f289e 100644
--- a/tests/unit/ui/web/test_spa_asset_fallback.py
+++ b/tests/unit/ui/web/test_spa_asset_fallback.py
@@ -37,7 +37,7 @@ def _client(tmp_path, monkeypatch) -> tuple[TestClient, object]:
def test_missing_asset_gets_honest_404_not_index_html(tmp_path, monkeypatch) -> None:
client, _dist = _client(tmp_path, monkeypatch)
- response = client.get("/jarvis-logo.png")
+ response = client.get("/dodaios-logo.png")
assert response.status_code == 404
assert b"<div id=root>" not in response.content
@@ -51,7 +51,7 @@ def test_client_side_route_still_falls_back_to_index(tmp_path, monkeypatch) -> N
def test_existing_asset_is_served_as_is(tmp_path, monkeypatch) -> None:
client, dist = _client(tmp_path, monkeypatch)
- (dist / "jarvis-logo.png").write_bytes(b"\x89PNG\r\n\x1a\n fake-png-body")
- response = client.get("/jarvis-logo.png")
+ (dist / "dodaios-logo.png").write_bytes(b"\x89PNG\r\n\x1a\n fake-png-body")
+ response = client.get("/dodaios-logo.png")
assert response.status_code == 200
assert response.content.startswith(b"\x89PNG")
diff --git a/tests/unit/voice/test_self_mod_flow.py b/tests/unit/voice/test_self_mod_flow.py
index d80819b976..8ed9315719 100644
--- a/tests/unit/voice/test_self_mod_flow.py
+++ b/tests/unit/voice/test_self_mod_flow.py
@@ -42,7 +42,7 @@ FIXTURE = (
Path(__file__).parent.parent
/ "self_mod"
/ "fixtures"
- / "minimal_jarvis.toml"
+ / "minimal_dodaios.toml"
)
diff --git a/ui/orb/overlay.py b/ui/orb/overlay.py
index db6d9c156f..e93f7e02be 100644
--- a/ui/orb/overlay.py
+++ b/ui/orb/overlay.py
@@ -381,7 +381,7 @@ TAU = math.tau
# Default path for the SWG/Gigi mascot. Looked up by MascotRenderer when no
# explicit path is passed in. Resolved relative to the project root.
-DEFAULT_MASCOT_REL = "assets/icons/jarvis-gigi-256.png"
+DEFAULT_MASCOT_REL = "assets/icons/dodaios-gigi-256.png"
def _transcript_visible_line_count(text_height: int, line_height: int) -> int:
@@ -636,7 +636,7 @@ class MascotRenderer:
self._mouth_anim_until_t: float = -1.0
# Hard-coded arm bounding boxes (measured on the 108x108 render of
- # jarvis-gigi-256.png, 2026-04-25). Heuristic detection was unreliable
+ # dodaios-gigi-256.png, 2026-04-25). Heuristic detection was unreliable
# because the body outline also contains yellow pixels (clusters overlap).
# These bboxes capture ONLY the actual stub — a clean separation.
# If the asset changes: re-measure manually and update these here.
@@ -4776,7 +4776,7 @@ def main() -> int:
type=str,
default=None,
help=(
- "Optional: explicit path to a mascot PNG (otherwise assets/icons/jarvis-gigi-256.png)."
+ "Optional: explicit path to a mascot PNG (otherwise assets/icons/dodaios-gigi-256.png)."
),
)
parser.add_argument(