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(realtime): naming the worker IS the order — the shape check may not veto the spawn gate
rubenluetke10-beepbfe6814d8727
diff --git a/tests/unit/realtime/test_tools.py b/tests/unit/realtime/test_tools.pyindex 65e7c73be1..c9b80da519 100644--- a/tests/unit/realtime/test_tools.py+++ b/tests/unit/realtime/test_tools.py@@ -402,3 +402,54 @@ async def test_confirmed_delegation_offer_unlocks_realtime_spawn():assert result["success"] is Trueassert len(executor.execute_calls) == 1+++# ── the 2026-08-24 10:24 session: three asks, zero agents on the board ─────+++async def test_correcting_the_assistant_still_starts_the_worker():+ """Turn 4 of the live session, verbatim.++ The model had just offered to do the job itself. "No, no, which a worker+ should do it." is the user OVERRULING that offer and naming the vehicle,+ and it must reach the executor. It used to score as a spawn DECLINE — the+ English "no" read as the German "kein" — so the board stayed empty at+ "0 running · 0 in total" while the user asked three times.+ """+ bridge, executor = _spawn_bridge()+ await bridge.handle_user_transcript("No, no, which a worker should do it.")++ _name, result = await bridge.execute(wire_name="spawn_worker", arguments={})++ assert result["success"] is True+ assert len(executor.execute_calls) == 1+++async def test_spoken_confirmation_naming_the_vehicle_starts_the_worker():+ """Turn 5 of the live session: a confirmation refused for being 8 words."""+ bridge, executor = _spawn_bridge()+ await bridge.handle_user_transcript("Give me an overview of my calendar.")+ _name, blocked = await bridge.execute(wire_name="spawn_worker", arguments={})+ assert blocked["success"] is False++ await bridge.handle_user_transcript("Just follow the sub and then do it.")+ _name, result = await bridge.execute(wire_name="spawn_worker", arguments={})++ assert result["success"] is True+ assert len(executor.execute_calls) == 1+++async def test_a_real_decline_still_starts_nothing():+ """The guard this all protects must survive: an explicit no spawns nothing."""+ bridge, executor = _spawn_bridge()+ await bridge.handle_user_transcript(+ "No, do not spawn a subagent, talk to me directly."+ )++ _name, result = await bridge.execute(wire_name="spawn_worker", arguments={})++ assert result["success"] is False+ assert executor.execute_calls == []