Dodaios is an open-source agent OS for your desktop: it runs your coding agents, browser and apps by voice or chat, on your own machine. Formerly Personal Jarvis.
Python agent-orchestrationai-agentai-coding-assistantclaude-codecoding-agentcomputer-usedesktop-applocal-firstmcppersonal-jarvisvoice-assistantvoice-coding
fix(agentic-ide): never read a remote pane's stale local transcript aloud
rubenluetke10-beep49df312346ce
diff --git a/jarvis/agentic_ide/voice_readback.py b/jarvis/agentic_ide/voice_readback.pyindex e21a624b8c..b05374bad8 100644--- a/jarvis/agentic_ide/voice_readback.py+++ b/jarvis/agentic_ide/voice_readback.py@@ -183,10 +183,16 @@ def final_report(term: Any) -> str:Only the answer to the newest user message counts: a transcript whose lastturn is the user's own has not answered yet.++ A pane on a connected computer writes its transcript THERE; the local copy+ stopped at the offload and ends with an older job's answer (#250). Such a+ pane reports ``""`` and the readback falls back to its live screen."""from . import agent_transcriptfrom .session import account_home+ if getattr(term, "computer_id", ""):+ return ""handle = getattr(term, "resume", None)agent = str(getattr(term, "agent", "") or "")if handle is None or not agent_transcript.can_read(agent):diff --git a/tests/unit/agentic_ide/test_voice_readback.py b/tests/unit/agentic_ide/test_voice_readback.pyindex 87ea4cd7bc..ee4ad99452 100644--- a/tests/unit/agentic_ide/test_voice_readback.py+++ b/tests/unit/agentic_ide/test_voice_readback.py@@ -181,6 +181,26 @@ async def test_without_a_report_the_readback_still_names_the_pane(assert [e.text for e in published] == ["Alex has finished your task."]+def test_a_remote_pane_never_reads_its_stale_local_transcript(+ monkeypatch: pytest.MonkeyPatch,+) -> None:+ """#250: the transcript of a pane on a connected computer lives there; the+ local copy ends with the previous job's answer."""+ from jarvis.agentic_ide import agent_transcript++ def _stale(*_a: Any, **_k: Any) -> Any:+ raise AssertionError("a remote pane's local transcript is stale")++ monkeypatch.setattr(agent_transcript, "read", _stale)+ monkeypatch.setattr(agent_transcript, "can_read", lambda _agent: True)+ term = _FakeTerm(request="Fix the login bug")+ term.computer_id = "vps-1"+ term.agent = "claude"+ term.resume = type("Handle", (), {"id": "abc"})()++ assert voice_readback.final_report(term) == ""++def test_the_pipeline_holds_pane_readbacks_for_an_open_call() -> None:event = AnnouncementRequested(source_layer=voice_readback.SOURCE_LAYER, kind="completion", text="Alex is done."