Dodaios is an open-source agent OS for your desktop: it runs your coding agents, browser and apps by voice or chat, on your own machine. Formerly Personal Jarvis.
Python agent-orchestrationai-agentai-coding-assistantclaude-codecoding-agentcomputer-usedesktop-applocal-firstmcppersonal-jarvisvoice-assistantvoice-coding
chore: auto-save WIP via Claude stop-hook safety net (2026-07-14 15:18)
Ruben Lütke66ff2a92145a
diff --git a/tests/unit/ui/jarvisbar/test_show_lifts_topmost.py b/tests/unit/ui/jarvisbar/test_show_lifts_topmost.pyindex e153704aea..ba34acffa4 100644--- a/tests/unit/ui/jarvisbar/test_show_lifts_topmost.py+++ b/tests/unit/ui/jarvisbar/test_show_lifts_topmost.py@@ -25,6 +25,7 @@ from jarvis.ui.jarvisbar.overlay import (Z_ORDER_GUARD_INTERVAL_MS,JarvisBarOverlay,_win32_force_topmost,+ _win32_topmost_band_is_healthy,)@@ -85,6 +86,35 @@ class _FakeUser32:return self.succeeds+class _FakeBandUser32:+ def __init__(+ self,+ *,+ chain: dict[int, int],+ visible: set[int],+ ex_styles: dict[int, int],+ parent: int = 0x2222,+ ) -> None:+ self.parent = parent+ self.chain = chain+ self.visible = visible+ self.ex_styles = ex_styles++ def GetParent(self, _hwnd: int) -> int: # noqa: N802 - native API seam+ return self.parent++ def GetWindow(self, hwnd: int, relation: int) -> int: # noqa: N802+ assert relation == 3 # GW_HWNDPREV+ return self.chain.get(hwnd, 0)++ def IsWindowVisible(self, hwnd: int) -> bool: # noqa: N802+ return hwnd in self.visible++ def GetWindowLongPtrW(self, hwnd: int, index: int) -> int: # noqa: N802+ assert index == -20 # GWL_EXSTYLE+ return self.ex_styles.get(hwnd, 0)++class _GuardRoot(_FakeRoot):def __init__(self, *, mapped: bool) -> None:super().__init__(mapped=mapped)@@ -176,6 +206,35 @@ def test_win32_native_pin_failure_is_nonfatal() -> None:)+def test_win32_band_check_detects_visible_non_topmost_window_above_bar() -> None:+ outer = 0x2222+ normal = 0x3333+ user32 = _FakeBandUser32(+ chain={outer: normal, normal: 0},+ visible={normal},+ ex_styles={normal: 0},+ )++ assert _win32_topmost_band_is_healthy(+ _FakeNativeRoot(), user32=user32+ ) is False+++def test_win32_band_check_accepts_only_topmost_or_hidden_windows_above() -> None:+ outer = 0x2222+ topmost = 0x3333+ hidden_normal = 0x4444+ user32 = _FakeBandUser32(+ chain={outer: topmost, topmost: hidden_normal, hidden_normal: 0},+ visible={topmost},+ ex_styles={topmost: 0x00000008, hidden_normal: 0},+ )++ assert _win32_topmost_band_is_healthy(+ _FakeNativeRoot(), user32=user32+ ) is True++def test_win32_pin_skips_tk_lift_that_can_leave_the_wrong_z_order_band(monkeypatch,) -> None:@@ -204,6 +263,9 @@ def test_z_order_guard_repins_mapped_bar_and_rearms(monkeypatch) -> None:bar._root = root # noqa: SLF001bar._running = True # noqa: SLF001calls: list[bool] = []+ monkeypatch.setattr(+ overlay_module, "_win32_topmost_band_is_healthy", lambda _root: False+ )monkeypatch.setattr(bar, "_do_pin_topmost", lambda: calls.append(True) or "native")bar._schedule_z_order_guard() # noqa: SLF001@@ -214,6 +276,26 @@ def test_z_order_guard_repins_mapped_bar_and_rearms(monkeypatch) -> None:]+def test_z_order_guard_leaves_healthy_win32_band_untouched(monkeypatch) -> None:+ bar = JarvisBarOverlay(persistent=True)+ root = _GuardRoot(mapped=True)+ bar._root = root # noqa: SLF001+ bar._running = True # noqa: SLF001+ monkeypatch.setattr(overlay_module.sys, "platform", "win32")+ monkeypatch.setattr(+ overlay_module, "_win32_topmost_band_is_healthy", lambda _root: True+ )+ monkeypatch.setattr(+ bar,+ "_do_pin_topmost",+ lambda: (_ for _ in ()).throw(AssertionError("healthy bar was raised")),+ )++ bar._schedule_z_order_guard() # noqa: SLF001++ assert root.after_calls++def test_z_order_guard_never_maps_hidden_bar(monkeypatch) -> None:bar = JarvisBarOverlay(persistent=False)root = _GuardRoot(mapped=False)diff --git a/voice-session-2026-07-14_15-12-was-geht-ab.md b/voice-session-2026-07-14_15-12-was-geht-ab.mdnew file mode 100644index 0000000000..0a4ef973ca--- /dev/null+++ b/voice-session-2026-07-14_15-12-was-geht-ab.md@@ -0,0 +1,49 @@+# Voice-Session — 2026-07-14 15:12:40++- **Dauer:** 43.3 s+- **Turns:** 2+- **Sprache:** de+- **Wake-Word:** ruben+- **Beendet durch:** Fehler+- **Tokens:** 45678 in · 69 out+- **Provider:** openai-realtime++---++## Turn 2 · 15:12:52++**🎤 User** _(de=de)_++> Was geht ab?++**🧠 Jarvis dachte:** Tier: `realtime` · Provider: `openai-realtime`++**🔊 Jarvis sagte** _(de=de)_++> Hey, schön dich zu hören! Ich bin hier und bereit, also leg los, was kann ich für dich tun?+++**⏱ Latenz:** Gesamt 6.74 s · nachgedacht 729 ms · gesprochen 5.33 s++---++## Turn 3 · 15:13:04++**🎤 User** _(de=de)_++> Welche MCP-Server habe ich alle?++**🧠 Jarvis dachte:** Tier: `realtime` · Provider: `openai-realtime` · Model: `google/gemini-3.5-flash` · 45678+69 tok++**🔧 Tools:** `describe-app-settings`, `jarvis_action`++**🔊 Jarvis sagte** _(de=de)_++> _(progress)_ Alles klar, ich prüfe gerade, welche MCP-Server bei dir eingerichtet sind.++> Du hast zwei+++**⏱ Latenz:** Gesamt 16.34 s · nachgedacht 3.73 s · gesprochen 12.53 s++---