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.

style(voice): trim over-long comment lines added by the interim-ack redesign

Ruben Lütkec1d34afc4ad6
diff --git a/jarvis/brain/ack_generator.py b/jarvis/brain/ack_generator.py
index 5b67c27979..71a21b8b58 100644
--- a/jarvis/brain/ack_generator.py
+++ b/jarvis/brain/ack_generator.py
@@ -13,8 +13,8 @@ Design constraints:
* **Varied, never robotic.** Every tool family carries a POOL of phrase
variants per language and a process-wide no-repeat memory
(:class:`AckPhrasePicker`) guarantees consecutive acks never sound
- identical — the 2026-07-05 forensic finding was the same "Moment."
- spoken three times in one session (one per utterance). # i18n-allow: forensic quote of the retired German single-phrase ack
+ identical — the 2026-07-05 forensic finding was the same one-word
+ German ack spoken three times in one session (once per utterance).
* **Tool-family-specific.** Per-tool handlers extract the most informative
arg (search query, app name, skill name, CLI service) into the ack so the
user knows the right intent was understood — generic "okay, one moment"
@@ -31,8 +31,8 @@ Design constraints:
per the project's output-language policy.
Companion functions ``final_summary_marker`` and ``should_prepend_marker``
-support the second half of the pattern: a short "Erledigt." prepended to
-the brain's final response, unless the brain already self-confirmed. # i18n-allow: quoted German completion marker
+support the second half of the pattern: a short completion marker
+prepended to the final response, unless the brain already self-confirmed.
.. note:: The phrase strings in this module are runtime voice/TTS product
content (multilingual product surface). German lines carry inline
@@ -399,7 +399,7 @@ _SEARCH_GENERIC_ACK: dict[str, tuple[str, ...]] = {
_MULTI_SPAWN_ACK: dict[str, tuple[str, ...]] = {
"de": ( # i18n-allow: German runtime voice product (ack phrase pool)
"Okay, ich erledige {n} Sachen parallel.", # i18n-allow: German runtime voice product
- "Ich nehme mir die {n} Aufgaben gleichzeitig vor.", # i18n-allow: German runtime voice product
+ "Ich nehme mir die {n} Aufgaben gleichzeitig vor.", # i18n-allow: German voice product
"{n} Dinge parallel — läuft.", # i18n-allow: German runtime voice product
),
"en": (
diff --git a/tests/unit/speech/test_interim_ack_gates.py b/tests/unit/speech/test_interim_ack_gates.py
index bb32e4ff21..4136d8deb3 100644
--- a/tests/unit/speech/test_interim_ack_gates.py
+++ b/tests/unit/speech/test_interim_ack_gates.py
@@ -127,8 +127,8 @@ async def test_different_preamble_wording_still_plays() -> None:
player = FakePlayer()
_make_pipeline(tts, bus, player)
- await bus.publish(_preamble("Ich schaue kurz nach.")) # i18n-allow: German TTS fixture under test
- await bus.publish(_preamble("Einen Moment, ich sehe nach.")) # i18n-allow: German TTS fixture under test
+ await bus.publish(_preamble("Ich schaue kurz nach.")) # i18n-allow: German TTS fixture
+ await bus.publish(_preamble("Einen Moment, ich sehe nach.")) # i18n-allow: German TTS fixture
assert player.plays == 2, "a varied preamble was wrongly deduped"
@@ -158,7 +158,7 @@ async def test_completion_readbacks_are_never_deduped() -> None:
for _ in range(2):
await bus.publish(
AnnouncementRequested(
- text="Fertig. Das Ergebnis liegt bereit.", # i18n-allow: German TTS fixture under test
+ text="Fertig. Das Ergebnis liegt bereit.", # i18n-allow: German TTS fixture
language="de",
priority="normal",
kind="completion",