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-02 12:28)
Ruben Lütke29587b406d74
diff --git a/jarvis/speech/pipeline.py b/jarvis/speech/pipeline.pyindex d3da159b33..0c7076d551 100644--- a/jarvis/speech/pipeline.py+++ b/jarvis/speech/pipeline.py@@ -608,34 +608,11 @@ WAKE_ONLY_RE = re.compile(re.IGNORECASE,)-# STT-Halluzinations-Marker: typische YouTube-Endcards, Werbe-Outros,-# Copyright-Strings die Whisper bei leerem Mic oder Speaker-Leak-# manchmal "halluziniert". Blockiert vor dem Brain-Call.-_STT_HALLUCINATION_RE = re.compile(- r"\b("- r"im\s+auftrag\s+des|"- r"untertitel\s+(von|der|im\s+auftrag)|"- r"untertitelung\s+des\s+(zdf|wdr|ndr|swr|br|ard|arte)"- r"(\s+(fuer|für|fur)\s+funk)?(\s*,?\s*\d{4})?|"- r"(eine\s+)?(sendung|produktion|redaktion|programm)\s+"- r"(des|der|von)\s+(zdf|wdr|ndr|swr|br|ard|arte)"- r"(\s*,?\s*\d{4})?|"- r"(zdf|wdr|ndr|swr|br|ard|arte)\s+"- r"(fernsehen|mediagroup|rundfunk)(\s*,?\s*\d{4})?|"- r"(norddeutscher|westdeutscher|bayerischer)\s+rundfunk|"- r"mediagroup|"- r"abonnier(e|t|en)?\s+(den|meinen)\s+kanal|"- r"thanks\s+for\s+watching|"- r"thank\s+you|"- r"vielen\s+dank|"- r"mm-?hmm|"- r"please\s+subscribe|"- r"copyright\s+\d{4}|"- r"all\s+rights\s+reserved|"- r"www\.|https?://"- r")\b",- re.IGNORECASE,-)+# STT hallucination markers (YouTube end cards, ad outros, copyright strings+# Whisper emits on an empty mic / speaker leak). Blocked before the brain+# call. Single definition lives in wake_constants (the rolling wake's+# bias-echo confirm consumes the same list — BUG-008 drift rule).+_STT_HALLUCINATION_RE = wake_constants_module.STT_HALLUCINATION_RE# Paraphrase-Prefixes die Gemini/Claude bei Unsicherheit voranstellen.# Werden als Post-Processing vor dem TTS abgeschnitten.diff --git a/jarvis/speech/wake_constants.py b/jarvis/speech/wake_constants.pyindex ed13bb0593..fd5e004433 100644--- a/jarvis/speech/wake_constants.py+++ b/jarvis/speech/wake_constants.py@@ -46,6 +46,37 @@ JARVIS_WAKE_PATTERN = re.compile(re.IGNORECASE,)+# Known Whisper silence/noise hallucination boilerplate (YouTube end cards,+# broadcaster subtitle credits, ad outros). Single definition here (leaf+# module) so BOTH the pipeline's brain-call filter and the rolling wake's+# bias-echo confirm consume one list (BUG-008 drift rule). Moved from+# ``pipeline._STT_HALLUCINATION_RE`` 2026-07-02 — pipeline aliases this.+STT_HALLUCINATION_RE = re.compile(+ r"\b("+ r"im\s+auftrag\s+des|"+ r"untertitel\s+(von|der|im\s+auftrag)|"+ r"untertitelung\s+des\s+(zdf|wdr|ndr|swr|br|ard|arte)"+ r"(\s+(fuer|für|fur)\s+funk)?(\s*,?\s*\d{4})?|"+ r"(eine\s+)?(sendung|produktion|redaktion|programm)\s+"+ r"(des|der|von)\s+(zdf|wdr|ndr|swr|br|ard|arte)"+ r"(\s*,?\s*\d{4})?|"+ r"(zdf|wdr|ndr|swr|br|ard|arte)\s+"+ r"(fernsehen|mediagroup|rundfunk)(\s*,?\s*\d{4})?|"+ r"(norddeutscher|westdeutscher|bayerischer)\s+rundfunk|"+ r"mediagroup|"+ r"abonnier(e|t|en)?\s+(den|meinen)\s+kanal|"+ r"thanks\s+for\s+watching|"+ r"thank\s+you|"+ r"vielen\s+dank|"+ r"mm-?hmm|"+ r"please\s+subscribe|"+ r"copyright\s+\d{4}|"+ r"all\s+rights\s+reserved|"+ r"www\.|https?://"+ r")\b",+ re.IGNORECASE,+)+# Common wake prefixes stripped when deriving the phrase *core* for model# lookup and canonical keyword names. The matcher may still keep an explicit# prefix when the configured phrase includes one.