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.

chore: auto-save WIP via Claude stop-hook safety net (2026-07-01 13:48)

Ruben Lütke1518e8c7478f
diff --git a/jarvis/brain/ack_brain/config.py b/jarvis/brain/ack_brain/config.py
index 214a3d54d6..dc8c15db08 100644
--- a/jarvis/brain/ack_brain/config.py
+++ b/jarvis/brain/ack_brain/config.py
@@ -97,6 +97,18 @@ class AckBrainConfig(BaseModel):
# preamble task never spawns; the grounded spawn announcement is
# unaffected. Set True to opt back into the speculative preamble.
preamble_enabled: bool = Field(default=False)
+ # GROUNDED per-tool ack (distinct from the speculative preamble above).
+ # A deterministic, LLM-free, sub-millisecond spoken line ("Okay, ich
+ # schaue in deine Mails.") emitted ONLY after the router brain has
+ # actually selected a tool call — so it is grounded in a real action,
+ # never speculative. It bridges the otherwise-silent tool-execution +
+ # readback window on a voice turn (e.g. a slow email/calendar fetch).
+ # Independent of `enabled`: it needs no LLM/provider, so it must work
+ # even when the Flash-Brain subsystem is off (keyless downloaders). The
+ # spoken text is rendered by jarvis/brain/ack_generator.py::generate_ack
+ # (skip-list-aware) and re-scrubbed at the speech layer. Set False to go
+ # back to pure silence during tool execution.
+ grounded_tool_ack: bool = Field(default=True)
# "follow_brain" mirrors cfg.brain.primary so the Flash-Brain
# naturally tracks whatever main provider the user is on. Pin to
# a concrete name (gemini/grok/openai/ollama) to override.