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(dictation): make the digit replace the spoken ordinal, always
rubenluetke10-beepf26f95811ea4
diff --git a/jarvis/dictation/polish_prompt.py b/jarvis/dictation/polish_prompt.pyindex 89efade00c..287a6318b3 100644--- a/jarvis/dictation/polish_prompt.py+++ b/jarvis/dictation/polish_prompt.py@@ -43,7 +43,14 @@ from typing import Final#: (blank line between paragraphs; one list item per line, "1." when the#: speaker counted, "-" when they did not). The v3 wording licensed both#: transformations without describing them, and the model answered with prose.-POLISH_PROMPT_VERSION: Final[int] = 4+#:+#: v5: "the number replaces the spoken ordinal" became an explicit ALWAYS,+#: with restructuring of the remaining item licensed by example. Live v4 runs+#: split the lines but kept "Erstens ..." written out: replacing a German+#: enumeration adverb changes the word order of what follows, and a model not+#: expressly allowed to repair that keeps the adverb rather than break the+#: sentence.+POLISH_PROMPT_VERSION: Final[int] = 5#: The delimiters that fence the untrusted transcript inside the user message.#: Deliberately ugly and unlikely to be dictated by accident; deliberately@@ -110,11 +117,14 @@ WHAT YOU MAY DO:"question mark", "new line", and their equivalents in the input language).- Turn a spoken enumeration into a list when the speaker clearly enumerated:one item per line. When the speaker counted ("first", "second", "third" and- their equivalents in the input language), number the lines "1.", "2.", "3."- — the number replaces the spoken ordinal. When they listed without- counting, start each line with "- ". Every item keeps the speaker's own- words; a running sentence that merely mentions items in passing stays a- sentence.+ their equivalents in the input language), ALWAYS number the lines "1.",+ "2.", "3." — the digit REPLACES the spoken ordinal, so an ordinal word+ never remains at the start of a numbered line. Where dropping the ordinal+ breaks the word order of the rest of the item, restructure the item so it+ reads naturally ("first we prepare the offer" -> "1. We prepare the+ offer"). When they listed without counting, start each line with "- ".+ Every item keeps the speaker's own words; a running sentence that merely+ mentions items in passing stays a sentence.- Normalize spoken numbers to numerals where a writer would ("seven" -> "7"),but never invent a number that was not spoken.- Remove stray ellipses left by the recognizer at a pause.diff --git a/jarvis/dictation/translate_prompt.py b/jarvis/dictation/translate_prompt.pyindex d93f480c0f..478b722626 100644--- a/jarvis/dictation/translate_prompt.py+++ b/jarvis/dictation/translate_prompt.py@@ -49,7 +49,11 @@ from jarvis.dictation.polish_prompt import (#: v3: the paragraph and enumeration clauses carry the same concrete target#: format the polish prompt's v4 gained — the two passes must lay text out the#: same way, or the translate switch would silently change list formatting.-TRANSLATE_PROMPT_VERSION: Final[int] = 3+#:+#: v4: mirrors the polish prompt's v5 — the digit ALWAYS replaces the spoken+#: ordinal, and restructuring the remaining item is expressly licensed. Live+#: runs split the lines but kept the ordinal word written out.+TRANSLATE_PROMPT_VERSION: Final[int] = 4#: English names for every code ``[dictation].translate_target`` accepts.#:@@ -146,9 +150,11 @@ CLEAN IT UP AS YOU GO — this is dictated speech, not written prose:with ONE blank line.- Turn spoken punctuation commands into the mark itself, in {target}.- Turn a spoken enumeration into a list when the speaker clearly enumerated:- one item per line, numbered "1.", "2.", "3." when the speaker counted (the- number replaces the spoken ordinal), "- " bullets when they did not. A- running sentence that merely mentions items in passing stays a sentence.+ one item per line, numbered "1.", "2.", "3." when the speaker counted, "- "+ bullets when they did not. The digit ALWAYS replaces the spoken ordinal —+ an ordinal word never remains at the start of a numbered line; restructure+ the rest of the item where dropping it requires. A running sentence that+ merely mentions items in passing stays a sentence.- Normalize spoken numbers to numerals where a writer would, but never inventa number that was not spoken.- Drop stray ellipses the recognizer left at a pause.