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: auto-save WIP via Claude stop-hook safety net (2026-07-02 09:26)

Ruben Lütke90c125dce8b9
diff --git a/desktop-ttu-baseline.json b/desktop-ttu-baseline.json
deleted file mode 100644
index b6d6c5d0c7..0000000000
--- a/desktop-ttu-baseline.json
+++ /dev/null
@@ -1,32 +0,0 @@
-{
- "path": "desktop (_run_backend, GUI-free driver)",
- "runs": 3,
- "python": "C:\\Program Files\\Python311\\python.exe",
- "vault_pages": 84,
- "median_wall_ms": 2164.5,
- "median_boot_ready_ms": 191.5,
- "median_bind_wall_ms": 1493.9,
- "median_voice_ready_wall_ms": 8015.7,
- "voice_ready_wall_ms_runs": [
- 8822.8,
- 7680.8,
- 8015.7
- ],
- "wall_ms_runs": [
- 2622.9,
- 2164.5,
- 2110.1
- ],
- "boot_ready_ms_runs": [
- 340.1,
- 191.5,
- 148.3
- ],
- "phase_medians_ms": {
- "db_pre_webserver": 3578.2,
- "db_webserver_ctor": 1925.2
- },
- "anchor": "spawn -> /api/health responds 200 (= DesktopApp._wait_for_backend success = window creation point)",
- "secondary_anchor": "median_bind_wall_ms = spawn -> BOOT_READY print (bootstrap bind; may precede a responsive health endpoint)",
- "ttu_anchor": "spawn -> VOICE_READY_MS print (wake loop armed + speech pipeline live; the honest time-to-usable voice anchor)"
-}
\ No newline at end of file
diff --git a/desktop-ttu-latest.json b/desktop-ttu-latest.json
deleted file mode 100644
index 5635e86927..0000000000
--- a/desktop-ttu-latest.json
+++ /dev/null
@@ -1,26 +0,0 @@
-{
- "path": "desktop (_run_backend, GUI-free driver)",
- "runs": 1,
- "python": "C:\\Program Files\\Python311\\python.exe",
- "vault_pages": 84,
- "median_wall_ms": 1281.6,
- "median_boot_ready_ms": 99.5,
- "median_bind_wall_ms": 788.3,
- "median_voice_ready_wall_ms": 4997.8,
- "voice_ready_wall_ms_runs": [
- 4997.8
- ],
- "wall_ms_runs": [
- 1281.6
- ],
- "boot_ready_ms_runs": [
- 99.5
- ],
- "phase_medians_ms": {
- "db_pre_webserver": 2521.0,
- "db_webserver_ctor": 1223.1
- },
- "anchor": "spawn -> /api/health responds 200 (= DesktopApp._wait_for_backend success = window creation point)",
- "secondary_anchor": "median_bind_wall_ms = spawn -> BOOT_READY print (bootstrap bind; may precede a responsive health endpoint)",
- "ttu_anchor": "spawn -> VOICE_READY_MS print (wake loop armed + speech pipeline live; the honest time-to-usable voice anchor)"
-}
\ No newline at end of file
diff --git a/jarvis/core/config.py b/jarvis/core/config.py
index 4c26c50791..3f84654649 100644
--- a/jarvis/core/config.py
+++ b/jarvis/core/config.py
@@ -1445,14 +1445,22 @@ class ComputerUseConfig(BaseModel):
model_config = {"extra": "allow"}
enabled: bool = False
- # Which Computer-Use engine runs (reversible switch). "current" (default) =
- # the maintained engine; "june13" = the frozen 2026-06-10 / 352a784f snapshot
- # (jarvis/harness/screenshot_only_loop_june13.py), kept as a known-good
- # fallback after the maintained engine accumulated ~1700 lines of stacked
- # click-correction + verifier layers and regressed. The harness reads this
- # per mission and logs which engine is live, so a flip applies on the next
- # mission / restart with no code change. Flip back any time with "current".
- engine: Literal["current", "june13", "stable"] = "current"
+ # Which Computer-Use engine runs (reversible switch). "v2" (default) = the
+ # rebuilt perceive->act->verify engine (jarvis/cu/engine.py): per-frame
+ # coordinate mapping, provider coordinate conventions, UI-idle capture,
+ # effect-checked actions and the idempotency ledger. Legacy engines stay
+ # available as fallbacks: "current" = the last maintained legacy loop,
+ # "june13" / "stable" = frozen known-good snapshots. The harness reads
+ # this per mission and logs which engine is live, so a flip applies on
+ # the next mission with no restart. Roll back any time with "current".
+ engine: Literal["v2", "current", "june13", "stable"] = "v2"
+ # Coordinate space the vision model's click coordinates are parsed in
+ # (CU v2 only). "auto" (default) resolves per provider: an explicit
+ # ``coordinate_convention`` capability on the brain wins, else the
+ # provider family's documented convention (Gemini -> 0-1000 normalized;
+ # Claude/OpenAI -> pixels on the sent image; unknown -> normalized).
+ # Pin "normalized_1000" or "image_pixels" only to override a wrong guess.
+ coordinate_space: Literal["auto", "normalized_1000", "image_pixels"] = "auto"
# How Computer-Use relates to multiple monitors. DEFAULT "primary": CU brings
# the target window onto the MAIN monitor (the G8 move-to-primary hook) AND
# the screenshot FOLLOWS that window — so the normal case lands on the main
diff --git a/scripts/ci/check_boot_budget.py b/scripts/ci/check_boot_budget.py
index 26cb148731..37b6d7d0a1 100644
--- a/scripts/ci/check_boot_budget.py
+++ b/scripts/ci/check_boot_budget.py
@@ -111,9 +111,9 @@ def main() -> int:
)
if voice:
- voice_ms = summary.get("median_voice_ready_wall_ms")
+ voice_ms = summary.get("median_voice_usable_wall_ms")
if voice_ms is None:
- failures.append("VOICE_READY anchor missing from harness output")
+ failures.append("VOICE_USABLE anchor missing from harness output")
elif voice_ms > voice_budget:
failures.append(
f"voice TTU {voice_ms:.0f} ms > budget {voice_budget:.0f} ms"
diff --git a/scripts/measure_desktop_boot.py b/scripts/measure_desktop_boot.py
index be0bcddc5a..71682685c4 100644
--- a/scripts/measure_desktop_boot.py
+++ b/scripts/measure_desktop_boot.py
@@ -331,7 +331,7 @@ def main(argv: list[str] | None = None) -> int:
for name, val in sorted(summary["phase_medians_ms"].items(), key=lambda kv: -kv[1]):
print(f" {name:24s} {val:8.1f}", flush=True)
- key = "median_voice_ready_wall_ms" if args.voice else "median_wall_ms"
+ key = "median_voice_usable_wall_ms" if args.voice else "median_wall_ms"
if froze_baseline:
print(f"\nfroze baseline -> {baseline_path.name}", flush=True)
elif baseline_path.exists():