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.

chore(i18n): translate German dev-comments to English in mission workers (batch 05_3_jarvis, part 1)

Ruben Lütkefb7b85a768d9
diff --git a/jarvis/missions/worker_runtime/workspace.py b/jarvis/missions/worker_runtime/workspace.py
index 1dbfec16ba..37fc7b58c5 100644
--- a/jarvis/missions/worker_runtime/workspace.py
+++ b/jarvis/missions/worker_runtime/workspace.py
@@ -83,8 +83,9 @@ def _agents_md(mission_id: str) -> str:
Jarvis control that the worker LLM reads BEFORE seeing the user task.
Live repro 2026-05-15 (mission_019e2d35, gemini-3.1-pro-preview): the
- worker burned 24-26k tokens, claimed `"Habe Datei erfolgreich erstellt"`
- in its reply text, but never invoked the `Write`/`file_write` tool —
+ worker burned 24-26k tokens, claimed `"Habe Datei erfolgreich erstellt"` # i18n-allow (quotes the worker LLM's actual reply text)
+ (English: "Have successfully created file") in its reply text, but
+ never invoked the `Write`/`file_write` tool —
`_capture_diff(worktree)` returned empty. This is a well-known
Gemini-3.1-Pro-Preview tool-skip pattern (OpenClaw issue #3344). The
contract below makes the tool-invocation obligation explicit so the
@@ -174,7 +175,7 @@ def _agents_md(mission_id: str) -> str:
f"A bare skeleton, a placeholder, a `TODO`, an `Inhalt folgt` / `content\n"
f"follows` shell, or a handful of lines where a real document/page/program\n"
f"was asked for is a FAILURE, not an acceptable default — even when the\n"
- f"task brief or a hint sounds minimal (for example says \"Grundgerüst\" /\n"
+ f"task brief or a hint sounds minimal (for example says \"Grundgerüst\" /\n" # i18n-allow (DE task-brief example a bilingual user might send)
f"\"skeleton\"). Treat every hint as a FLOOR, never a CEILING: build the\n"
f"full, finished thing the first time. This raises the QUALITY of the\n"
f"requested work; it does NOT license unrequested features (Rule 4 still\n"
diff --git a/jarvis/missions/workers/codex_direct_worker.py b/jarvis/missions/workers/codex_direct_worker.py
index a3dc7c698c..495727bada 100644
--- a/jarvis/missions/workers/codex_direct_worker.py
+++ b/jarvis/missions/workers/codex_direct_worker.py
@@ -116,7 +116,8 @@ def _resolve_codex_argv_prefix() -> list[str]:
(live forensic 2026-06-20: jarvis started by the hermes-agent runtime),
cmd.exe dies with ``'node' is not recognized`` and exits 1 in ~25 ms —
BEFORE codex starts — so every mission fails ``task_error`` ("Der Worker ist
- abgebrochen."). Invoking the JS entrypoint with an ABSOLUTE ``node`` path
+ abgebrochen."). # i18n-allow (quotes the real DE voice-readback phrase)
+ Invoking the JS entrypoint with an ABSOLUTE ``node`` path
bypasses the .CMD shim, the cmd.exe layer, and the inherited-PATH
dependency entirely. Mirrors ``gemini_worker._resolve_gemini_argv_prefix``
and ``provider_chain._resolve_worker_argv_prefix`` (same class of fix).
diff --git a/jarvis/missions/workers/gemini_worker.py b/jarvis/missions/workers/gemini_worker.py
index 3ba2123822..47ea89187b 100644
--- a/jarvis/missions/workers/gemini_worker.py
+++ b/jarvis/missions/workers/gemini_worker.py
@@ -85,8 +85,9 @@ def _resolve_gemini_argv_prefix(*, bundle_finder: Any = None) -> list[str]:
`>`, `&`, `|`, `^`, `%` as metacharacters. Embedding a JSON
schema (which contains `<`) in `--prompt` then causes
CreateProcess to fail with `Das System kann die angegebene Datei
- nicht finden` long before the model is ever invoked — verified
- live 2026-05-13.
+ nicht finden` (the literal Win32 error text on a German-locale
+ machine — English: "The system cannot find the file specified") # i18n-allow (quotes the literal OS error string)
+ long before the model is ever invoked — verified live 2026-05-13.
Skipping the .cmd wrapper entirely by invoking `node ...gemini.js`
directly avoids the second-stage parser and lets any payload
diff --git a/jarvis/missions/workers/google_cli_worker.py b/jarvis/missions/workers/google_cli_worker.py
index 42741863d7..5b1a8b6b07 100644
--- a/jarvis/missions/workers/google_cli_worker.py
+++ b/jarvis/missions/workers/google_cli_worker.py
@@ -76,7 +76,8 @@ def _build_agy_worker_argv(exe: str, prompt: str, worktree: Path) -> list[str]:
antigravity mission fails ``critic_loop_exhausted`` even though agy did the
work (live forensic 2026-06-27: mission_019f07cb wrote
``…/brain/<session>/datenmenge_150_petabyte.md`` and was failed for an empty
- diff; agy itself reported "kein aktives Workspace-Verzeichnis geöffnet").
+ diff; agy itself reported "kein aktives Workspace-Verzeichnis geöffnet" # i18n-allow (quotes agy's own literal CLI message)
+ — English: "no active workspace directory open").
``--print-timeout`` is widened from agy's 5-minute default to the worker's own
time budget so a long "production-quality" task is not cut short by agy before
@@ -165,8 +166,8 @@ class GoogleCliWorker:
# Billing path (Antigravity dual billing, mirror of Codex): agy runs over
# the Google subscription OAuth login. If there is NO OAuth login but a
# Gemini API key is available, bill per token via the proven Gemini API
- # worker instead — same outcome the user asked for ("über die API
- # abrechnen"), on the tested path rather than coercing agy to use a key.
+ # worker instead — same outcome the user asked for ("bill via the
+ # API"), on the tested path rather than coercing agy to use a key.
use_api_billing = not _oauth_login_present(Path(real_gemini_dir())) and bool(
env.get("GEMINI_API_KEY") or env.get("GOOGLE_API_KEY")
)