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(i18n): translate committed German to English in docs (isolated drain)
Ruben Lütke0fcbd0e3cb11
diff --git a/.claude/agents/docs-privacy-reviewer.md b/.claude/agents/docs-privacy-reviewer.mdindex 39628ff2f6..72176936ed 100644--- a/.claude/agents/docs-privacy-reviewer.md+++ b/.claude/agents/docs-privacy-reviewer.md@@ -26,7 +26,7 @@ You are the *semantic* half of a two-layer defence. The *deterministic* half is**(A) Real secrets / credentials** — API keys (`sk-…`, `sk-ant-…`, `AIza…`, `sk-or-…`, `ghp_/gho_/ghs_`, `AKIA…`, Twilio `AC…`+token, Slack `xox…`, Discord bot tokens, Bearer/JWT with a real payload), OAuth `client_secret`/refresh/access tokens, private keys (`-----BEGIN … PRIVATE KEY-----`), hardcoded passwords, DB connection strings with credentials, webhook URLs carrying a secret token. A real one is the most serious finding — flag it loudly.-**(B) Maintainer identity** — real name in any spelling/casing (`Ruben`/`Rubén`/`Lütke`/`Luetke`), alt name (`Harald`/`Harald Herz`), personal GitHub login (`rubenluetke10-beep`), private emails (`[email protected]`, `[email protected]`), `owner: <personal-name>` frontmatter.+**(B) Maintainer identity** — real name in any spelling/casing (`Ruben`/`Rubén`/`Lütke`/`Luetke`), alt name (`Harald`/`Harald Herz`), personal GitHub login (`rubenluetke10-beep`), private emails (`[email protected]`, `[email protected]`), `owner: <personal-name>` frontmatter. <!-- i18n-allow -->**(C) Personal filesystem / machine identifiers** — `C:\Users\Administrator\…`, personal OneDrive paths, the `C--Users-Administrator-…` memory-dir slug, Windows SID (`S-1-5-21-…`), machine/account name, internal GCP/project ids.diff --git a/.claude/skills/phase6-adr-update/SKILL.md b/.claude/skills/phase6-adr-update/SKILL.mdindex 53b72eda64..29edb1f70f 100644--- a/.claude/skills/phase6-adr-update/SKILL.md+++ b/.claude/skills/phase6-adr-update/SKILL.md@@ -70,6 +70,6 @@ This skill writes a new ADR or amends an existing ADR in the Phase-6 family. Sty## Edge cases-- **Conflict with the master plan:** the plan at `C:\Users\Administrator\.claude\plans\also-er-muss-auch-lexical-pond.md` is binding. On a conflict between the plan and a new ADR: quote the plan section and justify why the ADR deviates from it.+- **Conflict with the master plan:** the plan at `C:\Users\Administrator\.claude\plans\also-er-muss-auch-lexical-pond.md` is binding. On a conflict between the plan and a new ADR: quote the plan section and justify why the ADR deviates from it. <!-- i18n-allow -->- **Multiple ADRs at once:** if a larger block (e.g. a new sub-phase) needs multiple ADRs, create them sequentially with cross-refs.- **Retiring an ADR:** set the status to `Superseded by ADR-NNNN`, keep the content. Never delete.diff --git a/.claude/skills/ship-public-release/references/distribution-denylist.txt b/.claude/skills/ship-public-release/references/distribution-denylist.txtindex 7a3fa2d122..2e48830cc5 100644--- a/.claude/skills/ship-public-release/references/distribution-denylist.txt+++ b/.claude/skills/ship-public-release/references/distribution-denylist.txt@@ -70,7 +70,7 @@ scripts/whisperbar_live_probe.pyscripts/whisperbar_thinking_preview.py# --- Personal operational state + scratch (2026-06-19 privacy review) --------# config-soll.json is the maintainer's PRIVATE drift-guard desired-state pin+# config-soll.json is the maintainer's PRIVATE drift-guard desired-state pin # i18n-allow# (internal _reason changelog re: GCP/billing/model mandates) — a fork generates# its own. .tmp_research/ is scratch probing. Neither has downstream value.# drift-guard-task.xml is a generated Windows Task-Scheduler export carrying the@@ -194,7 +194,7 @@ voice-session-*# --- Internal pick-up / handoff prompt notes (2026-06-30) -------------------# reporttutorialpickupprompt*.md is a loose top-level "pick-up" prompt: an# internal instruction to a Claude session to run the §2 privacy review. It-# names the maintainer real name ("Ruben", "Lütke / Luetke") and enumerates the+# names the maintainer real name ("Ruben", "Lütke / Luetke") and enumerates the # i18n-allow# private categories to hunt for — the same self-leak class as# docs-privacy-reviewer.md and docs/handoffs/** already withheld above (shipping# the doc that lists what to hide IS the leak). Internal process artifact, zerodiff --git a/docs/BUGS-AUDIT-2026-05-16.html b/docs/BUGS-AUDIT-2026-05-16.htmlindex 0e658d2578..2f0d14a8f2 100644--- a/docs/BUGS-AUDIT-2026-05-16.html+++ b/docs/BUGS-AUDIT-2026-05-16.html@@ -638,10 +638,10 @@<article class="bug" data-sev="BLOCKER"><div class="bug-head"><span class="bug-id">BUG-Y-2</span><span class="bug-title">Drift-Guard auto-reverts every self-mod mutation within 5 minutes</span><span class="bug-sev">BLOCKER</span></div>- <div class="bug-loc">scripts/drift-guard-daemon.ps1 · scripts/config-soll.json</div>+ <div class="bug-loc">scripts/drift-guard-daemon.ps1 · scripts/config-soll.json</div> <!-- i18n-allow --><div class="bug-body">- <strong>Symptom.</strong> A successful voice-mutation writes <code>tts.provider</code>, audits OK, says "set" — then within 300 s the drift-guard daemon overwrites <code>jarvis.toml</code> from <code>config-soll.json</code>. Six of the eight ALLOWED self-mod paths (<code>tts.provider</code>, <code>tts.voice_*</code>, <code>brain.primary</code>, <code>stt.provider</code>) are in the daemon's enforcement set. EK-1 ("voice changes TTS provider, persists, reloads") is unachievable in production.<br><br>- <strong>Fix direction.</strong> Teach the drift-guard to update <code>config-soll.json</code> after acknowledged self-mod writes (single source of truth), or pause it during self-mod windows.+ <strong>Symptom.</strong> A successful voice-mutation writes <code>tts.provider</code>, audits OK, says "set" — then within 300 s the drift-guard daemon overwrites <code>jarvis.toml</code> from <code>config-soll.json</code>. Six of the eight ALLOWED self-mod paths (<code>tts.provider</code>, <code>tts.voice_*</code>, <code>brain.primary</code>, <code>stt.provider</code>) are in the daemon's enforcement set. EK-1 ("voice changes TTS provider, persists, reloads") is unachievable in production.<br><br> <!-- i18n-allow -->+ <strong>Fix direction.</strong> Teach the drift-guard to update <code>config-soll.json</code> after acknowledged self-mod writes (single source of truth), or pause it during self-mod windows. <!-- i18n-allow --><div class="recap">If you tell Jarvis by voice to change a setting, it changes — and then a background watchdog notices the change and undoes it, because it thinks the new value is a mistake. Both systems are doing their job; nobody told them about each other.</div></div></article>diff --git a/docs/BUGS.md b/docs/BUGS.mdindex 3b4deaf6a8..abd4bf4536 100644--- a/docs/BUGS.md+++ b/docs/BUGS.md@@ -333,7 +333,7 @@ Brain claude-api(claude-haiku-4-5-20251001) failed: 400Brain grok(grok-4.1-fast) failed: 404'The model grok-4.1-fast does not exist or your team does not haveaccess to it.'-Brain gemini(gemini-3-flash) fehlgeschlagen: 11 validation errors for+Brain gemini(gemini-3-flash) fehlgeschlagen: 11 validation errors for <!-- i18n-allow -->GenerateContentConfigtools.0.Tool.functionDeclarations.1.parameters.strictExtra inputs are not permitted [type=extra_forbidden, ...]@@ -782,7 +782,7 @@ Expected: speech unit suite green; a normal response ends with- **Verification** (2026-05-02 23:15 — performed directly):- `pytest tests/unit/tasks/` → 25/25 green.- `Invoke-WebRequest http://127.0.0.1:47821/api/tasks` (old instance- before fix): `STATUS=503 detail="TaskStoreNicht verfuegbar"` (TaskStore not available).+ before fix): `STATUS=503 detail="TaskStoreNicht verfuegbar"` (TaskStore not available). <!-- i18n-allow -->- App restart with patched code → the same endpoint:`STATUS=200 BODY={tasks:[],total:0}`.- Demo task via `POST /api/tasks {trigger:after_delay 30s, action:tool_call@@ -1555,7 +1555,7 @@ See also: `docs/anti-drift-three-layer.md` for the general pattern.HTTP 200, 268 items, distribution `{idle_timeout: 115, voice_pattern: 106,turn_complete: 20, shutdown: 15, hotkey: 12}`.- **UI verification** (Chrome screenshot via claude-in-chrome): the tab- "Transkription" now shows the full list — newest session "läuft" (running),+ "Transkription" now shows the full list — newest session "läuft" (running), <!-- i18n-allow -->next to it "Geht up" 4 turns / "Was geht ab?" 2 turns with cost,detail panel on the right with Markdown/plain-text/JSON export. Empty stategone.@@ -2166,7 +2166,7 @@ Four new tests in ``tests/unit/speech/test_turn_taking.py``:Jarvis confirms sending emails, creating calendar entries, posting to socialmedia, and other actions it has no registered capability for. The Ack-Brain-says "wird erledigt", the brain returns a phantom success response, and the TTS+says "wird erledigt", the brain returns a phantom success response, and the TTS <!-- i18n-allow -->reads a confirmation to the user. The action never happens. The user is deceived.Classic trigger example: "Send an email to Sam" → TTS plays "Die Email wurde gesendet." → No email was sent. No error was raised. No log entry indicates a failure. <!-- i18n-allow -->diff --git a/docs/JARVIS_AGENTS_HARDENING_REPORT_2026-05-27.md b/docs/JARVIS_AGENTS_HARDENING_REPORT_2026-05-27.mdindex 8e1cc34e54..f5577280f0 100644--- a/docs/JARVIS_AGENTS_HARDENING_REPORT_2026-05-27.md+++ b/docs/JARVIS_AGENTS_HARDENING_REPORT_2026-05-27.md@@ -9,7 +9,7 @@ This file is the read-once execution target for the hardening fixes.## Executive summary-The Jarvis-Agent spawning pipeline is **production-ready with caveats** — there are no critical/silent-data-loss-of-everything or crash-class defects, and the AD-OE6 zero-silent-drops invariant holds (every failure path still produces a spoken announcement). The sharpest residual risk is **deliverable artifact loss for a definable subset of filenames**: a German/bilingual assistant routinely produces umlaut filenames (`Werbungä.html`, `Lebenslauf-Müller.pdf`), and these are silently dropped from `artifacts/files/` because the archive path trusts git's `core.quotepath` octal-escaped output (`archive-newfile-octal-escape-drops-nonascii-deliverable`, HIGH); the same archive path also drops any `.gitignore`-matched deliverable name (`*.log`, `dist/*`, `*.db`) since it relies 100% on git path enumeration with no filesystem fallback (`archive-untracked-copy-relies-on-git-enumeration-not-filesystem`, MEDIUM). The next tier is **two false-failure / false-block UX defects in the spawn + critic loop**: a fast mission failure leaves the 30s spawn cooldown armed so a legitimate retry gets a false "already running" ACK (`spawn-cooldown-no-failure-reset`, MEDIUM), and edit-only tasks whose final diff is byte-identical to HEAD burn all 3 critic loops into `critic_loop_exhausted` despite valid work (`critic-empty-diff-pregate-revise-burns-all-loops-on-edit-only-tasks`, MEDIUM). The remaining findings are low-severity (a concurrent-spawn race with a one-extra-mission worst case, a latent double-readback footgun, an unreachable crash-recovery template, and diagnostic opacity on worktree-create failure). None block shipping, but the two HIGH/MEDIUM archive findings should be fixed before the umlaut-deliverable failure recurs in front of the user.+The Jarvis-Agent spawning pipeline is **production-ready with caveats** — there are no critical/silent-data-loss-of-everything or crash-class defects, and the AD-OE6 zero-silent-drops invariant holds (every failure path still produces a spoken announcement). The sharpest residual risk is **deliverable artifact loss for a definable subset of filenames**: a German/bilingual assistant routinely produces umlaut filenames (`Werbungä.html`, `Lebenslauf-Müller.pdf`), and these are silently dropped from `artifacts/files/` because the archive path trusts git's `core.quotepath` octal-escaped output (`archive-newfile-octal-escape-drops-nonascii-deliverable`, HIGH); the same archive path also drops any `.gitignore`-matched deliverable name (`*.log`, `dist/*`, `*.db`) since it relies 100% on git path enumeration with no filesystem fallback (`archive-untracked-copy-relies-on-git-enumeration-not-filesystem`, MEDIUM). The next tier is **two false-failure / false-block UX defects in the spawn + critic loop**: a fast mission failure leaves the 30s spawn cooldown armed so a legitimate retry gets a false "already running" ACK (`spawn-cooldown-no-failure-reset`, MEDIUM), and edit-only tasks whose final diff is byte-identical to HEAD burn all 3 critic loops into `critic_loop_exhausted` despite valid work (`critic-empty-diff-pregate-revise-burns-all-loops-on-edit-only-tasks`, MEDIUM). The remaining findings are low-severity (a concurrent-spawn race with a one-extra-mission worst case, a latent double-readback footgun, an unreachable crash-recovery template, and diagnostic opacity on worktree-create failure). None block shipping, but the two HIGH/MEDIUM archive findings should be fixed before the umlaut-deliverable failure recurs in front of the user. <!-- i18n-allow -->## Findings (severity-sorted)@@ -37,9 +37,9 @@ The Jarvis-Agent spawning pipeline is **production-ready with caveats** — ther- Lines 179-182: `_NEW_FILE_DIFF_HEADER_RE = re.compile(r'^diff --git (\"?)a/(?P<path>[^\"\n]+?)\1 (\"?)b/(?P=path)\3\nnew file mode', re.MULTILINE)`.- Lines 202-206: `_extract_new_file_paths_from_diff` only strips surrounding quotes (`if raw.startswith('"') and raw.endswith('"'): raw = raw[1:-1]`) — it never decodes git's C-style octal escapes.- Lines 1209-1219: the recovered paths feed `src = worktree / rel; if not src.is_file(): continue`.-- With default `core.quotepath=true`, `git diff --cached HEAD` emits `diff --git "a/Werbung\303\244.html" "b/Werbung\303\244.html"`. The regex returns the literal `Werbung\303\244.html`, so `worktree / 'Werbung\303\244.html'`.is_file() is `False` while the real file `Werbungä.html` exists. The `git ls-files --others` fallback (line 1148) is also empty because `_capture_diff` already ran `git add -A` (line 1009-1010). No `core.quotepath=false` anywhere in `jarvis/` (grep = 0 hits); the dedicated test `tests/missions/kontrollierer/test_extract_new_file_paths.py` covers ASCII names only.+- With default `core.quotepath=true`, `git diff --cached HEAD` emits `diff --git "a/Werbung\303\244.html" "b/Werbung\303\244.html"`. The regex returns the literal `Werbung\303\244.html`, so `worktree / 'Werbung\303\244.html'`.is_file() is `False` while the real file `Werbungä.html` exists. The `git ls-files --others` fallback (line 1148) is also empty because `_capture_diff` already ran `git add -A` (line 1009-1010). No `core.quotepath=false` anywhere in `jarvis/` (grep = 0 hits); the dedicated test `tests/missions/kontrollierer/test_extract_new_file_paths.py` covers ASCII names only. <!-- i18n-allow -->-**Repro.** Voice: "baue eine Werbeseite und nenne sie Werbungä.html". Mission ends APPROVED; `artifacts/files/` is empty; Outputs UI shows no deliverable; voice says generic "Mission abgeschlossen."+**Repro.** Voice: "baue eine Werbeseite und nenne sie Werbungä.html". Mission ends APPROVED; `artifacts/files/` is empty; Outputs UI shows no deliverable; voice says generic "Mission abgeschlossen." <!-- i18n-allow -->**Proposed fix (code-level).** Prefer (a) — it matches the existing `git -c core.longpaths=true` injection pattern in `worktree.py:347`. Add `'-c', 'core.quotepath=false'` to the `git diff --cached HEAD` invocation in `_capture_diff` AND to the `git ls-files --others --exclude-standard` invocation in `_archive_task_artifacts`, so git emits raw UTF-8 paths:@@ -50,7 +50,7 @@ subprocess.run(["git", "-c", "core.quotepath=false", "diff", "--cached", "HEAD"]subprocess.run(["git", "-c", "core.quotepath=false", "ls-files", "--others", "--exclude-standard"], ...)```-Add a regression fixture with a non-ASCII filename (`Werbungä.html`) to `tests/missions/kontrollierer/test_extract_new_file_paths.py` and an end-to-end archive test. (b) — decoding the octal escapes in `_extract_new_file_paths_from_diff` — is the fallback if any call site can't take the `-c` flag.+Add a regression fixture with a non-ASCII filename (`Werbungä.html`) to `tests/missions/kontrollierer/test_extract_new_file_paths.py` and an end-to-end archive test. (b) — decoding the octal escapes in `_extract_new_file_paths_from_diff` — is the fallback if any call site can't take the `-c` flag. <!-- i18n-allow -->---@@ -63,7 +63,7 @@ Add a regression fixture with a non-ASCII filename (`Werbungä.html`) to `tests/- **`double-voice-readback-listener-and-announcer-both-active` (low, voice-readback) — `missions/init.py:462-493`.** The two start-blocks are independently gated with no mutual-exclusion guard; passing both `tts_speak_fn` AND `speech_bus` produces a double announcement (announcer docstring at `announcer.py:27-29` confirms the mode). No live caller triggers it today (`server.py:1313/1318` passes `tts_speak_fn=None` + `speech_bus`), so latent footgun. **Fix:** make paths mutually exclusive in bootstrap — prefer `MissionAnnouncer` when `speech_bus` is set, skip the listener, with an explicit log line.- **`crash-recovery-rendered-as-generic-failed-not-crash-template` (low, crash-recovery) — `voice/listener.py:124-125`.** The `MissionFailed` branch never special-cases `reason=='crash_recovery'`, so it would speak raw "Grund: crash_recovery" instead of `render_crash_recovery()`. Currently **unreachable** in shipped wiring (listener requires `tts_speak_fn`, which `server.py:1313` hardcodes `None`); the active announcer maps it correctly. **Fix:** in `listener._render`, mirror the announcer's reason→phrase map (fixes ALL raw snake_case reasons, not just crash_recovery) before the generic `render_failed` fallback. Same-file class as the cooldown/race — but different module; low priority.- **`unsupported-gate-preempts-llm-on-universal-only-verbs` (low, missing-artifact) — `brain/manager.py:2082-2089,1374-1387`.** UNSUPPORTED gate runs before the LLM loop and hard-refuses utterances whose only verb is a universal-but-unseeded one (`bestell/kauf/buch/ruf/post/tweet/reserviere`). This is the intended ADR-0017 anti-hallucination design (asserted in `test_routing.py:880-915`); in strict force-spawn mode it does NOT pre-empt a spawn (force-spawn wasn't going to fire on those verbs anyway). Residual concern is narrow over-refusal of router-servable phrases. **Fix (optional):** prune `_UNIVERSAL_ACTION_VERBS` of order/buy/book-class verbs that have no router path, or make the gate the last resort after the LLM tool-choice attempt.-- **`worktree-create-failure-returns-error-no-spoken-feedback` (low, silent-drop) — `orchestrator.py:412-419`.** A worktree-create failure (200-char path cap `ValueError` from `isolation/worktree.py:114`, or git index-lock `CalledProcessError`) maps to the generic `task_error` readback ("Der Worker ist abgebrochen.") indistinguishable from a real worker crash; the git stderr / path-length cause survives only in `logger.exception` (418) and is lost from the spoken reason. NOT a silence bug (announcer still speaks). **Fix:** add a distinct `TaskOutcome.SETUP_FAILED` outcome or thread the exception text into `_fail_mission`'s reason so the readback can say "Konnte keinen Arbeitsbereich anlegen."+- **`worktree-create-failure-returns-error-no-spoken-feedback` (low, silent-drop) — `orchestrator.py:412-419`.** A worktree-create failure (200-char path cap `ValueError` from `isolation/worktree.py:114`, or git index-lock `CalledProcessError`) maps to the generic `task_error` readback ("Der Worker ist abgebrochen.") indistinguishable from a real worker crash; the git stderr / path-length cause survives only in `logger.exception` (418) and is lost from the spoken reason. NOT a silence bug (announcer still speaks). **Fix:** add a distinct `TaskOutcome.SETUP_FAILED` outcome or thread the exception text into `_fail_mission`'s reason so the readback can say "Konnte keinen Arbeitsbereich anlegen." <!-- i18n-allow -->---diff --git a/docs/LLM-CONTEXT.md b/docs/LLM-CONTEXT.mdindex 25b98e4598..acd299ad26 100644--- a/docs/LLM-CONTEXT.md+++ b/docs/LLM-CONTEXT.md@@ -17,7 +17,7 @@- **Base runtime:** Linux / macOS / Windows with Python 3.11+ and a network connection. Headless VPS + browser UI is a first-class deployment target.- **Maintainer's reference machine** (the project is developed on, but **does not require**, this hardware): RTX 5070 Ti, 32 GB RAM, CUDA 12.8, Windows 11 Pro — unlocks the optional `[desktop]` extras.- **Repo root** (maintainer's workstation; not relevant to consumers): `<USER_HOME>\Desktop\Personal Jarvis`-- **Binding plan:** `~/.claude/plans/also-er-muss-auch-lexical-pond.md` (plan wins on plan-vs-code conflict).+- **Binding plan:** `~/.claude/plans/also-er-muss-auch-lexical-pond.md` (plan wins on plan-vs-code conflict). <!-- i18n-allow -->- **Binding doctrine:** [`docs/PHILOSOPHY.md`](docs/PHILOSOPHY.md) (cloud-first; wins over the binding plan when the two disagree on hardware assumptions).---@@ -339,7 +339,7 @@ Voice/chat must never accept secrets (AP-2: STT log leak vector).- **ENV overrides** at user scope (e.g. `JARVIS__TTS__PROVIDER=grok-voice`)- `jarvis.toml` set OS read-only after edits-- `scripts/drift-guard-daemon.ps1` — Userland daemon, 5-min cron via `shell:startup` shortcut (UAC-free; Task Scheduler + ScheduledJob both elevated-only). Checks `jarvis.toml` + ENV against `scripts/config-soll.json`, fixes drift, re-locks TOML. Lock file: `logs/drift-guard-daemon.lock`. BOM-safe writes via `UTF8Encoding($false)` (BUG-018 fix).+- `scripts/drift-guard-daemon.ps1` — Userland daemon, 5-min cron via `shell:startup` shortcut (UAC-free; Task Scheduler + ScheduledJob both elevated-only). Checks `jarvis.toml` + ENV against `scripts/config-soll.json`, fixes drift, re-locks TOML. Lock file: `logs/drift-guard-daemon.lock`. BOM-safe writes via `UTF8Encoding($false)` (BUG-018 fix). <!-- i18n-allow -->---@@ -625,7 +625,7 @@ Self-mod writeup: [`docs/self_mod.md`](docs/self_mod.md) — 8 mutable settings## 23. Repo hygiene & contribution- **Output Language Policy (highest priority):** every artifact in the repo is **English** — code, comments, docstrings, Markdown, commit messages, PR titles/bodies, tests, CLI help, REST descriptions, error responses, audit logs, telemetry, UI i18n source. German stays only for the assistant's user-facing chat reply, TTS at runtime, and already-committed German content.-- **Plan vs. code:** on conflict, plan wins. Master plan binds: `~/.claude/plans/also-er-muss-auch-lexical-pond.md`. Architecture contracts: [`docs/jarvis-agents-bridge.md`](docs/jarvis-agents-bridge.md), [`docs/anti-drift-three-layer.md`](docs/anti-drift-three-layer.md).+- **Plan vs. code:** on conflict, plan wins. Master plan binds: `~/.claude/plans/also-er-muss-auch-lexical-pond.md`. Architecture contracts: [`docs/jarvis-agents-bridge.md`](docs/jarvis-agents-bridge.md), [`docs/anti-drift-three-layer.md`](docs/anti-drift-three-layer.md). <!-- i18n-allow -->- **Worktree activation checklist:** **`pwsh scripts/preflight.ps1`** before code in any new worktree. If exit non-zero, fix before proceeding (BUG-006/014, AD-UF23).- **Before larger edits:** read [`docs/BUGS.md`](docs/BUGS.md) — every recurring bug class catalogued there.- **Plugin contract:** plugin modules MUST NOT import from `jarvis.*` — structural compatibility with Protocol only. After edit: `pip install -e . --no-deps`.@@ -688,7 +688,7 @@ Neither blocks anything — but a fresh chat parroting CLAUDE.md verbatim will b- [`docs/anti-drift-three-layer.md`](docs/anti-drift-three-layer.md) — five-layer enum pattern (mandatory for any new wire-format string)- [`docs/self_mod.md`](docs/self_mod.md) — Phase 7 self-mod user guide- [`docs/obsidian-setup.md`](docs/obsidian-setup.md) — Wiki vault registration walkthrough-- `~/.claude/plans/also-er-muss-auch-lexical-pond.md` — binding master plan+- `~/.claude/plans/also-er-muss-auch-lexical-pond.md` — binding master plan <!-- i18n-allow -->- `~/.claude/projects/<your-claude-project-dir>/memory/MEMORY.md` — auto-memory with stable user preferences (multi-provider brain, no-Anthropic-API, bilingual, anti-confirmation-fatigue, frontier-quality-before-cost)---diff --git a/docs/adr/0003-task-queue-storage.md b/docs/adr/0003-task-queue-storage.mdindex 472345958d..c6f8f46ffd 100644--- a/docs/adr/0003-task-queue-storage.md+++ b/docs/adr/0003-task-queue-storage.md@@ -62,7 +62,7 @@ CREATE TABLE IF NOT EXISTS task_steps (+ A single backup job copies `jarvis.db`, and memory + tasks are consistently in it.+ No second connection pool, no second WAL file.-+ Simple join for queries like „alle Tasks, die Memory-Entries `X` produziert haben" ("all tasks that produced memory entries `X`") (via `trace_id`).++ Simple join for queries like "all tasks that produced memory entries `X`" (via `trace_id`).- Locking contention: when a RecallStore write (FTS5 trigger) is running and a task-state update is pending at the same time. Mitigation: WAL + `journal_mode=WAL` + `busy_timeout=5000` (already set).- Schema migrations have to be coordinated. Introduce by extending `jarvis/memory/schema.sql` + a migration script on the setup-wizard re-run.diff --git a/docs/adr/0009-self-healing-worker-critic.md b/docs/adr/0009-self-healing-worker-critic.mdindex a9e7563111..94fecfd9f1 100644--- a/docs/adr/0009-self-healing-worker-critic.md+++ b/docs/adr/0009-self-healing-worker-critic.md@@ -117,7 +117,7 @@ Heuristic: a mission is Phase-6-eligible if the router classifier returns `code`- Phase-6 plan: `docs/phase6-plan.md` (TBD).- Prompt chain: `docs/phase6-prompt-chain.md` (skeleton created).- Persona mandate: `Jarvis-Behavior/persona-delegation-mandate.md` §"Phase 4 — Multi-Step-Missions".-- Master plan: `<USER_HOME>\.claude\plans\also-er-muss-auch-lexical-pond.md` §"Phase 6 — Self-Healing".+- Master plan: `<USER_HOME>\.claude\plans\also-er-muss-auch-lexical-pond.md` §"Phase 6 — Self-Healing". <!-- i18n-allow -->- Existing code (NOT to be changed): `jarvis/brain/sub_jarvis.py:SubJarvisManager`.- Planned new modules: `jarvis/missions/{manager,state_machine,kontrollierer,workers,critic,isolation}/*`.- Subagents for the Phase-6 implementation: `.claude/agents/jarvis-{architect-explorer,test-runner,critic-design-reviewer}.md`.diff --git a/docs/adr/0010-output-filter-pattern-based.md b/docs/adr/0010-output-filter-pattern-based.mdindex 62dcd79179..6b52979c24 100644--- a/docs/adr/0010-output-filter-pattern-based.md+++ b/docs/adr/0010-output-filter-pattern-based.md@@ -81,7 +81,7 @@ Hyphen compounds (`Browser-Provider`, `Brain-Provider`) are preserved by lookbeh| # | Drift | Probe scenario | Pattern (code) | Action marker ||---|---|---|---|---|-| 1 | A1 „Sir" address | 03 + 07 (body) | `SIR_OPENER_RE`, `SIR_TAIL_RE` with `QUOTE_PROTECT_RE` (quote protection) | `removed_anrede_drift` |+| 1 | A1 "Sir" address | 03 + 07 (body) | `SIR_OPENER_RE`, `SIR_TAIL_RE` with `QUOTE_PROTECT_RE` (quote protection) | `removed_anrede_drift` <!-- i18n-allow --> || 2 | „Sub-Agent"/„Supervisor-Agent" | 03 + 07 + 13 | `JARGON_COMPOUNDS` + `JARGON_COMPOUND_RE` | `removed_engineering_jargon` || 3 | Tool-args YAML block (body leak) | 03 (body) | `TOOL_ARGS_YAML_KEYS` + `TOOL_ARGS_YAML_RE` | `removed_tool_json` || 4 | Post-scrub garbage fallback | 12 (DE+EN) | `MIN_MEANINGFUL_CHARS = 3` + `replaced_with_fallback_residue` | `replaced_with_fallback_residue` (in addition to prior actions) |diff --git a/docs/adr/0015-obsidian-setup-wizard.md b/docs/adr/0015-obsidian-setup-wizard.mdindex 225c2802fa..a1f55b63b6 100644--- a/docs/adr/0015-obsidian-setup-wizard.md+++ b/docs/adr/0015-obsidian-setup-wizard.md@@ -134,7 +134,7 @@ by six contracts.colour beyond the existing green/yellow/red. This is a visiblesystem-health indicator for the Obsidian connection that did notexist before; first-time users will see it transition through- yellow ("nicht registriert") to green ("verbunden") as they+ yellow ("nicht registriert" — not registered) to green ("verbunden" — connected) as they <!-- i18n-allow -->complete the walkthrough.- The Wiki-tab now does one read-only HTTP probe (`GET/api/setup/obsidian/status` and `GET /api/setup/state`) on first@@ -161,7 +161,7 @@ tray is invisible at that moment and would require a context switchthe same surface the user is already looking at.**CLI wizard (`python -m jarvis --wizard --obsidian`).** Rejected.-B9 is a UX-first feature for a Nicht-Coder user. Hiding the+B9 is a UX-first feature for a non-coder user. Hiding theonboarding behind a CLI command defeats the purpose: the user wouldneed to know the CLI flag exists, open a terminal, and run aPython module — a workflow this user does not perform. The CLIdiff --git a/docs/adr/0016-visible-feedback-contract.md b/docs/adr/0016-visible-feedback-contract.mdindex e4fa47ed5b..2c42e98975 100644--- a/docs/adr/0016-visible-feedback-contract.md+++ b/docs/adr/0016-visible-feedback-contract.md@@ -135,7 +135,7 @@ class UserVisibleFeedback(Event):- The recovery path (L2) is discoverable: any user who recovers froma lost orb once will remember the phrase. The phrase corpus isintentionally small and anchored at `^`, so false-positive risk on- general queries ("wo bist du gerade?", "weißt du wo der Bus ist?")+ general queries ("wo bist du gerade?", "weißt du wo der Bus ist?") <!-- i18n-allow -->stays low. The false-positive corpus in`tests/unit/brain/test_local_action_gate.py` documents 10intentional non-matches as a regression guard.diff --git a/docs/adr/0017-capability-coupling.md b/docs/adr/0017-capability-coupling.mdindex 613528b986..f306ab98de 100644--- a/docs/adr/0017-capability-coupling.md+++ b/docs/adr/0017-capability-coupling.md@@ -102,8 +102,8 @@ response via the same TTS path as a short reply.Deterministic response phrasing (no LLM, constant strings):-- DE: *"Das kann ich noch nicht. Mir fehlt dafür ein Werkzeug — wenn du mir- verrätst welches MCP oder welche Integration zuständig wäre, kann ich's+- DE: *"Das kann ich noch nicht. Mir fehlt dafür ein Werkzeug — wenn du mir <!-- i18n-allow -->+ verrätst welches MCP oder welche Integration zuständig wäre, kann ich's <!-- i18n-allow -->lernen."*- EN: *"I can't do that yet. I don't have a registered tool for it. Tell mewhich MCP or integration should handle it and I can learn."*@@ -115,13 +115,13 @@ in `manager.py:770-786` is replaced with `registry.render_for_prompt(lang)`.A hard rule is appended:> You must never claim to perform an action that is not listed above. If the-> user asks for one, respond with: "Das kann ich noch nicht — mir fehlt das+> user asks for one, respond with: "Das kann ich noch nicht — mir fehlt das <!-- i18n-allow -->> passende Werkzeug." Do not invent tools.**3b. Ack-Brain forbidden vocabulary** (`jarvis/brain/ack_brain/persona_prompt.py`)— extend the forbidden vocabulary with action-promise patterns:-`"mache ich"`, `"wird erledigt"`, `"ist gesendet"`, `"ist eingetragen"`,-`"kümmere mich"`, `"I'll do that"`, `"will be sent"`, `"will be scheduled"`,+`"mache ich"`, `"wird erledigt"`, `"ist gesendet"`, `"ist eingetragen"`, <!-- i18n-allow -->+`"kümmere mich"`, `"I'll do that"`, `"will be sent"`, `"will be scheduled"`, <!-- i18n-allow -->`"consider it done"`. The Ack-Brain is permitted only: acoustic acknowledgment,context-restating clarifying questions, or silence on uncertainty.@@ -191,7 +191,7 @@ contributor guide.## Alternatives Considered**Alt-A — Post-generation regex scrub (rejected).**-Scan every brain output for action-confirmation phrases ("wird erledigt",+Scan every brain output for action-confirmation phrases ("wird erledigt", <!-- i18n-allow -->"I'll send", "gesendet") and replace them with an UNSUPPORTED message. Rejectedfor three reasons: (1) false positives on valid tool-call confirmations that*do* have a registered capability; (2) requires maintaining a phrase blacklistdiff --git a/docs/agents-self-verification.md b/docs/agents-self-verification.mdindex c46f261317..d9ea59a785 100644--- a/docs/agents-self-verification.md+++ b/docs/agents-self-verification.md@@ -159,7 +159,7 @@ This is where false positives land that reviewers repeatedly flag incorrectly as| Jarvis-Agents bridge doc | `docs/jarvis-agents-bridge.md` | AD-1..AD-21, AP-OC1..OC13, test strategy || Phase-7 doc | `docsplansphase-7-self-mod/PROJEKT_KONTEXT.md` | AD-1..AD-10, AP-SM1..SM14, EK-1..EK-4 || Awareness Plan | `Jarvis Long-Term Memory/Unbenanntes Dokument (3).md` | A0–A5 specification, §10 anti-pattern register |-| Master plan | `<USER_HOME>\.claude\plans\also-er-muss-auch-lexical-pond.md` | Binding architecture document |+| Master plan | `<USER_HOME>\.claude\plans\also-er-muss-auch-lexical-pond.md` | Binding architecture document <!-- i18n-allow --> |---diff --git a/docs/architecture-overview.md b/docs/architecture-overview.mdindex 4a4e7250ae..f0ec184192 100644--- a/docs/architecture-overview.md+++ b/docs/architecture-overview.md@@ -18,7 +18,7 @@ assistant: the core pattern is **Supervisor-Agent** that dispatches work tointerchangeable harnesses (the agent-harness subprocess, Codex CLI, OpenInterpreter, MCP servers). The voice layer is just the interface.-**Master plan:** `~/.claude/plans/also-er-muss-auch-lexical-pond.md` — binding for+**Master plan:** `~/.claude/plans/also-er-muss-auch-lexical-pond.md` — binding for <!-- i18n-allow -->all design decisions. On conflict between plan and code, the plan wins; codedeviations must be documented back in the plan.diff --git a/docs/bug-019-spawn-failure-report.html b/docs/bug-019-spawn-failure-report.htmlindex b0f77bf577..8df41fe6e1 100644--- a/docs/bug-019-spawn-failure-report.html+++ b/docs/bug-019-spawn-failure-report.html@@ -89,13 +89,13 @@ throws:</p>return foundreturn name # last resort: bare name; let CreateProcess raise loud</pre>-<p>Beide Code-Pfade (Claude und Gemini) routen argv[0] durch den Helper.-Zusätzlich <code>DEFAULT_TIMEOUT_SECONDS</code> von <strong>120 s → 240 s</strong>-hochgesetzt (Gemini-Cold-Start braucht Context-Cache-Create).</p>+<p>Both code paths (Claude and Gemini) route argv[0] through the helper.+Additionally, <code>DEFAULT_TIMEOUT_SECONDS</code> was raised from <strong>120 s to 240 s</strong>+(Gemini cold start needs Context-Cache-Create).</p><div class="ok"><strong>Verifikation Schicht 1.</strong><br>-Manueller Subprocess-Repro mit aufgelöstem Pfad:+Manual subprocess repro with resolved path:<code>EXIT=0</code>, <code>STDOUT_LEN=1236</code>,<code>response="{\"v\":\"ok\"}"</code>.<br>Resolved argv[0]:diff --git a/docs/diagnostics/LATENCY_REPORT_001.md b/docs/diagnostics/LATENCY_REPORT_001.mdindex 3fbb263dd1..3d5f57055d 100644--- a/docs/diagnostics/LATENCY_REPORT_001.md+++ b/docs/diagnostics/LATENCY_REPORT_001.md@@ -137,7 +137,7 @@ real baseline data:```*Note:* the drift-guard daemon mirrors `[latency]` keys from- `scripts/config-soll.json`. If you want this to survive a drift sweep, add+ `scripts/config-soll.json`. If you want this to survive a drift sweep, add <!-- i18n-allow -->`latency.log_jsonl = true` there too. For a one-off measurement, ENV issimpler.diff --git a/docs/diagnostics/voice-overlap-2026-05-14.md b/docs/diagnostics/voice-overlap-2026-05-14.mdindex 22b2a2b6eb..3ed9f5e1a6 100644--- a/docs/diagnostics/voice-overlap-2026-05-14.md+++ b/docs/diagnostics/voice-overlap-2026-05-14.md@@ -169,7 +169,7 @@ interrupt the ack, not the other way round.| Hypothesis | Status | Why ruled out ||---|---|---|| Two LLM calls generate one combined text containing both phrases | **Ruled out** | Distinct `📢 Announcement: ...` log line and `JARVIS_SPEAKING` transition prove two *separate* text sources. Two distinct HTTP TTS calls are visible in §3. |-| Same TTS provider is called twice for the same text | **Ruled out** | The Announcement text ("Ich prüfe den Status der Spotify-App …") and the brain answer come from different LLM endpoints (Gemini Flash Lite for ack, Grok/Gemini for main brain). |+| Same TTS provider is called twice for the same text | **Ruled out** | The Announcement text ("Ich prüfe den Status der Spotify-App …") and the brain answer come from different LLM endpoints (Gemini Flash Lite for ack, Grok/Gemini for main brain). <!-- i18n-allow --> || `play_chunks` re-enters because of a barge-in restart | **Ruled out** | Barge-in calls `self._player.stop()` (line 2267) and sets `barged=True`; the calling `_speak` returns instead of issuing a second `play_chunks`. No `🛑 Barge-in` log in the offending turns. || Skill-direct-trigger emits its own ack while main brain also speaks | **Possible but secondary** | `_try_skill_direct_trigger` returns early on a hit and *replaces* the brain call — no race in that branch. But if a skill were to publish an Announcement without returning early, the same overlap mechanism would apply. Not the cause of the 19:36 turn since no skill log entry is present. || Background-completed announcement collides with active playback | **Possible adjacent bug** | `_on_background_completed` *does* call `player.stop()` before its own playback (line 1165), so that path *intentionally* interrupts. Not the source of the steady-state Flash-Brain × main-brain overlap, but the same architectural gap (no per-player mutex) means a long-running playback can still be cut off mid-sentence by a Background-completed event. |diff --git a/docs/handoffs/report-tutorial-review-answers.md b/docs/handoffs/report-tutorial-review-answers.mdindex 934fef7c5e..b1ca1fba47 100644--- a/docs/handoffs/report-tutorial-review-answers.md+++ b/docs/handoffs/report-tutorial-review-answers.md@@ -124,10 +124,10 @@ logs, transcripts, or example API responses with secrets.### 9. Per-category search results (every hit with evidence)-**Maintainer real name (Lütke / Luetke + first name)**-- Surname "Ruben Lütke": **only in pixels** of `video/public/shot-github.png`+**Maintainer real name (Lütke / Luetke + first name)** <!-- i18n-allow -->+- Surname "Ruben Lütke": **only in pixels** of `video/public/shot-github.png` <!-- i18n-allow -->(contributor list). **Zero** hits as text in any tracked `video/` file- (full-text scan of all tracked non-binary files returned no `Lütke`/`Luetke`;+ (full-text scan of all tracked non-binary files returned no `Lütke`/`Luetke`; <!-- i18n-allow -->the one `luetke` match was a false positive — "queue-microtask" in`video/package-lock.json:4264`).- First name "Ruben": text in 11 tracked files — `video/vo-script.json:15,16,53`@@ -166,7 +166,7 @@ and that screenshot is not used in the film.)### 10. Screenshots / images — do they show secrets?-- `video/public/shot-github.png` — **shows the real name "Ruben Lütke" + login+- `video/public/shot-github.png` — **shows the real name "Ruben Lütke" + login <!-- i18n-allow -->"rubenluetke10-beep"** (contributor list). **Appears in the film** (CreatorIntro,`video/src/intro/onboarding/scenes/CreatorIntro.tsx:29`, displayed near nativewidth → readable at 4K). **Primary finding.**@@ -235,9 +235,9 @@ ship gate **never exports or scans it** — it is cut at step 1 (tracked-files-o+ the denylist. So the scanner output for these files is "not shipped", by design.Applying the `pii-scrub.tsv` rules **manually** to the tracked *text* would mask:-- `Ruben Lütke` → `Personal Jarvis Maintainer`+- `Ruben Lütke` → `Personal Jarvis Maintainer` <!-- i18n-allow -->- `Ruben` → `Alex` (e.g. `video/vo-script.json:15,16,53`)-- `Lütke` → `Maintainer`+- `Lütke` → `Maintainer` <!-- i18n-allow -->- `rubenluetke10-beep` → `octocat`- `[email protected]` → **block-only** (would block a ship if it appearedin a non-exempt shipping file)diff --git a/docs/jarvis-agents-bridge.md b/docs/jarvis-agents-bridge.mdindex f3cc9a6f34..6075257fd1 100644--- a/docs/jarvis-agents-bridge.md+++ b/docs/jarvis-agents-bridge.md@@ -449,7 +449,7 @@ Full list of all code paths that are migrated or deleted in Wave 4 (phases 6-10- OpenClaw repo: https://github.com/openclaw/openclaw- OpenClaw website: https://openclaw.ai/- Peter Steinberger's blog post: https://steipete.me/posts/2026/openclaw-- Jarvis plan: `<USER_HOME>\.claude\plans\also-er-muss-auch-lexical-pond.md` §22 (historical Sub-Jarvis-tier plan, superseded by this doc)+- Jarvis plan: `<USER_HOME>\.claude\plans\also-er-muss-auch-lexical-pond.md` §22 (historical Sub-Jarvis-tier plan, superseded by this doc) <!-- i18n-allow -->- ADR-0009 Self-Healing-Worker-Critic- ADR-0011 Router-Discipline (amended in Wave 4)- CLAUDE.md (Phase-5/6 status, plugin system, streaming, event bus — the Phase-5 Sub-Jarvis section is rewritten in Drift-Edit #2)diff --git a/docs/jarvis-agents-spawn-failure-analysis-2026-05-18.md b/docs/jarvis-agents-spawn-failure-analysis-2026-05-18.mdindex 3ad5d1b90f..993814c09e 100644--- a/docs/jarvis-agents-spawn-failure-analysis-2026-05-18.md+++ b/docs/jarvis-agents-spawn-failure-analysis-2026-05-18.md@@ -34,7 +34,7 @@ Read-first, then hypothesis. Source per finding:| [`../sub-agents-outputs/mission_019e3c51-d4f4/`](file:///<USER_HOME>/Desktop/sub-agents-outputs/mission_019e3c51-d4f4/) | Previous failed mission, identical pattern || `codex login status` | Live-CLI auth check || `jarvis/core/config.load_config()` | Which provider is currently configured |-| [`scripts/config-soll.json`](file:///<USER_HOME>/Desktop/Personal%20Jarvis/scripts/config-soll.json) | Drift-Guard target value |+| [`scripts/config-soll.json`](file:///<USER_HOME>/Desktop/Personal%20Jarvis/scripts/config-soll.json) | Drift-Guard target value <!-- i18n-allow --> || [`jarvis/missions/kontrollierer/decomposer.py`](file:///<USER_HOME>/Desktop/Personal%20Jarvis/jarvis/missions/kontrollierer/decomposer.py) | Decomposer defaults || [`jarvis/missions/workers/codex_direct_worker.py`](file:///<USER_HOME>/Desktop/Personal%20Jarvis/jarvis/missions/workers/codex_direct_worker.py) | Worker model routing |@@ -109,7 +109,7 @@ Categorized by evidence level. File + line + evidence snippet.| # | Area | Note ||---|---|---|| **P1** | OpenClaw slug mapping does not know `chatgpt` | [`provider_map.py`](file:///<USER_HOME>/Desktop/Personal%20Jarvis/jarvis/missions/openclaw/provider_map.py) lists only claude-api/gemini/grok/openai/openrouter. If someone accidentally calls `spawn_openclaw` directly instead of using CodexDirectWorker → `UnknownJarvisProviderError`. |-| **P2** | Drift-Guard rolls the provider back | [`scripts/jarvis-config-drift-guard.ps1`](file:///<USER_HOME>/Desktop/Personal%20Jarvis/scripts/jarvis-config-drift-guard.ps1) + [`scripts/config-soll.json`](file:///<USER_HOME>/Desktop/Personal%20Jarvis/scripts/config-soll.json) | Both are now in sync on `chatgpt` — BUT if a Drift-Guard runs on ANOTHER machine with an old target value, it could roll back. Not currently observed. |+| **P2** | Drift-Guard rolls the provider back | [`scripts/jarvis-config-drift-guard.ps1`](file:///<USER_HOME>/Desktop/Personal%20Jarvis/scripts/jarvis-config-drift-guard.ps1) + [`scripts/config-soll.json`](file:///<USER_HOME>/Desktop/Personal%20Jarvis/scripts/config-soll.json) | Both are now in sync on `chatgpt` — BUT if a Drift-Guard runs on ANOTHER machine with an old target value, it could roll back. Not currently observed. <!-- i18n-allow --> || **P3** | CODEX_HOME env leak | [`env.py:89`](file:///<USER_HOME>/Desktop/Personal%20Jarvis/jarvis/missions/isolation/env.py) | `build_worker_env` sets `CODEX_HOME=<run_dir>/.codex` but `CodexDirectWorker` strips it (Welle 6 fix). If someone uses the old `CodexWorker` (non-Direct), the bug comes back. || **P4** | Sandbox mode wrong for Codex-Codex | [`codex_direct_worker.py:50`](file:///<USER_HOME>/Desktop/Personal%20Jarvis/jarvis/missions/workers/codex_direct_worker.py) default `sandbox="workspace-write"` | Works, but if the worker step sets `step.allowed_tools` that contains `Write` AND the `step.sandbox` override says Read-Only somewhere, it fails silently with "workspace is currently mounted read-only" (already seen once live today). || **P5** | MCP-plugin Cloudflare OAuth expired | `~/.codex/config.toml` | If the user config is loaded (the worker does that), and the Cloudflare plugin's OAuth token is expired → stderr spam but the worker still runs through. The Critic strips the user config, so no issue there. |@@ -122,7 +122,7 @@ Categorized by evidence level. File + line + evidence snippet.| **R1** | OAuth token expired | `codex login status` → "Logged in using ChatGPT" || **R2** | OPENAI_API_KEY ENV overrides OAuth | Explicitly stripped in worker code ([`codex_direct_worker.py:179-184`](file:///<USER_HOME>/Desktop/Personal%20Jarvis/jarvis/missions/workers/codex_direct_worker.py)) || **R3** | ANTHROPIC_API_KEY hits Codex | Worker ENV contains no Anthropic key (build_worker_env only sets explicitly) |-| **R4** | `[brain.sub_jarvis].provider` wrong | TOML + config-soll.json both on `chatgpt` — Drift-Guard accepts |+| **R4** | `[brain.sub_jarvis].provider` wrong | TOML + config-soll.json both on `chatgpt` — Drift-Guard accepts <!-- i18n-allow --> || **R5** | `chatgpt` provider is not recognized as Codex | [`init.py`](file:///<USER_HOME>/Desktop/Personal%20Jarvis/jarvis/missions/init.py) routes `chatgpt → CodexDirectWorker` correctly; in the logs we see Codex frames, so the worker choice is OK || **R6** | Codex CLI not installed | `codex --version` → `codex-cli 0.130.0` || **R7** | Worker tool-use detection broken | Not relevant — the bug fires BEFORE any tool use |@@ -208,7 +208,7 @@ fallback_model = "gemini-3.1-pro-preview"``````json-// scripts/config-soll.json+// scripts/config-soll.json <!-- i18n-allow -->"brain.sub_jarvis": {"provider": "chatgpt","model": "",diff --git a/docs/local-wakeword/CUSTOM-WAKE-WORD-DESIGN.md b/docs/local-wakeword/CUSTOM-WAKE-WORD-DESIGN.mdindex 4a497142a4..020b3be59e 100644--- a/docs/local-wakeword/CUSTOM-WAKE-WORD-DESIGN.md+++ b/docs/local-wakeword/CUSTOM-WAKE-WORD-DESIGN.md@@ -128,10 +128,10 @@ three layers at once (mirroring `config_writer.set_brain_primary`):1. `jarvis.toml` `[trigger.wake_word]` (via `config_writer`, lock + tempfile + BOM-safe).2. `scripts/config-soll.json` `trigger.wake_word.*` (so the drift-guard *protects* the user's- choice against rogue parallel sessions instead of reverting it).+ choice against rogue parallel sessions instead of reverting it). <!-- i18n-allow -->3. `JARVIS__TRIGGER__WAKE_WORD__*` User-scope ENV (boot-override consistency).-All three are **best-effort / graceful**: a missing `config-soll.json` or a non-Windows host+All three are **best-effort / graceful**: a missing `config-soll.json` or a non-Windows host <!-- i18n-allow -->(no registry) is a no-op, never an exception — the live switch that already succeeded mustnot be undone by a persistence hiccup.diff --git a/docs/persona-refactor-results.md b/docs/persona-refactor-results.mdindex 4d6901b433..a570c0bbce 100644--- a/docs/persona-refactor-results.md+++ b/docs/persona-refactor-results.md@@ -68,9 +68,9 @@ with the filter extension). Both runs against the same provider stack# Klassisch"grossartige frage", "tolle frage", "als ki", "als sprachmodell", "ich hoffe, das hilft",# Echo-Paraphrase (Phase 2)-"du möchtest also", "ich verstehe, dass", "if i understand correctly", "you'd like me to",+"du möchtest also", "ich verstehe, dass", "if i understand correctly", "you'd like me to", # i18n-allow# Hedging (Phase 2)-"ich glaube", "vermutlich", "möglicherweise", "i think", "perhaps", "i believe",+"ich glaube", "vermutlich", "möglicherweise", "i think", "perhaps", "i believe", # i18n-allow# Filler-Selbstreferenz (Phase 2)"lass mich kurz", "let me think",# Polster (Phase 2)@@ -166,7 +166,7 @@ A strict interpretation as a hard disjoint set vs. a pragmatic interpretation as### F-14: Mandate DE verb list vs. force-spawn RE discrepancy-The mandate explicitly names "lies, schreibe, baue, installiere, öffne." The current `_FORCE_SPAWN_RE` covered only repair verbs (`umsetz`, `reparier`, `fix`, `implementier`, `refactor`, `debug`). Plus: `mach` was missing entirely.+The mandate explicitly names "lies, schreibe, baue, installiere, öffne." <!-- i18n-allow --> The current `_FORCE_SPAWN_RE` covered only repair verbs (`umsetz`, `reparier`, `fix`, `implementier`, `refactor`, `debug`). Plus: `mach` was missing entirely.**Resolution:** Phase-3 commit `c71fbad7` extracted the verb list into `BrainRoutingConfig.spawn_verbs` and added 16 additional verbs + EN equivalents.@@ -192,7 +192,7 @@ Source: mandate § "Definition of Done."|---|---|---|---|| 1 | `pytest -v` passes, no regressions vs. the pre-refactor baseline | ☑ | 89 Phase-1–5 tests green; 8 pre-existing failures forensically verified on `e94a17aa` (BOM/Conductor/Skill/Router-Policy/Vision-Config). The stop condition "> 5" does not apply. || 2 | `python -m jarvis` starts without error | ☐ | Branch bug F-10 (`jarvis.clis.risk_integration` missing). Not caused by the refactor. Precondition: stash pop or a targeted module fix. |-| 3 | `voice_e2e_probe`: 0 anti-pattern hits | ☑ | Probe v2 shows 0 hits (1 before with `möglicherweise`). |+| 3 | `voice_e2e_probe`: 0 anti-pattern hits | ☑ | Probe v2 shows 0 hits (1 before with `möglicherweise`). | <!-- i18n-allow -->| 4 | `voice_e2e_probe`: name ratio ≤ 33 % | ☑ | 15 % in probe v2. || 5 | `voice_e2e_probe`: hangup contract green | ☐ | Branch bug F-9 (persona_loader missing). JARVIS_PERSONA.md does not reach the prompt. || 6 | All 13 scenarios show the expected pattern | ◐ | 11/13 fulfilled. Edge cases: 07 filter-empty-output (acceptable), 12 `<function_calls>` leak (F-11, deferred). |@@ -308,7 +308,7 @@ None of this is within the mandate Phase-1–6 scope. It should be approached as| # | Drift | Wave | Pattern | Test ||---|---|---|---|---|-| 1 | A1 "Sir" address | 1 | `SIR_OPENER_RE`, `SIR_TAIL_RE` + `QUOTE_PROTECT_RE` | `test_sir_anrede_is_removed` × 2 + `test_legitimate_sir_in_quote_is_kept` |+| 1 | A1 "Sir" address | 1 | `SIR_OPENER_RE`, `SIR_TAIL_RE` + `QUOTE_PROTECT_RE` | `test_sir_anrede_is_removed` × 2 + `test_legitimate_sir_in_quote_is_kept` | <!-- i18n-allow -->| 2 | Sub-agent/supervisor-agent compounds | 1 | `JARGON_COMPOUNDS` + `JARGON_COMPOUND_RE` | `test_sub_agent_jargon_is_removed`, `test_supervisor_agent_jargon_is_removed` || 3 | Tool-args YAML body leak | 1 | `TOOL_ARGS_YAML_RE` with tool-arg keys | `test_tool_args_yaml_block_is_removed` || 4 | Post-scrub garbage fallback | 1 | `MIN_MEANINGFUL_CHARS = 3` + `replaced_with_fallback_residue` | `test_post_scrub_residue_triggers_fallback`, `test_post_scrub_meaningful_text_no_fallback` |@@ -404,7 +404,7 @@ The persona refactor is thus at the state that the user can accept or mark as "b### 11.2 Caveat: pywinauto missing on production hardware-Stderr output during the probe: `pywinauto nicht installiert — UIA-Tree leer` ("pywinauto not installed — UIA tree empty"). The UIATreeSource falls back to no-op in fallback mode (nodes=0, window_title empty). The measured latency therefore reflects the engine overhead, not the real UIA-tree-pruning path.+Stderr output during the probe: `pywinauto nicht installiert — UIA-Tree leer` ("pywinauto not installed — UIA tree empty"). <!-- i18n-allow --> The UIATreeSource falls back to no-op in fallback mode (nodes=0, window_title empty). The measured latency therefore reflects the engine overhead, not the real UIA-tree-pruning path.Implications:- **Production path without pywinauto:** `get_active_window_hint()` returns `None` (because neither window_title nor active_pid is available, see `test_no_window_no_pid_returns_none`). Spawn runs without a hint — functionally correct, since Phase 5 is explicitly opt-in (default OFF).@@ -440,21 +440,21 @@ Three data points: **step-0 probe (2026-04-28 ~16:00)** before today's work, **r| ID | Tag | Step 0 (before) | Final (after) | Success? ||---|---|---|---|---|-| 01 | routine-status | "Ich kann den Dateistatus nicht direkt einsehen — welche Datei und in welchem Programm?" | "Das Bild zeigt mir, was auf deinem Bildschirm zu sehen ist — ich benötige einen Screenshot, um den Speicherstatus der aktiven Datei zu prüfen." | ◐ answer substantial, no "Sir", no tool-JSON leak |-| 02 | formal-greeting | "Guten Morgen, Alex. Es ist kurz nach 16 Uhr — eher ein guter Nachmittag." | "Guten Morgen — was liegt an?" | ☑ formal, terse |-| 03 | open-question | **"Sir, ich starte einen Sub-Agent, der die Beschleunigung … analysiert.**\nutterance:…\ncontext_hints:…\naction:…\ntarget:…" | "Was möchtest du beschleunigen?" | ☑ **A1 + tool-args leak completely fixed** |-| 04 | risky-command | "I need to know where to look. Welche Logs meinst du …" (mixed-language) | "Welche Logs meinst du — Windows Event Logs, eine bestimmte App, oder Logdateien in einem Ordner?" | ☑ single-language, clear clarifying question |-| 05 | reckless-action | "Verstanden. Nur zur Sicherheit: kein Rollback-Plan, keine Tests …" | "Tapfer." | ☑ dry anchor (P5) |-| 06 | proactive-context | "I don't have access to live weather data right now …" (mixed-language) | "Ich habe keinen Zugriff auf deinen Standort oder Wetterdaten in Echtzeit — sag mir wo du bist, dann such ich's kurz nach." | ☑ single-language, but formal-"Sie" drift (1) |-| 07 | long-task-start | **"Sir, ich starte einen Sub-Agent, der das gesamte Projektverzeichnis analysiert."** | (brain empty content → filter fallback) "Es trat ein Fehler auf." | ◐ filter fallback instead of an initiative announcement; A1 fixed |+| 01 | routine-status | "Ich kann den Dateistatus nicht direkt einsehen — welche Datei und in welchem Programm?" | "Das Bild zeigt mir, was auf deinem Bildschirm zu sehen ist — ich benötige einen Screenshot, um den Speicherstatus der aktiven Datei zu prüfen." | ◐ answer substantial, no "Sir", no tool-JSON leak | <!-- i18n-allow -->+| 02 | formal-greeting | "Guten Morgen, Alex. Es ist kurz nach 16 Uhr — eher ein guter Nachmittag." | "Guten Morgen — was liegt an?" | ☑ formal, terse | <!-- i18n-allow -->+| 03 | open-question | **"Sir, ich starte einen Sub-Agent, der die Beschleunigung … analysiert.**\nutterance:…\ncontext_hints:…\naction:…\ntarget:…" | "Was möchtest du beschleunigen?" | ☑ **A1 + tool- <!-- i18n-allow -->args leak completely fixed** |+| 04 | risky-command | "I need to know where to look. Welche Logs meinst du …" (mixed-language) | "Welche Logs meinst du — Windows Event Logs, eine bestimmte App, oder Logdateien in einem Ordner?" | ☑ <!-- i18n-allow --> single-language, clear clarifying question |+| 05 | reckless-action | "Verstanden. Nur zur Sicherheit: kein Rollback-Plan, keine Tests …" | "Tapfer." | ☑ dry anchor (P5) | <!-- i18n-allow -->+| 06 | proactive-context | "I don't have access to live weather data right now …" (mixed-language) | "Ich habe keinen Zugriff auf deinen Standort oder Wetterdaten in Echtzeit — sag mir wo du bist, dan <!-- i18n-allow -->n such ich's kurz nach." | ☑ single-language, but formal-"Sie" drift (1) |+| 07 | long-task-start | **"Sir, ich starte einen Sub-Agent, der das gesamte Projektverzeichnis analysiert."** | (brain empty content → filter fallback) "Es trat ein Fehler auf." | ◐ filter fallback i <!-- i18n-allow -->nstead of an initiative announcement; A1 fixed || 08 | bad-news | "I need more context to answer that …" (mixed-language) | "screen_snapshot" | ☐ tool name as a bare answer — new drift symptom |-| 09 | high-pressure | "Womit kann ich dir jetzt sofort helfen — soll ich eine Datei öffnen, den Bildschirm vorbereiten oder etwas anderes?" | "Was soll ich tun — aufmachen, aufräumen, auf Vollbild schalten?" | ☑ terser, register holds |+| 09 | high-pressure | "Womit kann ich dir jetzt sofort helfen — soll ich eine Datei öffnen, den Bildschirm vorbereiten oder etwas anderes?" | "Was soll ich tun — aufmachen, aufräumen, auf Vollbild sc <!-- i18n-allow -->halten?" | ☑ terser, register holds || 10 | hangup | "Auf Wiedersehen, Alex." | "Bis dann." (in the 18:54 run), **"Auf Wiedersehen, Alex."** in the 19:17 run | ☑ **hangup contract fixed via persona_loader reactivation** || 11 | echo-trap (DE) | "Es ist 16 Uhr 01." | "Es ist 19:47 Uhr (MEZ)." | ☑ direct, no echo opener || 11 | echo-trap (EN) | "It's 4:01 PM." | "It's whatever time your system clock shows; I don't have direct access …" | ◐ no echo opener, but hedging || 12 | tool-spawn-output-leak (DE) | post-filter `}` (filter garbage) | `read_file {"path": "jarvis.toml"}` tool call leaked through | ◐ no YAML body leak anymore, but the tool name `read_file` is not in `TOOL_NAMES` |-| 12 | tool-spawn-output-leak (EN) | post-filter `}` | "jarvis.toml ist auf dem System nicht auffindbar … Hast du den genauen Pfad?" | ☑ direct answer without tool args |-| 13 | self-reference-trap (DE) | "Dein persönlicher **Supervisor-Agent** — ich erledige Aufgaben …" | "Jarvis. Dein Meta-Orchestrator auf diesem Rechner — ich route, delegiere, und halte dir den Kram vom Hals." | ☑ **engineering compound scrubbed** (filter action: removed_engineering_jargon) |+| 12 | tool-spawn-output-leak (EN) | post-filter `}` | "jarvis.toml ist auf dem System nicht auffindbar … Hast du den genauen Pfad?" | ☑ direct answer without tool args | <!-- i18n-allow -->+| 13 | self-reference-trap (DE) | "Dein persönlicher **Supervisor-Agent** — ich erledige Aufgaben …" | "Jarvis. Dein Meta-Orchestrator auf diesem Rechner — ich route, delegiere, und halte dir den Kram <!-- i18n-allow --> vom Hals." | ☑ **engineering compound scrubbed** (filter action: removed_engineering_jargon) || 13 | self-reference-trap (EN) | "A voice-driven personal assistant running on your Windows 11 machine. Think Alfred, but with a terminal." | "I'm JARVIS, your meta-orchestrator, Alex — voice interface, screen awareness, and a roster of tools and sub-agents at your disposal." | ☑ persona identity, no language-model reveal |**Outputs summary:** A1 fixed (Sir → none), tool-args body leak gone, engineering compounds scrubbed, hangup green. The remaining ☐/◐ are no longer mandate drifts, but brain volatility (mixed-language mitigated; the tool name `read_file` as a new edge case not in the blacklist).@@ -464,7 +464,7 @@ Three data points: **step-0 probe (2026-04-28 ~16:00)** before today's work, **r| State | 5-smalltalk spawn count | Evidence ||---|---|---|| **Before** (before 2026-04-25) | presumed 5/5 (spawn reflex on every Hello) | indirectly from 6 empty probe outputs in `docs/persona-research.md` section 1.3 of 2026-04-28 |-| **After** (post-Phase-3) | **0/5 deterministically** | `tests/unit/brain/test_routing.py::test_smalltalk_dispatches_zero_spawn_calls` × 5 + `test_smalltalk_does_not_force_spawn` × 5 — each green without a mock LLM. The heuristic does not trigger for `Hallo`/`Wie geht's?`/`Was ist die Hauptstadt von Frankreich?`/`Danke`/`Auf Wiedersehen` |+| **After** (post-Phase-3) | **0/5 deterministically** | `tests/unit/brain/test_routing.py::test_smalltalk_dispatches_zero_spawn_calls` × 5 + `test_smalltalk_does_not_force_spawn` × 5 — each green wit <!-- i18n-allow -->hout a mock LLM. The heuristic does not trigger for `Hallo`/`Wie geht's?`/`Was ist die Hauptstadt von Frankreich?`/`Danke`/`Auf Wiedersehen` |### 12.3 Anti-pattern hit statisticsdiff --git a/docs/persona-research.md b/docs/persona-research.mdindex c2c5d6dd76..63ddb22964 100644--- a/docs/persona-research.md+++ b/docs/persona-research.md@@ -20,7 +20,7 @@**Material inspection of the verbatim outputs:** ⚠️ **several drift classes visible** that the probe heuristic does not catch:1. **A1 violated:** Scenarios 03 + 07 say *"Sir, ich starte einen Sub-Agent…"* — the word "Sir" is a mandate-A1 violation (`JARVIS_PERSONA.md:32-33` forbids it explicitly). <!-- i18n-allow -->2. **Tool-output leak:** Scenario 03 leaks the Jarvis-Agent args (`utterance`, `context_hints`, `action`, `target`) verbatim to the user.-3. **Jarvis-Agent echo opener:** *"Sir, ich starte einen Sub-Agent, der die Beschleunigung einer unklaren Aufgabe analysiert."* tells **how** delegation happens instead of **what** happens (engineering reveal).+3. **Jarvis-Agent echo opener:** *"Sir, ich starte einen Sub-Agent, der die Beschleunigung einer unklaren Aufgabe analysiert."* <!-- i18n-allow --> tells **how** delegation happens instead of **what** happens (engineering reveal).4. **Filter artifact:** Scenario 12 delivers, post-scrub, only `}` (no fallback trigger, empty content).5. **Mixed-language drift:** Scenarios 04, 06, 08 answer **in English** to **German** inputs (`I need to know…`, `I don't have access…`).6. **The `ECHO-PARAPHRASE` section is missing in the live prompt:** the probe reports `Enthaelt 'ECHO-PARAPHRASE': False` — the `persona_loader` is not present on this branch, so the `JARVIS_PERSONA.md` section never lands in the brain system prompt at all.@@ -247,7 +247,7 @@ The mandate-phase-4 spec requires:### 5.1 Master Plan §22 vs. Code State-| Point | Master plan §22 (`also-er-muss-auch-lexical-pond.md:1604+`) | Code state 2026-04-28 |+| Point | Master plan §22 (`also-er-muss-auch-lexical-pond.md:1604+`) | Code state 2026-04-28 | <!-- i18n-allow -->|---|---|---|| Four router tools | `screen_snapshot`, `multi_spawn`, `spawn_sub_jarvis`, `run_shell` (l. 1617) | **6 tools** + 3 self-mod tools (Phase 7.3) → 9 effective in the router tier || Jarvis-Agent stateless, hard cap 30 min | l. 1616 | ✅ implemented (`sub_jarvis/manager.py`) |@@ -310,7 +310,7 @@ Both documents address the same bug (every Hello command spawns a subprocess), b| Mandate point | Master plan | Conflict? ||---|---|---|-| A1 (Alex instead of Sir) | the master-plan path `also-er-muss-auch-lexical-pond.md` references no "Sir/Alex" requirement; `JARVIS_PERSONA.md:33` says "never 'Sir'" explicitly. | ✅ the mandate matches the code state and overrides the then-current "Sir" manifesto. |+| A1 (Alex instead of Sir) | the master-plan path `also-er-muss-auch-lexical-pond.md` references no "Sir/Alex" requirement; `JARVIS_PERSONA.md:33` says "never 'Sir'" explicitly. | ✅ the mandate matche <!-- i18n-allow -->s the code state and overrides the then-current "Sir" manifesto. || Phase 3: EXACTLY four router tools | master plan §22 l. 1617 says **four tools**. | ✅ the original requirement; later phases 7+8 extend it deliberately. || Phase 5: vision anticipation opt-in | the master-plan vision (`vision/`) is the Phase-5 foundation, default-off — matches. | ✅ no conflict. |@@ -365,7 +365,7 @@ C) **Full mandate:** you decide the mandate should run despite the formal pass.| 11 | `docs/adr/0010-output-filter-pattern-based.md` + `0011-router-pure-dispatcher.md` | ✅ full (two ADRs, ~70 lines each) |**Additionally read for the conflict analysis:**-- `<USER_HOME>\.claude\plans\also-er-muss-auch-lexical-pond.md` §22 (l. 1602-1644)+- `<USER_HOME>\.claude\plans\also-er-muss-auch-lexical-pond.md` §22 (l. 1602-1644) <!-- i18n-allow -->- `jarvis/core/config.py` `BrainRoutingConfig` (l. 138-195)- `docs/persona-refactor-results.md` (for the before state of 2026-04-25)diff --git a/docs/phase2-integration-test-results.md b/docs/phase2-integration-test-results.mdindex 667a422eb2..0fbf016346 100644--- a/docs/phase2-integration-test-results.md+++ b/docs/phase2-integration-test-results.md@@ -2,7 +2,7 @@**Date**: 2026-04-21**Test runner**: main model (without sub-agents, direct implementation)-**Plan reference**: `<USER_HOME>\.claude\plans\also-er-muss-auch-lexical-pond.md` §20+**Plan reference**: `<USER_HOME>\.claude\plans\also-er-muss-auch-lexical-pond.md` §20 <!-- i18n-allow -->---diff --git a/docs/phase5-integration-test-results.md b/docs/phase5-integration-test-results.mdindex 3446718c98..313b793b06 100644--- a/docs/phase5-integration-test-results.md+++ b/docs/phase5-integration-test-results.md@@ -1,7 +1,7 @@# Phase 5 — Integration Test Report**Date:** 2026-04-22-**Plan reference:** `.claude/plans/also-er-muss-auch-lexical-pond.md` §21 (new)+**Plan reference:** `.claude/plans/also-er-muss-auch-lexical-pond.md` §21 (new) <!-- i18n-allow -->**Mandate:** `Aufgaben/Unbenanntes Dokument (1).md`**Architecture decisions:** `docs/adr/0001` through `docs/adr/0008`**Research pass:** `docs/phase5-research.md`diff --git a/docs/phase5-research.md b/docs/phase5-research.mdindex 5be497776d..64938d73f7 100644--- a/docs/phase5-research.md+++ b/docs/phase5-research.md@@ -1,7 +1,7 @@# Phase 5 — Research pass**Date:** 2026-04-22-**Plan reference:** `.claude/plans/also-er-muss-auch-lexical-pond.md` §9-Phase-5, §20 (builder pattern)+**Plan reference:** `.claude/plans/also-er-muss-auch-lexical-pond.md` §9-Phase-5, §20 (builder pattern) <!-- i18n-allow -->**Mandate:** `Aufgaben/Unbenanntes Dokument (1).md`**Author context:** Code scan of phases 0–4, no changes made.diff --git a/docs/phase6-handoff-2026-04-26.md b/docs/phase6-handoff-2026-04-26.mdindex 9231c41f96..cd2a23ee4a 100644--- a/docs/phase6-handoff-2026-04-26.md+++ b/docs/phase6-handoff-2026-04-26.md@@ -85,4 +85,4 @@ The prompt chain is **complete** — all 5 prompts implemented. The next steps a- `<USER_HOME>\.claude\plans\glistening-wobbling-owl.md` (Phase 6 tooling bootstrap)- `<USER_HOME>\.claude\plans\phase6-critic-loop-plan.md` (Prompt 3)- `<USER_HOME>\.claude\plans\phase6-safety-voice-cleanup-plan.md` (Prompt 5)-- Master plan: `<USER_HOME>\.claude\plans\also-er-muss-auch-lexical-pond.md`+- Master plan: `<USER_HOME>\.claude\plans\also-er-muss-auch-lexical-pond.md` <!-- i18n-allow -->diff --git a/docs/plans/b3/00-OVERVIEW.md b/docs/plans/b3/00-OVERVIEW.mdindex dc3672f6e8..cbd2621b15 100644--- a/docs/plans/b3/00-OVERVIEW.md+++ b/docs/plans/b3/00-OVERVIEW.md@@ -214,7 +214,7 @@ export function useWikiLive(): { connected: boolean; lastEventAt: number | null| **AP-4** | Don't add network calls inside the voice critical path. | B3 is a UI tab. The user can have it open or not. Never block voice on a UI-tab subscription. || **AP-5** | Don't mock SQLite / the file system in integration tests. | Use real temp directories. BUG-008 came back twice from mocked tests masking drift. || **AP-6** | Don't introduce a new EventBus instance. | Reuse the bus the server already passes via `app.state.bus`. |-| **AP-7** | Don't write user-facing strings in German inside *code* (comments, docstrings, log messages, exception messages, error responses). | Project Output Language Policy. **Exception:** rendered Markdown content comes from the vault verbatim, which is in whatever language the user dictated — that is *content*, not code. The mockup also shows German labels in the *UI strings* (button captions, section headers) — those follow the existing `MemoryView.tsx` precedent and stay German. The distinction is `console.log("Loading tree")` (English) vs `<button>In Obsidian öffnen</button>` (German UI string, allowed). |+| **AP-7** | Don't write user-facing strings in German inside *code* (comments, docstrings, log messages, exception messages, error responses). | Project Output Language Policy. **Exception:** rendered Markdown content comes from the vault verbatim, which is in whatever language the user dictated — that is *content*, not code. The mockup also shows German labels in the *UI strings* (button captions, section headers) — those follow the existing `MemoryView.tsx` precedent and stay German. The distinction is `console.log("Loading tree")` (English) vs `<button>In Obsidian öffnen</button>` (German UI string, allowed). <!-- i18n-allow: historical AP-7 exception quoting a literal German UI-string example; superseded by CLAUDE.md's current English-only rule, kept verbatim as the record of the original decision --> || **AP-8** | Don't catch and silently swallow exceptions in the watcher or route handlers. | Log structured (`log.warning("wiki_route_failed", route=..., error=...)`), return `{"ok": false, "error": "..."}`. Silent failures are the most common source of "the UI is empty and we don't know why" bugs. || **AP-9** | Don't read the vault on the asyncio event loop. | All file IO goes through `aiofiles` or `asyncio.to_thread`. Wraps `VaultIndex` if needed. The vault is small, but the principle matters. || **AP-10** | Don't ship a 1 MB JS bundle for the graph. | `react-force-graph-2d` is ~120 KB minified. Use code-splitting (`React.lazy`) so the graph chunk loads only when the user is on the Wiki tab. |@@ -281,8 +281,8 @@ npx tsc --noEmit -p . # zero TypeScript errorsFree text but the **final line must be exactly one of**:```-Goal erfüllt: ja — Grund: <one sentence>-Goal erfüllt: nein — Grund: <one sentence>+Goal fulfilled: yes — Reason: <one sentence>+Goal fulfilled: no — Reason: <one sentence>```---diff --git a/docs/plans/b3/AGENT-A-backend-api.md b/docs/plans/b3/AGENT-A-backend-api.mdindex 30d9f6a7bf..4d96f880bc 100644--- a/docs/plans/b3/AGENT-A-backend-api.md+++ b/docs/plans/b3/AGENT-A-backend-api.md@@ -124,7 +124,7 @@ Mounts the *full* server (`jarvis.ui.web.server:create_app`), populates `wiki/obFree text, but the final line must be exactly:```-Goal erfüllt: ja — Grund: <one sentence>+Goal fulfilled: yes — Reason: <one sentence>```-or `nein` with the reason.+or `no` with the reason.diff --git a/docs/plans/b3/AGENT-B-react-tab.md b/docs/plans/b3/AGENT-B-react-tab.mdindex 7de06539b4..136b3faebe 100644--- a/docs/plans/b3/AGENT-B-react-tab.md+++ b/docs/plans/b3/AGENT-B-react-tab.md@@ -101,7 +101,7 @@ When `selectedSlug` becomes non-null, switch the centre tab to "Page" automaticaThen in `react-markdown`'s `components.a` override, detect `href.startsWith("#wiki:")`, render as a custom `<a class="wikilink">…</a>`, and on click call `props.onWikilinkClick(href.slice(6))` — do not navigate.-Broken wikilinks (target slug not in tree) get a `.broken` class. The tree state is fetched once and cached; if a click resolves to a missing slug, show a toast "Page nicht gefunden" and stay on the current page.+Broken wikilinks (target slug not in tree) get a `.broken` class. The tree state is fetched once and cached; if a click resolves to a missing slug, show a toast "Page not found" and stay on the current page.### 4.3 Tree behaviour@@ -133,9 +133,9 @@ Skip `slug` (already in breadcrumb), skip `aliases` (could be very long), skip aIf `/api/wiki/tree` returns `total_pages: 0`, show a centred empty-state card:-> *Dein Wiki ist noch leer.*-> *Sobald Jarvis in einem Gespräch etwas Wichtiges aufschnappt, landet es hier — Personen, Projekte, Vorlieben, Termine.*-> *Du kannst auch jederzeit selbst eine `.md`-Datei in `wiki/obsidian-vault/entities/` ablegen.*+> *Your wiki is still empty.*+> *As soon as Jarvis picks up something important in a conversation, it lands here — people, projects, preferences, appointments.*+> *You can also drop a `.md` file into `wiki/obsidian-vault/entities/` yourself at any time.*German user-facing strings are OK in UI labels (precedent: existing `MemoryView.tsx`). Code/comments/logs stay English.@@ -195,4 +195,4 @@ npx tsc --noEmit -p . # zero TypeScript errors## 8. Closing report-Final line: `Goal erfüllt: ja — Grund: <one sentence>` (or `nein`).+Final line: `Goal fulfilled: yes — Reason: <one sentence>` (or `no`).diff --git a/docs/plans/b3/AGENT-C-graph-and-search.md b/docs/plans/b3/AGENT-C-graph-and-search.mdindex 743555a71b..3e26234270 100644--- a/docs/plans/b3/AGENT-C-graph-and-search.md+++ b/docs/plans/b3/AGENT-C-graph-and-search.md@@ -100,7 +100,7 @@ Node radius scales with backlink count (use a simple `Math.max(8, Math.min(24, 8### 4.4 Empty state-If `nodes.length === 0`: render a centred message — `Dein Memory-Graph ist noch leer. Sobald Jarvis Notizen anlegt, verbinden sich die Knoten hier automatisch.` No graph component, just text.+If `nodes.length === 0`: render a centred message — `Your memory graph is still empty. As soon as Jarvis creates notes, the nodes will connect here automatically.` No graph component, just text.### 4.5 Performance@@ -127,8 +127,8 @@ Use `cmdk`'s `<Command.Dialog>` for the modal. It handles keyboard nav out of th### 5.3 Empty / error states-- 0 hits → "Keine Treffer für '<query>'. Versuche andere Stichworte oder schau in den Graph."-- API error → "Suche gerade nicht verfügbar." plus a small retry button.+- 0 hits → "No results for '<query>'. Try different keywords or check the graph."+- API error → "Search is currently unavailable." plus a small retry button.---@@ -179,4 +179,4 @@ npx tsc --noEmit -p . # zero TS errors## 9. Closing report-Final line: `Goal erfüllt: ja — Grund: <one sentence>` (or `nein`).+Final line: `Goal fulfilled: yes — Reason: <one sentence>` (or `no`).diff --git a/docs/plans/b3/AGENT-D-live-and-obsidian.md b/docs/plans/b3/AGENT-D-live-and-obsidian.mdindex 7e69ffde65..f45446bcd4 100644--- a/docs/plans/b3/AGENT-D-live-and-obsidian.md+++ b/docs/plans/b3/AGENT-D-live-and-obsidian.md@@ -210,8 +210,8 @@ export function ObsidianButton({ vaultRelPath }: ObsidianButtonProps): JSX.Eleme// We can't actually detect success/failure of obsidian:// in the browser.// The toast informs the user what was attempted.toast({- title: "An Obsidian übergeben",- description: `${vaultRelPath} — falls Obsidian nicht startet, ist es nicht installiert.`,+ title: "Hand off to Obsidian",+ description: `${vaultRelPath} — if Obsidian doesn't launch, it isn't installed.`,});}, 800);};@@ -302,4 +302,4 @@ One end-to-end test:## 8. Closing report-Final line: `Goal erfüllt: ja — Grund: <one sentence>` (or `nein`).+Final line: `Goal fulfilled: yes — Reason: <one sentence>` (or `no`).diff --git a/docs/plans/b5/00-OVERVIEW.md b/docs/plans/b5/00-OVERVIEW.mdindex e885086d70..d617d45e36 100644--- a/docs/plans/b5/00-OVERVIEW.md+++ b/docs/plans/b5/00-OVERVIEW.md@@ -291,8 +291,8 @@ If `post-flight.log` shows new failures that are not in `pre-flight.log`, the agFree text but the **final line must be exactly one of**:```-Goal erfüllt: ja — Grund: <one sentence>-Goal erfüllt: nein — Grund: <one sentence>+Goal fulfilled: yes — Reason: <one sentence>+Goal fulfilled: no — Reason: <one sentence>```No quotation marks, no markdown around it. The review agent greps for this line.@@ -341,10 +341,10 @@ After all four agents commit and report, the review agent:6. Runs the live voice demo:- Launch desktop app: `Start-Process pythonw -ArgumentList "-m","jarvis.ui.web.launcher"`- - Say: "Hey Jarvis, schreib in dein Wiki: Alex wurde 1985 geboren."+ - Say: "Hey Jarvis, schreib in dein Wiki: Alex wurde 1985 geboren." <!-- i18n-allow: live voice-demo utterance, real speech input example -->- Wait for `IdleEntered` (~2 minutes) or trigger `flush_session()` manually via the existing CLI.- Verify a new note appears under `wiki/obsidian-vault/10-notes/` mentioning Alex + 1985.- - Say: "Hey Jarvis, wann ist Alex geboren?"+ - Say: "Hey Jarvis, wann ist Alex geboren?" <!-- i18n-allow: live voice-demo utterance, real speech input example -->- Verify the TTS response references 1985, sourced from the wiki.If the voice demo passes, B5 is done.diff --git a/docs/plans/b5/AGENT-A-write-wiring.md b/docs/plans/b5/AGENT-A-write-wiring.mdindex 835ccee997..1a0c460946 100644--- a/docs/plans/b5/AGENT-A-write-wiring.md+++ b/docs/plans/b5/AGENT-A-write-wiring.md@@ -16,7 +16,7 @@ After you ship: starting the desktop app launches a background subscription on `1. **All tests in `tests/unit/memory/wiki/test_integration.py` (new, by you) pass.**2. **Pre-flight unit-test suite stays at its baseline failure count** — see §6 of the overview.-3. **Live voice demo (executed by the review agent in Wave 2):** speaking "Hey Jarvis, merk dir bitte: Alex wurde 1985 geboren" and waiting for idle produces a new page under `wiki/obsidian-vault/` containing the phrase "1985". This succeeds even when Agent D's work is **not yet merged**, by falling back to direct `WikiCurator.ingest` calls.+3. **Live voice demo (executed by the review agent in Wave 2):** speaking "Hey Jarvis, merk dir bitte: Alex wurde 1985 geboren" <!-- i18n-allow: live voice-demo utterance, real speech input example --> and waiting for idle produces a new page under `wiki/obsidian-vault/` containing the phrase "1985". This succeeds even when Agent D's work is **not yet merged**, by falling back to direct `WikiCurator.ingest` calls.4. **No regression in `python -m jarvis.ui.web.launcher --headless`** — the desktop app boots cleanly.---@@ -192,8 +192,8 @@ Get-Content data/jarvis_desktop.log -Tail 30Free-form Markdown, but the **final line must be exactly** one of:```-Goal erfüllt: ja — Grund: <one sentence>-Goal erfüllt: nein — Grund: <one sentence>+Goal fulfilled: yes — Reason: <one sentence>+Goal fulfilled: no — Reason: <one sentence>```Recommended sections (free-form, the order is yours):diff --git a/docs/plans/b5/AGENT-B-recall-tool.md b/docs/plans/b5/AGENT-B-recall-tool.mdindex 99d2ba089c..a031edf8ea 100644--- a/docs/plans/b5/AGENT-B-recall-tool.md+++ b/docs/plans/b5/AGENT-B-recall-tool.md@@ -213,8 +213,8 @@ python -m pytest tests/unit/memory/test_wiki_search.py -v -k latencyFree-form Markdown, final line **must be exactly** one of:```-Goal erfüllt: ja — Grund: <one sentence>-Goal erfüllt: nein — Grund: <one sentence>+Goal fulfilled: yes — Reason: <one sentence>+Goal fulfilled: no — Reason: <one sentence>```Recommended sections (order is yours): Files changed · What I did · Assumptions made · Verification (paste the §9 outputs) · Open follow-ups · the mandatory line.diff --git a/docs/plans/b5/AGENT-C-context-injection.md b/docs/plans/b5/AGENT-C-context-injection.mdindex 8fb8b42b90..6f6ad95e78 100644--- a/docs/plans/b5/AGENT-C-context-injection.md+++ b/docs/plans/b5/AGENT-C-context-injection.md@@ -16,7 +16,7 @@ Latency is sacred here. The voice path budget is ~1.5 s p95 for the whole turn.1. **Unit tests for `WikiContextInjector` pass**, including the latency-budget short-circuit, the no-keyword case, the no-hits case, and the prompt-augmentation case.2. **Pre-flight unit-test suite stays at baseline failure count.**-3. **Live voice demo (Wave 2):** with the same `Alex.md` note as Agent B's demo, asking "Was weißt du über Alex?" produces a brain answer that includes "1985", **even if `wiki-recall` is not explicitly called by the brain**. Verified by checking `data/jarvis_desktop.log` for a `WikiContextInjector injected=` line right before the brain call.+3. **Live voice demo (Wave 2):** with the same `Alex.md` note as Agent B's demo, asking "Was weißt du über Alex?" <!-- i18n-allow: live voice-demo utterance, real speech input example --> produces a brain answer that includes "1985", **even if `wiki-recall` is not explicitly called by the brain**. Verified by checking `data/jarvis_desktop.log` for a `WikiContextInjector injected=` line right before the brain call.4. **No measurable regression in tier-1 voice latency** — your hook adds < 20 ms p50 to `BrainManager.generate` when vault has 5 notes.---@@ -177,8 +177,8 @@ python -m pytest tests/unit/brain/test_wiki_context.py -v -k timeoutFree-form Markdown, final line **must be exactly**:```-Goal erfüllt: ja — Grund: <one sentence>-Goal erfüllt: nein — Grund: <one sentence>+Goal fulfilled: yes — Reason: <one sentence>+Goal fulfilled: no — Reason: <one sentence>```Recommended sections: Files changed · What I did · Assumptions made (especially around the stopword list and the keyword heuristic — these are judgment calls) · Verification (paste §9 outputs) · Open follow-ups · the mandatory line.diff --git a/docs/plans/b5/AGENT-D-scheduler.md b/docs/plans/b5/AGENT-D-scheduler.mdindex d310b76aae..0b89b646b1 100644--- a/docs/plans/b5/AGENT-D-scheduler.md+++ b/docs/plans/b5/AGENT-D-scheduler.md@@ -229,8 +229,8 @@ Remove-Item data/test.lock -ErrorAction SilentlyContinueFree-form Markdown, final line **must be exactly**:```-Goal erfüllt: ja — Grund: <one sentence>-Goal erfüllt: nein — Grund: <one sentence>+Goal fulfilled: yes — Reason: <one sentence>+Goal fulfilled: no — Reason: <one sentence>```Recommended sections: Files changed · What I did · Assumptions made · Verification (paste §10 outputs) · Open follow-ups · the mandatory line.diff --git a/docs/plans/capability-coupling/CHANGELOG.md b/docs/plans/capability-coupling/CHANGELOG.mdindex 58cf851208..eddd56fad7 100644--- a/docs/plans/capability-coupling/CHANGELOG.md+++ b/docs/plans/capability-coupling/CHANGELOG.md@@ -16,8 +16,8 @@ Agent C done.`has_action_intent=True and resolve_intent=None and not smalltalk`.No LLM call (AP-11 compliant).- `jarvis/brain/ack_brain/persona_prompt.py`: extended forbidden-vocabulary list- with action-promise patterns (DE: "mache ich", "wird erledigt", "ist- gesendet", "ist eingetragen", "kümmere mich"; EN: "I'll do that", "will be+ with action-promise patterns (DE: "mache ich", "wird erledigt", "ist <!-- i18n-allow -->+ gesendet", "ist eingetragen", "kümmere mich"; EN: "I'll do that", "will be <!-- i18n-allow -->sent", "will be scheduled", "consider it done"). Added explicit positive rule:Ack-Brain may only emit (a) acoustic ack, (b) context-restating questions,(c) silence on uncertainty.diff --git a/docs/plans/mission-failure-rootcause-2026-05-24/REPORT.html b/docs/plans/mission-failure-rootcause-2026-05-24/REPORT.htmlindex 52953165c8..35654a934a 100644--- a/docs/plans/mission-failure-rootcause-2026-05-24/REPORT.html+++ b/docs/plans/mission-failure-rootcause-2026-05-24/REPORT.html@@ -214,7 +214,7 @@ FailoverError: CLI produced no output for 480s and was terminated.</pre><li><div class="step-t">FIX-A · Route worker to the proven direct path <span class="pill p-crit">Highest impact</span></div><p>Provider <code>"openclaw-claude" → "claude-api"</code> → factory selects <code>ClaudeDirectWorker</code> (calls <code>claude --print --permission-mode bypassPermissions</code> directly, without OpenClaw live session → no 480-s hang). <strong>Atomic in BOTH files</strong> (else drift-guard rollback in 5 min):</p>- <div class="flow"><b>scripts/config-soll.json:33</b> FIRST → then <b>jarvis.toml:277</b> (toggle read-only, write BOM-free)</div>+ <div class="flow"><b>scripts/config-soll.json:33</b> FIRST → then <b>jarvis.toml:277</b> (toggle read-only, write BOM-free)</div> <!-- i18n-allow --><p class="meta">model="" is safe → falls back to <code>[brain.providers.claude-api].deep_model = claude-opus-4-7</code>. Critic path untouched.</p></li><li>@@ -241,9 +241,9 @@ FailoverError: CLI produced no output for 480s and was terminated.</pre><!-- ====================== CONFIG PROCEDURE ====================== --><h2>4 · Safe config procedure (FIX-A in detail)</h2>- <p>The drift-guard daemon (<code>scripts/jarvis-config-drift-guard.ps1</code>) reads <code>config-soll.json</code> every 5 min and rolls back any TOML drift (BUG-010). That's why this order — else the problem comes back after 5 minutes.</p>+ <p>The drift-guard daemon (<code>scripts/jarvis-config-drift-guard.ps1</code>) reads <code>config-soll.json</code> every 5 min and rolls back any TOML drift (BUG-010). That's why this order — else the problem comes back after 5 minutes.</p> <!-- i18n-allow --><pre><span class="c"># 1) Desired source FIRST (else rollback):</span>-scripts/config-soll.json:33 "provider": "openclaw-claude" → "claude-api"+scripts/config-soll.json:33 "provider": "openclaw-claude" → "claude-api" <!-- i18n-allow --><span class="c"># 2) Unlock jarvis.toml, write BOM-free, lock again:</span>Set-ItemProperty jarvis.toml -Name IsReadOnly -Value $falsediff --git a/docs/plans/omni-latency-vision-v1/README.md b/docs/plans/omni-latency-vision-v1/README.mdindex cecc0d23d2..99f4df14e0 100644--- a/docs/plans/omni-latency-vision-v1/README.md+++ b/docs/plans/omni-latency-vision-v1/README.md@@ -181,5 +181,5 @@ red test (`test_ack_flow` `_hangup_event`) via defensive getattr in `_on_announc**Open follow-ups:** (1) router-tier thinking-budget decision; (2) CoreMemorymtime-guard (micro-opt, deferred — deterministic render keeps the cache valid);(3) wire LatencySpan/BrainTTFT into a CI SLO-gate; (4) expose the four flags in-`jarvis.toml` + `scripts/config-soll.json` (today they ride model defaults, which+`jarvis.toml` + `scripts/config-soll.json` (today they ride model defaults, which <!-- i18n-allow -->is cloud-first-correct but invisible to the maintainer's drift-guard).diff --git a/docs/plans/optimistic-execution-v1/prototype/demo.py b/docs/plans/optimistic-execution-v1/prototype/demo.pyindex c321743f59..9f547a173c 100644--- a/docs/plans/optimistic-execution-v1/prototype/demo.py+++ b/docs/plans/optimistic-execution-v1/prototype/demo.py@@ -143,13 +143,13 @@ async def scripted() -> None:# --- interactive REPL ------------------------------------------------------------INTERACTIVE_HELP = """\-Type a prompt and press Enter. Jarvis answers instantly; the worker runs in the-background (its log is the |bg| line). Special commands:- \\boundary surface any pending background correction (simulates end-of-turn)- \\quit exit-Try: 'spiel etwas Musik' · 'trag morgen einen Termin ein' · 'Schreib Max eine Mail'-"""+INTERACTIVE_HELP = (+ "Type a prompt and press Enter. Jarvis answers instantly; the worker runs in the\n"+ "background (its log is the |bg| line). Special commands:\n"+ " \\boundary surface any pending background correction (simulates end-of-turn)\n"+ " \\quit exit\n"+ "Try: 'spiel etwas Musik' · 'trag morgen einen Termin ein' · 'Schreib Max eine Mail'\n" # i18n-allow: test content — user voice utterance DE+)def interactive() -> None:diff --git a/docs/plans/optimistic-execution-v1/prototype/optimistic/oops.py b/docs/plans/optimistic-execution-v1/prototype/optimistic/oops.pyindex 1414108db5..9f368a6f25 100644--- a/docs/plans/optimistic-execution-v1/prototype/optimistic/oops.py+++ b/docs/plans/optimistic-execution-v1/prototype/optimistic/oops.py@@ -225,7 +225,7 @@ class OopsProtocol:words = stripped.split()for word in words[1:]:# Remove punctuation tails- clean = re.sub(r"[^A-Za-zÄÖÜäöüß]", "", word)+ clean = re.sub(r"[^A-Za-zÄÖÜäöüß]", "", word) # i18n-allow: regex charset matches German name charactersif clean and clean[0].isupper():return cleanreturn Nonediff --git a/docs/plans/optimistic-execution-v1/prototype/optimistic/registry.py b/docs/plans/optimistic-execution-v1/prototype/optimistic/registry.pyindex 6e4119f0b4..964698f8e2 100644--- a/docs/plans/optimistic-execution-v1/prototype/optimistic/registry.py+++ b/docs/plans/optimistic-execution-v1/prototype/optimistic/registry.py@@ -82,7 +82,7 @@ SMALLTALK_TRIGGERS: tuple[str, ...] = ( # i18n-allow: speech input vocabulary D"danke","alles klar","erzaehl",- "erzähl",+ "erzähl", # i18n-allow: speech input vocabulary DE"witz",)@@ -94,7 +94,7 @@ ACTION_VERBS: tuple[str, ...] = ( # i18n-allow: speech input vocabulary DE"baue","installier","oeffne",- "öffne",+ "öffne", # i18n-allow: speech input vocabulary DE"mach","zeig","erstell",diff --git a/docs/plans/optimistic-execution-v1/prototype/optimistic/router.py b/docs/plans/optimistic-execution-v1/prototype/optimistic/router.pyindex 808a834f17..81a579e0b9 100644--- a/docs/plans/optimistic-execution-v1/prototype/optimistic/router.py+++ b/docs/plans/optimistic-execution-v1/prototype/optimistic/router.py@@ -27,7 +27,7 @@ from optimistic.registry import ()# ----------------------------------------------------------------------------# Acknowledgement templates — butler-tone, correct German umlauts (ä ö ü ß)+# Acknowledgement templates — butler-tone, correct German umlauts (ä ö ü ß) # i18n-allow: umlaut characters cited as examples, comment is English# ---------------------------------------------------------------------------_ACK_SMART: str = "Geht klar, ich kümmere mich drum." # i18n-allow: product voice output DEdiff --git a/docs/plans/optimistic-execution-v1/prototype/tests/test_latency.py b/docs/plans/optimistic-execution-v1/prototype/tests/test_latency.pyindex c2c6ba5929..53e6ab97a7 100644--- a/docs/plans/optimistic-execution-v1/prototype/tests/test_latency.py+++ b/docs/plans/optimistic-execution-v1/prototype/tests/test_latency.py@@ -60,7 +60,7 @@ def test_ack_emitted_before_worker_completes() -> None:oops = OopsProtocol(bus)talker = Talker(bus, worker=worker, oops=oops)- await talker.handle_utterance("Schreib eine Mail an das Team über den Launch")+ await talker.handle_utterance("Schreib eine Mail an das Team über den Launch") # i18n-allow: test content — user voice utterance DEassert flight.has(AckEmitted), "ACK must exist the instant handle_utterance returns"assert not flight.has(WorkerCompleted), "worker must not have completed yet (AD-OE1)"await worker.drain()@@ -77,7 +77,7 @@ def test_p95_ack_latency_under_budget() -> None:oops = OopsProtocol(bus)talker = Talker(bus, worker=worker, oops=oops)t0 = time.perf_counter()- await talker.handle_utterance(f"Schreib eine Mail an das Team ueber Thema {i}")+ await talker.handle_utterance(f"Schreib eine Mail an das Team ueber Thema {i}") # i18n-allow: test content — user voice utterance DElatencies.append(time.perf_counter() - t0)await worker.drain()p95 = percentile(latencies, 95)diff --git a/docs/plans/optimistic-execution-v1/prototype/tests/test_registry.py b/docs/plans/optimistic-execution-v1/prototype/tests/test_registry.pyindex cb0dc493fd..8944cf02c5 100644--- a/docs/plans/optimistic-execution-v1/prototype/tests/test_registry.py+++ b/docs/plans/optimistic-execution-v1/prototype/tests/test_registry.py@@ -41,7 +41,7 @@ def test_match_gmail_is_smart() -> None:def test_no_match_returns_none() -> None:- assert match_tool("erzaehl mir einen Witz ueber Katzen") is None+ assert match_tool("erzaehl mir einen Witz ueber Katzen") is None # i18n-allow: test content — user voice utterance DEdef test_dumb_is_checked_before_smart() -> None:diff --git a/docs/plans/optimistic-execution-v1/prototype/tests/test_router.py b/docs/plans/optimistic-execution-v1/prototype/tests/test_router.pyindex b858eb0e83..5e67ece70e 100644--- a/docs/plans/optimistic-execution-v1/prototype/tests/test_router.py+++ b/docs/plans/optimistic-execution-v1/prototype/tests/test_router.py@@ -36,7 +36,7 @@ class TestClassifyDumbTool:assert classify("leiser bitte") == RouteKind.DUMB_TOOLdef test_lautstaerke_is_dumb(self):- assert classify("Lautstärke erhöhen") == RouteKind.DUMB_TOOL+ assert classify("Lautstärke erhöhen") == RouteKind.DUMB_TOOL # i18n-allow: test content — user voice utterance DEdef test_adjust_is_dumb(self):assert classify("adjustier das Fenster") == RouteKind.DUMB_TOOL@@ -59,16 +59,16 @@ class TestClassifySmartTool:assert classify("Schick eine Email an Lisa") == RouteKind.SMART_TOOLdef test_termin_is_smart(self):- assert classify("Erstell einen Termin für morgen") == RouteKind.SMART_TOOL+ assert classify("Erstell einen Termin für morgen") == RouteKind.SMART_TOOL # i18n-allow: test content — user voice utterance DEdef test_kalender_is_smart(self):- assert classify("Trag das in den Kalender ein") == RouteKind.SMART_TOOL+ assert classify("Trag das in den Kalender ein") == RouteKind.SMART_TOOL # i18n-allow: test content — user voice utterance DEdef test_drive_is_smart(self):assert classify("Lade das Dokument in Drive hoch") == RouteKind.SMART_TOOLdef test_schreib_triggers_gmail(self):- assert classify("schreib eine Nachricht") == RouteKind.SMART_TOOL+ assert classify("schreib eine Nachricht") == RouteKind.SMART_TOOL # i18n-allow: test content — user voice utterance DE# ---------------------------------------------------------------------------@@ -83,16 +83,16 @@ class TestClassifyActionVerbEscalation:assert classify("installier das Update") == RouteKind.SMART_TOOLdef test_oeffne_is_smart(self):- assert classify("öffne den Browser") == RouteKind.SMART_TOOL+ assert classify("öffne den Browser") == RouteKind.SMART_TOOL # i18n-allow: test content — user voice utterance DEdef test_baue_is_smart(self):assert classify("baue die App") == RouteKind.SMART_TOOLdef test_erstell_unknown_is_smart(self):- assert classify("erstell eine Präsentation") == RouteKind.SMART_TOOL+ assert classify("erstell eine Präsentation") == RouteKind.SMART_TOOL # i18n-allow: test content — user voice utterance DEdef test_such_is_smart(self):- assert classify("such nach dem Ordner") == RouteKind.SMART_TOOL+ assert classify("such nach dem Ordner") == RouteKind.SMART_TOOL # i18n-allow: test content — user voice utterance DE# ---------------------------------------------------------------------------@@ -112,10 +112,10 @@ class TestClassifySmallTalk:assert classify("wie geht es dir heute") == RouteKind.SMALLTALKdef test_danke_is_smalltalk(self):- assert classify("danke schön") == RouteKind.SMALLTALK+ assert classify("danke schön") == RouteKind.SMALLTALK # i18n-allow: test content — user voice utterance DEdef test_witz_is_smalltalk(self):- assert classify("erzähl mir einen Witz") == RouteKind.SMALLTALK+ assert classify("erzähl mir einen Witz") == RouteKind.SMALLTALK # i18n-allow: test content — user voice utterance DEdef test_hey_is_smalltalk(self):assert classify("hey") == RouteKind.SMALLTALK@@ -125,7 +125,7 @@ class TestClassifySmallTalk:def test_unrecognized_no_verb_is_smalltalk(self):"""A completely unknown command with no action verb defaults to SMALLTALK."""- assert classify("blah blah keine Ahnung") == RouteKind.SMALLTALK+ assert classify("blah blah keine Ahnung") == RouteKind.SMALLTALK # i18n-allow: test content — user voice utterance DE# ---------------------------------------------------------------------------@@ -154,9 +154,9 @@ class TestClassifyEdgeCases:assert classify("mach es lauter") == RouteKind.DUMB_TOOLdef test_action_verb_mach_without_dumb_trigger(self):- """'mach das Fenster auf' — 'mach' action verb but no dumb tool trigger."""+ """'mach das Fenster auf' — 'mach' action verb but no dumb tool trigger.""" # i18n-allow: test content — user voice utterance DE# No dumb trigger, no smart trigger, but 'mach' is an action verb- result = classify("mach das Fenster auf")+ result = classify("mach das Fenster auf") # i18n-allow: test content — user voice utterance DEassert result == RouteKind.SMART_TOOLdef test_smalltalk_trigger_plus_action_verb_prefers_smart(self):@@ -180,22 +180,22 @@ class TestClassifyLatency:"spiel Musik","spiel die mail-melodie ab","Schreib Max eine Mail",- "Trag einen Termin ein",+ "Trag einen Termin ein", # i18n-allow: test content — user voice utterance DE"installier das Update",- "öffne den Browser",+ "öffne den Browser", # i18n-allow: test content — user voice utterance DE"hi Jarvis","wie geht es dir","danke",- "Lautstärke erhöhen",+ "Lautstärke erhöhen", # i18n-allow: test content — user voice utterance DE"Lade das Dokument in Drive hoch","baue die App",- "erstell eine Präsentation",- "such nach dem Ordner",+ "erstell eine Präsentation", # i18n-allow: test content — user voice utterance DE+ "such nach dem Ordner", # i18n-allow: test content — user voice utterance DE"lauter bitte","leiser","Kalender Termin morgen",- "erzähl mir einen Witz",- "blah blah keine Ahnung",+ "erzähl mir einen Witz", # i18n-allow: test content — user voice utterance DE+ "blah blah keine Ahnung", # i18n-allow: test content — user voice utterance DE]def test_classify_worst_case_latency(self):diff --git a/docs/plans/optimistic-execution-v1/prototype/tests/test_tools.py b/docs/plans/optimistic-execution-v1/prototype/tests/test_tools.pyindex 8fec65eae4..afeabb2910 100644--- a/docs/plans/optimistic-execution-v1/prototype/tests/test_tools.py+++ b/docs/plans/optimistic-execution-v1/prototype/tests/test_tools.py@@ -126,7 +126,7 @@ class TestGmailMissingInfo:from optimistic.tools import MissingInfoError, SmartTooltool = SmartTool("gmail", work_seconds=0.01)with pytest.raises(MissingInfoError) as exc_info:- run(tool.execute("Schreib Anna eine kurze Nachricht", {}))+ run(tool.execute("Schreib Anna eine kurze Nachricht", {})) # i18n-allow: test content — user voice utterance DEerr = exc_info.valueassert "Anna" in err.detaildiff --git a/docs/plans/optimistic-execution-v1/prototype/tests/test_worker.py b/docs/plans/optimistic-execution-v1/prototype/tests/test_worker.pyindex 34503d898f..d4c47a0fe0 100644--- a/docs/plans/optimistic-execution-v1/prototype/tests/test_worker.py+++ b/docs/plans/optimistic-execution-v1/prototype/tests/test_worker.py@@ -95,7 +95,7 @@ class TestDelegationIsInstant:async def scenario():bus = FakeBus()worker = HeavyDutyWorker(bus)- spawn = make_spawn("Termin buche für morgen", tool_name="calendar")+ spawn = make_spawn("Termin buche für morgen", tool_name="calendar") # i18n-allow: test content — user voice utterance DE# Use a slow work_seconds so the task is definitely still running.# We patch via monkeypatching after construction is not practical here,# so we use a zero-delay spawn and check the property synchronouslydiff --git a/docs/plans/optimistic-execution-v2-real-ai/README.md b/docs/plans/optimistic-execution-v2-real-ai/README.mdindex 2bfa0c9c92..d4ded976e6 100644--- a/docs/plans/optimistic-execution-v2-real-ai/README.md+++ b/docs/plans/optimistic-execution-v2-real-ai/README.md@@ -23,7 +23,7 @@ cp .env.example .env # edit to taste; defaults to Ollama qwen2.5:7bpython -m optimistic.server # http://127.0.0.1:8008# 3. In another terminal, talk to it-python demo_client.py "Erstelle eine kurze Erklaerung von Optimistic Execution."+python demo_client.py "Erstelle eine kurze Erklaerung von Optimistic Execution." # i18n-allow: test content — user voice utterance DEpython demo_client.py --oops # the missing-info self-correction scenario# 4. Run the test suite (mock LLM, no network, no Ollama needed)@@ -97,7 +97,7 @@ FastAPI ── Talker.handle_utterance ──► instant ACK in the HTTP respons- **Routing heuristic (from v1):** a command routes to the worker only if it hitsa tool trigger (mail/termin/…) or an action verb (`erstelle/such/zeig/…`).- Open questions like "Erkläre X" fall to the smalltalk path (a canned reply).+ Open questions like "Erkläre X" fall to the smalltalk path (a canned reply). <!-- i18n-allow: test content — speech input vocabulary DE -->Use an action verb to exercise the LLM, or extend `registry.ACTION_VERBS`.- **Tests never touch the network** — they use the `mock` LLM backend and a directASGI streaming client. CI-safe, hardware-agnostic.diff --git a/docs/plans/optimistic-execution-v2-real-ai/demo_client.py b/docs/plans/optimistic-execution-v2-real-ai/demo_client.pyindex 057a556b8c..a8b55134b9 100644--- a/docs/plans/optimistic-execution-v2-real-ai/demo_client.py+++ b/docs/plans/optimistic-execution-v2-real-ai/demo_client.py@@ -40,7 +40,7 @@ async def main() -> None:args = parser.parse_args()session_id = "demo-" + uuid.uuid4().hex[:6]- prompt = "Schreib Max eine Mail, dass sich das Projekt verschiebt" if args.oops else args.prompt+ prompt = "Schreib Max eine Mail, dass sich das Projekt verschiebt" if args.oops else args.prompt # i18n-allow: test content — user voice utterance DEasync with httpx.AsyncClient(base_url=args.base, timeout=180.0) as client:health = (await client.get("/api/health")).json()diff --git a/docs/plans/optimistic-execution-v2-real-ai/optimistic/oops.py b/docs/plans/optimistic-execution-v2-real-ai/optimistic/oops.pyindex 02188cef7b..e6cec4b552 100644--- a/docs/plans/optimistic-execution-v2-real-ai/optimistic/oops.py+++ b/docs/plans/optimistic-execution-v2-real-ai/optimistic/oops.py@@ -45,7 +45,7 @@ _WHITESPACE_PAT = re.compile(r"\s{2,}")# Pattern to extract a capitalised proper name from a detail/command string.# Matches a word starting with an uppercase letter that is NOT the very# first word (verbs / articles at position 0 are excluded).-_CAPITALISED_NAME_PAT = re.compile(r"(?<!\A)\b([A-ZÄÖÜ][a-zäöüß]{1,})\b")+_CAPITALISED_NAME_PAT = re.compile(r"(?<!\A)\b([A-ZÄÖÜ][a-zäöüß]{1,})\b") # i18n-allow: speech input vocabulary pattern DEclass OopsProtocol:@@ -150,39 +150,39 @@ class OopsProtocol:name = self._extract_recipient(ev.detail) or self._extract_recipient(ev.command)if name:return (- f"Kurzer Nachtrag zur Mail an {name}: "- f"mir fehlt noch seine E-Mail-Adresse. "- f"Hast du die kurz für mich?"+ f"Kurzer Nachtrag zur Mail an {name}: " # i18n-allow: product voice output DE+ f"mir fehlt noch seine E-Mail-Adresse. " # i18n-allow: product voice output DE+ f"Hast du die kurz für mich?" # i18n-allow: product voice output DE)# No recognisable name — generic fallbackreturn (- "Ich brauche noch eine Information, um die Aufgabe abzuschließen. "- "Kannst du mir kurz helfen?"+ "Ich brauche noch eine Information, um die Aufgabe abzuschließen. " # i18n-allow: product voice output DE+ "Kannst du mir kurz helfen?" # i18n-allow: product voice output DE)@staticmethoddef _phrase_auth_required(ev: WorkerCorrectionNeeded) -> str:"""AUTH_REQUIRED: inform the user that authorisation is needed."""return (- "Ich brauche noch kurz deine Freigabe, um das erledigen zu können. "- "Könntest du dich einmal kurz einloggen?"+ "Ich brauche noch kurz deine Freigabe, um das erledigen zu können. " # i18n-allow: product voice output DE+ "Könntest du dich einmal kurz einloggen?" # i18n-allow: product voice output DE)@staticmethoddef _phrase_network_error(ev: WorkerCorrectionNeeded) -> str:"""NETWORK_ERROR: note the transient problem and suggest retrying."""return (- "Ich hatte kurz ein Verbindungsproblem und konnte die Aufgabe "- "leider nicht abschließen. Soll ich es gleich noch einmal versuchen?"+ "Ich hatte kurz ein Verbindungsproblem und konnte die Aufgabe " # i18n-allow: product voice output DE+ "leider nicht abschließen. Soll ich es gleich noch einmal versuchen?" # i18n-allow: product voice output DE)@staticmethoddef _phrase_fatal(ev: WorkerCorrectionNeeded) -> str:"""FATAL: brief, warm apology — the task could not be completed."""return (- "Es tut mir leid — bei dieser Aufgabe ist leider etwas Unerwartetes "- "passiert und ich konnte sie nicht zu Ende bringen. "- "Magst du es mir noch einmal sagen?"+ "Es tut mir leid — bei dieser Aufgabe ist leider etwas Unerwartetes " # i18n-allow: product voice output DE+ "passiert und ich konnte sie nicht zu Ende bringen. " # i18n-allow: product voice output DE+ "Magst du es mir noch einmal sagen?" # i18n-allow: product voice output DE)@staticmethod@@ -202,7 +202,7 @@ class OopsProtocol:# Fallback: scan all words for a capitalised one, skip the very first.words = stripped.split()for word in words[1:]:- clean = re.sub(r"[^A-Za-zÄÖÜäöüß]", "", word)+ clean = re.sub(r"[^A-Za-zÄÖÜäöüß]", "", word) # i18n-allow: regex charset matches German name charactersif clean and clean[0].isupper():return cleanreturn Nonediff --git a/docs/plans/optimistic-execution-v2-real-ai/optimistic/registry.py b/docs/plans/optimistic-execution-v2-real-ai/optimistic/registry.pyindex 062805de7c..6b63e46335 100644--- a/docs/plans/optimistic-execution-v2-real-ai/optimistic/registry.py+++ b/docs/plans/optimistic-execution-v2-real-ai/optimistic/registry.py@@ -42,7 +42,7 @@ DUMB_TOOLS: tuple[ToolDef, ...] = (ToolDef(name="volume",kind=RouteKind.DUMB_TOOL,- triggers=("lauter", "leiser", "lautstaerke", "lautstärke", "volume"),+ triggers=("lauter", "leiser", "lautstaerke", "lautstärke", "volume"), # i18n-allow: speech input vocabulary DEdescription="local volume control",),)@@ -82,7 +82,7 @@ SMALLTALK_TRIGGERS: tuple[str, ...] = ("danke","alles klar","erzaehl",- "erzähl",+ "erzähl", # i18n-allow: speech input vocabulary DE"witz",)@@ -94,7 +94,7 @@ ACTION_VERBS: tuple[str, ...] = ("baue","installier","oeffne",- "öffne",+ "öffne", # i18n-allow: speech input vocabulary DE"mach","zeig","erstell",diff --git a/docs/plans/optimistic-execution-v2-real-ai/optimistic/router.py b/docs/plans/optimistic-execution-v2-real-ai/optimistic/router.pyindex 3ac447bb5a..81a579e0b9 100644--- a/docs/plans/optimistic-execution-v2-real-ai/optimistic/router.py+++ b/docs/plans/optimistic-execution-v2-real-ai/optimistic/router.py@@ -27,12 +27,12 @@ from optimistic.registry import ()# ----------------------------------------------------------------------------# Acknowledgement templates — butler-tone, correct German umlauts (ä ö ü ß)+# Acknowledgement templates — butler-tone, correct German umlauts (ä ö ü ß) # i18n-allow: umlaut characters cited as examples, comment is English# ----------------------------------------------------------------------------_ACK_SMART: str = "Geht klar, ich kümmere mich drum."-_ACK_DUMB: str = "Mach ich."-_ACK_SMALLTALK: str = "Mir geht's gut, danke der Nachfrage!"+_ACK_SMART: str = "Geht klar, ich kümmere mich drum." # i18n-allow: product voice output DE+_ACK_DUMB: str = "Mach ich." # i18n-allow: product voice output DE+_ACK_SMALLTALK: str = "Mir geht's gut, danke der Nachfrage!" # i18n-allow: product voice output DEdef classify(command: str) -> RouteKind:diff --git a/docs/plans/optimistic-execution-v2-real-ai/optimistic/tools.py b/docs/plans/optimistic-execution-v2-real-ai/optimistic/tools.pyindex c3abe87cf0..c1a94c417c 100644--- a/docs/plans/optimistic-execution-v2-real-ai/optimistic/tools.py+++ b/docs/plans/optimistic-execution-v2-real-ai/optimistic/tools.py@@ -81,7 +81,7 @@ def _extract_capitalised_name(command: str) -> str | None:return Nonefor word in words[1:]:# Strip punctuation before the capital check.- clean = re.sub(r"[^A-Za-zÄÖÜäöüß]", "", word)+ clean = re.sub(r"[^A-Za-zÄÖÜäöüß]", "", word) # i18n-allow: regex charset matches German name charactersif clean and clean[0].isupper():return cleanreturn Nonediff --git a/docs/plans/optimistic-execution-v2-real-ai/tests/test_acceptance.py b/docs/plans/optimistic-execution-v2-real-ai/tests/test_acceptance.pyindex f1593fe59c..f21908463b 100644--- a/docs/plans/optimistic-execution-v2-real-ai/tests/test_acceptance.py+++ b/docs/plans/optimistic-execution-v2-real-ai/tests/test_acceptance.py@@ -43,7 +43,7 @@ def test_definition_of_done_instant_ack_then_async_worker() -> None:t0 = time.perf_counter()reply = await talker.handle_utterance(- "Trag mir morgen 15 Uhr einen Termin mit dem Steuerberater ein"+ "Trag mir morgen 15 Uhr einen Termin mit dem Steuerberater ein" # i18n-allow: test content — user voice utterance DE)ack_latency = time.perf_counter() - t0diff --git a/docs/plans/optimistic-execution-v2-real-ai/tests/test_e2e_oops.py b/docs/plans/optimistic-execution-v2-real-ai/tests/test_e2e_oops.pyindex b0a7d8fb53..4afcfd6cba 100644--- a/docs/plans/optimistic-execution-v2-real-ai/tests/test_e2e_oops.py+++ b/docs/plans/optimistic-execution-v2-real-ai/tests/test_e2e_oops.py@@ -39,7 +39,7 @@ def test_missing_email_surfaces_organic_correction_at_turn_boundary() -> None:r = await http.post("/api/utterance",json={- "text": "Schreib Max eine Mail, dass sich das Projekt verschiebt",+ "text": "Schreib Max eine Mail, dass sich das Projekt verschiebt", # i18n-allow: test content — user voice utterance DE"session_id": "s1",},)diff --git a/docs/plans/optimistic-execution-v2-real-ai/tests/test_e2e_phase2.py b/docs/plans/optimistic-execution-v2-real-ai/tests/test_e2e_phase2.pyindex 822a038a8a..c52ad72fed 100644--- a/docs/plans/optimistic-execution-v2-real-ai/tests/test_e2e_phase2.py+++ b/docs/plans/optimistic-execution-v2-real-ai/tests/test_e2e_phase2.py@@ -41,7 +41,7 @@ def test_phase2_instant_ack_then_async_answer_over_sse() -> None:captured["resp"] = await http.post("/api/utterance",json={- "text": "Erstelle eine kurze Zusammenfassung der Quartalszahlen",+ "text": "Erstelle eine kurze Zusammenfassung der Quartalszahlen", # i18n-allow: test content — user voice utterance DE"session_id": "s1",},)diff --git a/docs/plans/optimistic-execution-v2-real-ai/tests/test_latency.py b/docs/plans/optimistic-execution-v2-real-ai/tests/test_latency.pyindex 178e9934c8..870ac32779 100644--- a/docs/plans/optimistic-execution-v2-real-ai/tests/test_latency.py+++ b/docs/plans/optimistic-execution-v2-real-ai/tests/test_latency.py@@ -25,13 +25,13 @@ ROUTER_SAMPLES = ["mach mal lauter","mach die Adjusties","Schreib Max eine E-Mail",- "Maile dem Team den Status",- "Trag morgen einen Termin ein",- "Lad das Dokument auf Drive hoch",- "Erzähl mir einen Witz",- "Buche mir einen Flug nach Berlin",- "öffne die Projektseite",- "Wie spät ist es?",+ "Maile dem Team den Status", # i18n-allow: test content — user voice utterance DE+ "Trag morgen einen Termin ein", # i18n-allow: test content — user voice utterance DE+ "Lad das Dokument auf Drive hoch", # i18n-allow: test content — user voice utterance DE+ "Erzähl mir einen Witz", # i18n-allow: test content — user voice utterance DE+ "Buche mir einen Flug nach Berlin", # i18n-allow: test content — user voice utterance DE+ "öffne die Projektseite", # i18n-allow: test content — user voice utterance DE+ "Wie spät ist es?", # i18n-allow: test content — user voice utterance DE"spiel Spotify ab","leiser bitte","schreib eine Notiz",@@ -61,7 +61,7 @@ def test_ack_emitted_before_worker_completes() -> None:oops = OopsProtocol(bus)talker = Talker(bus, worker=worker, oops=oops)- await talker.handle_utterance("Schreib eine Mail an das Team über den Launch")+ await talker.handle_utterance("Schreib eine Mail an das Team über den Launch") # i18n-allow: test content — user voice utterance DEassert flight.has(AckEmitted), "ACK must exist the instant handle_utterance returns"assert not flight.has(WorkerCompleted), "worker must not have completed yet (AD-OE1)"await worker.drain()@@ -78,7 +78,7 @@ def test_p95_ack_latency_under_budget() -> None:oops = OopsProtocol(bus)talker = Talker(bus, worker=worker, oops=oops)t0 = time.perf_counter()- await talker.handle_utterance(f"Schreib eine Mail an das Team ueber Thema {i}")+ await talker.handle_utterance(f"Schreib eine Mail an das Team ueber Thema {i}") # i18n-allow: test content — user voice utterance DElatencies.append(time.perf_counter() - t0)await worker.drain()p95 = percentile(latencies, 95)diff --git a/docs/plans/optimistic-execution-v2-real-ai/tests/test_router.py b/docs/plans/optimistic-execution-v2-real-ai/tests/test_router.pyindex 48daf5c96a..8077f53c69 100644--- a/docs/plans/optimistic-execution-v2-real-ai/tests/test_router.py+++ b/docs/plans/optimistic-execution-v2-real-ai/tests/test_router.py@@ -154,7 +154,7 @@ class TestClassifyEdgeCases:assert classify("mach es lauter") == RouteKind.DUMB_TOOLdef test_action_verb_mach_without_dumb_trigger(self):- """'mach das Fenster auf' — 'mach' action verb but no dumb tool trigger."""+ """'mach das Fenster auf' — 'mach' action verb but no dumb tool trigger.""" # i18n-allow: test content — user voice utterance DE# No dumb trigger, no smart trigger, but 'mach' is an action verbresult = classify("mach das Fenster auf") # i18n-allowassert result == RouteKind.SMART_TOOLdiff --git a/docs/plans/vision-gating-hybrid-plan.md b/docs/plans/vision-gating-hybrid-plan.mdindex 38791ff88d..caa1e0df09 100644--- a/docs/plans/vision-gating-hybrid-plan.md+++ b/docs/plans/vision-gating-hybrid-plan.md@@ -44,10 +44,10 @@ from jarvis.brain.vision_gate import has_visual_marker, should_attach_screenshot_VISUAL = ["was siehst du hier","schau mal das hier",- "klick auf den Button", <!-- i18n-allow -->- "warum ist das rot?", <!-- i18n-allow -->+ "klick auf den Button", # i18n-allow+ "warum ist das rot?", # i18n-allow"lies mir die Fehlermeldung vor",- "was steht da auf dem Bildschirm", <!-- i18n-allow -->+ "was steht da auf dem Bildschirm", # i18n-allow"mach das Fenster zu","look at this window",]@@ -56,9 +56,9 @@ _VISUAL = [# not "smalltalk". This is the user's reported case._NON_VISUAL = ["was haben wir gerade besprochen?",- "erklär mir nochmal das Thema", <!-- i18n-allow -->- "wie spät ist es", <!-- i18n-allow -->- "was ist die Hauptstadt von Frankreich", <!-- i18n-allow -->+ "erklär mir nochmal das Thema", # i18n-allow+ "wie spät ist es", # i18n-allow+ "was ist die Hauptstadt von Frankreich", # i18n-allow"warum ist das so wichtig?", # i18n-allow # "warum ist das" is NOT a marker without a colour"fass das bitte zusammen",]@@ -114,25 +114,25 @@ import re# kept specific on purpose: a false negative is recoverable (the brain can call# the screenshot tool), a false positive re-introduces the per-turn image tax# this change exists to remove. Deliberately NOT included: bare "tab", "dort",-# "warum ist das" (without a colour), "was ist das" (without "hier") — too broad,+# "warum ist das" (without a colour), "was ist das" (without "hier") — too broad, # i18n-allow# they fire on non-visual turns._VISUAL_MARKERS: tuple[str, ...] = (# deictic / pointing- "das hier", "das da", "hier auf", "da auf", "hier oben", "hier unten", <!-- i18n-allow -->+ "das hier", "das da", "hier auf", "da auf", "hier oben", "hier unten", # i18n-allow"hier links", "hier rechts", "hier im", "hier in der",# look / show verbs"schau", "sieh", "siehst", "guck", "zeig mir", "zeig mal",# screen / window / page nouns- "auf dem bildschirm", "am bildschirm", "im bild", "auf dem screen", <!-- i18n-allow -->+ "auf dem bildschirm", "am bildschirm", "im bild", "auf dem screen", # i18n-allow"bildschirm", "dieses fenster", "das fenster", "diese seite",- "die seite hier", "fehlermeldung", "knopf", "button", "menü", "menue", <!-- i18n-allow -->+ "die seite hier", "fehlermeldung", "knopf", "button", "menü", "menue", # i18n-allow"dialog",# actions on the screen- "klick", "markier", "scroll", "öffne das", "oeffne das", "mach das zu", <!-- i18n-allow -->- "mach das fenster", "schließ das fenster", "schliess das fenster", <!-- i18n-allow -->+ "klick", "markier", "scroll", "öffne das", "oeffne das", "mach das zu", # i18n-allow+ "mach das fenster", "schließ das fenster", "schliess das fenster", # i18n-allow# diagnosis / read-out- "warum ist das rot", "warum ist das grau", "warum ist das blau", <!-- i18n-allow -->- "was steht da", "was steht hier", "was ist das hier", "lies vor", <!-- i18n-allow -->+ "warum ist das rot", "warum ist das grau", "warum ist das blau", # i18n-allow+ "was steht da", "was steht hier", "was ist das hier", "lies vor", # i18n-allow"lies mir das", "lies das", "vorlesen",# English"this here", "that there", "look at", "see this", "on screen",@@ -171,7 +171,7 @@ Expected: PASS (all parametrized cases).- [ ] **Step 5: Verify existing integration wiring still passes**Run: `pytest tests/integration/test_conditional_vision.py -v`-Expected: PASS — "wie spät ist es" → `()`, "was siehst du hier" → 1 image ("siehst"), "schau mal das hier" → 1 image ("schau"). The inversion does not break these because the kept-image cases all carr <!-- i18n-allow -->y markers.+Expected: PASS — "wie spät ist es" → `()`, "was siehst du hier" → 1 image ("siehst"), "schau mal das hier" → 1 image ("schau"). The inversion does not break these because the kept-image cases all carry markers. <!-- i18n-allow -->- [ ] **Step 6: Add the user's regression case to the integration test**@@ -328,8 +328,9 @@ Confirm where tool usage is described.Insert into the SYSTEM_PROMPT (tool-guidance section) a single sentence, English source per output policy is NOT required here because router.py prompt is German user-facing instruction text — match the surrounding language of SYSTEM_PROMPT. Add (matching existing prompt language):```-Wenn du unsicher bist, ob du den aktuellen Bildschirm sehen musst, um eine Frage zu beantworten, rufe das Tool `screenshot` auf — du bekommst kein Bild automatisch, sondern nur wenn du danach fragst o <!-- i18n-allow -->der der Nutzer klar auf den Bildschirm verweist.+Wenn du unsicher bist, ob du den aktuellen Bildschirm sehen musst, um eine Frage zu beantworten, rufe das Tool `screenshot` auf — du bekommst kein Bild automatisch, sondern nur wenn du danach fragst oder der Nutzer klar auf den Bildschirm verweist.```+<!-- i18n-allow -->- [ ] **Step 3: Verify the screenshot tool is reachable by the router**@@ -352,4 +353,4 @@ git commit -m "feat(vision): tell the router it can pull the screen on demand (WExpected: all PASS.- [ ] Run the broader brain suite for regressions:`pytest tests/unit/brain/ -v`-- [ ] Manual (after app restart): voice session — "merk dir die Zahl 12" → "und 5 dazu" → "welche Zahl hatten wir?" answers from conversation, no screen fixation; "was siehst du auf dem Bildschirm?" s <!-- i18n-allow -->till attaches the image; "warum ist das rot?" attaches; a vague screen question with no marker triggers a `screenshot` tool call instead of going blind.+- [ ] Manual (after app restart): voice session — "merk dir die Zahl 12" → "und 5 dazu" → "welche Zahl hatten wir?" answers from conversation, no screen fixation; "was siehst du auf dem Bildschirm?" still attaches the image; "warum ist das rot?" attaches; a vague screen question with no marker triggers a `screenshot` tool call instead of going blind. <!-- i18n-allow -->diff --git a/docs/plans/voice-endpoint-patience/README.md b/docs/plans/voice-endpoint-patience/README.mdindex bc32e4d32a..23d6faeac1 100644--- a/docs/plans/voice-endpoint-patience/README.md+++ b/docs/plans/voice-endpoint-patience/README.md@@ -114,7 +114,7 @@ only catches:- **exactly five** dangling starters: `"wenn"`, `"falls"`, `"if"`, `"when"`, `"ob du"`,`"jarvis wenn"` (`pipeline.py:318-326`).-So "Erstelle mir eine Liste mit den wichtigsten …" (pause) ends on "wichtigsten" → not a+So "Erstelle mir eine Liste mit den wichtigsten …" (pause) ends on "wichtigsten" → not a <!-- i18n-allow -->dangling conjunction, > 2 words, no punctuation → **judged complete → submitted instantly.**The vast majority of natural mid-thought pauses fall straight through this filter.@@ -158,7 +158,7 @@ the exact pattern the user describes.### Config truth table (verified — note: NOT a config-drift bug this time)-| Parameter | Code default | `jarvis.toml` | `config-soll.json` | ENV | Notes |+| Parameter | Code default | `jarvis.toml` | `config-soll.json` | ENV | Notes <!-- i18n-allow: "soll" is part of the config-soll.json filename, not German prose --> ||---|---|---|---|---|---|| `vad_silence_ms` | `1200` `pipeline.py:447` | — | — | — | Hardcoded; drift-guard does not touch it. || `max_utterance_s` | `8` `pipeline.py:581` | — | — | — | Hardcoded. |@@ -273,7 +273,7 @@ unrelated feature edit fail loudly instead of silently regressing the user.- Modify: `jarvis/core/config.py` (add a `TurnEndpointConfig` with the params below)- Modify: `jarvis.toml` (`[turn.endpoint]` section with comments)- Modify: `jarvis/speech/pipeline.py:572-589` (read from config instead of hardcoded literals)-- Modify: `scripts/config-soll.json` (so the drift-guard pins the patience values too)+- Modify: `scripts/config-soll.json` (so the drift-guard pins the patience values too) <!-- i18n-allow: "soll" is part of the config-soll.json filename, not German prose -->- [ ] **Step 1:** Define one source of truth: `silence_ms`, `max_utterance_s`,`cancel_hysteresis_ms`, `probe_interval_ms`, `probe_min_active_ms`, `probe_tail_ms`,@@ -281,7 +281,7 @@ unrelated feature edit fail loudly instead of silently regressing the user.- [ ] **Step 2:** Wire `desktop_app.py:1169` and `watchdog.py:124` to pass these through(today they pass none → defaults win silently).- [ ] **Step 3:** Add a parity test asserting the `jarvis.toml` keys, `config.py` fields, and- `config-soll.json` keys match (the five-layer anti-drift pattern from+ `config-soll.json` keys match (the five-layer anti-drift pattern from <!-- i18n-allow: "soll" is part of the config-soll.json filename, not German prose -->`docs/anti-drift-three-layer.md`).- [ ] **Step 4:** Commit (`refactor(speech): single source of truth for turn-endpoint timing`).@@ -324,7 +324,7 @@ unrelated feature edit fail loudly instead of silently regressing the user.| `jarvis/audio/vad.py` | Endpoint engine; 3 triggers; cancel-hysteresis | `94`, `146-160`, `182-219`, `228-236`, `240-284` || `jarvis/speech/pipeline.py` | Probe logic; config defaults; post-submit buffer | `293-326`, `447-466`, `544`, `572-622`, `842-962`, `2150`, `2430-2535` || `jarvis/core/config.py` | `heavy_local_whisper`, `single_turn_mode` defaults | `95`, `102` |-| `jarvis.toml` / `scripts/config-soll.json` | Config layers | `[turn]` §, `single_turn_mode` |+| `jarvis.toml` / `scripts/config-soll.json` | Config layers | `[turn]` §, `single_turn_mode` <!-- i18n-allow: "soll" is part of the config-soll.json filename, not German prose --> || `tests/unit/audio/test_vad_turn_taking.py` | Existing VAD test (fixture pattern) | — |---diff --git a/docs/plans/voice-phrase-mismatch-2026-05-26/README.md b/docs/plans/voice-phrase-mismatch-2026-05-26/README.mdindex a758030c13..848b8865aa 100644--- a/docs/plans/voice-phrase-mismatch-2026-05-26/README.md+++ b/docs/plans/voice-phrase-mismatch-2026-05-26/README.md@@ -10,15 +10,15 @@## 1. Symptom (verbatim from the user)-> "Manchmal schmeißt er einfach irgendwelche komischen Phrases rein, die-> gar keinen Sinn machen. Ich habe eine simple Aufgabe gestellt, und er+> "Manchmal schmeißt er einfach irgendwelche komischen Phrases rein, die <!-- i18n-allow -->+> gar keinen Sinn machen. Ich habe eine simple Aufgabe gestellt, und er <!-- i18n-allow -->> hat gesagt:>-> „Die Mission ist fehlgeschlagen, drei Versuche haben nicht+> „Die Mission ist fehlgeschlagen, drei Versuche haben nicht <!-- i18n-allow -->> gereicht. Dann schauen wir einfach mal in die letzte> Transkription, was ich gesagt habe.">-> Das hat wirklich überhaupt nichts mit dem Kontext zu tun."+> Das hat wirklich überhaupt nichts mit dem Kontext zu tun." <!-- i18n-allow -->>> (English gloss: "Sometimes it just throws in random weird phrases that> make no sense at all. I gave it a simple task, and it said:@@ -39,7 +39,7 @@ That mismatch is the headline of the bug.| # | Phrase | Surface character ||---|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------|-| 1 | "Die Mission ist fehlgeschlagen, drei Versuche haben nicht gereicht." ("The mission has failed, three attempts were not enough.") | Static template, terminal-failure summary |+| 1 | "Die Mission ist fehlgeschlagen, drei Versuche haben nicht gereicht." ("The mission has failed, three attempts were not enough.") | Static template, terminal-failure summary <!-- i18n-allow --> || 2 | "Dann schauen wir einfach mal in die letzte Transkription, was ich gesagt habe." ("Then let's just take a look at the last transcription to see what I said.") | First-person, mid-thought reasoning prose |**Hypothesis (to be proven, not assumed):** the two phrases were emitted@@ -58,15 +58,15 @@ the `MissionFailed` branch.```python# announcer.py:177-193 (extract)de_map = {- "critic_loop_exhausted": "Drei Versuche haben nicht gereicht.",- "critic_rejected": "Die Prüfung war nicht zufrieden.",- "task_error": "Der Worker ist abgebrochen.",+ "critic_loop_exhausted": "Drei Versuche haben nicht gereicht.", <!-- i18n-allow -->+ "critic_rejected": "Die Prüfung war nicht zufrieden.", <!-- i18n-allow -->+ "task_error": "Der Worker ist abgebrochen.", <!-- i18n-allow -->...}short_reason = reason.split(":", 1)[0].strip()if lang == "de":tail = de_map.get(short_reason, f"Grund: {reason}" if reason else "")- text = f"Die Mission ist fehlgeschlagen. {tail}".rstrip()+ text = f"Die Mission ist fehlgeschlagen. {tail}".rstrip() <!-- i18n-allow -->```### 3.2 Why this fires@@ -198,7 +198,7 @@ own meta-narration that leaked into the spoken stream.The Mission-Failure announcement is loud enough for the microphone tore-capture it through the speakers. STT then transcribes a fragment of-"Mission fehlgeschlagen, drei Versuche …" ("mission failed, three attempts+"Mission fehlgeschlagen, drei Versuche …" ("mission failed, three attempts <!-- i18n-allow -->…") as user input on the next turn. The router-brain receives thisself-echo as a query and answers with planning prose ("then let's look atthe last transcript …").@@ -266,7 +266,7 @@ data.t=Δ4 worker iter 3 → critic rejectMissionFailed(reason="critic_loop_exhausted") publishedt=Δ5 MissionAnnouncer renders:- "Die Mission ist fehlgeschlagen. Drei Versuche haben nicht gereicht."+ "Die Mission ist fehlgeschlagen. Drei Versuche haben nicht gereicht." <!-- i18n-allow -->(= "The mission has failed. Three attempts were not enough.")priority="interrupt", language="de"→ AnnouncementRequested → _on_announcement → scrub_for_voice@@ -360,7 +360,7 @@ Before a fix is attempted, the following evidence must be gathered the| Hypothesis | Expected log signature ||------------|----------------------------------------------------------------------------------------------------------|| H1 (brain) | `MissionFailed` → `AnnouncementRequested(priority=interrupt)` → `LISTENING` → STT turn with **user-shaped** transcription → `_handle_utterance` → brain reply with Phrase 2. |-| H2 (echo) | Same prefix, but the STT turn just before Phrase 2 transcribes fragments of Phrase 1 itself (e.g. "Mission fehlgeschlagen drei Versuche" — "mission failed three attempts"). That is the smoking gun. |+| H2 (echo) | Same prefix, but the STT turn just before Phrase 2 transcribes fragments of Phrase 1 itself (e.g. "Mission fehlgeschlagen drei Versuche" — "mission failed three attempts"). That is the smoking gun. <!-- i18n-allow --> || H3 (ack) | Phrase 2 appears in an `AnnouncementRequested(source_layer="brain.ack_brain", kind="preamble")` log line **before** the main brain reply for the next turn — i.e. without an intervening `_handle_utterance` arrow at all. || H4 (skill) | Phrase 2 appears in an `AnnouncementRequested` with a `source_layer` other than `brain.ack_brain` or the mission bridges. |diff --git a/docs/self_mod.md b/docs/self_mod.mdindex ef915be814..43f8116b5b 100644--- a/docs/self_mod.md+++ b/docs/self_mod.md@@ -32,7 +32,7 @@ possible ONLY via speech/chat — the web UI is read-only.```User: "Wechsle TTS auf Gemini Flash."Jarvis: "Verstanden — TTS-Provider wechselt von elevenlabs zu- gemini-flash-tts. Bestätigen?"+ gemini-flash-tts. Bestätigen?" <!-- i18n-allow -->User: "Ja."Jarvis: "Erledigt — TTS-Provider ist jetzt gemini-flash-tts."```@@ -83,7 +83,7 @@ Before every mutation the `AtomicConfigWriter` creates a backup inwrite, the reload test (`ConfigLoader.load(jarvis.toml)`) crashes — e.g.because a subtle schema error slipped through pre-validate — the backup isrestored **automatically** and a `ReloadError` is raised. The user hears-a TTS message "Konnte nicht gespeichert werden, hab den vorherigen+a TTS message "Konnte nicht gespeichert werden, hab den vorherigen <!-- i18n-allow -->Zustand wiederhergestellt." (Could not be saved, I restored the previousstate.) and the audit has `rolled_back=true`.@@ -137,7 +137,7 @@ split (`auto_apply="safe_only"`).## 6. Skill authoring (Plan §7.5)-A voice command like "Erstelle einen Skill, der Spotify pausiert wenn ich+A voice command like "Erstelle einen Skill, der Spotify pausiert wenn ich <!-- i18n-allow -->rede" (Create a skill that pauses Spotify when I speak) → main Jarviscalls the `spawn_skill_author` tool → a Jarvis-Agent (Opus 4.7) generatesSKILL.md → forces `state=draft`. The draft lands indiff --git a/docs/spike-results-jarvis-agents.md b/docs/spike-results-jarvis-agents.mdindex d118e71090..f53f093b66 100644--- a/docs/spike-results-jarvis-agents.md+++ b/docs/spike-results-jarvis-agents.md@@ -334,7 +334,7 @@ On Windows, `openclaw` is **not a standalone binary**, but three files in the `n- `openclaw.cmd` (cmd batch wrapper, startable by `Start-Process`)- `openclaw.ps1` (PowerShell wrapper)-`Start-Process -FilePath "openclaw"` fails (`%1 ist keine zulässige Win32-Anwendung` — "%1 is not a valid Win32 application"), because PowerShell finds the `.ps1` wrapper and the Windows process API cannot start it. The bridge must reference the `.cmd` variant explicitly or call `node.exe + openclaw.mjs` directly.+`Start-Process -FilePath "openclaw"` fails (`%1 ist keine zulässige Win32-Anwendung` — "%1 is not a valid Win32 application"), because PowerShell finds the `.ps1` wrapper and the Windows process API cannot start it. The bridge must reference the `.cmd` variant explicitly or call `node.exe + openclaw.mjs` directly. <!-- i18n-allow -->### B-8: Provider idle timeout (architecture-critical)diff --git a/docs/superpowers/plans/2026-05-11-pre-thinking-ack-flash-brain-impl-plan.md b/docs/superpowers/plans/2026-05-11-pre-thinking-ack-flash-brain-impl-plan.mdindex 713e692ce9..c554e74ac9 100644--- a/docs/superpowers/plans/2026-05-11-pre-thinking-ack-flash-brain-impl-plan.md+++ b/docs/superpowers/plans/2026-05-11-pre-thinking-ack-flash-brain-impl-plan.md@@ -843,21 +843,21 @@ __all__ = ["PERSONA_PROMPT_DE", "PERSONA_PROMPT_EN", "get_persona_prompt"]PERSONA_PROMPT_DE = """Du bist JARVIS, der persönliche Assistent von Alex. Sprich kurz, natürlich <!-- i18n-allow -->-und kontextspezifisch — wie ein cleverer Kollege, der weiß, was er tut.+und kontextspezifisch — wie ein cleverer Kollege, der weiß, was er tut. <!-- i18n-allow -->-Deine einzige Aufgabe: ein kurzer Bestätigungssatz, BEVOR die eigentliche-Arbeit beginnt. Der User hört diesen Satz innerhalb von Sekunden, damit er-weiß, dass du verstanden hast und gerade arbeitest.+Deine einzige Aufgabe: ein kurzer Bestätigungssatz, BEVOR die eigentliche <!-- i18n-allow -->+Arbeit beginnt. Der User hört diesen Satz innerhalb von Sekunden, damit er <!-- i18n-allow -->+weiß, dass du verstanden hast und gerade arbeitest. <!-- i18n-allow -->Regeln:-- EXAKT EIN Satz. Maximal 12 Wörter.-- Sprich Alex gelegentlich mit "Chef" an (etwa 1 von 3 Sätzen), nicht- immer. Sei locker, nicht förmlich. Niemals "Sehr wohl" oder "Sir".-- Nenne wenn möglich das konkrete Thema.-- Passe die Tonalität an:- * Aktion ("Mach X auf"): "Mache ich, X öffnet sich."+- EXAKT EIN Satz. Maximal 12 Wörter. <!-- i18n-allow -->+- Sprich Alex gelegentlich mit "Chef" an (etwa 1 von 3 Sätzen), nicht <!-- i18n-allow -->+ immer. Sei locker, nicht förmlich. Niemals "Sehr wohl" oder "Sir". <!-- i18n-allow -->+- Nenne wenn möglich das konkrete Thema. <!-- i18n-allow -->+- Passe die Tonalität an: <!-- i18n-allow -->+ * Aktion ("Mach X auf"): "Mache ich, X öffnet sich." <!-- i18n-allow -->* Wissensfrage ("Wann ist Y?"): "Lass mich kurz nachschauen."- * Reflexion ("Was soll ich?"): "Hmm, kurz überlegen."+ * Reflexion ("Was soll ich?"): "Hmm, kurz überlegen." <!-- i18n-allow -->* Smalltalk ("Hallo"): "Hallo!" / "Tag, Chef."* Voice-Control ("Sei still"): Antworte mit leerem String "".- VERBOTEN: "Subagent", "Sub-Agent", "Worker", "Provider" (allein),@@ -866,13 +866,13 @@ Regeln:Beispiele:User: "Mach Spotify auf."-Du: "Mache ich, Spotify öffnet sich gleich."+Du: "Mache ich, Spotify öffnet sich gleich." <!-- i18n-allow -->-User: "Wann wird Albel eingestellt?"+User: "Wann wird Albel eingestellt?" <!-- i18n-allow -->Du: "Lass mich kurz nachschauen."-User: "Such mir Flüge nach San Francisco für morgen."-Du: "Klar Chef, ich gebe das an OpenClaw weiter."+User: "Such mir Flüge nach San Francisco für morgen." <!-- i18n-allow -->+Du: "Klar Chef, ich gebe das an OpenClaw weiter." <!-- i18n-allow -->User: "Hallo Jarvis."Du: "Hallo!"@@ -880,17 +880,17 @@ Du: "Hallo!"User: "Sei still."Du: ""-User: "Was sollte ich heute essen?"-Du: "Hmm, lass mich kurz überlegen."+User: "Was sollte ich heute essen?" <!-- i18n-allow -->+Du: "Hmm, lass mich kurz überlegen." <!-- i18n-allow -->User: "Wie geht's dir?"Du: "Gut, danke der Nachfrage."-User: "Ändere die TTS-Stimme auf Lara."+User: "Ändere die TTS-Stimme auf Lara." <!-- i18n-allow -->Du: "Okay, wechsle auf Lara."-Antworte AUSSCHLIESSLICH mit dem Bestätigungssatz oder leerem String.-Kein Markdown, kein Kommentar, keine Erklärung."""+Antworte AUSSCHLIESSLICH mit dem Bestätigungssatz oder leerem String. <!-- i18n-allow -->+Kein Markdown, kein Kommentar, keine Erklärung.""" <!-- i18n-allow -->PERSONA_PROMPT_EN = """You are JARVIS, Alex's personal assistant. Speak short, natural, and@@ -1003,42 +1003,42 @@ EOF### Ready-to-paste prompt for Stage 2```text-Du implementierst Etappe 2 ("Persona Prompt Module") des Pre-Thinking-Ack-Flash-Brain Features.+You are implementing Stage 2 ("Persona Prompt Module") of the Pre-Thinking-Ack+Flash-Brain feature.-Pflichtlektüre:+Required reading:1. docs/superpowers/specs/2026-05-11-pre-thinking-ack-flash-brain-design.md- — §4 "Persona-Prompt (locked in this spec)", PERSONA_PROMPT_DE und- PERSONA_PROMPT_EN müssen 1:1 wie in der Spec übernommen werden+ — §4 "Persona-Prompt (locked in this spec)", PERSONA_PROMPT_DE and+ PERSONA_PROMPT_EN must be taken over 1:1 as in the spec2. docs/superpowers/plans/2026-05-11-pre-thinking-ack-flash-brain-impl-plan.md- — Section "Etappe 2 — Persona Prompt Module"-3. CLAUDE.md — Testing-Konventionen, Language Policy--Scope dieser Etappe:-- jarvis/brain/ack_brain/persona_prompt.py mit PERSONA_PROMPT_DE,- PERSONA_PROMPT_EN und get_persona_prompt(language) Helper-- tests/unit/brain/test_ack_brain/test_persona_prompt.py mit Regressions-- Tests für Substrings, Längen-Constraints und Sprachpicker--Was du NICHT machst:-- KEIN Refactor des bestehenden ack_generator.py (das kommt in E5)-- KEINE Provider-Implementierung (das ist E4)-- KEINE Verdrahtung mit Router (das ist E5)-- Den Prompt-Text NICHT kreativ umformulieren — er ist gelockt in der Spec--WICHTIG:-- Die Prompts sind Daten, kein Code. Keine f-strings, keine- Interpolation. Triple-quoted Strings, verbatim aus Spec §4.-- Umlaute korrekt erhalten: ä ö ü ß, niemals ae oe ue ss--Akzeptanzkriterien:+ — Section "Stage 2 — Persona Prompt Module"+3. CLAUDE.md — testing conventions, language policy++Scope of this stage:+- jarvis/brain/ack_brain/persona_prompt.py with PERSONA_PROMPT_DE,+ PERSONA_PROMPT_EN, and a get_persona_prompt(language) helper+- tests/unit/brain/test_ack_brain/test_persona_prompt.py with regression+ tests for substrings, length constraints, and the language picker++What you do NOT do:+- NO refactor of the existing ack_generator.py (that comes in E5)+- NO provider implementation (that is E4)+- NO wiring with the router (that is E5)+- Do NOT creatively reword the prompt text — it is locked in the spec++IMPORTANT:+- The prompts are data, not code. No f-strings, no+ interpolation. Triple-quoted strings, verbatim from spec §4.+- Preserve umlauts correctly: ä ö ü ß, never ae oe ue ss++Acceptance criteria:1. pytest tests/unit/brain/test_ack_brain/test_persona_prompt.py -v → 18 pass-2. PERSONA_PROMPT_DE und PERSONA_PROMPT_EN < 1500 Zeichen jeweils-3. Beide Prompts enthalten "Subagent" (im verbotenen-Block) und "OpenClaw"- (im erlaubten-Block)+2. PERSONA_PROMPT_DE and PERSONA_PROMPT_EN < 1500 characters each+3. Both prompts contain "Subagent" (in the forbidden block) and "OpenClaw"+ (in the allowed block)4. get_persona_prompt("de-DE") → PERSONA_PROMPT_DE-5. get_persona_prompt(None) → PERSONA_PROMPT_DE (Default)-6. Ein Commit+5. get_persona_prompt(None) → PERSONA_PROMPT_DE (default)+6. One commit```---@@ -1457,36 +1457,36 @@ EOF### Ready-to-paste prompt for Stage 3```text-Du implementierst Etappe 3 ("Provider Protocol + Circuit Breaker") des-Pre-Thinking-Ack Flash-Brain Features.+You are implementing Stage 3 ("Provider Protocol + Circuit Breaker") of the+Pre-Thinking-Ack Flash-Brain feature.-Pflichtlektüre:+Required reading:1. docs/superpowers/specs/2026-05-11-pre-thinking-ack-flash-brain-design.md— §6 Failure Handling F8 (Circuit Breaker), §4 Components Backend2. docs/superpowers/plans/2026-05-11-pre-thinking-ack-flash-brain-impl-plan.md- — Section "Etappe 3"+ — Section "Stage 3"3. CLAUDE.md-Pre-Condition: Etappe 1 und 2 sind committet. Wenn nicht, STOPP und sag-dem User Bescheid.+Pre-condition: Stages 1 and 2 are committed. If not, STOP and tell+the user.Scope:-- jarvis/brain/ack_brain/circuit_breaker.py mit CircuitBreaker + CircuitState+- jarvis/brain/ack_brain/circuit_breaker.py with CircuitBreaker + CircuitState- jarvis/brain/ack_brain/providers/__init__.py-- jarvis/brain/ack_brain/providers/base.py mit AbstractAckProvider Protocol+- jarvis/brain/ack_brain/providers/base.py with the AbstractAckProvider protocol- Tests in tests/unit/brain/test_ack_brain/-Was du NICHT machst:-- KEINE konkreten Provider (Gemini/Grok/OpenAI/Ollama) — das ist E4-- KEINE AckGenerator-Klasse — das ist E5-- KEINEN Threading-Lock im CircuitBreaker — asyncio single-loop reicht- laut Spec+What you do NOT do:+- NO concrete providers (Gemini/Grok/OpenAI/Ollama) — that is E4+- NO AckGenerator class — that is E5+- NO threading lock in the CircuitBreaker — a single asyncio loop is enough+ per the spec-Akzeptanzkriterien:+Acceptance criteria:1. pytest tests/unit/brain/test_ack_brain/test_circuit_breaker.py -v → 8 pass2. pytest tests/unit/brain/test_ack_brain/providers/test_base.py -v → 3 pass-3. Zwei Commits, jeweils ein Task aus der Plan-Datei-4. Kein Regressions-Failure auf E1/E2 Tests+3. Two commits, one task per plan file each+4. No regression failure on E1/E2 tests```---@@ -1600,7 +1600,7 @@ async def test_gemini_extracts_text_from_happy_response()fake = _FakeClient(_FakeResponse({"candidates": [- {"content": {"parts": [{"text": "Mache ich, Spotify öffnet sich."}]}}+ {"content": {"parts": [{"text": "Mache ich, Spotify öffnet sich."}]}} <!-- i18n-allow -->]}))monkeypatch.setattr(@@ -1609,7 +1609,7 @@ async def test_gemini_extracts_text_from_happy_response()provider = GeminiFlashAck(config)result = await provider.complete("Mach Spotify auf", language="de")- assert result == "Mache ich, Spotify öffnet sich."+ assert result == "Mache ich, Spotify öffnet sich." <!-- i18n-allow -->@pytest.mark.asyncio@@ -1826,7 +1826,7 @@ async def test_grok_extracts_content(lambda **kw: fake,)provider = GrokFlashAck(config)- result = await provider.complete("öffne Discord", language="de")+ result = await provider.complete("öffne Discord", language="de") <!-- i18n-allow -->assert result == "Klar Chef, mach ich."@@ -2111,7 +2111,7 @@ async def test_ollama_extracts_message_content(lambda **kw: fake,)provider = OllamaFlashAck(config)- result = await provider.complete("öffne Notepad", language="de")+ result = await provider.complete("öffne Notepad", language="de") <!-- i18n-allow -->assert result == "Mache ich."@@ -2362,48 +2362,48 @@ EOF### Ready-to-paste prompt for Stage 4```text-Du implementierst Etappe 4 ("Provider Plugins") des Pre-Thinking-Ack-Flash-Brain Features.+You are implementing Stage 4 ("Provider Plugins") of the Pre-Thinking-Ack+Flash-Brain feature.-Pflichtlektüre:+Required reading:1. docs/superpowers/specs/2026-05-11-pre-thinking-ack-flash-brain-design.md- — §4 Components Backend (Provider-Adapter), §6 Failure Handling+ — §4 Components Backend (provider adapter), §6 Failure Handling2. docs/superpowers/plans/2026-05-11-pre-thinking-ack-flash-brain-impl-plan.md- — Section "Etappe 4 — Provider Plugins"-3. CLAUDE.md — Plugin-System mit entry_points, Streaming-First-Class-4. Bestehender Provider als Stilvorbild: jarvis/plugins/tts/grok_voice_tts.py+ — Section "Stage 4 — Provider Plugins"+3. CLAUDE.md — plugin system with entry_points, streaming-first-class+4. Existing provider as a style template: jarvis/plugins/tts/grok_voice_tts.py-Pre-Condition: Etappen 1–3 sind committet. Wenn nicht, STOPP.+Pre-condition: Stages 1–3 are committed. If not, STOP.Scope:-- Vier Provider-Adapter unter jarvis/brain/ack_brain/providers/:+- Four provider adapters under jarvis/brain/ack_brain/providers/:gemini.py, grok.py, openai.py, ollama.py- Tests in tests/unit/brain/test_ack_brain/providers/-- Entry-Points in pyproject.toml unter [project.entry-points."jarvis.ack_provider"]-- Contract-Test tests/contract/test_ack_provider_protocol.py--Was du NICHT machst:-- KEIN AckGenerator (das ist E5)-- KEINE Verdrahtung mit dem Router (das ist E5)-- KEIN Subprocess-Code — alle Provider sind in-process HTTP-Clients-- KEINE google-genai oder openai SDKs — direkt httpx, weniger Import-Kosten--Spec-Konformität:-- Alle Provider MÜSSEN scrub_for_voice NICHT selbst aufrufen — das macht- AckGenerator in E5-- Alle Provider MÜSSEN den persona_prompt via get_persona_prompt(language)- laden, nicht selbst zusammenbauen-- Empty-Utterance → "" zurück, nie crashen-- HTTP 5xx → Exception werfen lassen (AckGenerator fängt sie in E5)--Akzeptanzkriterien:-1. pytest tests/unit/brain/test_ack_brain/providers/ -v → mindestens 13 pass-2. pytest tests/contract/test_ack_provider_protocol.py -v → alle pass+- Entry points in pyproject.toml under [project.entry-points."jarvis.ack_provider"]+- Contract test tests/contract/test_ack_provider_protocol.py++What you do NOT do:+- NO AckGenerator (that is E5)+- NO wiring with the router (that is E5)+- NO subprocess code — all providers are in-process HTTP clients+- NO google-genai or openai SDKs — httpx directly, lower import cost++Spec conformance:+- All providers MUST NOT call scrub_for_voice themselves — AckGenerator+ does that in E5+- All providers MUST load the persona_prompt via get_persona_prompt(language),+ not assemble it themselves+- Empty utterance → return "", never crash+- HTTP 5xx → let the exception propagate (AckGenerator catches it in E5)++Acceptance criteria:+1. pytest tests/unit/brain/test_ack_brain/providers/ -v → at least 13 pass+2. pytest tests/contract/test_ack_provider_protocol.py -v → all pass3. python -c "from importlib.metadata import entry_points; print(sorted(e.name for e in entry_points(group='jarvis.ack_provider')))"- gibt ['gemini', 'grok', 'ollama', 'openai']-4. NACH dem pyproject.toml-Edit: pip install -e . --no-deps gelaufen-5. Sechs Commits, einer pro Provider + Entry-Points + Contract-Test-6. Kein bestehender Test bricht+ returns ['gemini', 'grok', 'ollama', 'openai']+4. AFTER the pyproject.toml edit: pip install -e . --no-deps has run+5. Six commits, one per provider + entry points + contract test+6. No existing test breaks```---@@ -2486,11 +2486,11 @@ def config() -> AckBrainConfig:@pytest.mark.asyncioasync def test_happy_path_returns_scrubbed_text(config: AckBrainConfig):- provider = FakeProvider(returns="Mache ich, Chef, Spotify öffnet sich.")+ provider = FakeProvider(returns="Mache ich, Chef, Spotify öffnet sich.") <!-- i18n-allow -->gen = AckGenerator(config=config, provider=provider)- result = await gen.run("öffne Spotify", language="de")- assert result == "Mache ich, Chef, Spotify öffnet sich."- assert provider.calls == [("öffne Spotify", "de")]+ result = await gen.run("öffne Spotify", language="de") <!-- i18n-allow -->+ assert result == "Mache ich, Chef, Spotify öffnet sich." <!-- i18n-allow -->+ assert provider.calls == [("öffne Spotify", "de")] <!-- i18n-allow -->@pytest.mark.asyncio@@ -2526,12 +2526,12 @@ async def test_whitespace_only_returns_none(config: AckBrainConfig):@pytest.mark.asyncioasync def test_truncates_long_output_at_first_sentence(config: AckBrainConfig):long_text = (- "Mache ich, Chef. Hier sind die Details, die du wissen musst, weil "- "es sehr lang sein könnte und der User nicht alles hören will."+ "Mache ich, Chef. Hier sind die Details, die du wissen musst, weil " <!-- i18n-allow -->+ "es sehr lang sein könnte und der User nicht alles hören will." <!-- i18n-allow -->)provider = FakeProvider(returns=long_text)gen = AckGenerator(config=config, provider=provider)- result = await gen.run("erkläre mir das System", language="de")+ result = await gen.run("erkläre mir das System", language="de") <!-- i18n-allow -->assert result is not Noneassert result.endswith(".")assert "Details" not in result # truncated before second sentence@@ -2541,7 +2541,7 @@ async def test_truncates_long_output_at_first_sentence(config: AckBrainConfig):async def test_scrubbed_empty_returns_none(config: AckBrainConfig):# The output_filter strips banned vocabulary. A provider that only# emits "Sub-Agent" produces "" after scrub.- provider = FakeProvider(returns="Der Sub-Agent läuft.")+ provider = FakeProvider(returns="Der Sub-Agent läuft.") <!-- i18n-allow -->gen = AckGenerator(config=config, provider=provider)result = await gen.run("hi", language="de")# Depends on scrub_for_voice — must return None if the scrub strips@@ -2729,9 +2729,9 @@ Note: existing tests against the template implementation. Many will need updatinHistory: this module used to host per-tool template handlers(_ack_search_web, _ack_open_app, ...) plus a _GENERIC_ACK fallback.That approach was rejected because the generic fallback emitted-"Verstanden, ich kümmere mich darum." for every spawn_sub_jarvis call,+"Verstanden, ich kümmere mich darum." for every spawn_sub_jarvis call, <!-- i18n-allow -->regardless of whether the user asked an action ("Mach Spotify auf") or-a knowledge question ("Wann wird Albel eingestellt?"). The new design+a knowledge question ("Wann wird Albel eingestellt?"). The new design <!-- i18n-allow -->delegates to a provider-pluggable LLM (see jarvis.brain.ack_brain) andthis module only exposes the legacy surface that router.py expects.@@ -2785,11 +2785,11 @@ _VOICE_CONTROL_PATTERN = re.compile(r"|sei\s+(?:bitte\s+)?(?:still|leise|stiller)"r"|halt(?:\s+(?:die\s+)?klappe)?"r"|stop(?:p)?(?:\s+(?:sprechen|reden|talking))?"- r"|pause(?:\s+(?:die\s+)?(?:wiedergabe|musik|sprache))?"+ r"|pause(?:\s+(?:die\s+)?(?:wiedergabe|musik|sprache))?" <!-- i18n-allow -->r"|pausier(?:e|en|t)?"r"|stumm(?:\s+schalten)?"r"|schweig(?:e|en)?"- r"|nicht\s+(?:so\s+)?(?:laut|leise)"+ r"|nicht\s+(?:so\s+)?(?:laut|leise)" <!-- i18n-allow -->r"|(?:be\s+)?quiet"r"|shut\s+up"r"|louder|quieter|softer"@@ -2806,7 +2806,7 @@ _VOICE_CONTROL_PATTERN = re.compile(_FINAL_MARKERS: dict[str, str] = {"de": "Erledigt.", "en": "Done."}_ALREADY_CONFIRMING_RE = re.compile(- r"^\s*(erledigt|fertig|okay|ok|alright|done|got\s+it|verstanden|in\s+ordnung|sure)\b",+ r"^\s*(erledigt|fertig|okay|ok|alright|done|got\s+it|verstanden|in\s+ordnung|sure)\b", <!-- i18n-allow -->re.IGNORECASE,)@@ -2901,8 +2901,8 @@ def test_voice_control_detected(utterance: str):@pytest.mark.parametrize("utterance", ["lauter Applaus war zu hoeren", # narrative, not command- "still im Gespraech",- "öffne Spotify",+ "still im Gespraech", <!-- i18n-allow -->+ "öffne Spotify", <!-- i18n-allow -->"wann ist Mittag","",None,@@ -2929,7 +2929,7 @@ def test_should_prepend_on_empty():def test_should_not_prepend_when_self_confirming():- assert should_prepend_marker("Okay, das ist erledigt.") is False+ assert should_prepend_marker("Okay, das ist erledigt.") is False <!-- i18n-allow -->@pytest.mark.asyncio@@ -3133,7 +3133,7 @@ async def test_ack_published_on_bus_with_preamble_kind():provider = _ScriptedProvider("Lass mich kurz nachschauen.")gen = AckGenerator(config=config, provider=provider)- text = await gen.run("Wann wird Albel eingestellt?", language="de")+ text = await gen.run("Wann wird Albel eingestellt?", language="de") <!-- i18n-allow -->assert text == "Lass mich kurz nachschauen."await bus.publish(@@ -3269,51 +3269,51 @@ EOF### Ready-to-paste prompt for Stage 5```text-Du implementierst Etappe 5 ("AckGenerator Core + Wiring") des Pre-Thinking-Ack-Flash-Brain Features. Das ist die anspruchsvollste Etappe — nimm dir Zeit.+You are implementing Stage 5 ("AckGenerator Core + Wiring") of the Pre-Thinking-Ack+Flash-Brain feature. This is the most demanding stage — take your time.-Pflichtlektüre:+Required reading:1. docs/superpowers/specs/2026-05-11-pre-thinking-ack-flash-brain-design.md- — komplette Spec, besonders §3 Architecture, §4 Components, §6 Failure+ — the complete spec, especially §3 Architecture, §4 Components, §6 Failure2. docs/superpowers/plans/2026-05-11-pre-thinking-ack-flash-brain-impl-plan.md- — Section "Etappe 5"-3. CLAUDE.md — Brain-Routing & BrainManager, Streaming-First-Class-4. jarvis/brain/router.py:324-348 (bestehender _build_ack_emitter)+ — Section "Stage 5"+3. CLAUDE.md — brain routing & BrainManager, streaming-first-class+4. jarvis/brain/router.py:324-348 (existing _build_ack_emitter)5. jarvis/brain/factory.py (build_default_brain)-6. jarvis/brain/output_filter.py:scrub_for_voice (40 Schwarzlist-Patterns)+6. jarvis/brain/output_filter.py:scrub_for_voice (40 blacklist patterns)-Pre-Condition: Etappen 1–4 sind committet. Wenn nicht, STOPP.+Pre-condition: Stages 1–4 are committed. If not, STOP.Scope:-- jarvis/brain/ack_brain/generator.py mit AckGenerator+- jarvis/brain/ack_brain/generator.py with AckGenerator- Tests in tests/unit/brain/test_ack_brain/test_generator.py-- REFACTOR jarvis/brain/ack_generator.py (Templates raus, Adapter rein)+- REFACTOR jarvis/brain/ack_generator.py (templates out, adapter in)- REWRITE tests/unit/brain/test_ack_generator.py-- MODIFY jarvis/brain/router.py:324-348 (neue _build_ack_emitter)-- MODIFY jarvis/brain/factory.py (AckGenerator instantiierung)+- MODIFY jarvis/brain/router.py:324-348 (new _build_ack_emitter)+- MODIFY jarvis/brain/factory.py (AckGenerator instantiation)- Integration tests: tests/integration/test_ack_flow.py- Integration tests: tests/integration/test_ack_provider_swap.py-Was du NICHT machst:-- KEINE UI-Änderungen (das ist E6)-- KEIN Wizard-Step (das ist E6)-- KEINE neuen Provider — die vier aus E4 reichen-- KEIN automatischer Provider-Fallback bei Failure — Silent ist by design-- KEIN Retry-Loop — ein Ack der nach 3s kommt ist sinnlos+What you do NOT do:+- NO UI changes (that is E6)+- NO wizard step (that is E6)+- NO new providers — the four from E4 are enough+- NO automatic provider fallback on failure — silent is by design+- NO retry loop — an ack that arrives after 3s is pointless-WICHTIGSTE Design-Eigenschaft (Spec §3): Der Flash-Brain sieht NUR die-User-Utterance, NICHT den Router-Tool-Output. Das ist die strukturelle-Lösung für das Albel-Problem.+MOST IMPORTANT design property (Spec §3): the Flash-Brain sees ONLY the+user utterance, NOT the router tool output. That is the structural+solution to the Albel problem.-Akzeptanzkriterien:+Acceptance criteria:1. pytest tests/unit/brain/test_ack_brain/test_generator.py -v → 8 pass2. pytest tests/unit/brain/test_ack_generator.py -v → all pass3. pytest tests/integration/test_ack_flow.py -v → 2 pass4. pytest tests/integration/test_ack_provider_swap.py -v → 3 pass5. python -c "from jarvis.brain.factory import build_default_brain; build_default_brain(); print('ok')" → "ok"-6. Drei Commits (generator + ack_generator-refactor + router/factory-wiring)-7. Voller Test-Run: pytest tests/ -v zeigt keinen neuen Regressions-Failure- gegenüber dem Stand vor E5+6. Three commits (generator + ack_generator refactor + router/factory wiring)+7. Full test run: pytest tests/ -v shows no new regression failure+ compared to the state before E5```---@@ -3496,9 +3496,9 @@ def _step_ack_brain_provider(state: WizardState) -> WizardState:available.append("ollama") # always available, localchoice = _prompt_choice(- "Welcher schnelle LLM-Provider soll fuer Pre-Thinking-Acks "- "verwendet werden? (Ack = der kurze Satz den du hoerst bevor "- "Jarvis seine eigentliche Antwort gibt.)",+ "Which fast LLM provider should be used for Pre-Thinking Acks? "+ "(Ack = the short sentence you hear before "+ "Jarvis gives its actual answer.)",choices=available,)@@ -3564,8 +3564,8 @@ $ErrorActionPreference = "Stop"$Utterances = @{"de" = @("Mach Spotify auf",- "Wann wird Albel eingestellt?",- "Such mir Fluege nach San Francisco fuer morgen",+ "Wann wird Albel eingestellt?", <!-- i18n-allow -->+ "Such mir Fluege nach San Francisco fuer morgen", <!-- i18n-allow -->"Hallo Jarvis","Sei still")@@ -3725,61 +3725,61 @@ EOF- [ ] `docs/ack-brain.md` exists and is referenced in CLAUDE.md- [ ] Five commits- [ ] Full repo test suite: `pytest tests/ -v` → no new regressions-- [ ] Manual smoke run: enabling `[ack_brain].enabled = true` in `jarvis.toml`, restarting Jarvis, saying "Wann wird Albel eingestellt?" produces audible "Lass mich kurz nachschauen." within ~1 second, followed by the main reply+- [ ] Manual smoke run: enabling `[ack_brain].enabled = true` in `jarvis.toml`, restarting Jarvis, saying "Wann wird Albel eingestellt?" produces audible "Lass mich kurz nachschauen." within ~1 second, followed by the main reply <!-- i18n-allow -->### Ready-to-paste prompt for Stage 6```text-Du implementierst Etappe 6 ("UI + Smoke + Wizard + Docs") des-Pre-Thinking-Ack Flash-Brain Features. Letzte Etappe — final polish.+You are implementing Stage 6 ("UI + Smoke + Wizard + Docs") of the+Pre-Thinking-Ack Flash-Brain feature. Final stage — final polish.-Pflichtlektüre:+Required reading:1. docs/superpowers/specs/2026-05-11-pre-thinking-ack-flash-brain-design.md— §4 UI/Frontend section2. docs/superpowers/plans/2026-05-11-pre-thinking-ack-flash-brain-impl-plan.md- — Section "Etappe 6"-3. CLAUDE.md — Desktop-App & Channels+ — Section "Stage 6"+3. CLAUDE.md — desktop app & channels4. jarvis/ui/web/server.py (existing _on_announcement WS forwarding)5. jarvis/setup/wizard.py (existing wizard step pattern)-Pre-Condition: Etappen 1–5 sind committet UND der Backend-Pfad funktioniert-(test_ack_flow.py grün). Wenn nicht, STOPP.+Pre-condition: Stages 1–5 are committed AND the backend path works+(test_ack_flow.py green). If not, STOP.Scope:-- jarvis/ui/web/server.py: AnnouncementRequested.kind="preamble" als- neue WebSocket-Rolle forwarden+- jarvis/ui/web/server.py: forward AnnouncementRequested.kind="preamble"+ as a new WebSocket role- jarvis/ui/web/frontend/src/types/messages.ts: MessageRole = "user" |"jarvis" | "preamble"-- jarvis/ui/web/frontend/src/views/ChatView.tsx: Preamble-Bubble- rendern (italic, muted, "ack"-Chip)-- jarvis/setup/wizard.py: Provider-Auswahl-Step für ack_brain-- scripts/smoke-test-ack.ps1: 5 Utterances pro Sprache + 5 manuelle Checks-- docs/ack-brain.md: User-facing One-Pager-- CLAUDE.md: Eine Zeile Referenz unter Phasen-Section--Was du NICHT machst:-- KEINE Backend-Änderungen (alles ist in E1-E5 done)-- KEINE neuen Tests in tests/unit/ (Backend-Coverage steht)-- KEINE Persona-Prompt-Änderungen-- KEINE neuen Provider--Manueller Final-Smoke (Acceptance):-1. jarvis.toml: [ack_brain].enabled = true setzen, provider auswählen-2. Restart-Sequenz: pip install -e . --no-deps, dann Jarvis neu starten-3. "Wann wird Albel eingestellt?" sprechen-4. Audio innerhalb 1 Sekunde: "Lass mich kurz nachschauen."-5. Audio danach: Hauptantwort vom Brain-6. Chat-UI zeigt beide als getrennte Bubbles-7. Voice-control "Sei still" produziert kein Preamble-Audio--Akzeptanzkriterien:-1. cd jarvis/ui/web/frontend && npm run build → keine TS-Fehler-2. python -m jarvis --wizard → neuer ack_brain-Step erscheint-3. scripts/smoke-test-ack.ps1 existiert-4. docs/ack-brain.md existiert + CLAUDE.md referenziert es-5. Fünf Commits-6. pytest tests/ -v → keine neuen Regressions-7. Manueller End-to-End-Smoke wie oben beschrieben → green+- jarvis/ui/web/frontend/src/views/ChatView.tsx: render the preamble+ bubble (italic, muted, "ack" chip)+- jarvis/setup/wizard.py: provider-selection step for ack_brain+- scripts/smoke-test-ack.ps1: 5 utterances per language + 5 manual checks+- docs/ack-brain.md: user-facing one-pager+- CLAUDE.md: one line of reference under the phases section++What you do NOT do:+- NO backend changes (everything is done in E1-E5)+- NO new tests in tests/unit/ (backend coverage is in place)+- NO persona-prompt changes+- NO new providers++Manual final smoke test (acceptance):+1. jarvis.toml: set [ack_brain].enabled = true, choose a provider+2. Restart sequence: pip install -e . --no-deps, then restart Jarvis+3. Say "Wann wird Albel eingestellt?" <!-- i18n-allow -->+4. Audio within 1 second: "Lass mich kurz nachschauen." <!-- i18n-allow -->+5. Audio afterward: the main reply from the brain+6. The chat UI shows both as separate bubbles+7. Voice control "Sei still" produces no preamble audio <!-- i18n-allow -->++Acceptance criteria:+1. cd jarvis/ui/web/frontend && npm run build → no TS errors+2. python -m jarvis --wizard → the new ack_brain step appears+3. scripts/smoke-test-ack.ps1 exists+4. docs/ack-brain.md exists + CLAUDE.md references it+5. Five commits+6. pytest tests/ -v → no new regressions+7. Manual end-to-end smoke test as described above → green```---@@ -3792,7 +3792,7 @@ After all six stages are committed:- [ ] `pytest tests/unit/brain/test_ack_brain/ -v` → ~35 tests pass- [ ] `pytest tests/contract/test_ack_provider_protocol.py -v` → all pass- [ ] `pytest tests/integration/test_ack_flow.py tests/integration/test_ack_provider_swap.py -v` → all pass-- [ ] Manual E2E: set `[ack_brain].enabled = true`, restart, say "Wann wird Albel eingestellt?", hear "Lass mich kurz nachschauen." within ~1 second, hear final answer after+- [ ] Manual E2E: set `[ack_brain].enabled = true`, restart, say "Wann wird Albel eingestellt?", hear "Lass mich kurz nachschauen." within ~1 second, hear final answer after <!-- i18n-allow -->- [ ] No `"Subagent"` / `"Worker"` / `"Sir"` / `"Sehr wohl"` audible in any test- [ ] Voice-control utterances produce zero preamble audio- [ ] Switching `[ack_brain].provider` between `gemini` / `grok` / `openai` / `ollama` and restarting → next utterance uses the new providerdiff --git a/docs/superpowers/plans/2026-05-25-semantic-hangup-detection.md b/docs/superpowers/plans/2026-05-25-semantic-hangup-detection.mdindex a68a948b73..b05deb496c 100644--- a/docs/superpowers/plans/2026-05-25-semantic-hangup-detection.md+++ b/docs/superpowers/plans/2026-05-25-semantic-hangup-detection.md@@ -67,13 +67,13 @@ from jarvis.speech.hangup import ("lege auf","legen sie auf","aufgelegt",- "tschüss",+ "tschüss", <!-- i18n-allow -->"tschuess","beenden",- "gespräch beenden",- "auf wiederhören",+ "gespräch beenden", <!-- i18n-allow -->+ "auf wiederhören", <!-- i18n-allow -->"auf wiedersehen",- "bis später",+ "bis später", <!-- i18n-allow -->"gute nacht","jarvis aus","schluss jetzt",@@ -103,15 +103,15 @@ def test_hangup_re_matches_explicit_commands(phrase: str) -> None:# so the INSTANT regex must NOT fire on them."vielen dank","danke jarvis",- "danke schön",+ "danke schön", <!-- i18n-allow -->"thanks jarvis","das war's",# Normal speech must never match."wie geht es dir",- "erzähl mir was",+ "erzähl mir was", <!-- i18n-allow -->"kannst du das nochmal machen",- "geh mal auf die seite",- "öffne die datei",+ "geh mal auf die seite", <!-- i18n-allow -->+ "öffne die datei", <!-- i18n-allow -->],)def test_hangup_re_ignores_ambiguous_and_normal_speech(phrase: str) -> None:@@ -119,14 +119,14 @@ def test_hangup_re_ignores_ambiguous_and_normal_speech(phrase: str) -> None:def test_contains_end_signal_detects_token() -> None:- assert contains_end_signal("Bis später, Alex. [[END_CALL]]") is True- assert contains_end_signal("Bis später, Alex.") is False+ assert contains_end_signal("Bis später, Alex. [[END_CALL]]") is True <!-- i18n-allow -->+ assert contains_end_signal("Bis später, Alex.") is False <!-- i18n-allow -->assert contains_end_signal("") is Falseassert contains_end_signal(None) is False # type: ignore[arg-type]def test_strip_end_signal_removes_token_and_trims() -> None:- assert strip_end_signal("Bis später, Alex. [[END_CALL]]") == "Bis später, Alex."+ assert strip_end_signal("Bis später, Alex. [[END_CALL]]") == "Bis später, Alex." <!-- i18n-allow -->assert strip_end_signal("[[END_CALL]]") == ""assert strip_end_signal("Auf Wiedersehen.") == "Auf Wiedersehen."@@ -151,7 +151,7 @@ def test_is_legacy_farewell_matches_old_exact_phrases(phrase: str) -> None:def test_is_legacy_farewell_rejects_other_text() -> None:- assert is_legacy_farewell("auf wiedersehen alex war mir ein vergnügen") is False+ assert is_legacy_farewell("auf wiedersehen alex war mir ein vergnügen") is False <!-- i18n-allow -->assert is_legacy_farewell("hallo alex") is Falseassert is_legacy_farewell("") is False```@@ -219,21 +219,21 @@ _HANGUP_PATTERNS: Final[tuple[str, ...]] = (r"\bdrauf\s*leg\w*\b",r"\bableg\w*\b",# German — other explicit closings- r"\btschüss\b",+ r"\btschüss\b", <!-- i18n-allow -->r"\btschuess\b",r"\bbeenden\b",- r"\bgespräch beenden\b",- r"\bauf wiederhören\b",+ r"\bgespräch beenden\b", <!-- i18n-allow -->+ r"\bauf wiederhören\b", <!-- i18n-allow -->r"\bauf wiederhoeren\b",r"\bauf wiedersehen\b",- r"\bbis später\b",+ r"\bbis später\b", <!-- i18n-allow -->r"\bgute nacht\b",r"\bjarvis aus\b",r"\bjarvis ende\b",r"\bende jarvis\b",r"\bschluss jetzt\b",r"\bfertig jarvis\b",- r"\bjarvis fertig\b",+ r"\bjarvis fertig\b", <!-- i18n-allow -->r"\bstopp jarvis\b",r"\bjarvis stopp\b",# English — explicit closings@@ -338,9 +338,9 @@ Append to `tests/unit/brain/test_output_filter.py` (module already imports `scrudef test_scrub_strips_end_call_sentinel() -> None:from jarvis.speech.hangup import END_CALL_SIGNAL- result = scrub_for_voice(f"Bis später, Alex. {END_CALL_SIGNAL}", language="de")+ result = scrub_for_voice(f"Bis später, Alex. {END_CALL_SIGNAL}", language="de") <!-- i18n-allow -->assert END_CALL_SIGNAL not in result.cleaned- assert result.cleaned.strip() == "Bis später, Alex."+ assert result.cleaned.strip() == "Bis später, Alex." <!-- i18n-allow -->assert "stripped_end_signal" in result.actions@@ -439,11 +439,11 @@ with:```- ENDING THE CALL — only when Alex clearly wants to end the conversation(an explicit goodbye, a dismissal such as "you can go now" / "kannst du- jetzt gehen" / "das war's für heute", or telling you to hang up): say a+ jetzt gehen" / "das war's für heute", or telling you to hang up): say a <!-- i18n-allow -->short, natural farewell in HIS language AND append the control token[[END_CALL]] as the very last characters of your reply.EN: "Goodbye, Alex. [[END_CALL]]" / "Until next time, Alex. [[END_CALL]]"- DE: "Auf Wiedersehen, Alex. [[END_CALL]]" / "Bis später, Alex. [[END_CALL]]"+ DE: "Auf Wiedersehen, Alex. [[END_CALL]]" / "Bis später, Alex. [[END_CALL]]" <!-- i18n-allow -->The token is silent — it is stripped before anything is spoken and onlytells the system to hang up. If you are NOT sure he wants to end (he merelypaused, is thinking, or just thanked you), do NOT append the token and do@@ -455,12 +455,12 @@ Then update the documentation prose **outside** the fence so it stays accurate.```## Hangup-Signal (Pipeline-Contract)-Die Pipeline erkennt Hangup wenn die Brain-Antwort (normalisiert) equals einer von:-- `"goodbye, alex"` (englisch)-- `"auf wiedersehen, alex"` (deutsch)+The pipeline detects a hangup when the brain response (normalized) equals one of:+- `"goodbye, alex"` (English)+- `"auf wiedersehen, alex"` (German)-Der Brain MUSS exakt eine dieser beiden Phrasen ausgeben um aufzulegen — sprachabhängig-entsprechend der User-Sprache.+The brain MUST output exactly one of these two phrases to hang up — depending on+the user's language.```with:@@ -480,7 +480,7 @@ Backward compatibility: the old exact phrases `"goodbye, alex"` /And update the cross-reference line (currently line 133):```-- Hangup-Matcher: `pipeline.py` — normalized equals gegen `"goodbye, alex"` oder `"auf wiedersehen, alex"`+- Hangup-Matcher: `pipeline.py` — normalized equals against `"goodbye, alex"` or `"auf wiedersehen, alex"````to:@@ -520,14 +520,14 @@ async def test_brain_end_call_sentinel_hangs_up_and_is_not_spoken() -> None:# command, so the brain decides — and signals end via the sentinel.pipe = _make_pipeline(FakeSTT(text="Ich glaube wir sind durch"),- brain_response="Bis später, Alex. [[END_CALL]]",+ brain_response="Bis später, Alex. [[END_CALL]]", <!-- i18n-allow -->continue_listening_after_response=True, # prove hangup overrides stay-open)keep_session = await pipe._handle_utterance(b"\x01\x00" * 1024)assert keep_session is False- assert pipe._spoken == [("Bis später, Alex.", "de")] # sentinel stripped+ assert pipe._spoken == [("Bis später, Alex.", "de")] # sentinel stripped <!-- i18n-allow -->assert pipe._session_end_reason == "voice_pattern"assert pipe._hangup_event.is_set()@@ -569,7 +569,7 @@ async def test_brain_streaming_strips_sentinel_but_keeps_it_in_full_text() -> Noclass _StreamBrain:async def generate_stream(self, _text: str, **_kw):- for ch in ["Alles erledigt. ", "Bis später, Alex. ", "[[END_CALL]]"]:+ for ch in ["Alles erledigt. ", "Bis später, Alex. ", "[[END_CALL]]"]: <!-- i18n-allow -->yield chpipe._brain = _StreamBrain()@@ -578,7 +578,7 @@ async def test_brain_streaming_strips_sentinel_but_keeps_it_in_full_text() -> Noassert "[[END_CALL]]" in full # detection in _handle_utterance reads thisassert all("[[END_CALL]]" not in t for (t, _l) in pipe._spoken) # never spoken- assert any("Bis später" in t for (t, _l) in pipe._spoken)+ assert any("Bis später" in t for (t, _l) in pipe._spoken) <!-- i18n-allow -->```- [ ] **Step 2: Run tests to verify they fail**@@ -600,7 +600,7 @@ from jarvis.speech.hangup import (- [ ] **Step 4: Remove the inline regex**-Delete the inline pattern block in `jarvis/speech/pipeline.py` — the lines from the comment `# Hangup-Pattern großzügig ...` (the "hang-up pattern generously matched" block) through the `HANGUP_RE = re.compile(...)` line (currently lines 122-180). Replace the whole block with a single pointer comment:+Delete the inline pattern block in `jarvis/speech/pipeline.py` — the lines from the comment `# Hangup-Pattern großzügig ...` (the "hang-up pattern generously matched" block) through the `HANGUP_RE = re.compile(...)` line (currently lines 122-180). Replace the whole block with a single pointer comment: <!-- i18n-allow -->```python# Hang-up patterns + the END_CALL sentinel live in jarvis/speech/hangup.py@@ -653,8 +653,8 @@ and insert immediately ABOVE it:Then remove the now-redundant recomputation. Replace this exact block (currently `pipeline.py:2429-2436`):```python- # Brain-basiertes Hangup: Claude antwortet bei Hangup-Intent mit exakt- # "Goodbye, Alex." (EN) oder "Auf Wiedersehen, Alex." (DE).+ # Brain-based hangup: Claude replies to hangup intent with exactly+ # "Goodbye, Alex." (EN) or "Auf Wiedersehen, Alex." (DE).normalized = response.strip().rstrip("!.").strip().lower()is_hangup = normalized in ("goodbye, alex", "goodbye alex",@@ -784,7 +784,7 @@ with:- [ ] **Step 5: Run tests to verify they pass**Run: `python -m pytest tests/unit/telephony/test_session.py -q`-Expected: PASS (the new test plus all existing telephony tests — including the regex parametrizations, which still expect "beenden"/"goodbye" to match and "danke schön" (thank you) not to).+Expected: PASS (the new test plus all existing telephony tests — including the regex parametrizations, which still expect "beenden"/"goodbye" to match and "danke schön" (thank you) not to). <!-- i18n-allow -->- [ ] **Step 6: Commit**diff --git a/docs/superpowers/plans/2026-05-27-cartesia-tts-integration.md b/docs/superpowers/plans/2026-05-27-cartesia-tts-integration.mdindex 75149b4a2f..926ab89698 100644--- a/docs/superpowers/plans/2026-05-27-cartesia-tts-integration.md+++ b/docs/superpowers/plans/2026-05-27-cartesia-tts-integration.md@@ -19,7 +19,7 @@| `pyproject.toml:149` | **Modify** | Rename entry-point `cartesia-sonic3` → `cartesia`, repoint to new class. || `jarvis/ui/web/provider_spec.py:122` | **Modify** | Append `ProviderSpec(id="cartesia", …)` after the Grok-Voice spec so the API Keys view renders a card. || `jarvis.toml` | **Modify** | Add `[tts.cartesia]` section with defaults; clean up the stray sonic-3 comment in `[tts]`. |-| `scripts/config-soll.json` | **Modify** | Mirror the `[tts.cartesia]` defaults so the drift-guard daemon doesn't roll them back. |+| `scripts/config-soll.json` | **Modify** | Mirror the `[tts.cartesia]` defaults so the drift-guard daemon doesn't roll them back. | <!-- i18n-allow -->---@@ -68,7 +68,7 @@ DEFAULT_MODEL_ID = "sonic-3.5"# User-configurable via [tts.cartesia].voice_id.DEFAULT_VOICE_ID = "694f9389-aac1-45b6-b726-9d9369183238"-_SENTENCE_END = re.compile(r"(?<=[.!?…])\s+(?=[A-ZÄÖÜ])")+_SENTENCE_END = re.compile(r"(?<=[.!?…])\s+(?=[A-ZÄÖÜ])") <!-- i18n-allow -->class _CartesiaFatalError(RuntimeError):@@ -600,15 +600,15 @@ Keys view renders a Cartesia card under the TTS tier.**Files:**- Modify: `jarvis.toml` (insert `[tts.cartesia]` section after `[tts]`)-- Modify: `scripts/config-soll.json` (mirror the keys)+- Modify: `scripts/config-soll.json` (mirror the keys) <!-- i18n-allow -->- [ ] **Step 4.1: Clean up the stray Sonic-3 comment in `[tts]`**In `jarvis.toml`, replace lines 100-102```toml-# Sonic-3 voice_id leer-lassen wenn nicht aktiv. Bei aktivem cartesia-sonic3-# muss voice_id gesetzt sense, sonst raises der Plugin-Konstruktor.+# Leave the Sonic-3 voice_id empty when not active. When cartesia-sonic3+# is active, voice_id must be set, otherwise the plugin constructor raises.voice_id = ""```@@ -645,7 +645,7 @@ allow_sapi5_fallback = false- [ ] **Step 4.3: Mirror to drift-guard target**-Open `scripts/config-soll.json`. Locate the top-level `tts` object and add a `cartesia` child mirroring the same keys:+Open `scripts/config-soll.json`. Locate the top-level `tts` object and add a `cartesia` child mirroring the same keys: <!-- i18n-allow -->```json"tts": {@@ -674,11 +674,11 @@ Expected: a dict with `model_id`, `voice_id`, `language`, etc. (TTSConfig has `m- [ ] **Step 4.5: Commit**```bash-git add jarvis.toml scripts/config-soll.json+git add jarvis.toml scripts/config-soll.json <!-- i18n-allow -->git commit -m "config(tts): three-layer pin for [tts.cartesia]Adds the Cartesia provider config to jarvis.toml plus its drift-guard-mirror in scripts/config-soll.json (BUG-010 defense). Default model+mirror in scripts/config-soll.json (BUG-010 defense). Default model <!-- i18n-allow -->sonic-3.5, default voice Sarah (UUID 694f9389-...). Replaces the stalesonic-3 comment in [tts]."diff --git a/docs/superpowers/plans/2026-06-01-live-plugin-tools.md b/docs/superpowers/plans/2026-06-01-live-plugin-tools.mdindex 43a04a9672..ff8c7c267e 100644--- a/docs/superpowers/plans/2026-06-01-live-plugin-tools.md+++ b/docs/superpowers/plans/2026-06-01-live-plugin-tools.md@@ -912,8 +912,8 @@ def test_unknown_plugin_returns_none():def test_keyword_match_is_case_insensitive_substring():card = UsageCard(plugin_id="x", keywords=["kalender", "termine"], body="...")- assert card.matches("Was habe ich heute für TERMINE?") is True- assert card.matches("erzähl mir einen witz") is False+ assert card.matches("Was habe ich heute für TERMINE?") is True <!-- i18n-allow -->+ assert card.matches("erzähl mir einen witz") is False <!-- i18n-allow -->```- [ ] **Step 2: Run to verify it fails**@@ -1009,13 +1009,13 @@ class _Tool:def test_keeps_only_relevant_plugin_namespace():tools = [_Tool("google-calendar/list_events"), _Tool("github/create_issue")]- kept = filter_plugin_tools("was habe ich heute für termine", tools)+ kept = filter_plugin_tools("was habe ich heute für termine", tools) <!-- i18n-allow -->assert [t.name for t in kept] == ["google-calendar/list_events"]def test_non_plugin_tools_always_kept():tools = [_Tool("run-shell"), _Tool("github/create_issue")]- kept = filter_plugin_tools("erzähl einen witz", tools)+ kept = filter_plugin_tools("erzähl einen witz", tools) <!-- i18n-allow -->assert any(t.name == "run-shell" for t in kept) # non-namespaced surviveassert all("github/" not in t.name for t in kept) # irrelevant plugin dropped@@ -1148,7 +1148,7 @@ def test_apply_plugin_relevance_drops_irrelevant(monkeypatch):"github/create_issue": _T("github/create_issue"),"notion/search": _T("notion/search"),}- out = mgr._apply_plugin_relevance("was habe ich heute für termine", tools)+ out = mgr._apply_plugin_relevance("was habe ich heute für termine", tools) <!-- i18n-allow -->assert "run-shell" in outassert "google-calendar/list_events" in outassert "github/create_issue" not in out@@ -1425,7 +1425,7 @@ git commit -m "feat(ui): live-callable badge for connected plugins"## Final verification (after all waves)- [ ] Full relevant suite: `pytest tests/unit/marketplace tests/integration/marketplace tests/unit/brain/test_routing.py -v` → all green.-- [ ] Boot the app, connect Google Calendar, ask (voice AND chat): "Was habe ich heute für Termine?" → Jarvis calls `google-calendar/list_events` inline and answers from real data, through `scrub_for_voice`. (memory: verify UI/behavior, don't claim done blind.)+- [ ] Boot the app, connect Google Calendar, ask (voice AND chat): "Was habe ich heute für Termine?" → Jarvis calls `google-calendar/list_events` inline and answers from real data, through `scrub_for_voice`. (memory: verify UI/behavior, don't claim done blind.) <!-- i18n-allow -->- [ ] Headless boot guard: `python -m jarvis.ui.web.launcher --headless` still boots with zero plugins connected (loader returns `[]`, no crash) — cloud-first base-install invariant.---diff --git a/docs/superpowers/plans/2026-06-08-voice-latency-collapse-fix.md b/docs/superpowers/plans/2026-06-08-voice-latency-collapse-fix.mdindex ef939be0ca..728dd09bcd 100644--- a/docs/superpowers/plans/2026-06-08-voice-latency-collapse-fix.md+++ b/docs/superpowers/plans/2026-06-08-voice-latency-collapse-fix.md@@ -281,19 +281,19 @@ Then at both call sites replace the `asyncio.wait({play_task, barge_task, hangupif not done:pass # already aborted + logged inside _await_playbackelif hangup_task in done and not hangup_task.cancelled():- log.info("📵 Hangup während TTS — Turn abbrechen")+ log.info("📵 Hangup during TTS — aborting turn")barged = Trueself._player.stop()elif barge_task in done and not barge_task.cancelled() and barge_task.result():- log.info("🛑 Barge-in — stoppe TTS-Playback")+ log.info("🛑 Barge-in — stopping TTS playback")barged = Trueself._player.stop()elif play_task in done and not play_task.cancelled():exc = play_task.exception()if exc is not None:- log.exception("Streaming-Playback-Fehler: %s", exc)+ log.exception("Streaming playback error: %s", exc)except Exception as exc: # noqa: BLE001- log.exception("Streaming-TTS-Turn-Fehler: %s", exc)+ log.exception("Streaming TTS turn error: %s", exc)finally:... # unchanged```@@ -364,7 +364,7 @@ def test_router_vision_disabled_by_default():- [ ] **Step 1: Read first** — `manager.py:3030-3110` to see how `vcfg` and `max_image_kb` are read, and find the existing intent helpers (`is_pointing_intent`, spatial/"what's on screen" detection) already imported in this module.-- [ ] **Step 2: Write the failing test** — assert `_should_inject_router_vision("wie spät ist es")` is `False` and `_should_inject_router_vision("was siehst du auf dem bildschirm")` is `True`.+- [ ] **Step 2: Write the failing test** — assert `_should_inject_router_vision("wie spät ist es")` is `False` and `_should_inject_router_vision("was siehst du auf dem bildschirm")` is `True`. <!-- i18n-allow -->- [ ] **Step 3:** Add `_should_inject_router_vision(text) -> bool` reusing the existing spatial/pointing detectors; short-circuit `_collect_vision_images` to return `()` when the turn is not vision-relevant (even if `enabled`). Keep the headless capability probe as an additional guard (no screen → never inject).diff --git a/docs/superpowers/plans/2026-06-09-wiki-autonomous-curator-wave1.md b/docs/superpowers/plans/2026-06-09-wiki-autonomous-curator-wave1.mdindex 52ad8a7cab..64bff70ab6 100644--- a/docs/superpowers/plans/2026-06-09-wiki-autonomous-curator-wave1.md+++ b/docs/superpowers/plans/2026-06-09-wiki-autonomous-curator-wave1.md@@ -292,7 +292,7 @@ Expose the dedicated Wiki-curator model picker as a backend endpoint. It reads/wNo `server.py` change is needed: `settings_router` is already mounted (`jarvis/ui/web/server.py:263`), and the new routes share its `prefix="/api/settings"`.-> Why not `config-soll.json` / 3-layer persist (unlike `set_sub_jarvis_provider`): `[memory.wiki.curator]` is NOT a drift-guarded field (`scripts/config-soll.json` only pins `memory.legacy_curator`, brain/tts/stt providers). A plain BOM-safe nested TOML write is the correct persistence tier here.+> Why not `config-soll.json` / 3-layer persist (unlike `set_sub_jarvis_provider`): `[memory.wiki.curator]` is NOT a drift-guarded field (`scripts/config-soll.json` only pins `memory.legacy_curator`, brain/tts/stt providers). A plain BOM-safe nested TOML write is the correct persistence tier here. <!-- i18n-allow -->---@@ -731,7 +731,7 @@ Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>"#### Gotchas- **Parallel-session dirty tree.** `jarvis/ui/web/settings_routes.py`, `jarvis/core/config_writer.py`, and `jarvis/ui/web/server.py` are already `M` in `git status`. All edits in this task are **append-only** (new routes/helpers at the bottom of each file, a new test file) precisely so they do not collide with a parallel session's edits. `server.py` needs **no** change — `settings_router` is already mounted at `server.py:263` and the new routes inherit its `prefix="/api/settings"`. If `git commit` reports a merge conflict marker in either file, the parallel session also appended at EOF — move your block below theirs; the routes/helpers are position-independent.-- **No `config-soll.json` pin.** Unlike `set_sub_jarvis_provider` (which needs the 3-layer config-soll pin to survive the drift-guard), `[memory.wiki.curator]` is NOT a drift-guarded field (`scripts/config-soll.json` only guards `memory.legacy_curator` + brain/tts/stt providers). A plain BOM-safe nested TOML write is correct here — do NOT add a config-soll layer.+- **No `config-soll.json` pin.** Unlike `set_sub_jarvis_provider` (which needs the 3-layer config-soll pin to survive the drift-guard), `[memory.wiki.curator]` is NOT a drift-guarded field (`scripts/config-soll.json` only guards `memory.legacy_curator` + brain/tts/stt providers). A plain BOM-safe nested TOML write is correct here — do NOT add a config-soll layer. <!-- i18n-allow -->- **Empty string is load-bearing, not "unset".** `provider=""` / `model=""` are the documented fallback sentinels read by `jarvis/memory/wiki/curator_llm.py:73-81`. Persist and echo them verbatim — never coerce an empty string to `brain.primary` at write time, or the picker silently freezes the curator onto whatever the main brain happened to be at save time (defeats `follow_brain` tracking).- **Live-apply touches private LLM internals deliberately.** The running curator exposes no public setter, so the route mutates `curator._llm._cfg` and clears `._brain`/`._resolved_*` (the lazy cache in `_ensure_brain`, `curator_llm.py:362-396`). This is best-effort and wrapped in try/except — a headless host (no running curator) just returns `applied_live=false, restart_required=true`. If a future refactor adds a public `WikiCuratorLLM.reconfigure(provider, model)`, switch the route to call it.- **`resolve_config_path()` honours `JARVIS_CONFIG`.** Pass `path=resolve_config_path()` to the setter (as the `ui-language` route does) so the write lands in the same file `load_config` reads — no desktop/VPS split-brain.@@ -1196,7 +1196,7 @@ git commit -m "feat(ui): Wiki provider/model card in API Keys & Providers" -m "A- **Parallel-session dirty tree:** `git status` already shows `ApiKeysView.tsx` is NOT in the dirty set, but `src/i18n/locales/{en,de,es}.json`, `src/i18n/index.ts`, and `src/views/settings/LanguagesGroup.tsx`/`.test.tsx` ARE modified by a parallel session. When you edit the three locale JSONs, insert the `"wiki_provider"` block strictly *after* the existing `"provider_switcher"` block (a stable, unmodified anchor) so you don't collide with the parallel i18n edits. Stage only the 7 listed files in Step 9 — do NOT `git add -A`, or you will sweep in the parallel session's unrelated changes.- **Backend dependency:** this card calls `GET/PUT /api/settings/wiki-provider`. That endpoint is authored by the sibling backend Wave-1 task (`jarvis/ui/web/settings_routes.py` + `provider_routes.py`). Until it merges, the hook's `error` branch renders `wiki_provider.load_error` (graceful — no crash). The test stubs `fetch`, so it is independent of the backend landing first.- **i18n key parity:** all three locales must carry the identical `"wiki_provider"` key set. The app's i18n is a flat per-locale JSON merge (`src/i18n/index.ts` lines 42-46) with English as the implicit fallback, so a missing de/es key would silently render the raw key string — add all three in Steps 4-6, don't skip es.-- **English-only source rule:** the i18n *key names* and the `en.json` *values* are the English source of record (CLAUDE.md Output Language Policy); de/es are translations. The component/hook code, comments, and test names are all English. The German `de.json` strings use real umlauts (ä/ö/ü/ß), never ASCII substitutes.+- **English-only source rule:** the i18n *key names* and the `en.json` *values* are the English source of record (CLAUDE.md Output Language Policy); de/es are translations. The component/hook code, comments, and test names are all English. The German `de.json` strings use real umlauts (ä/ö/ü/ß), never ASCII substitutes. <!-- i18n-allow -->- **No new dependency:** `BookOpen`/`Loader2` already ship with the existing `lucide-react`; `@/components/ui/button`, `@/store/events`, `@/i18n` are all already imported elsewhere — base install unchanged, doctrine intact.---@@ -3277,7 +3277,7 @@ path only as a last resort. Add regression tests."await self._init_wiki_integration()except Exception as exc: # noqa: BLE001logger.opt(exception=exc).warning(- "WikiIntegration-Init fehlgeschlagen — wiki write-wiring inaktiv"+ "WikiIntegration-Init fehlgeschlagen — wiki write-wiring inaktiv" <!-- i18n-allow -->)# Phase B3 wiki live-reload — start the WikiWatcher so file@@ -3291,7 +3291,7 @@ path only as a last resort. Add regression tests."await self._init_wiki_integration()except Exception as exc: # noqa: BLE001logger.opt(exception=exc).warning(- "WikiIntegration-Init fehlgeschlagen — wiki write-wiring inaktiv"+ "WikiIntegration-Init fehlgeschlagen — wiki write-wiring inaktiv" <!-- i18n-allow -->)# Build the FTS5 search index once if it is empty so a pre-existing@@ -3465,7 +3465,7 @@ Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>"```#### Gotchas-- **Parallel-session dirty tree:** `jarvis/ui/web/server.py` and `jarvis/core/config.py` are already `M` (modified) in the working tree from a parallel session. This task **edits `server.py`** — coordinate so your boot-block insertion (lines ~1404–1422) and your new method (~1746) do not collide with their uncommitted hunks. Re-read those exact line ranges immediately before editing; if the anchors have shifted, match on the unique comment strings (`"WikiIntegration-Init fehlgeschlagen"` and `logger.info("wiki_integration: bootstrap_wiki_integration succeeded")`) rather than line numbers. This task does **not** edit `config.py` (it only reads `WikiIntegrationConfig.vault_root` / `memory.data_dir`), so there is no conflict there.+- **Parallel-session dirty tree:** `jarvis/ui/web/server.py` and `jarvis/core/config.py` are already `M` (modified) in the working tree from a parallel session. This task **edits `server.py`** — coordinate so your boot-block insertion (lines ~1404–1422) and your new method (~1746) do not collide with their uncommitted hunks. Re-read those exact line ranges immediately before editing; if the anchors have shifted, match on the unique comment strings (`"WikiIntegration-Init fehlgeschlagen"` and `logger.info("wiki_integration: bootstrap_wiki_integration succeeded")`) rather than line numbers. This task does **not** edit `config.py` (it only reads `WikiIntegrationConfig.vault_root` / `memory.data_dir`), so there is no conflict there. <!-- i18n-allow -->- **Stage only the three files** in Step 8 (`git add` is explicit) so the parallel session's uncommitted `server.py`/`config.py` changes are not swept into this commit. If `server.py` carries unrelated uncommitted hunks you must not commit, stage with `git add -p jarvis/ui/web/server.py` and pick only your two hunks.- **`WebServer.__new__` in the test** deliberately bypasses `__init__` (which builds the full app/bus stack) and sets only `server.cfg`, because `_init_wiki_boot_index` reads only `self.cfg.{wiki_integration,memory}` and `logger`. If a future refactor makes the method read more `self.*` attributes, extend the `SimpleNamespace`.- **`data/jarvis.db` is the single shared DB.** `_init_wiki_boot_index` resolves it from `cfg.memory.data_dir`; `VaultSearch._default_db_path()` walks to the same `data/jarvis.db`. Keep them aligned — if you ever route the boot index to a different DB file, live search will still see an empty table.diff --git a/docs/superpowers/plans/2026-06-10-cli-first-class-capabilities.md b/docs/superpowers/plans/2026-06-10-cli-first-class-capabilities.mdindex 29532e4632..7607434920 100644--- a/docs/superpowers/plans/2026-06-10-cli-first-class-capabilities.md+++ b/docs/superpowers/plans/2026-06-10-cli-first-class-capabilities.md@@ -992,7 +992,7 @@ def test_domain_word_in_passing_passes():def test_definition_question_passes():- assert _gate("Was ist ein Pull Request?").kind == "pass"+ assert _gate("Was ist ein Pull Request?").kind == "pass" # i18n-allow: German test utterance under testassert _gate("What is an issue tracker?").kind == "pass"@@ -1051,9 +1051,9 @@ _LOOKUP_SHAPE_RE = re.compile()# Definitional/explanatory questions are general knowledge, not a data lookup-# ("Was ist ein Pull Request?") — never force a tool call for them.+# ("Was ist ein Pull Request?") — never force a tool call for them. # i18n-allow: quotes German input example_DEFINITION_RE = re.compile(- r"\b(was ist ein|was ist eine|was sind|was bedeutet|wofuer steht|"+ r"\b(was ist ein|was ist eine|was sind|was bedeutet|wofuer steht|" # i18n-allow: German input vocabularyr"what is a|what is an|what are|what does|explain|erklaer)\b")@@ -1089,7 +1089,7 @@ _REFUSAL_EN_FALLBACK = "I have no data access for that right now."def _detect_lang(text: str) -> str:- if re.search(r"[äöüÄÖÜß]", text):+ if re.search(r"[äöüÄÖÜß]", text): # i18n-allow: German diacritic detectionreturn "de"if re.search(r"\b(was|wie|welche|welcher|steht|stehen|heute|morgen|hab|habe|"@@ -1652,7 +1652,7 @@ Remaining 13 entries — same JSON shape, exact values (one `capabilities` decl| `pscale` | `["database"]` | `["planetscale", "pscale", "datenbank", "database", "branch", "branches"]` | `["zeig", "zeige", "list", "show", "check"]` | `PlanetScale: list databases, branches, deploy requests.` | `pscale database list*`, `pscale branch list*`, `pscale org list*` | `pscale database delete*`, `pscale branch delete*` || `neonctl` | `["database"]` | `["neon", "datenbank", "database", "branch", "branches", "projekt", "project", "projects"]` | `["zeig", "zeige", "list", "show", "check"]` | `Neon: list projects, branches, databases.` | `neonctl projects list*`, `neonctl branches list*`, `neonctl me*` | `neonctl projects delete*`, `neonctl branches delete*` || `glab` | `["repos"]` | `["gitlab", "merge request", "merge requests", "mr", "mrs", "issue", "issues", "repo", "repos", "pipeline", "pipelines"]` | `["zeig", "zeige", "lies", "list", "show", "check", "create", "erstell", "erstelle"]` | `GitLab: list/read merge requests, issues, pipelines.` | `glab mr list*`, `glab issue list*`, `glab pipeline list*`, `glab repo view*`, `glab auth status*` | `glab repo delete*` |-| `twilio` | `["messaging"]` | `["twilio", "sms", "nachricht", "nachrichten", "message", "messages", "anruf", "anrufe", "call", "calls"]` | `["zeig", "zeige", "list", "show", "check"]` | `Twilio: list messages, calls, phone numbers.` | `twilio api:core:messages:list*`, `twilio api:core:calls:list*`, `twilio phone-numbers:list*` | `twilio api:core:* :remove*` |+| `twilio` | `["messaging"]` | `["twilio", "sms", "nachricht", "nachrichten", "message", "messages", "anruf", "anrufe", "call", "calls"]` | `["zeig", "zeige", "list", "show", "check"]` | `Twilio: list messages, calls, phone numbers.` | `twilio api:core:messages:list*`, `twilio api:core:calls:list*`, `twilio phone-numbers:list*` | `twilio api:core:* :remove*` | <!-- i18n-allow: German input-vocabulary table row -->(For entries that already have some of these patterns, merging means: keep existing entries, append the missing ones, no duplicates.)diff --git a/docs/superpowers/plans/2026-06-10-computer-use-latency-collapse.md b/docs/superpowers/plans/2026-06-10-computer-use-latency-collapse.mdindex 49f3eeddc8..3841b78f85 100644--- a/docs/superpowers/plans/2026-06-10-computer-use-latency-collapse.md+++ b/docs/superpowers/plans/2026-06-10-computer-use-latency-collapse.md@@ -12,19 +12,19 @@## Evidence (measured 2026-06-10, `data/jarvis_desktop.log`)-Run 20:46:07 — *"Öffne Chrome und gehe auf x.com"* (planner produced a 6-step plan):+Run 20:46:07 — *"Öffne Chrome und gehe auf x.com"* (planner produced a 6-step plan): <!-- i18n-allow: quoted German voice-command evidence -->| What | Evidence | Cost ||---|---|---|| **CU loop blocks on TTS progress announcements.** `screenshot_only_loop.py:2694` does `await ctx.bus.publish(AnnouncementRequested(...))`. `EventBus.publish` awaits typed subscribers **uncapped** (`jarvis/core/bus.py:82-86`, by design), and `SpeechPipeline._on_announcement` (`pipeline.py:1804`) runs the full Gemini-TTS synthesis + playback start *inside* that dispatch. | Log gaps end **exactly** at `AudioOutFirst published`: 20:46:12.4 announcement → step 2 at 20:46:22.5 (10.1 s); 27.9 → 33.6 (5.8 s); 42.4 → 48.1 (5.7 s); 53.3 → 59.1 (5.8 s). | **~27 s of the first 55 s (≈50 %)** |-| **No deterministic path for browser+URL goals.** "öffne Chrome und gehe auf x.com" matches `_COMPOUND_OPEN_CONTROL_RE` (`local_action_gate.py:109`) → full CU loop + planner, although `open_app` already accepts URLs and an `arguments` field (`open_app.py:154,191`). | The whole 3-minute mission existed to do what `open_app("chrome", "https://x.com")` does in ~1 s. | **entire mission** |+| **No deterministic path for browser+URL goals.** "öffne Chrome und gehe auf x.com" matches `_COMPOUND_OPEN_CONTROL_RE` (`local_action_gate.py:109`) → full CU loop + planner, although `open_app` already accepts URLs and an `arguments` field (`open_app.py:154,191`). | The whole 3-minute mission existed to do what `open_app("chrome", "https://x.com")` does in ~1 s. | **entire mission** | <!-- i18n-allow: quoted German voice-command evidence -->| **Every pixel click pays a refine LLM call up front.** `_click_with_refine` (`screenshot_only_loop.py:1622-1626`) calls `_refine_click_point` (one brain call, ~1.3–1.7 s) *before* the first click attempt. | Log: refine moved the click by ≤5 px ("(1797,2128) -> (1792,2124)") — a near-no-op for a full LLM round-trip. Misses then trigger 1–2 more refine calls + 0.6 s settle each. | **~2–6 s per click** || **Done-judge is an extra LLM call even for trivially verifiable goals.** `_verify_goal_done` (`screenshot_only_loop.py:2532` call site) judges "is Chrome open?" with a vision LLM call although the foreground window title already proves it. | One extra ~1.5 s call per `done`, plus done-reject loops (`_MAX_DONE_REJECTS = 3`). | **1.5–5 s per mission** || **Relaunch suppression doesn't count as a guard hit.** `open_app` SUPPRESSED (`screenshot_only_loop.py:2456-2471`) only appends a history note; the model relaunched chrome in steps 7 AND 8 (20:47:00 / 20:47:02), burning full observe+think rounds. Toggle-stop clicks DO count (`guard_hits` at :2515), relaunches don't. | 19:21 Spotify run: 12+ suppressed actions, mission ran to step 20. | **~2 s per wasted step** |Healthy parts (do NOT touch): per-step think on `gemini-3.5-flash` is 1.3–1.7 s, observe is ~120 ms, screenshot already capped at ~300 KB, screenshot+UIA already run concurrently. The screenshot-loop *pattern* itself is the industry standard (Anthropic Computer Use, OpenAI Operator) — no fundamental redesign needed; the waste is in the plumbing around it.-**Expected outcome:** "öffne Chrome (und gehe auf x.com)" ≈ 1–2 s (DIRECT, zero LLM). Genuine CU-loop missions ≈ 1.5–2 s per step (think-bound), i.e. a 6-step mission lands at ~12 s instead of 3 minutes.+**Expected outcome:** "öffne Chrome (und gehe auf x.com)" ≈ 1–2 s (DIRECT, zero LLM). Genuine CU-loop missions ≈ 1.5–2 s per step (think-bound), i.e. a 6-step mission lands at ~12 s instead of 3 minutes. <!-- i18n-allow: quoted German voice-command evidence -->---@@ -72,7 +72,7 @@ async def test_progress_announcement_does_not_block_the_loop() -> None:ctx = dataclasses.replace(ctx, bus=bus)start = time.monotonic()- await run_loop(ctx, "öffne chrome und gehe auf x.com")+ await run_loop(ctx, "öffne chrome und gehe auf x.com") # i18n-allow: German voice-command test fixtureelapsed = time.monotonic() - start# With the old blocking publish, two announced state changes cost@@ -153,7 +153,7 @@ git commit -m "fix(cu): fire progress announcements without awaiting TTS (6-10s/### Task 2: Deterministic DIRECT fast-path for browser/URL goals-"öffne chrome und gehe auf x.com", "geh auf x.com", "open firefox and go to github.com" must resolve to a single `open_app` tool call (browsers accept a URL argv on all three OSes; `open_app` already whitelists `http(s)://` app_names and supports `arguments` — `open_app.py:154,191`). Zero LLM calls, no CU loop.+"öffne chrome und gehe auf x.com", "geh auf x.com", "open firefox and go to github.com" must resolve to a single `open_app` tool call (browsers accept a URL argv on all three OSes; `open_app` already whitelists `http(s)://` app_names and supports `arguments` — `open_app.py:154,191`). Zero LLM calls, no CU loop. <!-- i18n-allow: quoted German voice-command example -->**Files:**- Modify: `jarvis/brain/local_action_gate.py` (new regexes + branch in `match_local_action` BEFORE the `_matches_visual_target` / `_looks_like_desktop_control` checks, i.e. before line 596)@@ -164,7 +164,7 @@ git commit -m "fix(cu): fire progress announcements without awaiting TTS (6-10s/```pythonclass TestBrowserUrlFastPath:def test_open_browser_and_goto_site_is_direct(self) -> None:- plan = match_local_action("öffne chrome und gehe auf x.com")+ plan = match_local_action("öffne chrome und gehe auf x.com") # i18n-allow: German voice-command test fixtureassert plan is not Noneassert plan.mode is LocalActionMode.DIRECTcall = plan.tool_calls[0]@@ -187,11 +187,11 @@ class TestBrowserUrlFastPath:assert plan.tool_calls[0].args["app_name"] == "https://x.com"def test_existing_url_scheme_is_preserved(self) -> None:- plan = match_local_action("öffne chrome und gehe auf https://x.com")+ plan = match_local_action("öffne chrome und gehe auf https://x.com") # i18n-allow: German voice-command test fixtureassert plan.tool_calls[0].args["arguments"] == "https://x.com"def test_negated_open_stays_off_the_fast_path(self) -> None:- plan = match_local_action("öffne chrome bitte nicht und geh auf x.com")+ plan = match_local_action("öffne chrome bitte nicht und geh auf x.com") # i18n-allow: German voice-command test fixtureassert plan is None or plan.mode is not LocalActionMode.DIRECTdef test_howto_question_stays_brain(self) -> None:@@ -201,7 +201,7 @@ class TestBrowserUrlFastPath:def test_browser_with_followup_work_still_goes_to_cu(self) -> None:# Site + further UI work must keep the CU loop (it has to act there).plan = match_local_action(- "öffne chrome und gehe auf x.com und poste einen tweet"+ "öffne chrome und gehe auf x.com und poste einen tweet" # i18n-allow: German voice-command test fixture)assert plan is not Noneassert plan.mode is LocalActionMode.COMPUTER_USE@@ -227,9 +227,9 @@ _BROWSER_TOKENS = (#: A bare domain or URL ("x.com", "https://github.com/foo"). Deliberately#: requires a dot + TLD so "geh auf nummer sicher" never matches._SITE_RE = r"(?P<site>(?:https?://)?[\w-]+(?:\.[\w-]+)+(?:/\S*)?)"-_GOTO_VERBS = r"(?:geh(?:e|st)?\s+(?:auf|zu|nach)|navigiere\s+(?:zu|auf|nach)|go\s+to|navigate\s+to|oeffne|open)"+_GOTO_VERBS = r"(?:geh(?:e|st)?\s+(?:auf|zu|nach)|navigiere\s+(?:zu|auf|nach)|go\s+to|navigate\s+to|oeffne|open)" # i18n-allow: German input vocabulary-#: "oeffne chrome und gehe auf x.com" — browser named, site named, and+#: "oeffne chrome und gehe auf x.com" — browser named, site named, and # i18n-allow: quoted German input example#: NOTHING after the site (further work means the CU loop must drive the UI)._OPEN_BROWSER_GOTO_RE = re.compile(r"^(?:hey\s+)?(?:jarvis[,\s]+)?(?:oeffne|starte|open|start|launch)\b[^.]*?"@@ -251,7 +251,7 @@ def _site_to_url(site: str) -> str:def _match_browser_url_fast_path(normalized: str) -> LocalActionPlan | None:"""Deterministic browser+URL launch — the single biggest CU-latency win:- 'oeffne chrome und gehe auf x.com' is ONE argv launch, not a vision-LLM+ 'oeffne chrome und gehe auf x.com' is ONE argv launch, not a vision-LLM # i18n-allow: quoted German input examplemission (2026-06-10: the LLM loop took ~3 min for exactly this goal)."""if _OPEN_NEGATION_RE.search(normalized):return None@@ -289,7 +289,7 @@ Wire it into `match_local_action` immediately BEFORE the `_matches_visual_targetreturn browser_url```-The `$`-anchored regexes guarantee the "…und poste einen tweet" case falls through to the existing `COMPUTER_USE` branches unchanged. Reuse the existing `_OPEN_NEGATION_RE` / `_OPEN_INSTRUCTIONAL_RE` constants (both already exist in this module from the 2026-06-09 work); if `_OPEN_NEGATION_RE` covers only German, extend it with `\bnot\b|\bdon'?t\b|\bnever\b`.+The `$`-anchored regexes guarantee the "…und poste einen tweet" case falls through to the existing `COMPUTER_USE` branches unchanged. <!-- i18n-allow: quoted German input example --> Reuse the existing `_OPEN_NEGATION_RE` / `_OPEN_INSTRUCTIONAL_RE` constants (both already exist in this module from the 2026-06-09 work); if `_OPEN_NEGATION_RE` covers only German, extend it with `\bnot\b|\bdon'?t\b|\bnever\b`.- [ ] **Step 4: Verify the launch actually works with a URL argument (manual, once)**@@ -421,7 +421,7 @@ async def test_open_app_done_is_verified_without_an_llm_call() -> None:'{"action": "done"}',])ctx = make_ctx(brain, titles=["Program Manager", "New Tab - Google Chrome"])- results = await run_loop(ctx, "öffne chrome")+ results = await run_loop(ctx, "öffne chrome") # i18n-allow: German voice-command test fixtureassert results[-1].exit_code == 0# 2 think calls only — NO third judge call.assert brain.calls == 2@@ -441,9 +441,9 @@ Above `_verify_goal_done`, add:```python_OPEN_GOAL_RE = re.compile(r"^(?:hey\s+)?(?:jarvis[,\s]+)?"- r"(?:oeffne|öffne|öffnest|starte|open|start|launch)\s+"- r"(?:mir\s+|mal\s+|bitte\s+|einmal\s+|den\s+|die\s+|das\s+|my\s+|the\s+)*"- r"(?P<app>[\w .-]{2,40}?)\s*(?:fuer mich|für mich|bitte)?\s*[.!?]?\s*$",+ r"(?:oeffne|öffne|öffnest|starte|open|start|launch)\s+" # i18n-allow: German input vocabulary+ r"(?:mir\s+|mal\s+|bitte\s+|einmal\s+|den\s+|die\s+|das\s+|my\s+|the\s+)*" # i18n-allow: German input vocabulary+ r"(?P<app>[\w .-]{2,40}?)\s*(?:fuer mich|für mich|bitte)?\s*[.!?]?\s*$", # i18n-allow: German input vocabularyre.I,)@@ -581,7 +581,7 @@ async def test_open_app_waits_for_the_window_before_next_think() -> None:ctx = make_ctx(brain, titles=["Program Manager", "Program Manager", "New Tab - Google Chrome",])- results = await run_loop(ctx, "öffne chrome")+ results = await run_loop(ctx, "öffne chrome") # i18n-allow: German voice-command test fixtureassert results[-1].exit_code == 0# Without the settle probe, think #2 sees 'Program Manager' and the# model would have to issue a third action. With it, 2 calls suffice.@@ -634,7 +634,7 @@ async def test_mission_profile_summary_is_emitted() -> None:'{"action": "done"}',])ctx = make_ctx(brain, titles=["New Tab - Google Chrome"] * 4)- results = await run_loop(ctx, "öffne chrome")+ results = await run_loop(ctx, "öffne chrome") # i18n-allow: German voice-command test fixturestderr = "".join(r.stderr or "" for r in results)assert "[cu] mission profile:" in stderrassert "think=" in stderr and "observe=" in stderr and "act=" in stderr@@ -694,9 +694,9 @@ git commit -m "feat(cu): per-phase mission profile + loop-overhead regression ne- [ ] **Step 1: Restart the app** (working tree is the live import path; restart suffices — `run.bat --debug`).- [ ] **Step 2: Voice/chat probes, stopwatch + log:**- 1. "Öffne Chrome" → expect DIRECT, < 2 s, no `[cu]` lines.- 2. "Öffne Chrome und gehe auf x.com" → expect DIRECT (Task 2), < 3 s.- 3. "Öffne Chrome und such auf x.com nach Elon und like den ersten Post" → expect CU loop; read the new `[cu] mission profile:` line — `announce` blocking must be gone (step cadence ≈ think time ~1.5 s), total ≈ steps × 2 s.+ 1. "Öffne Chrome" → expect DIRECT, < 2 s, no `[cu]` lines. <!-- i18n-allow: quoted German voice-command probe -->+ 2. "Öffne Chrome und gehe auf x.com" → expect DIRECT (Task 2), < 3 s. <!-- i18n-allow: quoted German voice-command probe -->+ 3. "Öffne Chrome und such auf x.com nach Elon und like den ersten Post" → expect CU loop; read the new `[cu] mission profile:` line — `announce` blocking must be gone (step cadence ≈ think time ~1.5 s <!-- i18n-allow: quoted German voice-command probe -->), total ≈ steps × 2 s.- [ ] **Step 3: Run `python scripts/cu_bench.py` (or its documented invocation) and record the numbers in this plan file under a "Results" heading.**- [ ] **Step 4: Full sweep:** `pytest tests/unit/harness tests/unit/brain -q` green; `ruff check jarvis/`.diff --git a/docs/superpowers/plans/2026-06-16-jarvis-agents-recap-doomloop-fix.md b/docs/superpowers/plans/2026-06-16-jarvis-agents-recap-doomloop-fix.mdindex 55565a6b5d..e4818b5128 100644--- a/docs/superpowers/plans/2026-06-16-jarvis-agents-recap-doomloop-fix.md+++ b/docs/superpowers/plans/2026-06-16-jarvis-agents-recap-doomloop-fix.md@@ -106,7 +106,7 @@ the last 16:45 success.**Root cause #2 — the codex worker's Node.js runtime was missing** (Facet C; thegenuine "renewable-energy market research" task, `019ecc5a`). **Disk-proven:** both-worktrees' `logs/stderr.log` read *"node … konnte nicht gefunden werden"* and the+worktrees' `logs/stderr.log` read *"node … could not be found"* and thediff patches are **0 bytes**. `codex.cmd` is a Node app; with `node` absent fromthe worker subprocess's inherited PATH it exited code 1 with no stdout → emptydiff. The codex→claude fallback did **not** fire because the error text matchesdiff --git a/docs/superpowers/plans/2026-06-20-assistant-name-coupled-to-wake-word.md b/docs/superpowers/plans/2026-06-20-assistant-name-coupled-to-wake-word.mdindex a29b9c2631..f189492059 100644--- a/docs/superpowers/plans/2026-06-20-assistant-name-coupled-to-wake-word.md+++ b/docs/superpowers/plans/2026-06-20-assistant-name-coupled-to-wake-word.md@@ -475,10 +475,10 @@ const WAKE_PREFIXES = new Set([]);export function deriveAssistantName(phrase: string): string {- // Normalize phrase: lowercase, punctuation → space, split (preserves umlauts/ß).+ // Normalize phrase: lowercase, punctuation → space, split (preserves umlauts/ß). // i18n-allow: refers to German diacritics, not German proseconst tokens = (phrase || "").toLowerCase()- .replace(/[^0-9a-zäöüß]+/g, " ")+ .replace(/[^0-9a-zäöüß]+/g, " ") // i18n-allow: preserves German diacritics for wake-phrase normalization.trim().split(/\s+/).filter(Boolean);diff --git a/docs/superpowers/plans/2026-06-23-language-selection-consistency.md b/docs/superpowers/plans/2026-06-23-language-selection-consistency.mdindex e98ef92ba4..97ec017812 100644--- a/docs/superpowers/plans/2026-06-23-language-selection-consistency.md+++ b/docs/superpowers/plans/2026-06-23-language-selection-consistency.md@@ -567,7 +567,7 @@ Expected: green except the *known* pre-existing foreign failures recorded in T0- [ ] **Live mic verification (the real proof):** with `reply_language = "auto"`, run four turns and confirm voice + text + announcement all match:1. German turn → German text, German announcement, German voice (Sebastian, no British accent).2. English turn ("What's on my calendar?") → English everywhere.- 3. German turn ending on a loanword ("…und dann der Boss.") → no English tail.+ 3. German turn ending on a loanword ("…und dann der Boss.") → no English tail. <!-- i18n-allow: quoted German voice test utterance -->4. A scheduled/skill announcement while the conversation is German → German announcement (the screenshot scenario).---diff --git a/docs/superpowers/plans/2026-06-27-computer-use-zoom-before-click.md b/docs/superpowers/plans/2026-06-27-computer-use-zoom-before-click.mdindex 9dbe30a7cf..50ba5b46ad 100644--- a/docs/superpowers/plans/2026-06-27-computer-use-zoom-before-click.md+++ b/docs/superpowers/plans/2026-06-27-computer-use-zoom-before-click.md@@ -372,7 +372,7 @@ git commit -m "feat(cu): proactively zoom-refine before the first click when opt## Manual verification (after both tasks, optional live check)1. Restart the running app: `POST /api/settings/restart-app`.-2. Enable the flag (voice "schalte Zoom vor dem Klick ein", or set `[computer_use].zoom_before_click = true` via the config path / Self-Mod). It hot-reloads — no second restart needed.+2. Enable the flag (voice "schalte Zoom vor dem Klick ein", or set `[computer_use].zoom_before_click = true` via the config path / Self-Mod). It hot-reloads — no second restart needed. <!-- i18n-allow: quoted German voice-command example -->3. Run a Computer-Use task that previously mis-clicked a small/dense control. Confirm: nothing visibly zooms on screen; the click lands on the intended element; and a deliberately-wrong target description produces a re-plan rather than a wrong click.## Self-review notes (author check against the spec)diff --git a/docs/superpowers/plans/2026-06-27-voice-command-honesty-and-recognition.md b/docs/superpowers/plans/2026-06-27-voice-command-honesty-and-recognition.mdindex 9dfdcfc52a..5531ed34fb 100644--- a/docs/superpowers/plans/2026-06-27-voice-command-honesty-and-recognition.md+++ b/docs/superpowers/plans/2026-06-27-voice-command-honesty-and-recognition.md@@ -4,7 +4,7 @@**Goal:** Make every deterministic spoken meta-command answer truthfully — never silent, never a blind "done" — and close the recognition gaps that let plausible phrasings fall through, with a regression net that prevents the whole failure class from returning.-**Architecture:** The `voice_command_gate` recognises 6 deterministic command kinds (provider_switch, subagent_switch, language_switch, cancel, depth_deep, depth_fast); `BrainManager.generate()` intercepts each BEFORE the LLM and executes it. An audit (2026-06-27) found two failure classes: (a) HONESTY — provider_switch/cancel/depth return `""` (silent, even on failure) and language_switch speaks success even when persist fails; (b) RECOGNITION — natural phrasings ("ändere den Anbieter", "halt") are not matched. We route the provider switch through the already-validated `app_control.apply_provider_switch("brain", …)` (exact mirror of the subagent fix already shipped), give cancel/depth honest readbacks, make language persist honest, fill the recognition gaps, and add a data-driven recognition checklist + an anti-drift completeness guard so a new command kind cannot be added without an honesty test.+**Architecture:** The `voice_command_gate` recognises 6 deterministic command kinds (provider_switch, subagent_switch, language_switch, cancel, depth_deep, depth_fast); `BrainManager.generate()` intercepts each BEFORE the LLM and executes it. An audit (2026-06-27) found two failure classes: (a) HONESTY — provider_switch/cancel/depth return `""` (silent, even on failure) and language_switch speaks success even when persist fails; (b) RECOGNITION — natural phrasings ("ändere den Anbieter", "halt") are not matched. We route the provider switch through the already-validated `app_control.apply_provider_switch("brain", …)` (exact mirror of the subagent fix already shipped), give cancel/depth honest readbacks, make language persist honest, fill the recognition gaps, and add a data-driven recognition checklist + an anti-drift completeness guard so a new command kind cannot be added without an honesty test. <!-- i18n-allow: quoted German voice-command examples -->**Tech Stack:** Python 3.11, pytest (`asyncio_mode=auto`), the existing `jarvis/brain/voice_command_gate.py` + `jarvis/brain/manager.py` + `jarvis/brain/app_control.py`. Tests run with `C:\Program Files\Python311\python.exe -m pytest`.@@ -25,13 +25,13 @@| File | Responsibility | Change ||---|---|---|| `jarvis/brain/manager.py` | Spoken phrase tables + the 6 intercept handlers in `generate()` | Modify: add provider/cancel/depth/session-persist phrase tables + `_apply_main_provider_switch` + `_provider_switch_failure_phrase`; rewrite the cancel/switch/depth intercepts to speak; make language persist honest |-| `jarvis/brain/voice_command_gate.py` | Deterministic recognition regexes | Modify: add `ändere/setze/stell` provider verbs; add `halt` cancel verb |+| `jarvis/brain/voice_command_gate.py` | Deterministic recognition regexes | Modify: add `ändere/setze/stell` provider verbs; add `halt` cancel verb | <!-- i18n-allow: German input-vocabulary table row -->| `tests/unit/brain/test_voice_command_honesty.py` | NEW — the honesty regression net (success speaks real result; failure is honest; never silent) per command kind | Create || `tests/unit/brain/voice_command_cases.py` | NEW — the growing recognition checklist: real utterances → expected (kind, target) | Create || `tests/unit/brain/test_voice_command_checklist.py` | NEW — runs every checklist case + the anti-drift completeness guard | Create || `tests/unit/brain/test_voice_command_gate.py` | Existing recognition unit tests | Modify: add the new-verb recognition tests |-**Out of scope (documented, not fixed):** `jarvis/plugins/tool/open_app.py` speaks "Gestartet: X" from a fire-and-forget `subprocess.Popen` without a launch proof. The common failure (app not found) IS already honest (`FileNotFoundError` → error result, open_app.py:333); verifying a GUI window actually appeared would add latency without a reliable signal. Tracked as a known low-risk limitation, not addressed here (YAGNI). `_apply_reply_language_switch`'s persist honesty IS in scope (Task 4) because it is a one-line truthfulness fix.+**Out of scope (documented, not fixed):** `jarvis/plugins/tool/open_app.py` speaks "Gestartet: X" from a fire-and-forget `subprocess.Popen` without a launch proof. <!-- i18n-allow: quoted German voice-output example --> The common failure (app not found) IS already honest (`FileNotFoundError` → error result, open_app.py:333); verifying a GUI window actually appeared would add latency without a reliable signal. Tracked as a known low-risk limitation, not addressed here (YAGNI). `_apply_reply_language_switch`'s persist honesty IS in scope (Task 4) because it is a one-line truthfulness fix.---@@ -646,7 +646,7 @@ In `jarvis/brain/voice_command_gate.py`, change the first line of `_PROVIDER_PATto:```python- r"\b(?:wechsel[n]?|wechsle|änder\w*|aender\w*|setz\w*|stell\w*"+ r"\b(?:wechsel[n]?|wechsle|änder\w*|aender\w*|setz\w*|stell\w*" # i18n-allow: German input vocabularyr"|switch(?:\s+to)?|benutze?|nutze|use|nimm)"```@@ -658,7 +658,7 @@ In `jarvis/brain/voice_command_gate.py`, change `_CANCEL_PATTERN` (lines 57-60)```python_CANCEL_PATTERN = re.compile(- r"^(?:jarvis[,\s]+)?(?:stopp?|abbruch|abbrechen|cancel|stop\s+sub)\b",+ r"^(?:jarvis[,\s]+)?(?:stopp?|abbruch|abbrechen|cancel|stop\s+sub)\b", # i18n-allow: German input vocabularyre.IGNORECASE,)```@@ -667,7 +667,7 @@ to:```python_CANCEL_PATTERN = re.compile(- r"^(?:jarvis[,\s]+)?(?:stopp?|abbruch|abbrechen|cancel|stop\s+sub|halt)\b",+ r"^(?:jarvis[,\s]+)?(?:stopp?|abbruch|abbrechen|cancel|stop\s+sub|halt)\b", # i18n-allow: German input vocabularyre.IGNORECASE,)```diff --git a/docs/superpowers/plans/2026-06-27-voice-provider-switch-hardening.md b/docs/superpowers/plans/2026-06-27-voice-provider-switch-hardening.mdindex c24c3c863f..25174ab6da 100644--- a/docs/superpowers/plans/2026-06-27-voice-provider-switch-hardening.md+++ b/docs/superpowers/plans/2026-06-27-voice-provider-switch-hardening.md@@ -261,7 +261,7 @@ In `jarvis/brain/voice_command_gate.py`, replace the `_PROVIDER_PATTERN` definit```python_PROVIDER_PATTERN = re.compile(r"\b(?:wechsel[n]?|wechsle|switch(?:\s+to)?|benutze?|nutze|use|nimm)"- r"(?:\s+(?:den|die|das|der|the|deinen|deine|dein|meinen|meine|mein|my))?"+ r"(?:\s+(?:den|die|das|der|the|deinen|deine|dein|meinen|meine|mein|my))?" # i18n-allow: German input vocabularyr"(?:\s+(?:brain[-\s]*provider|provider|anbieter|sprach[-\s]*modell|modell|model))?"# Optional "von/from <source>" so "switch FROM gemini TO openai" targets the# destination after auf/zu/to, not the source (forensic 2026-06-27).diff --git a/docs/superpowers/specs/2026-04-21-jarvis-desktop-app-design.md b/docs/superpowers/specs/2026-04-21-jarvis-desktop-app-design.mdindex 3afb4370cd..7794ab6a9e 100644--- a/docs/superpowers/specs/2026-04-21-jarvis-desktop-app-design.md+++ b/docs/superpowers/specs/2026-04-21-jarvis-desktop-app-design.md@@ -3,7 +3,7 @@**Status:** Draft**Date:** 2026-04-21**Scope:** L7 UI/UX layer for Personal Jarvis (desktop app)-**Related:** Master plan `<USER_HOME>\.claude\plans\also-er-muss-auch-lexical-pond.md`+**Related:** Master plan `<USER_HOME>\.claude\plans\also-er-muss-auch-lexical-pond.md` <!-- i18n-allow: literal filename identifier, must match the real file -->---diff --git a/docs/superpowers/specs/2026-05-10-context-rich-preamble-design.md b/docs/superpowers/specs/2026-05-10-context-rich-preamble-design.mdindex 091e0e3dcb..ae38679e2f 100644--- a/docs/superpowers/specs/2026-05-10-context-rich-preamble-design.md+++ b/docs/superpowers/specs/2026-05-10-context-rich-preamble-design.md@@ -20,14 +20,14 @@ The user must hear, within ~1 second of finishing their utterance, that Jarvis (```Today (template):- User: "Hey Jarvis, ich möchte morgen eine Reise nach San Francisco buchen,+ User: "Hey Jarvis, ich möchte morgen eine Reise nach San Francisco buchen, <!-- i18n-allow: quoted German voice-input example -->kannst du Flugdaten raussuchen?"- Jarvis: "Verstanden, ich kümmere mich darum." ← generic, swappable+ Jarvis: "Verstanden, ich kümmere mich darum." ← generic, swappable <!-- i18n-allow: quoted German voice-output example -->Goal (context-rich):User: [same input]- Jarvis: "Ja Chef, ich gebe das an OpenClaw weiter,- melde mich gleich mit den Flugdaten." ← topic + handoff ++ Jarvis: "Ja Chef, ich gebe das an OpenClaw weiter, <!-- i18n-allow: quoted German voice-output example -->+ melde mich gleich mit den Flugdaten." ← topic + handoff + <!-- i18n-allow: quoted German voice-output example -->time-horizon```@@ -52,7 +52,7 @@ Goal (context-rich):> As Alex, when I just say "Hallo" or tell Jarvis to be quiet, I do **not** want any preamble — those interactions are too lightweight to deserve a multi-stage response.**US-4 (failure is silence):**-> As Alex, when the smart preamble can't be generated cleanly (hallucination, timeout, content-filter strip), I prefer Jarvis to stay silent and go straight to the real answer over hearing a generic filler. "Verstanden, ich kümmere mich darum." ("Understood, I'll take care of it.") across every request was exactly the failure mode of the previous attempt.+> As Alex, when the smart preamble can't be generated cleanly (hallucination, timeout, content-filter strip), I prefer Jarvis to stay silent and go straight to the real answer over hearing a generic filler. "Verstanden, ich kümmere mich darum." ("Understood, I'll take care of it.") across every request was exactly the failure mode of the previous attempt. <!-- i18n-allow: quoted German voice-output example -->---@@ -120,12 +120,12 @@ Rejected alternatives:│ ││ v│ "Ja Chef, ich gebe das- │ an OpenClaw weiter ..."+ │ an OpenClaw weiter ..." <!-- i18n-allow: quoted German voice-output example -->│ (spoken via TTS)│vFinal response after tool done:- "Hier sind drei Flüge ..." (spoken via TTS,+ "Hier sind drei Flüge ..." (spoken via TTS, <!-- i18n-allow: quoted German voice-output example -->+ new chat bubble)```@@ -230,11 +230,11 @@ scripts/smoke-test-preamble.ps1 [NEW, manual]|----------------------------------|--------------------------------|-----------------|------------------------------------------------------------------|| `"Hallo Jarvis"` ("Hello Jarvis") | smalltalk (no tool) | **No** | Direct brain answer; no tool args, so no preamble field exists. || `"Sei still"` ("Be quiet") | n/a (voice-control) | **No** | `is_voice_control_utterance` → True. Audio stops. |-| `"Mach Spotify auf"` ("Open Spotify") | `open_app(name=Spotify)` | **Yes** | "Mach ich, Spotify öffnet sich." ("On it, Spotify is opening.") |-| `"Wie ist das Wetter?"` ("What's the weather?") | `search_web(query=...)` | **Yes** | "Schau ich nach, einen Moment." ("Checking now, one moment.") |-| `"Find SF flights tomorrow"` | `spawn_openclaw(task=...)` | **Yes** | "Ja Chef, ich gebe das an OpenClaw weiter, melde mich gleich." ("Yes, handing that off to OpenClaw, I'll be right back.") |-| `"Klick auf Speichern"` ("Click Save") | `click(target=...)` | **No** | `click` in ACK_SKIP_TOOLS — chattering on UI events forbidden. |-| `"Was läuft gerade?"` ("What's running right now?") | `awareness_snapshot()` | **No** | Passive read in skip-list. |+| `"Mach Spotify auf"` ("Open Spotify") | `open_app(name=Spotify)` | **Yes** | "Mach ich, Spotify öffnet sich." ("On it, Spotify is opening.") | <!-- i18n-allow: quoted German voice example -->+| `"Wie ist das Wetter?"` ("What's the weather?") | `search_web(query=...)` | **Yes** | "Schau ich nach, einen Moment." ("Checking now, one moment.") | <!-- i18n-allow: quoted German voice example -->+| `"Find SF flights tomorrow"` | `spawn_openclaw(task=...)` | **Yes** | "Ja Chef, ich gebe das an OpenClaw weiter, melde mich gleich." ("Yes, handing that off to OpenClaw, I'll be right back.") | <!-- i18n-allow: quoted German voice example -->+| `"Klick auf Speichern"` ("Click Save") | `click(target=...)` | **No** | `click` in ACK_SKIP_TOOLS — chattering on UI events forbidden. | <!-- i18n-allow: quoted German voice example -->+| `"Was läuft gerade?"` ("What's running right now?") | `awareness_snapshot()` | **No** | Passive read in skip-list. | <!-- i18n-allow: quoted German voice example -->| LLM omits `preamble_de` | spawn_openclaw | **No** | Silent fallback. `preamble_skipped_no_field_total` ++. || LLM emits 50-word preamble | spawn_openclaw | **Yes, cut** | First sentence kept, rest dropped. `preamble_truncated_total` ++.|| LLM emits `"Ich starte den Subagenten"` ("I am starting the subagent") | spawn_openclaw | **No** | scrub_for_voice strips "Subagent" → empty after scrub → silent. |diff --git a/docs/superpowers/specs/2026-05-11-pre-thinking-ack-flash-brain-design.md b/docs/superpowers/specs/2026-05-11-pre-thinking-ack-flash-brain-design.mdindex 075aa92219..d6a1506ef1 100644--- a/docs/superpowers/specs/2026-05-11-pre-thinking-ack-flash-brain-design.md+++ b/docs/superpowers/specs/2026-05-11-pre-thinking-ack-flash-brain-design.md@@ -5,7 +5,7 @@**Owner:** AlexMaintainer (driver) + Claude (architect)**Supersedes:** `docs/superpowers/specs/2026-05-10-context-rich-preamble-design.md` (Router-Extended approach — explicitly rejected by driver in favor of a separate, provider-pluggable Flash-Brain)**Revision history:**-- 2026-05-13: §1 example, §4 persona-prompts, and §5 behavior matrix rewritten. The original §4 used 8 few-shot examples per language; in practice this caused mode-collapse: the LLM reproduced the example phrases ("Lass mich kurz nachschauen", "Mache ich") regardless of whether they fit the actual user utterance. Driver explicitly identified two failure cases ("Wann wurde Einstein geboren?" → "Jawohl Sir", "Wann ist Montag?" → "Mache ich") as evidence that few-shot priming defeats the contextual-acknowledgment goal. The revised §4 uses rules + negative examples only, no positive template phrases, and adds an explicit "stay silent" branch for smalltalk and quick factual questions.+- 2026-05-13: §1 example, §4 persona-prompts, and §5 behavior matrix rewritten. The original §4 used 8 few-shot examples per language; in practice this caused mode-collapse: the LLM reproduced the example phrases ("Lass mich kurz nachschauen", "Mache ich") regardless of whether they fit the actual user utterance. Driver explicitly identified two failure cases ("Wann wurde Einstein geboren?" → "Jawohl Sir", "Wann ist Montag?" → "Mache ich") as evidence that few-shot priming defeats the contextual-acknowledgment goal. The revised §4 uses rules + negative examples only, no positive template phrases, and adds an explicit "stay silent" branch for smalltalk and quick factual questions. <!-- i18n-allow: quoted German voice-output examples -->**Cross-references:** ADR-0011 (Router-Discipline), `jarvis/brain/ack_generator.py` (current template-based implementation), `jarvis/brain/output_filter.py` (40-pattern voice blacklist), `jarvis/missions/voice/announcer.py` (sibling MissionAnnouncer pattern)---@@ -16,24 +16,24 @@Replace the template-based, per-tool acknowledgment generator with a dedicated, provider-pluggable **Flash-Brain** that runs **in parallel** with the Router-Brain on every user utterance. The Flash-Brain emits a single short, context-aware, butler-style sentence that the user hears within ~500-900 ms of finishing their utterance — before deep reasoning and tool execution start.-The defining property of "this time it works": the spoken acknowledgment must be **specific to what the user said**, not a generic phrase. The user's failure example — "Wann wird Albel eingestellt?" answered with "Verstanden, ich kümmere mich darum." — must be impossible by construction.+The defining property of "this time it works": the spoken acknowledgment must be **specific to what the user said**, not a generic phrase. The user's failure example — "Wann wird Albel eingestellt?" answered with "Verstanden, ich kümmere mich darum." — must be impossible by construction. <!-- i18n-allow: quoted German voice interaction example -->### Concrete Before / After```Today (template generator, ack_generator.py:166-251):- User: "Wann wird Albel eingestellt?"+ User: "Wann wird Albel eingestellt?" <!-- i18n-allow: quoted German voice-input example -->Router: search_web(query="Albel")- Ack: "Verstanden, ich kümmere mich darum." ← generic, wrong tonality+ Ack: "Verstanden, ich kümmere mich darum." ← generic, wrong tonality <!-- i18n-allow: quoted German voice-output example -->Goal (Flash-Brain, parallel):- User: "Wann wird Albel eingestellt?"- Flash: "Hole die Einstellungs-Info zu Albel." ← topic-specific (names "Albel" + "Einstellung")- Router: search_web(query="Albel Einstellung")- Final: "Albel beginnt voraussichtlich im Juli."+ User: "Wann wird Albel eingestellt?" <!-- i18n-allow: quoted German voice-input example -->+ Flash: "Hole die Einstellungs-Info zu Albel." ← topic-specific (names "Albel" + "Einstellung") <!-- i18n-allow: quoted German voice-output example -->+ Router: search_web(query="Albel Einstellung") <!-- i18n-allow: quoted German search query example -->+ Final: "Albel beginnt voraussichtlich im Juli." <!-- i18n-allow: quoted German voice-output example -->Counter-example for the same kind of question that should NOT trigger an ack:- User: "Wann wurde Albert Einstein geboren?"+ User: "Wann wurde Albert Einstein geboren?" <!-- i18n-allow: quoted German voice-input example -->Flash: "" ← silent: factual question with asingle canonical answer the mainbrain returns in < 1 s. A pre-sentence@@ -63,7 +63,7 @@ Counter-example for the same kind of question that should NOT trigger an ack:> As Alex, when I say "Hallo Jarvis" or "wie geht's", I want a brief, natural acknowledgment from Jarvis — same persona, same voice — without it sounding like a robotic preamble. The Flash-Brain is the only entity that speaks on every turn.**US-4 (silence is golden on failure):**-> As Alex, when the Flash-Brain hits a timeout, provider error, scrub-empty, or any other failure, I want nothing to be spoken from the ack path. The main brain still answers. A generic "Verstanden, ich kümmere mich darum." across all my requests was exactly the failure mode of the previous template-based attempt; it must never come back.+> As Alex, when the Flash-Brain hits a timeout, provider error, scrub-empty, or any other failure, I want nothing to be spoken from the ack path. The main brain still answers. A generic "Verstanden, ich kümmere mich darum." across all my requests was exactly the failure mode of the previous template-based attempt; it must never come back. <!-- i18n-allow: quoted German voice-output example -->**US-5 (provider flexibility):**> As Alex, when a new fast LLM (Grok-4-Flash, Gemini 3.1 Flash, GPT-5-mini, Groq-Llama) comes out, I want to be able to switch the Flash-Brain to it through configuration alone, without touching the rest of Jarvis. Default should never be on a deprecated model (Gemini 2.5 Flash is out as of today).@@ -90,20 +90,20 @@ When the Router-Brain finishes, the tool-use-loop executes the chosen tool. WhenThe Flash-Brain sees **only the user's utterance** and a static persona prompt. It does **not** see the Router-Brain's tool decision. Therefore it cannot be misled by "search_web was selected, so this must be an action" — it classifies tonality purely from the language of the request itself:-- `"Wann wird X eingestellt?"` → reads as a question → emits `"Lass mich kurz nachschauen."`-- `"Mach X auf."` → reads as an action → emits `"Mache ich, X öffnet sich gleich."`+- `"Wann wird X eingestellt?"` → reads as a question → emits `"Lass mich kurz nachschauen."` <!-- i18n-allow: quoted German voice example -->+- `"Mach X auf."` → reads as an action → emits `"Mache ich, X öffnet sich gleich."` <!-- i18n-allow: quoted German voice example -->This decoupling is the central correctness property.### Data Flow```- User: "Wann wird Albel eingestellt?"+ User: "Wann wird Albel eingestellt?" <!-- i18n-allow: quoted German voice-input example -->│▼[STT: faster-whisper]│- Final: "Wann wird Albel eingestellt?"+ Final: "Wann wird Albel eingestellt?" <!-- i18n-allow: quoted German voice-input example -->│▼pipeline emits FinalTranscriptReady on bus@@ -283,7 +283,7 @@ max_output_tokens = 40```The Setup-Wizard ([`jarvis/setup/wizard.py`](../../../jarvis/setup/wizard.py)) gets a new step (German wizard prompt shown to the user, "Which fast LLM provider should Jarvis use for the short acknowledgment sentences you hear before the main answer?"):-> "Welchen schnellen LLM-Provider soll Jarvis für die kurzen Bestätigungssätze verwenden, die du vor der Hauptantwort hörst?"+> "Welchen schnellen LLM-Provider soll Jarvis für die kurzen Bestätigungssätze verwenden, die du vor der Hauptantwort hörst?" <!-- i18n-allow: quoted German wizard UI prompt -->Options listed dynamically based on which API keys the user already has in the Credential Manager.@@ -303,57 +303,57 @@ Committed verbatim as `PERSONA_PROMPT_DE` and `PERSONA_PROMPT_EN` constants in `#### PERSONA_PROMPT_DE (verbatim)```text-Du bist JARVIS, der persönliche Assistent des Nutzers. Du bist gerade in-deiner "Vor-Antwort"-Rolle: kurz und kontextbezogen sprechen, BEVOR die-eigentliche Antwort fertig ist — aber nur dann, wenn es dem Nutzer wirklich+Du bist JARVIS, der persönliche Assistent des Nutzers. Du bist gerade in <!-- i18n-allow: PERSONA_PROMPT_DE -->+deiner "Vor-Antwort"-Rolle: kurz und kontextbezogen sprechen, BEVOR die <!-- i18n-allow: PERSONA_PROMPT_DE -->+eigentliche Antwort fertig ist — aber nur dann, wenn es dem Nutzer wirklich <!-- i18n-allow: PERSONA_PROMPT_DE -->hilft. Lieber schweigen als kontextlos plappern.KRITISCH — du beantwortest die Frage NIEMALS inhaltlich:-Du bist NICHT das Hauptmodell. Ein anderes, größeres Modell beantwortet-die Frage direkt nach dir, oft in weniger als einer Sekunde. Deine-einzige Aufgabe ist ein kurzer Vor-Satz ODER Schweigen. Wenn du die+Du bist NICHT das Hauptmodell. Ein anderes, größeres Modell beantwortet <!-- i18n-allow: PERSONA_PROMPT_DE -->+die Frage direkt nach dir, oft in weniger als einer Sekunde. Deine <!-- i18n-allow: PERSONA_PROMPT_DE -->+einzige Aufgabe ist ein kurzer Vor-Satz ODER Schweigen. Wenn du die <!-- i18n-allow: PERSONA_PROMPT_DE -->Frage selbst beantwortest (mit Fakten, Datum, Name, Definition,-Erklärung), hört der User die Antwort doppelt — einmal von dir, einmal-vom Hauptmodell. Das ist IMMER falsch. Beispiele für verbotene+Erklärung), hört der User die Antwort doppelt — einmal von dir, einmal <!-- i18n-allow: PERSONA_PROMPT_DE -->+vom Hauptmodell. Das ist IMMER falsch. Beispiele für verbotene <!-- i18n-allow: PERSONA_PROMPT_DE -->Eigen-Antworten:-- "Albert Einstein wurde am 14. März 1879 geboren." → FALSCH, schweige.-- "Die Hauptstadt von Italien ist Rom." → FALSCH, schweige.-- "Albel wird am 15. Oktober eingestellt." → FALSCH (Halluzination),- schweige oder beschreibe nur die Suche.--OBERSTE REGEL — keine generischen Floskeln:-Verboten sind Bestätigungen ohne konkreten Bezug zur Anfrage:-- "Mache ich" / "Klar" / "Verstanden" / "Ich kümmere mich darum"-- "Jawohl" / "Sehr wohl" / "Sir" / "Chef" / "Boss" als Anrede-- "Lass mich kurz nachschauen" / "Ich überlege" als reine Floskel-- Jede Phrase, die auf jede beliebige andere Anfrage genauso passen würde--WANN DU SPRICHST (ein einziger Satz, max 12 Wörter):-- Wenn die Anfrage offensichtlich eine längere Aufgabe auslöst:+- "Albert Einstein wurde am 14. März 1879 geboren." → FALSCH, schweige. <!-- i18n-allow: PERSONA_PROMPT_DE -->+- "Die Hauptstadt von Italien ist Rom." → FALSCH, schweige. <!-- i18n-allow: PERSONA_PROMPT_DE -->+- "Albel wird am 15. Oktober eingestellt." → FALSCH (Halluzination), <!-- i18n-allow: PERSONA_PROMPT_DE -->+ schweige oder beschreibe nur die Suche. <!-- i18n-allow: PERSONA_PROMPT_DE -->++OBERSTE REGEL — keine generischen Floskeln: <!-- i18n-allow: PERSONA_PROMPT_DE -->+Verboten sind Bestätigungen ohne konkreten Bezug zur Anfrage: <!-- i18n-allow: PERSONA_PROMPT_DE -->+- "Mache ich" / "Klar" / "Verstanden" / "Ich kümmere mich darum" <!-- i18n-allow: PERSONA_PROMPT_DE -->+- "Jawohl" / "Sehr wohl" / "Sir" / "Chef" / "Boss" als Anrede <!-- i18n-allow: PERSONA_PROMPT_DE -->+- "Lass mich kurz nachschauen" / "Ich überlege" als reine Floskel <!-- i18n-allow: PERSONA_PROMPT_DE -->+- Jede Phrase, die auf jede beliebige andere Anfrage genauso passen würde <!-- i18n-allow: PERSONA_PROMPT_DE -->++WANN DU SPRICHST (ein einziger Satz, max 12 Wörter): <!-- i18n-allow: PERSONA_PROMPT_DE -->+- Wenn die Anfrage offensichtlich eine längere Aufgabe auslöst: <!-- i18n-allow: PERSONA_PROMPT_DE -->Recherche, mehrstufige Aktion, externer Dienst, Datenabfrage.-- Dein Satz muss das KONKRETE Thema der Anfrage erwähnen- (Suchgegenstand, App-Name, Datenobjekt, Ort, Person). KEINE- memorierten Standardphrasen — jeder Satz wird neu formuliert für- genau diese Anfrage.+- Dein Satz muss das KONKRETE Thema der Anfrage erwähnen <!-- i18n-allow: PERSONA_PROMPT_DE -->+ (Suchgegenstand, App-Name, Datenobjekt, Ort, Person). KEINE <!-- i18n-allow: PERSONA_PROMPT_DE -->+ memorierten Standardphrasen — jeder Satz wird neu formuliert für <!-- i18n-allow: PERSONA_PROMPT_DE -->+ genau diese Anfrage. <!-- i18n-allow: PERSONA_PROMPT_DE -->WANN DU SCHWEIGST (Output: leerer String ""):- Smalltalk ("Hallo", "Wie geht's", "Hey", "Danke").-- Schnelle Faktenfragen ("Wann wurde Einstein geboren?", "Wieviel Uhr- ist es?", "Hauptstadt von Italien?"). Das Hauptmodell antwortet- direkt — ein Vor-Satz würde nur stören.+- Schnelle Faktenfragen ("Wann wurde Einstein geboren?", "Wieviel Uhr <!-- i18n-allow: PERSONA_PROMPT_DE -->+ ist es?", "Hauptstadt von Italien?"). Das Hauptmodell antwortet <!-- i18n-allow: PERSONA_PROMPT_DE -->+ direkt — ein Vor-Satz würde nur stören. <!-- i18n-allow: PERSONA_PROMPT_DE -->- Voice-Control ("Sei still", "Stopp", "Pause").-- Wenn du unsicher bist, ob ein Vor-Satz hier passt: schweigen.+- Wenn du unsicher bist, ob ein Vor-Satz hier passt: schweigen. <!-- i18n-allow: PERSONA_PROMPT_DE -->-VERBOTENES VOKABULAR (auch in erlaubten Sätzen, defense-in-depth):+VERBOTENES VOKABULAR (auch in erlaubten Sätzen, defense-in-depth): <!-- i18n-allow: PERSONA_PROMPT_DE -->"Subagent", "Sub-Agent", "Worker", "Provider" (alleinstehend),"Sir", "Sehr wohl", "Jawohl", "Boss".ERLAUBT in deinem Satz:"OpenClaw", "Jarvis", Marken-Namen (Spotify, Discord, GitHub, Outlook,-…), sachliche Themen-Wörter (Kalender, Termin, Flüge, Wetter, …).+…), sachliche Themen-Wörter (Kalender, Termin, Flüge, Wetter, …). <!-- i18n-allow: PERSONA_PROMPT_DE -->-Output: Genau ein Satz mit konkretem Themenbezug, ODER leerer String.-Kein Markdown, kein Kommentar, kein Begleitsatz.+Output: Genau ein Satz mit konkretem Themenbezug, ODER leerer String. <!-- i18n-allow: PERSONA_PROMPT_DE -->+Kein Markdown, kein Kommentar, kein Begleitsatz. <!-- i18n-allow: PERSONA_PROMPT_DE -->``` <!-- i18n-allow: PERSONA_PROMPT_DE -->#### PERSONA_PROMPT_EN (verbatim)@@ -424,7 +424,7 @@ A 10-utterance smoke battery against the v2.1 prompt (Grok-4-Fast-Non-Reasoning| Quick factual → silent | Einstein, Italy capital | PASS for both (`""`) || Quick factual → silent | "Wann ist Montag?" | FAIL — got next-Monday date || Voice control → silent | "Sei still" | PASS (`""`) |-| Action → topic-aware | Spotify, TTS-voice, Flüge | PASS (all reference the concrete topic) |+| Action → topic-aware | Spotify, TTS-voice, Flüge | PASS (all reference the concrete topic) | <!-- i18n-allow: quoted German test-fixture noun -->| External lookup → topic-aware | Albel | FAIL — got `""` (over-silent after disclaimer) |Pure prompt engineering plateaus around 70% on this battery. The three residual failure shapes (greeting echo, factual self-answer, over-silence on lookup) are all detectable post-hoc by the F10 heuristic in §6. Combined with the prompt, the dual-layer design SHOULD reach 10/10 on this exact battery and is the binding architecture for E3.@@ -472,20 +472,20 @@ Two columns matter: whether the Flash-Brain produces text at all (silent vs spea| User Input | Expected Flash-Brain Output | Reason | Spoken Order ||---------------------------------------|----------------------------------------|---------------------------------------------------------------|---------------------------------------------|-| `"Mach Spotify auf"` | Topic-specific sentence mentioning "Spotify" (LLM-generated, e.g. "Spotify öffne ich grad.") | Action with visible execution lag | Ack → app launch → Main response |-| `"Such mir SF-Flüge für morgen"` | Topic-specific sentence mentioning "Flüge" and/or "San Francisco" | Multi-step external task | Ack → spawn_openclaw → Final answer |-| `"Wann wird Albel eingestellt?"` | Topic-specific sentence referencing "Albel" or "Einstellung" | External lookup needed | Ack → search_web → Main answer |-| `"Wann wurde Einstein geboren?"` | `""` (silent) | Quick factual question, main brain answers directly in < 1 s | Main response only |-| `"Was ist die Hauptstadt von Italien?"`| `""` (silent) | Same — main brain trivia | Main response only |+| `"Mach Spotify auf"` | Topic-specific sentence mentioning "Spotify" (LLM-generated, e.g. "Spotify öffne ich grad.") | Action with visible execution lag | Ack → app launch → Main response | <!-- i18n-allow: quoted German voice example -->+| `"Such mir SF-Flüge für morgen"` | Topic-specific sentence mentioning "Flüge" and/or "San Francisco" | Multi-step external task | Ack → spawn_openclaw → Final answer | <!-- i18n-allow: quoted German voice example -->+| `"Wann wird Albel eingestellt?"` | Topic-specific sentence referencing "Albel" or "Einstellung" | External lookup needed | Ack → search_web → Main answer | <!-- i18n-allow: quoted German voice example -->+| `"Wann wurde Einstein geboren?"` | `""` (silent) | Quick factual question, main brain answers directly in < 1 s | Main response only | <!-- i18n-allow: quoted German voice example -->+| `"Was ist die Hauptstadt von Italien?"`| `""` (silent) | Same — main brain trivia | Main response only | <!-- i18n-allow: quoted German voice example -->| `"Wann ist Montag?"` | `""` (silent) | Trivial date question, main brain answers directly | Main response only || `"Hallo Jarvis"` | `""` (silent) | Pure smalltalk, main brain greets back | Main response only || `"Wie geht's dir?"` | `""` (silent) | Pure smalltalk | Main response only || `"Sei still"` | `""` (silent) | Voice control | Voice-control bypass triggers audio stop |-| `"Was sollte ich essen?"` | `""` (silent) | Reflection, no external lookup, main brain answers in < 2 s | Main response only |-| `"Ändere TTS-Stimme auf Lara"` | Topic-specific sentence referencing "TTS-Stimme" or "Lara" | Action with config-mutation latency | Ack → set_config_value → Echo confirm |+| `"Was sollte ich essen?"` | `""` (silent) | Reflection, no external lookup, main brain answers in < 2 s | Main response only | <!-- i18n-allow: quoted German voice example -->+| `"Ändere TTS-Stimme auf Lara"` | Topic-specific sentence referencing "TTS-Stimme" or "Lara" | Action with config-mutation latency | Ack → set_config_value → Echo confirm | <!-- i18n-allow: quoted German voice example -->| LLM emits `"Mache ich"` / `"On it"` | scrubbed → empty (generic filler is in the forbidden list at runtime) | Counter-example: prompt forbids it, post-check enforces | Silent, `ack_scrubbed_empty_total` increments || LLM emits a generic 40-word ramble | Truncated at first `[.!?]`; if still generic → scrubbed empty | Truncation handles length, scrub handles content | Either short topical ack or silent |-| LLM emits `"Sub-Agent läuft"` | scrub strips → empty | Blacklist | Silent, `ack_scrubbed_empty_total` increments|+| LLM emits `"Sub-Agent läuft"` | scrub strips → empty | Blacklist | Silent, `ack_scrubbed_empty_total` increments| <!-- i18n-allow: quoted German voice example -->---@@ -502,9 +502,9 @@ Two columns matter: whether the Flash-Brain produces text at all (silent vs spea| F7 | TTS synthesis fails on the ack text | Existing TTS error path; main response unaffected | `ack_tts_failed_total` || F8 | 3 consecutive F1/F2 from same provider | Circuit breaker opens, 60 s cooldown, then half-open | `ack_circuit_breaker_open_total{provider}` || F9 | `[ack_brain].enabled = false` | AckGenerator never instantiated, no bus events | (static off, no counter) |-| F10| LLM emits a substantive answer instead of a pre-sentence (e.g. `"Rom."`, `"Albert Einstein wurde am 14. März 1879 geboren."`, `"Der nächste Montag ist am 9. September 2024."`) | Heuristic post-filter in `AckGenerator.run()` detects answer-shaped outputs and suppresses; return None | `ack_self_answer_suppressed_total{pattern}` |+| F10| LLM emits a substantive answer instead of a pre-sentence (e.g. `"Rom."`, `"Albert Einstein wurde am 14. März 1879 geboren."`, `"Der nächste Montag ist am 9. September 2024."`) | Heuristic post-filter in `AckGenerator.run()` detects answer-shaped outputs and suppresses; return None | `ack_self_answer_suppressed_total{pattern}` | <!-- i18n-allow: quoted German voice example -->-**Design principle: Silent or Strong.** No failure mode falls back to a generic template. The previous template-based implementation's defining failure was "Verstanden, ich kümmere mich darum." emitted indiscriminately; reintroducing that on errors would defeat the spec.+**Design principle: Silent or Strong.** No failure mode falls back to a generic template. The previous template-based implementation's defining failure was "Verstanden, ich kümmere mich darum." emitted indiscriminately; reintroducing that on errors would defeat the spec. <!-- i18n-allow: quoted German voice-output example -->**F10 detection heuristic (binding for E3 AckGenerator):**@@ -512,13 +512,13 @@ Empirical validation on 2026-05-13 with Grok-4-Fast-Non-Reasoning + v2.1 promptsThe post-filter SHOULD treat the following patterns as answer-shaped and suppress:-- **Date answer**: the output contains a date / time / day-of-week token (`\b\d{1,2}\.\s?\d{1,2}\.\s?\d{2,4}\b`, `\b\d{1,2}:\d{2}\b`, month names, `Montag`/`Dienstag`/…/`Monday`/…) AND is NOT preceded by an action verb (`suche`, `prüfe`, `hole`, `look up`, `check`, …).+- **Date answer**: the output contains a date / time / day-of-week token (`\b\d{1,2}\.\s?\d{1,2}\.\s?\d{2,4}\b`, `\b\d{1,2}:\d{2}\b`, month names, `Montag`/`Dienstag`/…/`Monday`/…) AND is NOT preceded by an action verb (`suche`, `prüfe`, `hole`, `look up`, `check`, …). <!-- i18n-allow: German input vocabulary -->- **Single-word fact**: the output is one or two words ending in `.`, with the words being noun-shaped and not a topic-reference (e.g. `"Rom."`, `"Berlin."`, `"42."`).-- **"X is Y" definition**: the output matches `(.*)\s(ist|sind|war|waren|is|are|was|were)\s(.*)\.` AND lacks any action verb of the SPEAK-branch (recherchiere / suche / hole / schaue / starte / öffne / wechsle / look up / search / fetch / launch / change).+- **"X is Y" definition**: the output matches `(.*)\s(ist|sind|war|waren|is|are|was|were)\s(.*)\.` AND lacks any action verb of the SPEAK-branch (recherchiere / suche / hole / schaue / starte / öffne / wechsle / look up / search / fetch / launch / change). <!-- i18n-allow: German input vocabulary -->The post-filter MUST NOT touch:-- Topic-aware action descriptions like `"Suche Flüge nach München für morgen."` — matches the "X is Y" pattern superficially but starts with an action verb.+- Topic-aware action descriptions like `"Suche Flüge nach München für morgen."` — matches the "X is Y" pattern superficially but starts with an action verb. <!-- i18n-allow: quoted German example -->- Empty output (already silent).- Output already scrubbed by `scrub_for_voice`.@@ -654,7 +654,7 @@ authoritative record so the file-vs-spec invariant in `persona_prompt.py`'smodule docstring still holds.1. **Name-neutral.** The opener "Du bist JARVIS" / "You are JARVIS" is replaced- by "Du bist der persönliche Assistent des Nutzers" / "You are the user's+ by "Du bist der persönliche Assistent des Nutzers" / "You are the user's <!-- i18n-allow: quoted German persona-prompt example -->personal assistant". The assistant's own name is runtime-derived from the wakeword (`assistant_name.py`) and owned by the deep brain; the Flash-Brainpreamble no longer bakes in a product name. The `ALLOWED` list's literaldiff --git a/docs/superpowers/specs/2026-05-17-orb-drag-design.md b/docs/superpowers/specs/2026-05-17-orb-drag-design.mdindex 9f83b092d3..b43d1ab2a6 100644--- a/docs/superpowers/specs/2026-05-17-orb-drag-design.md+++ b/docs/superpowers/specs/2026-05-17-orb-drag-design.md@@ -332,7 +332,7 @@ if persisted and persisted.monitor:7. Check `jarvis.toml` → three position keys are gone.8. Restart Jarvis. Orb appears bottom-right. (Default behavior restored.)-Capture step-by-step output in the verification log entry (per CLAUDE.md autonomy rule 2: "Verifikation ist Pflichtteil — nicht optional" / "Verification is a mandatory part — not optional").+Capture step-by-step output in the verification log entry (per CLAUDE.md autonomy rule 2: "Verification is a mandatory part — not optional").---@@ -364,7 +364,7 @@ Single commit on a new branch `feature/orb-drag`. No feature flag — the behavi## 11. Out of scope- Right-click context menu (saved for a future change — Q2 picked double-click).-- Snap-to-edge while dragging (off — user said "bleibt wo man loslässt" / "stays where you let go").+- Snap-to-edge while dragging (off — user said "stays where you let go").- Hotkey to summon orb to cursor (different feature, future).- Per-monitor preferred positions (one persisted position; multi-monitor handled by stick-to-current-monitor on drag-release).- Editing the comment bubble's behavior — bubble follows the orb's `_mascot_x/y` as today.diff --git a/docs/superpowers/specs/2026-05-25-incomplete-prompt-completion-design.md b/docs/superpowers/specs/2026-05-25-incomplete-prompt-completion-design.mdindex 85904e8eb6..5d29b2a036 100644--- a/docs/superpowers/specs/2026-05-25-incomplete-prompt-completion-design.md+++ b/docs/superpowers/specs/2026-05-25-incomplete-prompt-completion-design.md@@ -82,17 +82,17 @@ is_cancel(text: str) -> boolstring for telemetry) when the transcript ends on an unambiguous open marker,else `None`. It fires when the **trailing token(s)** are:-- **Subordinating / coordinating conjunctions:** `dass, weil, damit, sodass,- sobald, wenn, falls, ob, und, oder, aber, denn, sondern, dann`+- **Subordinating / coordinating conjunctions:** `dass, weil, damit, sodass, <!-- i18n-allow: German input vocabulary -->+ sobald, wenn, falls, ob, und, oder, aber, denn, sondern, dann` <!-- i18n-allow: German input vocabulary -->(EN mirror: `that, because, so that, and, or, but, then`)-- **Prepositions expecting an object:** `mit, für, an, auf, in, zu, von, über,+- **Prepositions expecting an object:** `mit, für, an, auf, in, zu, von, über, <!-- i18n-allow: German input vocabulary -->bei, durch, gegen, ohne, …` (EN: `with, for, to, about, at, …`)-- **Articles / determiners expecting a noun:** `der, die, das, ein, eine, einen,- dem, den, mein, meine, meinen, …` (EN: `the, a, an, my, …`)-- Trailing `dass ich` / `weil ich` style subject-without-predicate tails.+- **Articles / determiners expecting a noun:** `der, die, das, ein, eine, einen, <!-- i18n-allow: German input vocabulary -->+ dem, den, mein, meine, meinen, …` (EN: `the, a, an, my, …`) <!-- i18n-allow: German input vocabulary -->+- Trailing `dass ich` / `weil ich` style subject-without-predicate tails. <!-- i18n-allow: German input vocabulary -->`is_cancel` matches abort phrases that discard a pending fragment:-`vergiss das, ach nein, lass stecken, never mind, schon gut`.+`vergiss das, ach nein, lass stecken, never mind, schon gut`. <!-- i18n-allow: German input vocabulary -->Because STT frequently drops terminal punctuation, the classifier keys ontrailing-token morphology, not on the presence/absence of a period. A short@@ -187,8 +187,8 @@ Final transcript readyThe timeout is the **per-gap** budget, not a total. Every continuation resets thetimer, and the Max-Chain of 3 absorbs piecewise dictation such as:-"…dass ich… [pause] …wenn ich im Büro bin… [pause] …die Müllers anrufe"-("…that I… [pause] …when I'm in the office… [pause] …call the Müllers").+"…dass ich… [pause] …wenn ich im Büro bin… [pause] …die Müllers anrufe" <!-- i18n-allow: quoted German voice-input example -->+("…that I… [pause] …when I'm in the office… [pause] …call the Müllers"). <!-- i18n-allow: quoted German voice-input example -->Only the *first* formulation pause (typically the longest) actually races theclock.diff --git a/docs/superpowers/specs/2026-05-25-semantic-hangup-detection-design.md b/docs/superpowers/specs/2026-05-25-semantic-hangup-detection-design.mdindex bc7021a67b..9ada839dd4 100644--- a/docs/superpowers/specs/2026-05-25-semantic-hangup-detection-design.md+++ b/docs/superpowers/specs/2026-05-25-semantic-hangup-detection-design.md@@ -10,7 +10,7 @@## 1. ProblemToday Jarvis only ends a voice session reliably when the user says one of a fixed-list of literal phrases ("auflegen", "leg auf", "tschüss", "bye jarvis", …). The+list of literal phrases ("auflegen", "leg auf", "tschüss", "bye jarvis", …). The <!-- i18n-allow: German input vocabulary -->user wants Jarvis to **understand the intent to end the conversation**, not justmatch a keyword — e.g. "Kannst du jetzt bitte gehen", "that's all for today,thanks", "ich glaube wir sind durch". This must work in both configured@@ -51,8 +51,8 @@ Matched pre-brain at `session.py:231`. **No brain-signal path.**The semantic mechanism (layer 2) is the right idea — an LLM is the correct toolto understand "Kannst du jetzt bitte gehen" — but it is coupled to an **exact-magic string**. If the brain paraphrases ("Auf Wiedersehen, Alex! War mir ein-Vergnügen."), the exact match fails and no hang-up occurs. The fix is to make+magic string**. If the brain paraphrases ("Auf Wiedersehen, Alex! War mir ein <!-- i18n-allow: quoted German voice-output example -->+Vergnügen."), the exact match fails and no hang-up occurs. The fix is to make <!-- i18n-allow: quoted German voice-output example -->that path **robust**, not to add a new classifier.Both surfaces share the same brain: telephony uses@@ -190,10 +190,10 @@ Satisfies AP-9 / AP-11.farewell fallback, then hang up (never silent — AD-OE6).- **STT mis-transcription of "auflegen" as polite phrases:** previously caughtby the over-broad regex; now the brain handles these with context. Because the- brain sees the full turn, "vielen Dank, und mach mir noch X" correctly does+ brain sees the full turn, "vielen Dank, und mach mir noch X" correctly does <!-- i18n-allow: quoted German voice-input example -->*not* end the call.- **Negative cases that must NOT hang up:** "kannst du das nochmal machen", "geh- mal auf die Seite", "danke, und jetzt …" — covered by tests.+ mal auf die Seite", "danke, und jetzt …" — covered by tests. <!-- i18n-allow: quoted German voice-input example -->## 9. Testingdiff --git a/docs/superpowers/specs/2026-05-25-utterance-completeness-design.md b/docs/superpowers/specs/2026-05-25-utterance-completeness-design.mdindex b084ebd663..706ca5e6eb 100644--- a/docs/superpowers/specs/2026-05-25-utterance-completeness-design.md+++ b/docs/superpowers/specs/2026-05-25-utterance-completeness-design.md@@ -106,7 +106,7 @@ def classify_completeness(- **DE:** `nein egal`, `nein, egal`, `ach egal`, `vergiss es`, `vergiss das`,`lass gut sein`, `lass mal gut sein`, `ach nichts`, `ach, nichts`,- `schon gut`, `ne doch nicht`, `nee doch nicht`, `doch nicht`, `halt stopp` (only when not a running-task cancel — task cancel stays in `voice_command_gate`).+ `schon gut`, `ne doch nicht`, `nee doch nicht`, `doch nicht`, `halt stopp` (only when not a running-task cancel — task cancel stays in `voice_command_gate`). <!-- i18n-allow: German input vocabulary -->- **EN:** `never mind`, `nevermind`, `forget it`, `forget that`, `nvm`,`scratch that`, `no wait`.@@ -118,14 +118,14 @@ def classify_completeness(Matched on the **last token** (lowercased, punctuation stripped).**DE — high-precision set (separable-verb particles AND prepositions deliberately EXCLUDED):**-- Conjunctions: `und`, `oder`, `aber`, `weil`, `dass`, `daß`, `denn`, `sondern`, `sowie`-- Indefinite articles (almost always pre-nominal): `eine`, `einen`, `einem`, `einer`, `eines`+- Conjunctions: `und`, `oder`, `aber`, `weil`, `dass`, `daß`, `denn`, `sondern`, `sowie` <!-- i18n-allow: German input vocabulary -->+- Indefinite articles (almost always pre-nominal): `eine`, `einen`, `einem`, `einer`, `eines` <!-- i18n-allow: German input vocabulary -->- Subordinators (open a clause that needs completion): `wenn`, `falls`, `ob`**Explicitly NOT in the DE set** (would cause false positives):-- Separable-verb particles `zu, auf, an, ab, ein, mit, vor, nach, um, in, bei, los, hin, her, weg, da, fest, weiter` — "mach das Fenster **zu**", "mach das Licht **an**" are *complete* commands.-- Bare definite articles / demonstratives `der, die, das, den, dem` — collide with pronouns: "mach **das**", "lass **das**", "nimm **die**" are complete.-- All prepositions `für, von, wegen, mit, …` — collide with question tails: "was ist das **für**", "wo kommst du **her**" are *complete*. Under the "when in doubt, execute" bias they are dropped entirely.+- Separable-verb particles `zu, auf, an, ab, ein, mit, vor, nach, um, in, bei, los, hin, her, weg, da, fest, weiter` — "mach das Fenster **zu**", "mach das Licht **an**" are *complete* commands. <!-- i18n-allow: German input vocabulary -->+- Bare definite articles / demonstratives `der, die, das, den, dem` — collide with pronouns: "mach **das**", "lass **das**", "nimm **die**" are complete. <!-- i18n-allow: German input vocabulary -->+- All prepositions `für, von, wegen, mit, …` — collide with question tails: "was ist das **für**", "wo kommst du **her**" are *complete*. Under the "when in doubt, execute" bias they are dropped entirely. <!-- i18n-allow: German input vocabulary -->ely.**EN set** (no separable-particle / pronoun collision):- Conjunctions: `and`, `or`, `but`, `because`@@ -199,26 +199,26 @@ trap. If the verdict ever needs to reach SQL/TS, apply the five-layer pattern**Unit — `tests/unit/speech/test_completeness.py`** (this milestone):- **COMPLETE** (must pass through to the brain/fast-path):- - "Öffne Chrome", "Öffne mir den Browser", "Wie spät ist es",+ - "Öffne Chrome", "Öffne mir den Browser", "Wie spät ist es", <!-- i18n-allow: German test-fixture utterances -->"Spiel Spotify ab", "Mach das Fenster zu", "Mach das Licht an", "Mach das",- "Lass das", "Nimm die rote", "Gib mir den Bericht",- "Was ist das für" (preposition-tail collision — locked to COMPLETE),+ "Lass das", "Nimm die rote", "Gib mir den Bericht", <!-- i18n-allow: German test-fixture utterances -->+ "Was ist das für" (preposition-tail collision — locked to COMPLETE), <!-- i18n-allow: German test-fixture utterances -->"What is this for" (same collision in EN),- "Schreib eine Mail an Tom dass ich später komme",+ "Schreib eine Mail an Tom dass ich später komme", <!-- i18n-allow: German test-fixture utterances -->"Kannst du das fixen" (historic false-positive — locked to COMPLETE),"What time is it", "Open the terminal", "Turn it off",any text ending in `.` / `!` / `?`.- **INCOMPLETE**:- - "Öffne mal eine", "Ich brauche einen", "Kauf Milch und",- "Ich glaube dass", "Jarvis wenn", "wenn", "falls",+ - "Öffne mal eine", "Ich brauche einen", "Kauf Milch und", <!-- i18n-allow: German test-fixture utterances -->+ "Ich glaube dass", "Jarvis wenn", "wenn", "falls", <!-- i18n-allow: German test-fixture utterances -->"Send a mail to", "I want to", "Open the".- **ABRUPT_ABORT**:- "nein, egal", "vergiss es", "ach, lass gut sein", "schon gut","never mind", "forget it", "scratch that".- **C-signals**:- - "ich möchte dass du die Datei" with `endpoint_reason="max_utterance"`+ - "ich möchte dass du die Datei" with `endpoint_reason="max_utterance"` <!-- i18n-allow: German test-fixture utterances -->→ INCOMPLETE (`reason="cut_off"`); same text with terminal punctuation- → COMPLETE; "Öffne Chrome." with `endpoint_reason="max_utterance"`+ → COMPLETE; "Öffne Chrome." with `endpoint_reason="max_utterance"` <!-- i18n-allow: German test-fixture utterances -->→ COMPLETE (terminal overrides).- **Bias** (ambiguous → COMPLETE): "das Wetter heute", lone content word"Browser".diff --git a/docs/superpowers/specs/2026-05-27-cartesia-tts-integration-design.md b/docs/superpowers/specs/2026-05-27-cartesia-tts-integration-design.mdindex e19c647a90..c8ca87f5e0 100644--- a/docs/superpowers/specs/2026-05-27-cartesia-tts-integration-design.md+++ b/docs/superpowers/specs/2026-05-27-cartesia-tts-integration-design.md@@ -3,7 +3,7 @@**Date:** 2026-05-27**Author:** Jarvis-Agents (background session)**Status:** Pending user review-**Related plan:** `~/.claude/plans/also-er-muss-auch-lexical-pond.md` (Phase L.4 — Streaming TTS)+**Related plan:** `~/.claude/plans/also-er-muss-auch-lexical-pond.md` (Phase L.4 — Streaming TTS) <!-- i18n-allow: literal filename identifier, must match the real file -->**Related code-pattern:** `jarvis/plugins/tts/grok_voice_tts.py` (template)---@@ -96,7 +96,7 @@ back provider settings (BUG-010, three episodes). Any new TTS provider config muin **all three** layers simultaneously:1. `jarvis.toml` — declared config (`[tts.cartesia]`).-2. `scripts/config-soll.json` — drift-guard target the daemon re-applies every 5 min.+2. `scripts/config-soll.json` — drift-guard target the daemon re-applies every 5 min. <!-- i18n-allow: literal filename identifier -->3. Environment variable hint (documented in the new section's comment).Without this pin, the daemon will silently roll back any cartesia-related edit.@@ -133,7 +133,7 @@ The implementation plan that follows this design will cover, in this order:`model_id="sonic-3.5"`, `language="auto"`, `voice_id="<documented Sarah UUID>"`,`chunk_by_sentence=true`, `speed=1.0`, `allow_sapi5_fallback=false`, plusinline help comments.-5. **Drift-guard pin** — add the same key/value triplet to `scripts/config-soll.json`.+5. **Drift-guard pin** — add the same key/value triplet to `scripts/config-soll.json`. <!-- i18n-allow: literal filename identifier -->6. **Unit tests** `tests/unit/plugins/tts/test_cartesia_tts.py`:- `test_synthesize_yields_pcm_24k_mono` (mocked httpx, 200 OK, single sentence)- `test_multiple_sentences_yield_in_order` (parallel synth, order preserved)@@ -164,7 +164,7 @@ The implementation plan that follows this design will cover, in this order:| Risk | Mitigation ||---|---|| Cartesia returns 200 OK with empty body (silent failure) | Soft-fail to Gemini via the same `b""`-check used in `grok_voice_tts.py`. AD-OE6 invariant preserved. |-| Drift-guard rolls back the `[tts.cartesia]` section | AD-CT4 pins all three layers (jarvis.toml + config-soll.json + ENV doc). |+| Drift-guard rolls back the `[tts.cartesia]` section | AD-CT4 pins all three layers (jarvis.toml + config-soll.json + ENV doc). | <!-- i18n-allow: literal filename identifier -->| User accidentally activates Cartesia without a key | `ProviderSpec.auth_mode="api_key"` + `secret_keys=("cartesia_api_key",)`; `ApiKeysView` already shows "needs key" badge and refuses activation (see `ProviderCard.activate` in `ApiKeysView.tsx:135`). || Plugin module name collides with Cartesia's official Python SDK (`cartesia`) | We import lazily inside `_ensure_client()` only and use `httpx` directly. No top-level `import cartesia`. || voice_id becomes invalid (Cartesia removes the example voice) | Plugin logs the upstream `400 invalid voice_id` body verbatim, falls back to Gemini. User updates `[tts.cartesia].voice_id`. |diff --git a/docs/superpowers/specs/2026-05-27-jarvis-agents-section-design.md b/docs/superpowers/specs/2026-05-27-jarvis-agents-section-design.mdindex d746d5b42f..04b0ea21a2 100644--- a/docs/superpowers/specs/2026-05-27-jarvis-agents-section-design.md+++ b/docs/superpowers/specs/2026-05-27-jarvis-agents-section-design.md@@ -75,7 +75,7 @@ active_provider = "claude-subagent" # one of: claude-subagent, codex-subagent,test_cooldown_seconds = 60 # per-provider cooldown for Test button```-`SubagentConfig` in `jarvis/core/config.py` validates the four provider IDs as a `Literal`. Drift-guard pins `active_provider` in `scripts/config-soll.json`.+`SubagentConfig` in `jarvis/core/config.py` validates the four provider IDs as a `Literal`. Drift-guard pins `active_provider` in `scripts/config-soll.json`. <!-- i18n-allow: literal filename identifier -->### 3.4 Worker Dispatch Switch@@ -119,7 +119,7 @@ OAuth expiry is detected by reading `~/.claude/.credentials.json` (Anthropic) or1. Server-side cooldown check (60s per provider, in-memory dict). If hot → HTTP 429 with `Retry-After` header.2. Validates that the requested provider is configured (OAuth present OR API-Key present). If neither → HTTP 412 "provider not configured".3. Dispatches a mission via `MissionManager.dispatch` with:- - `prompt = "Schreibe eine Datei `ok.txt` mit Inhalt `OK`."` (German runtime literal — "Write a file `ok.txt` with content `OK`.")+ - `prompt = "Schreibe eine Datei `ok.txt` mit Inhalt `OK`."` (German runtime literal — "Write a file `ok.txt` with content `OK`.") <!-- i18n-allow: quoted German runtime test literal -->- `source_actor = "subagent_test"`- `worker_override = provider_id` (new field, lets the test bypass the active-provider switch)- `max_critic_loops = 1` (telemetry/budget reduction)@@ -247,7 +247,7 @@ After implementation:| `jarvis/ui/web/subagent_routes.py` | **new** — activate, test, auth-status, oauth-login endpoints || `jarvis/ui/web/api.py` | mount the new router || `jarvis.toml` (default) | `[subagent] active_provider = "claude-subagent"` |-| `scripts/config-soll.json` | drift-guard pin for `active_provider` |+| `scripts/config-soll.json` | drift-guard pin for `active_provider` | <!-- i18n-allow: literal filename identifier -->### Frontend@@ -315,7 +315,7 @@ Three sequential phases, each independently shippable, each with green tests at|---|---|| OAuth token in wrong env-slot regression (the BUG that prompted this work) | Explicit `unset` of the alternative env in `_env_builder()`. Test `test_env_builder_auth_priority.py` is the regression guard. || New worker (Grok) doesn't pass artifact-archive correctly (`_archive_task_artifacts` ate three files yesterday) | Wave A diff-extraction fix from earlier today already in main; new Grok worker piggybacks on the same path. |-| Drift-guard rolls `active_provider` back to old value | Drift-guard pin must list `subagent.active_provider` in `config-soll.json` *before* Phase 1 ships, otherwise a parallel session can roll the value. |+| Drift-guard rolls `active_provider` back to old value | Drift-guard pin must list `subagent.active_provider` in `config-soll.json` *before* Phase 1 ships, otherwise a parallel session can roll the value. | <!-- i18n-allow: literal filename identifier -->| 60s test cooldown too short during dev | Configurable via `[subagent].test_cooldown_seconds`. Drift-guard pinned to 60. || `claude /login` subprocess on Windows blocks the FastAPI event loop | Run with `asyncio.create_subprocess_exec`, stream-read stdout off-loop; `NO_WINDOW_CREATIONFLAGS` mandatory (AP-1). || User switches active provider during an in-flight mission | Active mission retains its original worker (constructed at dispatch time). New spawns pick up the new active provider. No mid-mission swap. |diff --git a/docs/superpowers/specs/2026-05-29-open-knowledge-matrix-design.md b/docs/superpowers/specs/2026-05-29-open-knowledge-matrix-design.mdindex 43541c3631..69e32008d5 100644--- a/docs/superpowers/specs/2026-05-29-open-knowledge-matrix-design.md+++ b/docs/superpowers/specs/2026-05-29-open-knowledge-matrix-design.md@@ -24,7 +24,7 @@ these conceal nothing).### Changes1. **`FieldRow` (`ProfileView.tsx`)** — empty fields render quiet, readable- muted-italic text (`profile_view.field_unknown`, e.g. "noch nicht bekannt")+ muted-italic text (`profile_view.field_unknown`, e.g. "noch nicht bekannt") <!-- i18n-allow: quoted German i18n-locale example value -->instead of the `.dossier-redact` hatch bar. Drop the now-unused `seed` propand `REDACT_WIDTHS` table.2. **`HeroBand` (`ProfileView.tsx`)** — swap the `Lock` icon in thediff --git a/docs/superpowers/specs/2026-05-30-cross-platform-autostart-design.md b/docs/superpowers/specs/2026-05-30-cross-platform-autostart-design.mdindex 8faca6b735..076e2a6287 100644--- a/docs/superpowers/specs/2026-05-30-cross-platform-autostart-design.md+++ b/docs/superpowers/specs/2026-05-30-cross-platform-autostart-design.md@@ -312,10 +312,10 @@ a real device, per CLAUDE.md verification-honesty rule):the toggle is the off-switch. Documented in the UI caption + spec.- **Launched process crashes on boot** (stale lock / init crash). Out of scope;flagged. Autostart guarantees the entry, not process health.-- **Drift-guard / config-soll.** `[autostart].enabled` is a new key; if the- drift-guard's `config-soll.json` is authoritative it must learn the key, else a+- **Drift-guard / config-soll.** `[autostart].enabled` is a new key; if the <!-- i18n-allow: literal filename identifier -->+ drift-guard's `config-soll.json` is authoritative it must learn the key, else a <!-- i18n-allow: literal filename identifier -->toggle could be rolled back (the BUG-010 / provider-switch class). The plan- must add `[autostart]` to `config-soll.json` (or confirm the guard ignores+ must add `[autostart]` to `config-soll.json` (or confirm the guard ignores <!-- i18n-allow: literal filename identifier -->unknown sections).- **macOS `launchctl` quirks across versions.** `install` is best-effort on the`launchctl load`; correctness rests on the plist + `RunAtLoad` at next login,@@ -336,7 +336,7 @@ a real device, per CLAUDE.md verification-honesty rule):- `scripts/install_shortcuts.py` (delegate autostart branch to the port)- `jarvis/ui/web/frontend/src/views/SettingsView.tsx` (+panel)- `jarvis/ui/web/frontend/src/i18n/locales/{de,en,es}.json` (+keys)-- `scripts/drift-guard*` / `config-soll.json` (learn `[autostart]`) — if applicable+- `scripts/drift-guard*` / `config-soll.json` (learn `[autostart]`) — if applicable <!-- i18n-allow: literal filename identifier -->- `CLAUDE.md` cross-platform table (+row "Autostart" — optional polish)## 12. Open questions for the plan@@ -344,7 +344,7 @@ a real device, per CLAUDE.md verification-honesty rule):- Exact insertion point of `reconcile_autostart` in `launcher.py` (after configload, around `_build_app`); confirm headless launcher path also reaches itsafely (null manager makes it harmless regardless).-- Whether `config-soll.json` is authoritative on this machine and must learn+- Whether `config-soll.json` is authoritative on this machine and must learn <!-- i18n-allow: literal filename identifier -->`[autostart]` (drift-guard interaction).## 13. Amendment 2026-06-09 — Windows promptness via a logon scheduled taskdiff --git a/docs/superpowers/specs/2026-05-31-app-control-tools-design.md b/docs/superpowers/specs/2026-05-31-app-control-tools-design.mdindex 484ac47d0d..a67965d5dc 100644--- a/docs/superpowers/specs/2026-05-31-app-control-tools-design.md+++ b/docs/superpowers/specs/2026-05-31-app-control-tools-design.md@@ -148,7 +148,7 @@ execution, so it is `ask` tier and the added server starts **disabled**.bootstrap still loads them (they return an honest "not yet ready" otherwise).- Routing: extend the smalltalk/action heuristics so utterances like"aktualisiere die Settings", "welche Provider hab ich", "switch to Gemini",- "füge einen MCP-Server hinzu" route to these tools and are **not**+ "füge einen MCP-Server hinzu" route to these tools and are **not** <!-- i18n-allow: quoted German voice-input example -->force-spawned to a worker (`BrainManager._should_force_openclaw`). Add a shortnote to `router.py` SYSTEM_PROMPT so the brain knows the overview tool exists.diff --git a/docs/superpowers/specs/2026-06-01-live-plugin-tools-design.md b/docs/superpowers/specs/2026-06-01-live-plugin-tools-design.mdindex 68b6f0c5ed..fe8cd05b0c 100644--- a/docs/superpowers/specs/2026-06-01-live-plugin-tools-design.md+++ b/docs/superpowers/specs/2026-06-01-live-plugin-tools-design.md@@ -29,8 +29,8 @@ A connected Marketplace plugin reaches **only** the heavy `claude-cli`actually holds the conversation never sees the plugin as a callable tool. And theonly way the router reaches the worker — the force-spawn heuristic — runs in`strict` mode (`manager.py:1552-1554`), firing only on explicit heavy-work-keywords ("spawn", "deep dive", "OpenClaw", "gründliche Recherche") and only when-`brain.primary` is `claude-api`/`gemini`. So a casual "was habe ich heute für+keywords ("spawn", "deep dive", "OpenClaw", "gründliche Recherche") and only when <!-- i18n-allow: German input vocabulary -->+`brain.primary` is `claude-api`/`gemini`. So a casual "was habe ich heute für <!-- i18n-allow: quoted German voice-input example -->Termine?" produces **nothing**.**Symptom in the user's words:** "he doesn't actively call these things, and when@@ -147,7 +147,7 @@ Tokens stay in the keyring, injected at client construction, **never** in toolargs or descriptions (AP-2). Where the API supports it, deletes/writes arereversible (e.g. Calendar event recovery) — surfaced, not prompted.-## 6. Data flow — "was habe ich heute für Termine?"+## 6. Data flow — "was habe ich heute für Termine?" <!-- i18n-allow: quoted German voice-input example -->```Utterance → router turn@@ -237,7 +237,7 @@ worker; the Plugins tab honestly reflects callability.- Contract: each `MCPToolAdapter`-wrapped plugin tool passes the Tool contract.- Integration: connect a fake plugin → tool appears in the live brain surface →call returns data inline; disconnect → tool gone, no restart.-- E2E (pilot): "was habe ich heute für Termine?" → Calendar read inline, on both+- E2E (pilot): "was habe ich heute für Termine?" → Calendar read inline, on both <!-- i18n-allow: quoted German voice-input example -->voice and chat paths, through `scrub_for_voice`.- Regression: parity test for any new wire enum; assert `plugin-tools` neverenters a worker tool-set (AP-5/AP-14 guard).diff --git a/docs/superpowers/specs/2026-06-08-jarvis-control-api-design.md b/docs/superpowers/specs/2026-06-08-jarvis-control-api-design.mdindex ef07e7f31d..242ac9eb9e 100644--- a/docs/superpowers/specs/2026-06-08-jarvis-control-api-design.md+++ b/docs/superpowers/specs/2026-06-08-jarvis-control-api-design.md@@ -80,7 +80,7 @@ A single FastAPI dependency `require_control_key(request)` on the `/api/control/## 5. API key lifecycle- **Generation:** `"jctl_" + secrets.token_urlsafe(32)` (256-bit, greppable prefix à la `ghp_`).-- **Storage (cross-platform, mandatory headless fallback):** primary `cfg.set_secret("jarvis_control_api_key", key)` (Credential Manager / Keychain / Secret Service under `KEYRING_SERVICE="personal-jarvis"`). **Check the return value** — `set_secret` silently returns False on headless Linux. Fallback: `data/.control_api_key`, `0600` on POSIX / per-user NTFS ACL on Windows. Read order: keyring → file → `JARVIS_CONTROL_API_KEY` env. Never assume keyring persisted. Never in `jarvis.toml` / `config-soll.json` / committed `.env` (AP-12).+- **Storage (cross-platform, mandatory headless fallback):** primary `cfg.set_secret("jarvis_control_api_key", key)` (Credential Manager / Keychain / Secret Service under `KEYRING_SERVICE="personal-jarvis"`). **Check the return value** — `set_secret` silently returns False on headless Linux. Fallback: `data/.control_api_key`, `0600` on POSIX / per-user NTFS ACL on Windows. Read order: keyring → file → `JARVIS_CONTROL_API_KEY` env. Never assume keyring persisted. Never in `jarvis.toml` / `config-soll.json` / committed `.env` (AP-12). <!-- i18n-allow: literal filename identifier -->- **Bootstrap:** generate-once **before** the FastAPI app is created. Idempotent — reuse an existing key, never silently regenerate (would lock out cached agents). Wizard shows "stored ✓" (mirrors `jarvis_admin_hmac`, `wizard.py:187-194`). Headless boot prints once to stdout.- **Copy/display:** `GET /api/control/api-key` → full key to the same-origin panel; `robustCopy()` (`clipboard.ts:24`, WebView2-safe). Logs/lists show only `jctl_…last4`.- **Rotation:** `POST /api/control/api-key/rotate {confirm:true}` requires the current Bearer (or same-origin loopback + optional admin_password_hash). New → persist → old invalidated by overwrite (single-key model). Emits `ControlApiKeyRotated`. No TTL in v1.@@ -98,7 +98,7 @@ A single FastAPI dependency `require_control_key(request)` on the `/api/control/One new built-in skill `control-api` (`jarvis/skills/builtin/control-api/SKILL.md`), added to `BUILTIN_SKILL_NAMES` (`builtin/__init__.py`).- `state: validated` — **AP-15 critical**: NOT `active` (would bypass review) and NOT left `draft` (would never trigger). Loader maps None→VALIDATED, which `list_active()` includes.-- `intent_verbs: [switch, change, set, wechsel, stell, ändere]`, `intent_objects: [language, sprache, provider, brain, voice, stimme, theme, setting, einstellung]` — domain-agnostic verbs + config nouns, disjoint from the plugin-paired domain nouns (no capability collision).+- `intent_verbs: [switch, change, set, wechsel, stell, ändere]`, `intent_objects: [language, sprache, provider, brain, voice, stimme, theme, setting, einstellung]` — domain-agnostic verbs + config nouns, disjoint from the plugin-paired domain nouns (no capability collision). <!-- i18n-allow: German input vocabulary -->- Triggers: **anchored narrow** regex, `language: [de, en]`. Never broad `^(change|switch)`.- `requires_tools: []` — skill bodies are Supervisor markdown, cannot make HTTP calls. The skill is **documentation**: it teaches the router to call `set_config_value` (countering force-spawn via `run_skill` preference, `router.py:112-118`) **and** gives Codex CLI / Claude Code a copy-paste `curl` recipe + a pointer to `GET /api/control/allowlist`.- Tests: parity (in `BUILTIN_SKILL_NAMES`), bootstrap-drift (no drift on second boot), AP-15 (loads VALIDATED not ACTIVE).@@ -109,7 +109,7 @@ One new built-in skill `control-api` (`jarvis/skills/builtin/control-api/SKILL.m- **THE cloud-first blocker:** config path is hardcoded `PROJECT_ROOT / "jarvis.toml"` (`config.py:46`) with no env override. Add a `JARVIS_CONFIG` env var honored by `load_config` + `AtomicConfigWriter`.- Keyring fails silently on headless Linux → file fallback wired from day one.-- 3-layer persist's ENV layer is `winreg` (Windows-only) → no-op elsewhere; add `brain.reply_language` to the drift-soll layer so the Windows drift-guard does not revert a switch within 5 min (BUG-010).+- 3-layer persist's ENV layer is `winreg` (Windows-only) → no-op elsewhere; add `brain.reply_language` to the drift-soll layer so the Windows drift-guard does not revert a switch within 5 min (BUG-010). <!-- i18n-allow: literal identifier ("soll" = drift-guard target layer) -->- Desktop-only settings (overlay/bar/ducking) return `{applied:false, requires_ui:true}` on a VPS (reuse the 503/graceful pattern), never crash.- Control API is pure FastAPI + stdlib `secrets` + keyring (all in base) → boots on the slim Linux image unchanged. No new GUI dep.diff --git a/docs/superpowers/specs/2026-06-09-wiki-autonomous-curator-design.md b/docs/superpowers/specs/2026-06-09-wiki-autonomous-curator-design.mdindex ce92c6ad10..3f89e582e7 100644--- a/docs/superpowers/specs/2026-06-09-wiki-autonomous-curator-design.md+++ b/docs/superpowers/specs/2026-06-09-wiki-autonomous-curator-design.md@@ -151,4 +151,4 @@ STAGE 2 — Consolidator (cheap dedicated model, body-aware judge)- Conversation-fed extraction quality on a cheap model — mitigated by recall-biased Stage 1 + body-aware Stage-2 judge; tunable.- FTS5-only k-nearest may under-cluster near-duplicate entities until embeddings land (Wave 3).- `VaultLock` `time.monotonic` stale-clock bug **must** be fixed before wiring the scheduler.-- The named master plan `~/.claude/plans/also-er-muss-auch-lexical-pond.md` is missing on disk; vision was reconstructed from ADR-0013/0014/0015 + the B1 README + `schema.md` (all agree on the autonomous-editor ambition).+- The named master plan `~/.claude/plans/also-er-muss-auch-lexical-pond.md` is missing on disk; vision was reconstructed from ADR-0013/0014/0015 + the B1 README + `schema.md` (all agree on the autonomous-editor ambition). <!-- i18n-allow: literal plan filename, not translatable prose -->diff --git a/docs/superpowers/specs/2026-06-28-contextual-readback-design.md b/docs/superpowers/specs/2026-06-28-contextual-readback-design.mdindex 9d055db5f2..ef173d4b8d 100644--- a/docs/superpowers/specs/2026-06-28-contextual-readback-design.md+++ b/docs/superpowers/specs/2026-06-28-contextual-readback-design.md@@ -90,7 +90,7 @@ fallback-only when `[ack_brain]` is off.("don't confirm something that wasn't done"), already names the concrete setting+ value (barely a "stock phrase"), and sits on the turn-critical tool loop. Keptdeterministic; revisit if desired (threading a composer through the dispatcher).-- **`open_app` DIRECT ack** ("Gestartet: Chrome"): the deliberately fastest path+- **`open_app` DIRECT ack** ("Gestartet: Chrome"): the deliberately fastest path <!-- i18n-allow: quoted voice-ack output example -->(no-LLM by design) that already names the concrete app. Kept fast.- **Harness-internal pause prompts** (`cu_awaiting_elevation`/`cu_awaiting_human`):produced inside the harness subprocess (cannot reach the in-process composer),diff --git a/docs/telephony.md b/docs/telephony.mdindex e443dac466..5966efd386 100644--- a/docs/telephony.md+++ b/docs/telephony.md@@ -112,7 +112,7 @@ restart, so re-run `set-webhook` each time. The VPS path avoids this.through STT → Brain → TTS with no real call, and shows the transcript +response so you can confirm there is no text truncation).- Call your Twilio number. Jarvis greets you, you talk, it answers in the Charon- voice. Say **"auflegen"** (or "tschüss", "goodbye", "hang up") to end the+ voice. Say **"auflegen"** (or "tschüss", "goodbye", "hang up") to end the <!-- i18n-allow: voice hangup trigger words -->call; barge-in is supported (start talking while Jarvis is speaking and itstops to listen). <!-- i18n-allow -->diff --git a/docs/transcription-bubble-deep-dive/README.md b/docs/transcription-bubble-deep-dive/README.mdindex 69e919f266..be48d1339c 100644--- a/docs/transcription-bubble-deep-dive/README.md+++ b/docs/transcription-bubble-deep-dive/README.md@@ -29,13 +29,13 @@ wrong rendering assembled from several unstable live-STT intermediate states.The user said:```text-Was ist morgen fuer ein Tag?+Was ist morgen fuer ein Tag? <!-- i18n-allow -->``` <!-- i18n-allow: STT test fixture -->The bubble showed:```text-Was? Was ist morgens? Was ist morgen fuer ein Tag? Morgen fuer einen Tag.+Was? Was ist morgens? Was ist morgen fuer ein Tag? Morgen fuer einen Tag. <!-- i18n-allow -->``` <!-- i18n-allow: STT test fixture -->The pattern is typical for the current live-bubble architecture:@@ -68,20 +68,20 @@ Example:```textPartial 1: Was?Partial 2: Was ist morgens?-Partial 3: Was ist morgen fuer ein Tag?-Partial 4: Morgen fuer einen Tag.+Partial 3: Was ist morgen fuer ein Tag? <!-- i18n-allow -->+Partial 4: Morgen fuer einen Tag. <!-- i18n-allow -->``` <!-- i18n-allow: STT test fixture -->The correct display would not be:```text-Was? Was ist morgens? Was ist morgen fuer ein Tag? Morgen fuer einen Tag.+Was? Was ist morgens? Was ist morgen fuer ein Tag? Morgen fuer einen Tag. <!-- i18n-allow -->``` <!-- i18n-allow: STT test fixture -->The better display would be either:```text-Was ist morgen fuer ein Tag?+Was ist morgen fuer ein Tag? <!-- i18n-allow -->``` <!-- i18n-allow: STT test fixture -->or, while speaking live, always only the currently best hypothesis.@@ -91,7 +91,7 @@ or, while speaking live, always only the currently best hypothesis.Not clearly proven as the main cause.On short tail windows, the STT tool may well recognize "morgen" as "morgens" or-"fuer ein" as "fuer einen". That is normal for short, context-poor live tails.+"fuer ein" as "fuer einen". That is normal for short, context-poor live tails. <!-- i18n-allow: quoted STT transcript examples -->The decisive point is: such intermediate hypotheses must not be permanentlypreserved in the UI.@@ -140,8 +140,8 @@ from jarvis.speech.pipeline import _merge_partial_transcriptparts = ["Was?","Was ist morgens?",- "Was ist morgen fuer ein Tag?",- "Morgen fuer einen Tag.",+ "Was ist morgen fuer ein Tag?", # i18n-allow+ "Morgen fuer einen Tag.", # i18n-allow]cur = ""@@ -155,8 +155,8 @@ Result:```textWas?Was? Was ist morgens?-Was? Was ist morgens? Was ist morgen fuer ein Tag?-Was? Was ist morgens? Was ist morgen fuer ein Tag? Morgen fuer einen Tag.+Was? Was ist morgens? Was ist morgen fuer ein Tag? <!-- i18n-allow -->+Was? Was ist morgens? Was ist morgen fuer ein Tag? Morgen fuer einen Tag. <!-- i18n-allow -->```The Orb bridge has a very similar merge function:@@ -180,22 +180,22 @@ That means: the probe does not hear the entire sentence each time, but only thelast roughly 1.8 seconds. For a sentence like:```text-Was ist morgen fuer ein Tag?+Was ist morgen fuer ein Tag? <!-- i18n-allow -->```a tail can look roughly like this:```text... ist morgen-... morgen fuer ein-... fuer ein Tag+... morgen fuer ein <!-- i18n-allow -->+... fuer ein Tag <!-- i18n-allow -->```On such short excerpts STT can produce intermediate hypotheses:```textmorgen -> morgens-fuer ein -> fuer einen+fuer ein -> fuer einen <!-- i18n-allow -->```That is not unusual for live STT. The error is that these intermediate@@ -214,15 +214,15 @@ This solves the forgetting on cleanly overlapping partials:```textHallo ich moechte einen langen Prompt-langen Prompt der weiter geht--> Hallo ich moechte einen langen Prompt der weiter geht+langen Prompt der weiter geht <!-- i18n-allow -->+-> Hallo ich moechte einen langen Prompt der weiter geht <!-- i18n-allow -->```But it worsens the case where STT corrects its opinion:```textWas ist morgens?-Was ist morgen fuer ein Tag?+Was ist morgen fuer ein Tag? <!-- i18n-allow -->```Since "morgens" and "morgen" are not exactly equal, the merge recognizes no@@ -242,7 +242,7 @@ Problem cases:Was? != Wasmorgens? != morgenTag? != Tag-ein != einen+ein != einen <!-- i18n-allow -->```As soon as punctuation or small STT corrections come into play, the overlap is@@ -435,7 +435,7 @@ Two merge points were changed:1. `jarvis/speech/pipeline.py::_merge_partial_transcript`- normalizes punctuation and small STT variants like `morgens`/`morgen`- or `ein`/`einen`;+ or `ein`/`einen`; <!-- i18n-allow -->- recognizes corrected live hypotheses and replaces the old preview text;- recognizes repeated tail fragments and does not append them again.@@ -448,25 +448,25 @@ The screenshot case:```textWas?Was ist morgens?-Was ist morgen fuer ein Tag?-Morgen fuer einen Tag.+Was ist morgen fuer ein Tag? <!-- i18n-allow -->+Morgen fuer einen Tag. <!-- i18n-allow -->```now becomes:```text-Was ist morgen fuer ein Tag?+Was ist morgen fuer ein Tag? <!-- i18n-allow -->```The previous long-prompt fix is preserved:```textHallo ich moechte einen langen Prompt-langen Prompt der weiter geht+langen Prompt der weiter geht <!-- i18n-allow -->```still becomes:```text-Hallo ich moechte einen langen Prompt der weiter geht+Hallo ich moechte einen langen Prompt der weiter geht <!-- i18n-allow -->```diff --git a/docs/voice-acceptance-brief.md b/docs/voice-acceptance-brief.mdindex a859d3472c..aeb32837b8 100644--- a/docs/voice-acceptance-brief.md+++ b/docs/voice-acceptance-brief.md@@ -69,7 +69,7 @@ Say **"Hey Jarvis"** as the wake word **before every turn**. Note briefly after| 9 | "Lies die Datei /nicht/existent.txt." ("Read the file /not/existent.txt.") | Dry error message, no "Es tut mir leid, aber leider" ("I'm sorry, but unfortunately"). | _____ | _____ | <!-- i18n-allow: voice examples -->| 10 | "Verbinde dich mit dem Server xyz123.invalid." ("Connect to the server xyz123.invalid.") | Direct error notice. | _____ | _____ | <!-- i18n-allow: voice examples -->-### Block D — 2 echo-trap turns (expectation: NO "Du möchtest also …" ("So you want to …"))+### Block D — 2 echo-trap turns (expectation: NO "Du möchtest also …" ("So you want to …")) <!-- i18n-allow: quoted voice echo-trap example -->| # | You say | Expectation | Alex's note: perceived | Tone ||---|---|---|---|---|@@ -83,7 +83,7 @@ Say **"Hey Jarvis"** as the wake word **before every turn**. Note briefly after- [ ] **5 smalltalk turns spawn 0 `openclaw` subprocesses** (Block A, subprocess column all "N").- [ ] **3 spawn turns spawn exactly 1 subprocess each** (Block B, 1× "Y" each during the turn).- [ ] **Voice output contains no tool JSON/XML leak** (Block B, no "spawn_sub_jarvis(…)" / "<spawn_sub_jarvis>" audible).-- [ ] **Echo trap (11+12) delivers a direct answer** without a "Du möchtest also …" ("So you want to …") opener.+- [ ] **Echo trap (11+12) delivers a direct answer** without a "Du möchtest also …" ("So you want to …") opener. <!-- i18n-allow: quoted voice echo-trap example -->- [ ] **Bad news (9+10) without cushioning** ("Es tut mir leid, aber" ("I'm sorry, but") audible = ❌).- [ ] **The form of address is "Alex"** (NEVER "Sir"/"Mr. Stark"/"Tony"/"boss" audible).- [ ] **Hangup contract** (turn 5): exactly "Auf Wiedersehen, Alex." ("Goodbye, Alex.") — not "Gern. Bis dann." ("Sure. See you then.").diff --git a/docs/voice-turn-taking-bug-2026-04-26.md b/docs/voice-turn-taking-bug-2026-04-26.mdindex 7f31d0c61c..d504419e3e 100644--- a/docs/voice-turn-taking-bug-2026-04-26.md+++ b/docs/voice-turn-taking-bug-2026-04-26.md@@ -2,7 +2,7 @@## Symptom-After a successful Jarvis call, the desktop app stayed in `Hört zu` /+After a successful Jarvis call, the desktop app stayed in `Hört zu` / <!-- i18n-allow: quoted internal UI state label -->`LISTENING` and Jarvis did not answer a normal smalltalk prompt such as`Wie geht es dir, Jarvis?`. <!-- i18n-allow -->@@ -17,7 +17,7 @@ Two independent turn-taking gaps could produce the same user-visible symptom:2. The VAD endpoint trusted Silero probability plus a fixed silence window. Innoisy rooms or with fan/echo leakage, Silero can keep reporting speech afterthe user has stopped. That prevents a final transcript and keeps the UI in- `Hört zu`.+ `Hört zu`. <!-- i18n-allow: quoted internal UI state label -->## Fixdiff --git a/docs/zdf-stt-hallucination-visual.html b/docs/zdf-stt-hallucination-visual.htmlindex 8e61afbab2..255454b1c9 100644--- a/docs/zdf-stt-hallucination-visual.html+++ b/docs/zdf-stt-hallucination-visual.html@@ -316,12 +316,12 @@<article class="step"><span class="number">1</span><h2>Leiser Audio-Tail</h2>- <p>Nach dem Sprechen bleibt ein kurzer, leerer oder verrauschter Rest im Probe-Fenster.</p>+ <p>After speaking, a short, silent, or noisy remainder stays in the probe window.</p></article><article class="step"><span class="number">2</span><h2>Whisper halluziniert</h2>- <p>STT macht daraus einen bekannten Untertitel-Text, obwohl du ihn nicht gesagt hast.</p>+ <p>STT turns it into a familiar subtitle text, even though you never said it.</p></article><article class="step bad"><span class="number">3</span>@@ -331,20 +331,20 @@<article class="step bad"><span class="number">4</span><h2>Bubble zeigt es</h2>- <p>Das Partial wurde als <strong>TranscriptionUpdate</strong> published und die Orb-UI hat es live angezeigt.</p>+ <p>The partial was published as a <strong>TranscriptionUpdate</strong> and the Orb UI displayed it live.</p></article></div><div class="code"><div class="bar">- <span>Vorher: Filter traf nicht</span>+ <span>Before: filter did not match</span><span>pipeline.py</span></div><pre>Input vom STT:<span class="miss">"Untertitelung des ZDF, 2020"</span>Alte Regex:-"untertitel (von|der|im auftrag)" -> kein Treffer+"untertitel (von|der|im auftrag)" -> no match <!-- i18n-allow: literal regex pattern from the filter -->Folge:tail_is_empty = false@@ -355,18 +355,18 @@ Orb-Bubble zeigt den falschen Text.</pre><div class="fix"><div class="fix-box"><strong>Jetzt</strong>- <span class="hit">untertitelung des zdf</span> wird als STT-Halluzination erkannt.+ <span class="hit">untertitelung des zdf</span> is recognized as an STT hallucination.</div><div class="arrow">→</div><div class="fix-box"><strong>Resultat</strong>- Kein Partial-Publish, kein finales Bubble-Leak, zurueck in Listening.+ No partial publish, no final bubble leak, back to Listening.</div></div></div><aside class="card orb-zone">- <p class="caption">So sah der sichtbare Fehler aus: Die Bubble hat nicht gelogen, sie hat nur ungefiltert angezeigt, was Whisper falsch erzeugt hat.</p>+ <p class="caption">This is what the visible error looked like: the bubble did not lie, it just displayed unfiltered what Whisper had incorrectly generated.</p><div class="bubble">Im Anhang habe ich den Tablet.<span class="ghost">Untertitelung des ZDF, 2020</span>diff --git a/voice-session-2026-06-30_17-58-was-geht-ab-was.md b/voice-session-2026-06-30_17-58-was-geht-ab-was.mdindex cbe0ce6c52..af8dbb650a 100644--- a/voice-session-2026-06-30_17-58-was-geht-ab-was.md+++ b/voice-session-2026-06-30_17-58-was-geht-ab-was.md@@ -4,7 +4,7 @@- **Turns:** 3- **Sprache:** de <!-- i18n-allow: voice session transcript -->- **Wake-Word:** nico-- **Beendet durch:** Hotkey (F1+F2)+- **Ended by:** Hotkey (F1+F2)- **Tokens:** 77596 in · 2080 out- **Provider:** openrouter@@ -14,15 +14,15 @@**🎤 User** _(de=German)_-> Was geht ab? Was ist morgen für ein Tag? Guten Tag, ich habe noch eine Frage an dich und zwar möchte ich nach Bora Bora, was würdest du mir empfehlen, was ich für den Urlaub brauche?+> Was geht ab? Was ist morgen für ein Tag? Guten Tag, ich habe noch eine Frage an dich und zwar möchte ich nach Bora Bora, was würdest du mir empfehlen, was ich für den Urlaub brauche? <!-- i18n-allow: voice session transcript -->**🧠 Jarvis dachte:** Tier: `deep` · Provider: `openrouter` · Model: `deepseek/deepseek-v4-flash` · 25485+751 tok**🔊 Jarvis sagte** _(de=de)_-> Morgen ist Mittwoch, der erste Juli 2026.+> Morgen ist Mittwoch, der erste Juli 2026. <!-- i18n-allow: voice session transcript -->-Zu Bora Bora: das ist eine fantastische Idee. Du brauchst auf jeden Fall einen gültigen Reisepass, und als Deutscher kannst du bis zu drei Monate visumfrei auf Französisch-Polynesien bleiben. Pack leicht, luftig und sommerlich — es ist ganzjährig tropisch warm, so um die achtundzwanzig bis dreissig Grad. Sonnencreme mit hohem Lichtschutzfaktor ist Pflicht, und zwar die riffsichere Sorte, denn das Wasser ist das eigentliche Highlight. Ein paar lange Sachen gegen Mücken abends, Schnorchelzeug, Badeschuhe für die Strände und etwas schickeres für die Abendessen in den Resorts. Und budgetiere grosszügig — Bora Bora gehört zu den teureren Reisezielen, vor allem bei Unterkunft und Verpflegung. Willst du mehr Details zu einer bestimmten Ecke, zum Beispiel beste Reisezeit, Unterkünfte oder Aktivitäten?+Zu Bora Bora: das ist eine fantastische Idee. Du brauchst auf jeden Fall einen gültigen Reisepass, und als Deutscher kannst du bis zu drei Monate visumfrei auf Französisch-Polynesien bleiben. Pack leicht, luftig und sommerlich — es ist ganzjährig tropisch warm, so um die achtundzwanzig bis dreissig Grad. Sonnencreme mit hohem Lichtschutzfaktor ist Pflicht, und zwar die riffsichere Sorte, denn das Wasser ist das eigentliche Highlight. Ein paar lange Sachen gegen Mücken abends, Schnorchelzeug, Badeschuhe für die Strände und etwas schickeres für die Abendessen in den Resorts. Und budgetiere grosszügig — Bora Bora gehört zu den teureren Reisezielen, vor allem bei Unterkunft und Verpflegung. Willst du mehr Details zu einer bestimmten Ecke, zum Beispiel beste Reisezeit, Unterkünfte oder Aktivitäten? <!-- i18n-allow: voice session transcript -->**⏱ Latenz:** Gesamt 28.65 s · nachgedacht 12.85 s · gesprochen 60.91 s@@ -33,13 +33,13 @@ Zu Bora Bora: das ist eine fantastische Idee. Du brauchst auf jeden Fall einen g**🎤 User** _(de=German)_-> Ich hab jetzt so für zwei Wochen geplant und bin jetzt bei meinem Budget bei so 25.000 Euro für zwei Personen, passt es?+> Ich hab jetzt so für zwei Wochen geplant und bin jetzt bei meinem Budget bei so 25.000 Euro für zwei Personen, passt es? <!-- i18n-allow: voice session transcript -->**🧠 Jarvis dachte:** Tier: `deep` · Provider: `openrouter` · Model: `deepseek/deepseek-v4-flash` · 25909+632 tok**🔊 Jarvis sagte** _(de=de)_-> Ich konnte das gerade nicht abrufen — der Zugriff über das passende Werkzeug ist nicht durchgelaufen. Sag noch mal Bescheid, dann versuche ich es erneut.+> Ich konnte das gerade nicht abrufen — der Zugriff über das passende Werkzeug ist nicht durchgelaufen. Sag noch mal Bescheid, dann versuche ich es erneut. <!-- i18n-allow: voice session transcript -->**⏱ Latenz:** Gesamt 37.93 s · nachgedacht 18.94 s · gesprochen 11.16 s@@ -50,13 +50,13 @@ Zu Bora Bora: das ist eine fantastische Idee. Du brauchst auf jeden Fall einen g**🎤 User** _(de=German)_-> 아 Ja, ja, ja, ja, ja. Kannst du mal sagen, was das für ein Werkzeug war, was du aufrufen wolltest?+> 아 Ja, ja, ja, ja, ja. Kannst du mal sagen, was das für ein Werkzeug war, was du aufrufen wolltest? <!-- i18n-allow: voice session transcript -->**🧠 Jarvis dachte:** Tier: `deep` · Provider: `openrouter` · Model: `deepseek/deepseek-v4-flash` · 26202+697 tok**🔊 Jarvis sagte** _(de=de)_-> Ich konnte das gerade nicht abrufen — der Zugriff über das passende Werkzeug ist nicht durchgelaufen. Sag noch mal Bescheid, dann versuche ich es erneut.+> Ich konnte das gerade nicht abrufen — der Zugriff über das passende Werkzeug ist nicht durchgelaufen. Sag noch mal Bescheid, dann versuche ich es erneut. <!-- i18n-allow: voice session transcript -->**⏱ Latenz:** Gesamt 37.88 s · nachgedacht 15.15 s · gesprochen 8.83 s