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(privacy): untrack root scratch notes + voice-analysis artifacts; register two justified German allowlist entries
Ruben Lütke1d318aa3ef4b
diff --git a/.codex/visualizations/2026/07/14/voice-session-mechanics/realtime-interim-voice-analysis-standalone.html b/.codex/visualizations/2026/07/14/voice-session-mechanics/realtime-interim-voice-analysis-standalone.htmldeleted file mode 100644index 54f1135505..0000000000--- a/.codex/visualizations/2026/07/14/voice-session-mechanics/realtime-interim-voice-analysis-standalone.html+++ /dev/null@@ -1,1686 +0,0 @@-<!doctype html>-<html lang="en">-<head>-<meta charset="utf-8">-<meta name="viewport" content="width=device-width, initial-scale=1">-<meta name="referrer" content="no-referrer">-<meta http-equiv="Content-Security-Policy" content="default-src 'none'; script-src 'unsafe-inline' 'unsafe-eval' 'wasm-unsafe-eval' blob: data: https://cdnjs.cloudflare.com https://cdn.jsdelivr.net https://esm.sh https://fonts.bunny.net https://fonts.googleapis.com https://fonts.gstatic.com https://unpkg.com; style-src 'unsafe-inline' blob: data: https://cdnjs.cloudflare.com https://cdn.jsdelivr.net https://esm.sh https://fonts.bunny.net https://fonts.googleapis.com https://fonts.gstatic.com https://unpkg.com; img-src blob: data: https://cdnjs.cloudflare.com https://cdn.jsdelivr.net https://esm.sh https://fonts.bunny.net https://fonts.googleapis.com https://fonts.gstatic.com https://unpkg.com; font-src blob: data: https://cdnjs.cloudflare.com https://cdn.jsdelivr.net https://esm.sh https://fonts.bunny.net https://fonts.googleapis.com https://fonts.gstatic.com https://unpkg.com; media-src blob: data: https://cdnjs.cloudflare.com https://cdn.jsdelivr.net https://esm.sh https://fonts.bunny.net https://fonts.googleapis.com https://fonts.gstatic.com https://unpkg.com; worker-src blob:; connect-src blob: data:; frame-src 'self'; object-src 'none'; base-uri 'none'; form-action 'none'">-<title>Realtime Interim Voice Analysis</title>-<style>:root{color-scheme:light dark;background:light-dark(rgb(255 255 255), rgb(24 24 24))}html,body{margin:0}body{box-sizing:border-box;padding:1rem;background:inherit}iframe{display:block;width:100%;max-width:736px;height:calc(100vh - 2rem);margin:0 auto;border:0}</style>-</head>-<body>-<iframe sandbox="allow-scripts" referrerpolicy="no-referrer" title="Realtime Interim Voice Analysis" srcdoc="<!doctype html>-<html lang="en">-<head>-<meta charset="utf-8">-<meta name="viewport" content="width=device-width, initial-scale=1">-<meta name="referrer" content="no-referrer">-<meta http-equiv="Content-Security-Policy" content="default-src 'none'; script-src 'unsafe-inline' 'unsafe-eval' 'wasm-unsafe-eval' blob: data: https://cdnjs.cloudflare.com https://cdn.jsdelivr.net https://esm.sh https://fonts.bunny.net https://fonts.googleapis.com https://fonts.gstatic.com https://unpkg.com; style-src 'unsafe-inline' blob: data: https://cdnjs.cloudflare.com https://cdn.jsdelivr.net https://esm.sh https://fonts.bunny.net https://fonts.googleapis.com https://fonts.gstatic.com https://unpkg.com; img-src blob: data: https://cdnjs.cloudflare.com https://cdn.jsdelivr.net https://esm.sh https://fonts.bunny.net https://fonts.googleapis.com https://fonts.gstatic.com https://unpkg.com; font-src blob: data: https://cdnjs.cloudflare.com https://cdn.jsdelivr.net https://esm.sh https://fonts.bunny.net https://fonts.googleapis.com https://fonts.gstatic.com https://unpkg.com; media-src blob: data: https://cdnjs.cloudflare.com https://cdn.jsdelivr.net https://esm.sh https://fonts.bunny.net https://fonts.googleapis.com https://fonts.gstatic.com https://unpkg.com; worker-src blob:; connect-src blob: data:; frame-src 'none'; object-src 'none'; base-uri 'none'; form-action 'none'">-<title>Realtime Interim Voice Analysis</title>-<style>:root {- color-scheme: light dark;- background-color: var(--background) !important;-- /* Agent-facing contract; keep in sync with SKILL.md. */- --background: light-dark(rgb(255 255 255), rgb(24 24 24));- --foreground: light-dark(rgb(26 28 31), rgb(255 255 255));- --card: color-mix(in oklab, var(--foreground) 5%, transparent);- --card-foreground: var(--foreground);- --popover: light-dark(rgb(255 255 255), rgb(45 45 45));- --popover-foreground: var(--foreground);- --primary: light-dark(rgb(51 156 255), rgb(131 195 255));- --primary-foreground: light-dark(rgb(255 255 255), rgb(13 13 13));- --secondary: light-dark(rgb(255 255 255 / 96%), rgb(54 54 54 / 96%));- --secondary-foreground: var(--foreground);- --muted: color-mix(in srgb, var(--foreground) 10%, transparent);- --muted-foreground: light-dark(- rgb(26 28 31 / 49.4%),- rgb(255 255 255 / 49.8%)- );- --accent: light-dark(rgb(229 242 255), rgb(13 39 63));- --accent-foreground: var(--primary);- --destructive: light-dark(rgb(226 85 7), rgb(255 133 73));- --border: light-dark(rgb(26 28 31 / 8%), rgb(255 255 255 / 8.2%));- --input: light-dark(- rgb(26 28 31 / 11.8%),- color-mix(in oklab, rgb(0 0 0) 10%, transparent)- );- --ring: light-dark(rgb(51 156 255), rgb(131 195 255 / 76%));- --font-size-base: 14px;- --viz-series-1: var(--primary);- --viz-series-2: light-dark(rgb(243 136 59), rgb(245 154 86));- --viz-series-3: light-dark(rgb(93 201 119), rgb(116 213 139));- --viz-series-4: light-dark(rgb(235 119 177), rgb(240 143 192));- --viz-series-5: light-dark(rgb(155 121 236), rgb(170 145 239));- --viz-series-6: light-dark(rgb(58 185 177), rgb(90 203 194));-- /* Internal implementation variables; not part of the agent contract. */- --font-sans: -apple-system, system-ui, "Segoe UI", sans-serif;- --font-mono:- ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono",- monospace;- --font-size-normal: max(11px, var(--font-size-base));- --font-size-tooltip: calc(var(--font-size-base) - 1px);- --font-size-small: max(11px, calc(var(--font-size-base) - 2px));- --font-size-h1: calc(var(--font-size-normal) * 1.7142857143);- --font-size-h2: calc(var(--font-size-normal) * 1.4285714286);- --font-size-h3: calc(var(--font-size-normal) * 1.2857142857);- --font-weight-normal: 430;- --font-weight-medium: 500;- --line-height-normal: calc(var(--font-size-normal) * 1.5);- --line-height-tooltip: calc(var(--font-size-tooltip) * 1.4285714286);- --line-height-small: calc(var(--font-size-small) + 4px);- --radius: 12.5px;- --radius-sm: calc(var(--radius) * 0.6);- --radius-md: calc(var(--radius) * 0.8);- --radius-lg: var(--radius);- --radius-2xl: calc(var(--radius) * 1.6);- --radius-full: 9999px;- --shadow-sm: 0 1px 2px -1px rgb(0 0 0 / 8%);- --checkmark-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 17 17'%3E%3Cpath d='M12.8961 3.64101C13.1297 3.41418 13.4984 3.37523 13.7779 3.56581C14.0571 3.75635 14.1554 4.11331 14.0299 4.41347L13.9615 4.53847L7.71151 13.7045C7.59411 13.8767 7.4063 13.9877 7.19881 14.0072C6.99136 14.0267 6.78564 13.9533 6.63826 13.806L2.88826 10.056L2.79842 9.9457C2.6192 9.67407 2.64927 9.30496 2.88826 9.06581C3.12738 8.82669 3.49647 8.79676 3.76815 8.97597L3.8785 9.06581L7.03084 12.2182L12.8053 3.74941L12.8961 3.64101Z'/%3E%3C/svg%3E");-- /* Legacy aliases; not part of the current agent contract. */- --viz-bg: transparent;- --viz-panel: var(--card);- --viz-border: var(--border);- --viz-text: var(--foreground);- --viz-muted: var(--muted-foreground);- --viz-accent: var(--primary);- --viz-accent-text: var(--primary-foreground);- --viz-accent-bg: var(--accent);- --viz-font-size: var(--font-size-base);- --viz-warning: var(--destructive);- --color-background-primary: var(--background);- --color-text-primary: var(--foreground);- --color-border-secondary: var(--border);-}--:root[data-theme="light"] {- color-scheme: light;-}--:root[data-theme="dark"] {- color-scheme: dark;-}--* {- box-sizing: border-box;-}--html > body {- margin: 0;- padding: 5px;- color: var(--foreground);- background: transparent !important;- font-family: var(--font-sans);- font-size: var(--font-size-normal);- font-weight: var(--font-weight-normal);- line-height: var(--line-height-normal);-}--a {- color: color-mix(in srgb, var(--viz-accent) 80%, var(--viz-text) 20%);- cursor: pointer;- font-weight: var(--viz-font-weight-medium);- text-decoration: none;- text-underline-offset: 2px;-}--a:is(:hover, :focus-visible) {- text-decoration-line: underline;- text-decoration-style: dashed;- text-decoration-thickness: 0.5px;-}--h1,-h2,-h3,-h4,-h5,-h6,-p {- margin-block: 0;-}--h1 {- font-size: var(--font-size-h1);- font-weight: var(--font-weight-medium);- line-height: 1.25;-}--h2 {- font-size: var(--font-size-h2);- font-weight: var(--font-weight-medium);- line-height: 1.25;-}--h3,-h4,-h5,-h6 {- font-size: var(--font-size-h3);- font-weight: var(--font-weight-medium);- line-height: 1.3;-}--b,-strong,-th {- font-weight: var(--font-weight-medium);-}--code:not(pre code) {- display: inline;- padding: 1px 6px;- border-radius: var(--radius-sm);- corner-shape: superellipse(1.5);- background: var(--muted);- font-family: var(--font-mono);- font-size: 0.92em;- overflow-wrap: anywhere;- -webkit-box-decoration-break: clone;- box-decoration-break: clone;- word-break: break-word;-}--#widget {- display: flex;- flex-direction: column;- gap: 12px;- width: 100%;- padding: 0;- background: transparent !important;-}--.card {- min-width: 0;- padding: 12px;- overflow: hidden;- overflow-wrap: break-word;- border-radius: var(--radius-2xl);- corner-shape: superellipse(1.5);- color: var(--card-foreground);- background: var(--card);-}--#widget > :not(.card) {- width: 100% !important;- max-width: none !important;- margin: 0 !important;- padding: 0 !important;- border: 0 !important;- border-radius: 0 !important;- background: transparent !important;- box-shadow: none !important;-}--.tooltip {- position: fixed;- z-index: 50;- top: 0;- left: 0;- width: max-content;- max-width: min(- 20rem,- var(--tooltip-available-width, calc(100vw - 10px)),- calc(100vw - 10px)- );- max-height: min(- var(--tooltip-available-height, calc(100vh - 10px)),- calc(100vh - 10px)- );- padding: 4px 8px;- border: 1px solid var(--border);- border-radius: var(--radius-lg);- corner-shape: superellipse(1.5);- color: var(--popover-foreground);- background: var(--popover);- box-shadow: none;- font-size: var(--font-size-tooltip);- line-height: var(--line-height-tooltip);- overflow-wrap: break-word;- white-space: normal;- pointer-events: none;- user-select: none;-}--.viz-grid {- display: grid;- grid-template-columns: repeat(auto-fit, minmax(max(180px, 24%), 1fr));- gap: 10px;-}--.viz-stat {- display: flex;- flex-direction: column;- gap: 2px;-}--.viz-stat-value {- font-size: var(--font-size-h2);- font-weight: var(--font-weight-medium);- line-height: 1.25;-}--.viz-row {- display: flex;- flex-wrap: wrap;- align-items: center;- gap: 10px;-}--.viz-badge {- padding: 3px 8px;- border-radius: var(--radius-full);- color: var(--accent-foreground);- background: var(--accent);- font-weight: var(--font-weight-medium);-}--small,-.text-small,-.viz-badge {- font-size: var(--font-size-small);- line-height: var(--line-height-small);-}--.text-muted {- color: var(--muted-foreground);-}--.sr-only {- position: absolute;- width: 1px;- height: 1px;- padding: 0;- overflow: hidden;- clip: rect(0, 0, 0, 0);- white-space: nowrap;- border: 0;-}--.viz-controls {- display: flex;- flex-wrap: wrap;- align-items: center;- gap: 8px;-}--.viz-controls > .form-label {- display: grid;- min-width: min(100%, 260px);- flex: 1 1 280px;- grid-template-columns: minmax(0, 1fr) auto;- align-items: baseline;- gap: 2px 12px;- margin-bottom: 0;-}--.viz-controls > .form-label > :is(.form-control, .form-range, .form-select) {- grid-column: 1 / -1;-}--.btn,-.form-check-input,-.form-control,-.form-range,-.form-select {- font: inherit;-}--.btn {- appearance: button;- display: inline-flex;- inline-size: fit-content;- max-inline-size: 100%;- min-height: 28px;- align-items: center;- justify-content: center;- gap: 4px;- margin: 0;- padding: 0 8px;- -webkit-app-region: no-drag;- border: 1px solid var(--input);- border-radius: var(--radius-lg);- corner-shape: superellipse(1.5);- color: var(--secondary-foreground);- background: var(--secondary);- cursor: var(--cursor-interaction, pointer);- text-align: center;- text-decoration: none;- white-space: nowrap;- user-select: none;- -webkit-font-smoothing: antialiased;-}--.btn:is(.btn-block, .viz-tile) {- inline-size: 100%;-}--.btn.viz-tile {- min-width: 0;- overflow-wrap: anywhere;- white-space: normal;-}--a.btn {- cursor: pointer;- text-decoration: none;-}--.btn:not(:disabled):hover {- background: color-mix(in srgb, var(--foreground) 6%, var(--secondary));-}--.btn-primary {- border-color: transparent;- color: var(--primary-foreground);- background: var(--foreground);- background-clip: padding-box;-}--.btn-primary .text-muted {- color: color-mix(in srgb, var(--primary-foreground) 50%, transparent);-}--.btn-primary:not(:disabled):hover {- background: color-mix(in srgb, var(--foreground) 80%, transparent);- background-clip: padding-box;-}--.btn-ghost {- border-color: transparent;- color: var(--muted-foreground);- background: transparent;-}--.btn-ghost:not(:disabled):hover {- color: var(--foreground);- background: color-mix(in srgb, var(--foreground) 6%, var(--secondary));-}--.btn:disabled {- cursor: not-allowed;- opacity: 0.4;-}--[data-lucide] {- stroke-width: 1.6;-}--.form-label {- display: block;- margin-bottom: 6px;- color: var(--foreground);-}--.form-control {- display: block;- width: 100%;- min-height: 28px;- padding: 0 8px;- outline: none;- border: 1px solid var(--input);- border-radius: var(--radius-lg);- corner-shape: superellipse(1.5);- color: var(--foreground);- background: var(--secondary);-}--.form-control::placeholder {- color: var(--muted-foreground);-}--.form-control[type="file"] {- padding: 0;- overflow: hidden;- cursor: var(--cursor-interaction, pointer);-}--.form-control[type="file"]::file-selector-button {- min-height: 26px;- margin-right: 8px;- padding: 0 8px;- border: 0;- border-right: 1px solid var(--input);- color: var(--secondary-foreground);- background: var(--secondary);- cursor: inherit;- font: inherit;-}--.form-control[type="file"]:not(:disabled):hover::file-selector-button {- background: color-mix(in srgb, var(--foreground) 6%, var(--secondary));-}--.form-control-color[type="color"] {- width: 40px;- height: 28px;- padding: 3px;- cursor: var(--cursor-interaction, pointer);-}--.form-control-color[type="color"]::-webkit-color-swatch-wrapper {- padding: 0;-}--.form-control-color[type="color"]::-webkit-color-swatch {- border: 0;- border-radius: calc(var(--radius-lg) - 4px);- corner-shape: superellipse(1.5);-}--textarea.form-control {- height: auto;- min-height: 72px;- padding: 8px 10px;- resize: vertical;-}--.form-control:focus-visible {- border-color: var(--ring);- box-shadow: inset 0 0 0 1px var(--ring);-}--.form-control:disabled,-.form-select:disabled {- cursor: not-allowed;- opacity: 0.4;-}--.form-select {- appearance: none;- display: block;- width: 100%;- min-height: 28px;- margin: 0;- padding: 0 32px 0 8px;- outline: none;- border: 1px solid var(--input);- border-radius: var(--radius-lg);- corner-shape: superellipse(1.5);- color: var(--foreground);- background-color: var(--secondary);- background-image:- linear-gradient(45deg, transparent 50%, var(--muted-foreground) 50%),- linear-gradient(135deg, var(--muted-foreground) 50%, transparent 50%);- background-position:- calc(100% - 14px) 50%,- calc(100% - 10px) 50%;- background-repeat: no-repeat;- background-size: 4px 4px;- cursor: var(--cursor-interaction, default);-}--.form-select:not(:disabled):hover {- background-color: color-mix(in srgb, var(--foreground) 6%, var(--secondary));-}--.form-select:focus-visible {- border-color: var(--ring);- box-shadow: inset 0 0 0 1px var(--ring);-}--.form-check {- display: flex;- min-height: 20px;- align-items: center;- gap: 6px;-}--.form-check-input {- appearance: none;- width: 14px;- height: 14px;- flex: 0 0 auto;- margin: 0;- border: 1px solid var(--input);- color: var(--primary-foreground);- background-color: transparent;- cursor: var(--cursor-interaction, default);- transition:- background-color 150ms,- border-color 150ms,- box-shadow 150ms;-}--.form-check:not(.form-switch) .form-check-input[type="checkbox"] {- border-color: var(--input);- border-radius: var(--radius-sm);- corner-shape: superellipse(1.5);- background-color: var(--secondary);- box-shadow: var(--shadow-sm);-}--.form-check:not(.form-switch)- .form-check-input:not(:disabled):not(:checked):hover {- background-color: var(--card);-}--.form-check:not(.form-switch) .form-check-input[type="checkbox"]:checked {- border-color: var(--primary);- background-color: var(--primary);-}--.form-check:not(.form-switch)- .form-check-input[type="checkbox"]:checked::before {- display: block;- width: 100%;- height: 100%;- background: var(--primary-foreground);- content: "";- mask: var(--checkmark-image) center / 12px 12px no-repeat;-}--.form-check-input[type="radio"] {- width: 14px;- height: 14px;- border-radius: var(--radius-full);-}--.form-check-input[type="radio"]:checked {- border: 2px solid var(--primary);- background:- radial-gradient(circle, var(--primary-foreground) 0 2.5px, transparent 3px),- var(--primary);-}--.form-check:not(.form-switch) .form-check-input:focus-visible {- outline: 2px solid var(--ring);- outline-offset: 2px;-}--.form-check:not(.form-switch) .form-check-input:disabled {- cursor: not-allowed;- pointer-events: none;-}--.form-check:not(.form-switch) .form-check-input:disabled + .form-check-label {- cursor: not-allowed;-}--.form-switch .form-check-input:disabled,-.form-switch .form-check-input:disabled + .form-check-label {- cursor: not-allowed;- opacity: 0.6;-}--.form-check-label {- color: var(--foreground);- cursor: var(--cursor-interaction, default);-}--.form-switch .form-check-input {- position: relative;- width: 32px;- height: 20px;- border: 0;- border-radius: var(--radius-full);- background: var(--muted);- box-shadow: none;- transition: background-color 200ms cubic-bezier(0, 0, 0.2, 1);-}--.form-switch .form-check-input::before {- position: absolute;- top: 50%;- left: 0;- width: 16px;- height: 16px;- box-sizing: border-box;- border: 1px solid light-dark(var(--primary-foreground), var(--foreground));- border-radius: var(--radius-full);- background: light-dark(var(--primary-foreground), var(--foreground));- box-shadow: var(--shadow-sm);- content: "";- transform: translate(2px, -50%);- transition: transform 200ms cubic-bezier(0, 0, 0.2, 1);-}--.form-switch .form-check-input:checked {- background: var(--primary);-}--.form-switch .form-check-input:checked::before {- transform: translate(14px, -50%);-}--.form-switch .form-check-input:focus-visible {- box-shadow: 0 0 0 2px var(--ring);-}--.form-range {- appearance: none;- display: block;- width: 100%;- height: 28px;- flex: 1;- margin: 0;- padding: 0;- outline: none;- border: 0;- accent-color: var(--primary);- background: linear-gradient(- color-mix(in srgb, var(--foreground) 7%, transparent),- color-mix(in srgb, var(--foreground) 7%, transparent)- )- center / 100% 2px no-repeat;-}--.form-range::-webkit-slider-runnable-track {- height: 28px;- background: transparent;-}--.form-range::-webkit-slider-thumb {- appearance: none;- width: 20px;- height: 20px;- margin-top: 4px;- border: 1px solid var(--border);- border-radius: var(--radius-full);- background: light-dark(var(--primary-foreground), var(--foreground));-}--.form-range:focus-visible::-webkit-slider-thumb {- border-color: var(--ring);- box-shadow: inset 0 0 0 1px var(--ring);-}--.form-range::-moz-range-track {- height: 28px;- background: transparent;-}--.form-range::-moz-range-thumb {- width: 20px;- height: 20px;- border: 1px solid var(--border);- border-radius: var(--radius-full);- background: light-dark(var(--primary-foreground), var(--foreground));-}--.form-range:focus-visible::-moz-range-thumb {- border-color: var(--ring);- box-shadow: inset 0 0 0 1px var(--ring);-}--.form-range:disabled {- cursor: not-allowed;- opacity: 0.4;-}--.btn:not(.btn-primary, .viz-tile):is(- [aria-pressed="true"],- [aria-selected="true"],- .is-selected- ) {- border-color: var(--primary);- color: var(--primary-foreground);- background: var(--primary);-}--.btn.viz-tile:is([aria-pressed="true"], [aria-selected="true"], .is-selected) {- border-color: var(--primary);- box-shadow: inset 0 0 0 1px var(--primary);-}--.btn:focus-visible {- outline: 2px solid var(--ring);- outline-offset: 2px;-}--svg {- display: block;- max-width: 100%;- height: auto;-}--#widget > svg {- width: 100%;-}--.text-warning,-.text-destructive {- color: var(--destructive);-}--html>body{padding:0}</style>-</head>-<body>-<div id="realtime-interim-voice-analysis" aria-label="Interactive analysis of the realtime voice session">- <style>- #realtime-interim-voice-analysis {- color: var(--foreground);- display: grid;- gap: 20px;- width: 100%;- }- #realtime-interim-voice-analysis .turn-picker {- display: grid;- grid-template-columns: repeat(8, minmax(0, 1fr));- gap: 8px;- }- #realtime-interim-voice-analysis .turn-picker .btn {- justify-content: center;- min-width: 0;- }- #realtime-interim-voice-analysis .section-head {- align-items: baseline;- display: flex;- flex-wrap: wrap;- gap: 8px 14px;- justify-content: space-between;- margin-bottom: 8px;- }- #realtime-interim-voice-analysis .section-head h2,- #realtime-interim-voice-analysis .section-head h3 {- margin: 0;- }- #realtime-interim-voice-analysis .question {- color: var(--foreground);- margin: 0;- }- #realtime-interim-voice-analysis .diagram-wrap {- min-width: 0;- width: 100%;- }- #realtime-interim-voice-analysis .diagram {- display: block;- height: auto;- overflow: visible;- width: 100%;- }- #realtime-interim-voice-analysis .lane-line,- #realtime-interim-voice-analysis .axis-line,- #realtime-interim-voice-analysis .tick-line {- stroke: var(--border);- stroke-width: 1;- }- #realtime-interim-voice-analysis .tick-line {- opacity: 0.55;- }- #realtime-interim-voice-analysis .flow-edge {- fill: none;- stroke: var(--muted-foreground);- stroke-width: 1.5;- }- #realtime-interim-voice-analysis .flow-edge.branch {- stroke: var(--viz-series-2);- }- #realtime-interim-voice-analysis .flow-edge.blocked {- stroke: var(--destructive);- stroke-dasharray: 5 4;- }- #realtime-interim-voice-analysis .wait-band {- fill: color-mix(in srgb, var(--viz-series-3) 20%, transparent);- stroke: var(--viz-series-3);- stroke-width: 1;- }- #realtime-interim-voice-analysis .node rect {- fill: color-mix(in srgb, var(--card) 92%, transparent);- stroke: var(--border);- stroke-width: 1;- }- #realtime-interim-voice-analysis .node.primary rect {- fill: color-mix(in srgb, var(--viz-series-1) 18%, var(--card));- stroke: var(--viz-series-1);- }- #realtime-interim-voice-analysis .node.bridge rect {- fill: color-mix(in srgb, var(--viz-series-2) 18%, var(--card));- stroke: var(--viz-series-2);- }- #realtime-interim-voice-analysis .node.blocked rect {- fill: color-mix(in srgb, var(--destructive) 14%, var(--card));- stroke: var(--destructive);- }- #realtime-interim-voice-analysis .node text,- #realtime-interim-voice-analysis .axis-text,- #realtime-interim-voice-analysis .lane-label {- fill: var(--foreground);- font-weight: 400;- }- #realtime-interim-voice-analysis .node .node-time,- #realtime-interim-voice-analysis .axis-text,- #realtime-interim-voice-analysis .lane-label {- fill: var(--muted-foreground);- }- #realtime-interim-voice-analysis .comparison {- display: grid;- gap: 8px;- }- #realtime-interim-voice-analysis .compare-row {- align-items: center;- display: grid;- gap: 10px;- grid-template-columns: 72px minmax(0, 1fr) minmax(130px, 0.42fr);- }- #realtime-interim-voice-analysis .compare-label {- display: grid;- gap: 1px;- }- #realtime-interim-voice-analysis .bar {- background: color-mix(in srgb, var(--muted) 72%, transparent);- height: 22px;- position: relative;- }- #realtime-interim-voice-analysis .bar .thinking-segment,- #realtime-interim-voice-analysis .bar .bridge-segment,- #realtime-interim-voice-analysis .bar .ready-marker,- #realtime-interim-voice-analysis .bar .final-marker {- bottom: 0;- position: absolute;- top: 0;- }- #realtime-interim-voice-analysis .bar .thinking-segment {- background: color-mix(in srgb, var(--viz-series-1) 22%, transparent);- left: 0;- }- #realtime-interim-voice-analysis .bar .bridge-segment {- background: color-mix(in srgb, var(--viz-series-2) 42%, transparent);- }- #realtime-interim-voice-analysis .bar .ready-marker {- border-left: 2px solid var(--viz-series-3);- width: 0;- }- #realtime-interim-voice-analysis .bar .final-marker {- border-left: 2px solid var(--foreground);- width: 0;- }- #realtime-interim-voice-analysis .compare-note {- color: var(--muted-foreground);- min-width: 0;- }- #realtime-interim-voice-analysis .compare-row.is-selected .compare-note,- #realtime-interim-voice-analysis .compare-row.is-selected .compare-label {- color: var(--foreground);- font-weight: 500;- }- #realtime-interim-voice-analysis .legend {- align-items: center;- display: flex;- flex-wrap: wrap;- gap: 8px 16px;- }- #realtime-interim-voice-analysis .legend-item {- align-items: center;- display: inline-flex;- gap: 6px;- }- #realtime-interim-voice-analysis .swatch {- display: inline-block;- height: 10px;- width: 18px;- }- #realtime-interim-voice-analysis .swatch.thinking {- background: color-mix(in srgb, var(--viz-series-1) 22%, transparent);- }- #realtime-interim-voice-analysis .swatch.bridge {- background: color-mix(in srgb, var(--viz-series-2) 42%, transparent);- }- #realtime-interim-voice-analysis .swatch.ready {- border-left: 2px solid var(--viz-series-3);- width: 2px;- }- #realtime-interim-voice-analysis .swatch.final {- border-left: 2px solid var(--foreground);- width: 2px;- }- #realtime-interim-voice-analysis .export-flow {- align-items: stretch;- display: grid;- gap: 10px;- grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);- }- #realtime-interim-voice-analysis .export-node {- align-content: center;- display: grid;- gap: 4px;- min-height: 82px;- padding: 12px;- text-align: center;- }- #realtime-interim-voice-analysis .export-arrow {- align-self: center;- color: var(--muted-foreground);- }- #realtime-interim-voice-analysis .export-node.allowed {- background: color-mix(in srgb, var(--viz-series-1) 14%, transparent);- }- #realtime-interim-voice-analysis .export-node.dropped {- background: color-mix(in srgb, var(--destructive) 10%, transparent);- }- #realtime-interim-voice-analysis .evidence-line {- margin: 0;- }- @media (max-width: 680px) {- #realtime-interim-voice-analysis .turn-picker {- grid-template-columns: repeat(4, minmax(0, 1fr));- }- #realtime-interim-voice-analysis .compare-row {- grid-template-columns: 62px minmax(0, 1fr);- }- #realtime-interim-voice-analysis .compare-note {- grid-column: 2;- }- #realtime-interim-voice-analysis .export-flow {- grid-template-columns: 1fr;- }- #realtime-interim-voice-analysis .export-arrow {- justify-self: center;- transform: rotate(90deg);- }- }- </style>-- <div class="viz-controls turn-picker" role="group" aria-label="Choose a voice turn">- <button type="button" class="btn" data-turn="1">Turn 1</button>- <button type="button" class="btn" data-turn="2">Turn 2</button>- <button type="button" class="btn" data-turn="3">Turn 3</button>- <button type="button" class="btn" data-turn="4">Turn 4</button>- <button type="button" class="btn" data-turn="5">Turn 5</button>- <button type="button" class="btn" data-turn="6">Turn 6</button>- <button type="button" class="btn" data-turn="7">Turn 7</button>- <button type="button" class="btn" data-turn="8">Turn 8</button>- </div>-- <section aria-labelledby="selected-turn-heading">- <div class="section-head">- <h2 id="selected-turn-heading">Selected turn</h2>- <span id="route-badge" class="viz-badge"></span>- </div>- <p id="question" class="question"></p>- </section>-- <div class="viz-grid" aria-label="Selected turn timing">- <div class="card viz-stat">- <span class="text-muted">Router result ready</span>- <span id="ready-value" class="viz-stat-value"></span>- <span id="ready-context" class="text-small text-muted"></span>- </div>- <div class="card viz-stat">- <span class="text-muted">Final answer starts</span>- <span id="final-value" class="viz-stat-value"></span>- <span id="final-context" class="text-small text-muted"></span>- </div>- <div class="card viz-stat">- <span class="text-muted">Interim serialization hold</span>- <span id="hold-value" class="viz-stat-value"></span>- <span id="hold-context" class="text-small text-muted"></span>- </div>- </div>-- <section aria-labelledby="flow-heading">- <div class="section-head">- <h3 id="flow-heading">Turn flow</h3>- <span id="selected-detail" class="text-small text-muted"></span>- </div>- <div class="diagram-wrap">- <svg id="turn-diagram" class="diagram" viewBox="0 0 1000 370" role="img" aria-labelledby="diagram-title diagram-desc">- <title id="diagram-title">Selected voice turn event flow</title>- <desc id="diagram-desc">A time-aligned node diagram showing user input, routing, tool work, interim speech, result readiness, and final speech.</desc>- <defs>- <marker id="flow-arrow" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="6" markerHeight="6" orient="auto-start-reverse">- <path d="M 0 0 L 10 5 L 0 10 z" fill="var(--muted-foreground)"></path>- </marker>- <marker id="branch-arrow" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="6" markerHeight="6" orient="auto-start-reverse">- <path d="M 0 0 L 10 5 L 0 10 z" fill="var(--viz-series-2)"></path>- </marker>- </defs>- <g id="diagram-grid"></g>- <g id="diagram-edges"></g>- <g id="diagram-bands"></g>- <g id="diagram-nodes"></g>- </svg>- </div>- </section>-- <section aria-labelledby="comparison-heading">- <div class="section-head">- <h3 id="comparison-heading">All eight turns before final speech</h3>- <span class="text-small text-muted">Shared 0–10 second scale</span>- </div>- <div id="comparison" class="comparison"></div>- <div class="legend text-small text-muted" aria-label="Timeline legend">- <span class="legend-item"><span class="swatch thinking"></span>Processing</span>- <span class="legend-item"><span class="swatch bridge"></span>Audible interim sentence</span>- <span class="legend-item"><span class="swatch ready"></span>Router result ready</span>- <span class="legend-item"><span class="swatch final"></span>Final speech starts</span>- </div>- </section>-- <section aria-labelledby="export-heading">- <div class="section-head">- <h3 id="export-heading">Why the plain transcript looks incomplete</h3>- </div>- <div class="export-flow" role="img" aria-label="Export inclusion logic">- <div class="card export-node dropped">- <strong>AnnouncementRequested / MessageSent</strong>- <span class="text-small">Generated UI status or grounded ack</span>- <span class="text-small text-muted">Not exported unless it was actually voiced</span>- </div>- <span class="export-arrow" aria-hidden="true">→</span>- <div class="card export-node allowed">- <strong>SpeechSpoken(progress)</strong>- <span class="text-small">Only the audible interim sentences in turns 3 and 4</span>- <span class="text-small text-muted">Exported as an unlabeled “Jarvis:” line</span>- </div>- <span class="export-arrow" aria-hidden="true">→</span>- <div class="card export-node allowed">- <strong>ResponseGenerated</strong>- <span class="text-small">The final answer after provider playback ends</span>- <span class="text-small text-muted">Exported as the next “Jarvis:” line</span>- </div>- </div>- </section>-- <p class="evidence-line text-small text-muted">Evidence: session 524d58e6 · flight recorder events · desktop voice-state log · plain-export formatter.</p>-- <script>- (() => {- const root = document.getElementById('realtime-interim-voice-analysis');- if (!root) return;-- const turns = [- {- id: 1,- question: 'Macht eigentlich Whisperflow Gewinn?',- route: 'Deterministic orchestration',- routeReason: 'action + capability',- toolSelected: 2.05,- toolDone: 4.93,- brainReady: 7.16,- finalAudio: 7.68,- turnDone: 26.14,- bridgeRequested: 2.01,- bridgeBlocked: 2.60,- bridgeAudioStart: null,- bridgeAudioEnd: null,- groundedAck: 2.96,- groundedAckDropped: 5.59,- hold: 0,- note: 'The interim attempt triggered the honesty scrub and produced no recorded speech.',- compare: 'Bridge attempt scrubbed; grounded ack dropped'- },- {- id: 2,- question: 'zwei Milliarden bei zehn Millionen, das ist ja absurd.',- route: 'Native realtime',- routeReason: 'no orchestration reason',- toolSelected: null,- toolDone: null,- brainReady: null,- finalAudio: 0.77,- turnDone: 12.32,- bridgeRequested: null,- bridgeBlocked: null,- bridgeAudioStart: null,- bridgeAudioEnd: null,- groundedAck: null,- groundedAckDropped: null,- hold: 0,- note: 'The realtime provider answered directly; no tool, bridge, or duplicate status path ran.',- compare: 'Direct native reply'- },- {- id: 3,- question: 'Was aktuell ist, was sind noch so absurde Kapitalisierungen?',- route: 'Deterministic orchestration',- routeReason: 'current data',- toolSelected: 1.71,- toolDone: 2.97,- brainReady: 5.61,- finalAudio: 7.09,- turnDone: 22.72,- bridgeRequested: 2.01,- bridgeBlocked: null,- bridgeAudioStart: 2.58,- bridgeAudioEnd: 7.08,- groundedAck: 2.56,- groundedAckDropped: null,- hold: 1.47,- note: 'The result was ready while the interim response was still speaking; final delivery waited for that response boundary.',- compare: 'Audible interim; final held 1.47 s'- },- {- id: 4,- question: 'Gibt es überhaupt ein KI-Unternehmen, was Gewinne macht?',- route: 'Deterministic orchestration',- routeReason: 'action + capability + connected data',- toolSelected: 1.74,- toolDone: 3.28,- brainReady: 5.35,- finalAudio: 7.68,- turnDone: 17.83,- bridgeRequested: 2.23,- bridgeBlocked: null,- bridgeAudioStart: 2.86,- bridgeAudioEnd: 7.64,- groundedAck: 2.84,- groundedAckDropped: null,- hold: 2.30,- note: 'The same serialization happened again, with a longer wait after the router result was complete.',- compare: 'Audible interim; final held 2.30 s'- },- {- id: 5,- question: 'Wie viel hat Nvidia Gewinn gemacht?',- route: 'Provider-requested delegation',- routeReason: 'native route escalated to tool',- toolSelected: 2.32,- toolDone: 3.53,- brainReady: 5.47,- finalAudio: 6.01,- turnDone: 17.90,- bridgeRequested: null,- bridgeBlocked: null,- bridgeAudioStart: null,- bridgeAudioEnd: null,- groundedAck: null,- groundedAckDropped: null,- hold: 0,- note: 'The provider requested the tool after the native route; this path did not schedule the two-second bridge.',- compare: 'Tool delegation without interim bridge'- },- {- id: 6,- question: 'Vergleich das mal mit Alphabet.',- route: 'Provider-requested delegation',- routeReason: 'native route escalated to tool',- toolSelected: 2.53,- toolDone: 3.93,- brainReady: 5.75,- finalAudio: 6.35,- turnDone: 22.81,- bridgeRequested: null,- bridgeBlocked: null,- bridgeAudioStart: null,- bridgeAudioEnd: null,- groundedAck: 3.70,- groundedAckDropped: 6.05,- hold: 0,- note: 'A separate grounded ack was generated, then dropped because the live realtime call still owned the voice.',- compare: 'Grounded ack generated, then dropped'- },- {- id: 7,- question: 'Wie ist dann immer der meisten Gewinner auf der Welt?',- route: 'Provider-requested delegation',- routeReason: 'native route escalated to tool',- toolSelected: 2.38,- toolDone: 3.59,- brainReady: 5.55,- finalAudio: 6.16,- turnDone: 22.86,- bridgeRequested: null,- bridgeBlocked: null,- bridgeAudioStart: null,- bridgeAudioEnd: null,- groundedAck: null,- groundedAckDropped: null,- hold: 0,- note: 'The delegated result moved directly into final realtime rendering once the provider boundary was free.',- compare: 'Tool delegation without interim bridge'- },- {- id: 8,- question: "Wie sieht's mit TSMC aus?",- route: 'Provider-requested delegation',- routeReason: 'native route escalated to two searches',- toolSelected: 2.22,- toolDone: 7.35,- brainReady: 8.84,- finalAudio: 9.37,- turnDone: 24.21,- bridgeRequested: null,- bridgeBlocked: null,- bridgeAudioStart: null,- bridgeAudioEnd: null,- groundedAck: 3.42,- groundedAckDropped: 6.75,- hold: 0,- note: 'Two searches extended processing; the parallel grounded ack was dropped rather than spoken into the live call.',- compare: 'Two searches; grounded ack dropped'- }- ];-- const ns = 'http://www.w3.org/2000/svg';- const q = (selector) => root.querySelector(selector);- const fmt = (value) => value == null ? '—' : `+${value.toFixed(2)} s`;-- function svgEl(name, attrs = {}, text = '') {- const el = document.createElementNS(ns, name);- Object.entries(attrs).forEach(([key, value]) => el.setAttribute(key, String(value)));- if (text) el.textContent = text;- return el;- }-- function addNode(group, x, y, label, time, variant = '') {- const width = Math.max(116, Math.min(184, label.length * 7.1 + 24));- const node = svgEl('g', { class: `node ${variant}`.trim(), transform: `translate(${x - width / 2} ${y - 25})` });- node.appendChild(svgEl('rect', { width, height: 50, rx: 8 }));- node.appendChild(svgEl('text', { x: width / 2, y: 21, 'text-anchor': 'middle' }, label));- node.appendChild(svgEl('text', { class: 'node-time', x: width / 2, y: 38, 'text-anchor': 'middle' }, fmt(time)));- group.appendChild(node);- return { x, y, width };- }-- function addEdge(group, from, to, variant = '') {- const startX = from.x + Math.min(from.width / 2, Math.max(20, (to.x - from.x) * 0.22));- const endX = to.x - Math.min(to.width / 2, Math.max(20, (to.x - from.x) * 0.22));- const midX = (startX + endX) / 2;- const marker = variant === 'branch' ? 'url(#branch-arrow)' : 'url(#flow-arrow)';- group.appendChild(svgEl('path', {- class: `flow-edge ${variant}`.trim(),- d: `M ${startX} ${from.y} C ${midX} ${from.y}, ${midX} ${to.y}, ${endX} ${to.y}`,- 'marker-end': marker- }));- }-- function renderDiagram(turn) {- const grid = q('#diagram-grid');- const edges = q('#diagram-edges');- const bands = q('#diagram-bands');- const nodes = q('#diagram-nodes');- [grid, edges, bands, nodes].forEach((group) => group.replaceChildren());-- const left = 150;- const right = 950;- const domain = Math.max(10, Math.ceil(turn.finalAudio + 0.6));- const x = (time) => left + (Math.max(0, time) / domain) * (right - left);- const laneY = { route: 72, work: 176, voice: 280 };-- ['User + route', 'Router + tools', 'Realtime voice'].forEach((label, index) => {- const y = [laneY.route, laneY.work, laneY.voice][index];- grid.appendChild(svgEl('text', { class: 'lane-label', x: 12, y: y + 4 }, label));- grid.appendChild(svgEl('line', { class: 'lane-line', x1: left, y1: y, x2: right, y2: y }));- });- grid.appendChild(svgEl('line', { class: 'axis-line', x1: left, y1: 342, x2: right, y2: 342 }));- for (let tick = 0; tick <= domain; tick += 2) {- const tx = x(tick);- grid.appendChild(svgEl('line', { class: 'tick-line', x1: tx, y1: 48, x2: tx, y2: 342 }));- grid.appendChild(svgEl('text', { class: 'axis-text', x: tx, y: 362, 'text-anchor': 'middle' }, `+${tick}s`));- }-- const input = addNode(nodes, x(0), laneY.route, 'Input committed', 0, 'primary');- const route = addNode(nodes, x(Math.min(0.55, turn.finalAudio * 0.18)), laneY.route, turn.route.includes('Native') ? 'Native route' : 'Route decision', Math.min(0.55, turn.finalAudio * 0.18));- addEdge(edges, input, route);-- let tool = null;- let toolDone = null;- let ready = null;- if (turn.toolSelected != null) {- tool = addNode(nodes, x(turn.toolSelected), laneY.work, 'Search selected', turn.toolSelected);- addEdge(edges, route, tool);- }- if (turn.toolDone != null) {- toolDone = addNode(nodes, x(turn.toolDone), laneY.work, turn.id === 8 ? 'Second search done' : 'Search done', turn.toolDone);- if (tool) addEdge(edges, tool, toolDone);- }- if (turn.brainReady != null) {- ready = addNode(nodes, x(turn.brainReady), laneY.work, 'Router result ready', turn.brainReady, 'primary');- if (toolDone) addEdge(edges, toolDone, ready);- }-- let bridgeStart = null;- let bridgeEnd = null;- if (turn.bridgeAudioStart != null) {- bridgeStart = addNode(nodes, x(turn.bridgeAudioStart), laneY.voice, 'Interim starts', turn.bridgeAudioStart, 'bridge');- bridgeEnd = addNode(nodes, x(turn.bridgeAudioEnd), laneY.voice, 'Interim ends', turn.bridgeAudioEnd, 'bridge');- addEdge(edges, route, bridgeStart, 'branch');- addEdge(edges, bridgeStart, bridgeEnd, 'branch');- } else if (turn.bridgeBlocked != null) {- const bridgeAttempt = addNode(nodes, x(turn.bridgeRequested), laneY.voice, 'Interim requested', turn.bridgeRequested, 'bridge');- const blocked = addNode(nodes, x(turn.bridgeBlocked), laneY.voice, 'Honesty scrub blocks it', turn.bridgeBlocked, 'blocked');- addEdge(edges, route, bridgeAttempt, 'branch');- addEdge(edges, bridgeAttempt, blocked, 'blocked');- }-- if (turn.groundedAck != null) {- const ack = addNode(nodes, x(turn.groundedAck), laneY.route, 'Parallel grounded ack', turn.groundedAck);- addEdge(edges, route, ack);- if (turn.groundedAckDropped != null) {- const dropped = addNode(nodes, x(turn.groundedAckDropped), laneY.route, 'Ack dropped', turn.groundedAckDropped, 'blocked');- addEdge(edges, ack, dropped, 'blocked');- }- }-- const final = addNode(nodes, x(turn.finalAudio), laneY.voice, 'Final answer starts', turn.finalAudio, 'primary');- if (ready) addEdge(edges, ready, final);- else addEdge(edges, route, final);- if (bridgeEnd) addEdge(edges, bridgeEnd, final, 'branch');-- if (turn.hold > 0 && turn.brainReady != null) {- const start = x(turn.brainReady);- const end = x(turn.finalAudio);- bands.appendChild(svgEl('rect', {- class: 'wait-band',- x: start,- y: laneY.work + 36,- width: Math.max(2, end - start),- height: 20,- rx: 6- }));- bands.appendChild(svgEl('text', {- class: 'axis-text',- x: (start + end) / 2,- y: laneY.work + 51,- 'text-anchor': 'middle'- }, `result waits ${turn.hold.toFixed(2)}s`));- }- }-- function renderComparison(selectedId) {- const comparison = q('#comparison');- comparison.replaceChildren();- const scale = 10;- turns.forEach((turn) => {- const row = document.createElement('div');- row.className = `compare-row${turn.id === selectedId ? ' is-selected' : ''}`;- const label = document.createElement('div');- label.className = 'compare-label';- label.innerHTML = `<span>Turn ${turn.id}</span><span class="text-small text-muted">${turn.route.includes('Native') ? 'native' : turn.route.includes('Provider') ? 'tool-requested' : 'deterministic'}</span>`;- const bar = document.createElement('div');- bar.className = 'bar';- bar.setAttribute('aria-label', `Turn ${turn.id}: final speech starts at ${turn.finalAudio.toFixed(2)} seconds`);- const thinking = document.createElement('span');- thinking.className = 'thinking-segment';- thinking.style.width = `${Math.min(100, turn.finalAudio / scale * 100)}%`;- bar.appendChild(thinking);- if (turn.bridgeAudioStart != null) {- const bridge = document.createElement('span');- bridge.className = 'bridge-segment';- bridge.style.left = `${turn.bridgeAudioStart / scale * 100}%`;- bridge.style.width = `${(turn.bridgeAudioEnd - turn.bridgeAudioStart) / scale * 100}%`;- bar.appendChild(bridge);- }- if (turn.brainReady != null) {- const ready = document.createElement('span');- ready.className = 'ready-marker';- ready.style.left = `${turn.brainReady / scale * 100}%`;- bar.appendChild(ready);- }- const final = document.createElement('span');- final.className = 'final-marker';- final.style.left = `${turn.finalAudio / scale * 100}%`;- bar.appendChild(final);- const note = document.createElement('div');- note.className = 'compare-note text-small';- note.textContent = turn.compare;- row.append(label, bar, note);- comparison.appendChild(row);- });- }-- function selectTurn(id) {- const turn = turns.find((item) => item.id === id) || turns[2];- root.querySelectorAll('[data-turn]').forEach((button) => {- const selected = Number(button.dataset.turn) === turn.id;- button.classList.toggle('btn-primary', selected);- button.setAttribute('aria-pressed', selected ? 'true' : 'false');- });- q('#route-badge').textContent = `${turn.route} · ${turn.routeReason}`;- q('#question').textContent = turn.question;- q('#ready-value').textContent = fmt(turn.brainReady);- q('#ready-context').textContent = turn.brainReady == null ? 'No delegated router result' : 'Delegated result completion';- q('#final-value').textContent = fmt(turn.finalAudio);- q('#final-context').textContent = `Turn completes at ${fmt(turn.turnDone)}`;- q('#hold-value').textContent = turn.hold > 0 ? `${turn.hold.toFixed(2)} s` : '0 s';- q('#hold-context').textContent = turn.hold > 0 ? 'Result ready before interim response ended' : 'No audible interim blocked final delivery';- q('#selected-detail').textContent = turn.note;- renderDiagram(turn);- renderComparison(turn.id);- }-- root.querySelectorAll('[data-turn]').forEach((button) => {- button.addEventListener('click', () => selectTurn(Number(button.dataset.turn)));- });- selectTurn(3);- })();- </script>-</div>--<script src="https://unpkg.com/@floating-ui/[email protected]/dist/floating-ui.core.umd.min.js"></script>-<script src="https://unpkg.com/@floating-ui/[email protected]/dist/floating-ui.dom.umd.min.js"></script>-<script>-(() => {- if (window.FloatingUIDOM == null) {- return;- }- const { autoUpdate, computePosition, flip, offset, shift, size } =- window.FloatingUIDOM;- const tooltipPlacements = new Set(["top", "right", "bottom", "left"]);- const tooltipId = `codex-visualization-tooltip-${- window.crypto?.randomUUID?.() ?? Date.now().toString(36)- }`;- const tooltipGap = 5;- const hoverDelay = 700;- const skipDelay = 300;- let activeTrigger = null;- let pendingTrigger = null;- let tooltip = null;- let openTimeout = null;- let autoUpdateCleanup = null;- let positionRequest = 0;- let skipDelayUntil = 0;-- const getTrigger = (target) =>- target?.nodeType === Node.ELEMENT_NODE- ? target.closest("[data-tooltip]")- : null;- const containsTarget = (trigger, target) =>- target?.nodeType != null && trigger.contains(target);- const getContent = (trigger) =>- trigger.getAttribute("data-tooltip")?.trim() ?? "";- const getPlacement = (trigger) => {- const placement = trigger.getAttribute("data-tooltip-placement");- return tooltipPlacements.has(placement) ? placement : "top";- };- const getTooltip = () => {- if (tooltip == null) {- tooltip = document.createElement("div");- tooltip.id = tooltipId;- tooltip.className = "tooltip";- tooltip.setAttribute("role", "tooltip");- }- return tooltip;- };- const setDescribedBy = (trigger, described) => {- const ids = new Set(- (trigger.getAttribute("aria-describedby") ?? "")- .split(/\s+/)- .filter(Boolean),- );- if (described) {- ids.add(tooltipId);- } else {- ids.delete(tooltipId);- }- if (ids.size === 0) {- trigger.removeAttribute("aria-describedby");- } else {- trigger.setAttribute("aria-describedby", [...ids].join(" "));- }- };- const clearOpenTimeout = () => {- if (openTimeout != null) {- window.clearTimeout(openTimeout);- openTimeout = null;- }- pendingTrigger = null;- };- const closeTooltip = (activateSkipDelay = true) => {- clearOpenTimeout();- positionRequest += 1;- autoUpdateCleanup?.();- autoUpdateCleanup = null;- if (activeTrigger == null) {- return;- }- setDescribedBy(activeTrigger, false);- activeTrigger = null;- tooltip?.remove();- if (activateSkipDelay) {- skipDelayUntil = Date.now() + skipDelay;- }- };- const updatePosition = (trigger, floating) => {- const request = ++positionRequest;- void computePosition(trigger, floating, {- middleware: [- offset(tooltipGap),- flip({ padding: tooltipGap }),- shift({ padding: tooltipGap }),- size({- padding: tooltipGap,- apply({ availableHeight, availableWidth, elements }) {- elements.floating.style.setProperty(- "--tooltip-available-width",- `${Math.max(0, availableWidth)}px`,- );- elements.floating.style.setProperty(- "--tooltip-available-height",- `${Math.max(0, availableHeight)}px`,- );- },- }),- ],- placement: getPlacement(trigger),- strategy: "fixed",- })- .then(({ x, y }) => {- if (activeTrigger !== trigger || request !== positionRequest) {- return;- }- const scale = window.devicePixelRatio || 1;- floating.style.transform = `translate(${Math.round(x * scale) / scale}px, ${Math.round(y * scale) / scale}px)`;- floating.style.visibility = "visible";- })- .catch(() => {- if (activeTrigger === trigger && request === positionRequest) {- closeTooltip(false);- }- });- };- const openTooltip = (trigger) => {- const content = getContent(trigger);- if (!trigger.isConnected || content.length === 0) {- return;- }- clearOpenTimeout();- if (activeTrigger === trigger) {- return;- }- closeTooltip();- const floating = getTooltip();- floating.textContent = content;- floating.style.visibility = "hidden";- floating.style.transform = "translate(0, 0)";- document.body.appendChild(floating);- activeTrigger = trigger;- setDescribedBy(trigger, true);- autoUpdateCleanup = autoUpdate(trigger, floating, () => {- updatePosition(trigger, floating);- });- };- const requestOpen = (trigger, immediate = false) => {- if (- getContent(trigger).length === 0 ||- activeTrigger === trigger ||- pendingTrigger === trigger- ) {- return;- }- clearOpenTimeout();- pendingTrigger = trigger;- const delay =- immediate || activeTrigger != null || Date.now() < skipDelayUntil- ? 0- : hoverDelay;- if (delay === 0) {- openTooltip(trigger);- return;- }- openTimeout = window.setTimeout(() => {- openTimeout = null;- pendingTrigger = null;- openTooltip(trigger);- }, delay);- };- const handlePointerOpen = (event) => {- if (event.pointerType === "touch") {- return;- }- const trigger = getTrigger(event.target);- if (trigger == null || containsTarget(trigger, event.relatedTarget)) {- return;- }- requestOpen(trigger);- };- const handleLeave = (event) => {- const trigger = getTrigger(event.target);- if (trigger == null || containsTarget(trigger, event.relatedTarget)) {- return;- }- if (activeTrigger === trigger || pendingTrigger === trigger) {- closeTooltip();- }- };- const handleFocusIn = (event) => {- const trigger = getTrigger(event.target);- if (trigger?.matches(":focus-visible")) {- requestOpen(trigger, true);- }- };- const handleKeyDown = (event) => {- if (event.key === "Escape") {- closeTooltip();- }- };- const handleContextMenu = (event) => {- const trigger = getTrigger(event.target);- if (activeTrigger === trigger || pendingTrigger === trigger) {- closeTooltip();- }- };- const destroy = () => {- closeTooltip(false);- document.removeEventListener("pointerover", handlePointerOpen);- document.removeEventListener("pointerout", handleLeave);- document.removeEventListener("focusin", handleFocusIn);- document.removeEventListener("focusout", handleLeave);- document.removeEventListener("keydown", handleKeyDown);- document.removeEventListener("contextmenu", handleContextMenu);- tooltip = null;- };-- document.addEventListener("pointerover", handlePointerOpen);- document.addEventListener("pointerout", handleLeave);- document.addEventListener("focusin", handleFocusIn);- document.addEventListener("focusout", handleLeave);- document.addEventListener("keydown", handleKeyDown);- document.addEventListener("contextmenu", handleContextMenu);- window.addEventListener("pagehide", destroy, { once: true });-})();-</script>-<script id="codex-visualization-lucide" async src="https://unpkg.com/[email protected]/dist/umd/lucide.js"></script>-<script>-(() => {- const initialize = () => {- globalThis.lucide?.createIcons({ attrs: { width: 16, height: 16 } });- };- if (globalThis.lucide != null) {- initialize();- return;- }- document- .getElementById("codex-visualization-lucide")- ?.addEventListener("load", initialize, { once: true });-})();-</script>--</body>-</html>-"></iframe>-</body>-</html>diff --git a/.codex/visualizations/2026/07/14/voice-session-mechanics/realtime-interim-voice-analysis.html b/.codex/visualizations/2026/07/14/voice-session-mechanics/realtime-interim-voice-analysis.htmldeleted file mode 100644index f98f7ba309..0000000000--- a/.codex/visualizations/2026/07/14/voice-session-mechanics/realtime-interim-voice-analysis.html+++ /dev/null@@ -1,691 +0,0 @@-<div id="realtime-interim-voice-analysis" aria-label="Interactive analysis of the realtime voice session">- <style>- #realtime-interim-voice-analysis {- color: var(--foreground);- display: grid;- gap: 20px;- width: 100%;- }- #realtime-interim-voice-analysis .turn-picker {- display: grid;- grid-template-columns: repeat(8, minmax(0, 1fr));- gap: 8px;- }- #realtime-interim-voice-analysis .turn-picker .btn {- justify-content: center;- min-width: 0;- }- #realtime-interim-voice-analysis .section-head {- align-items: baseline;- display: flex;- flex-wrap: wrap;- gap: 8px 14px;- justify-content: space-between;- margin-bottom: 8px;- }- #realtime-interim-voice-analysis .section-head h2,- #realtime-interim-voice-analysis .section-head h3 {- margin: 0;- }- #realtime-interim-voice-analysis .question {- color: var(--foreground);- margin: 0;- }- #realtime-interim-voice-analysis .diagram-wrap {- min-width: 0;- width: 100%;- }- #realtime-interim-voice-analysis .diagram {- display: block;- height: auto;- overflow: visible;- width: 100%;- }- #realtime-interim-voice-analysis .lane-line,- #realtime-interim-voice-analysis .axis-line,- #realtime-interim-voice-analysis .tick-line {- stroke: var(--border);- stroke-width: 1;- }- #realtime-interim-voice-analysis .tick-line {- opacity: 0.55;- }- #realtime-interim-voice-analysis .flow-edge {- fill: none;- stroke: var(--muted-foreground);- stroke-width: 1.5;- }- #realtime-interim-voice-analysis .flow-edge.branch {- stroke: var(--viz-series-2);- }- #realtime-interim-voice-analysis .flow-edge.blocked {- stroke: var(--destructive);- stroke-dasharray: 5 4;- }- #realtime-interim-voice-analysis .wait-band {- fill: color-mix(in srgb, var(--viz-series-3) 20%, transparent);- stroke: var(--viz-series-3);- stroke-width: 1;- }- #realtime-interim-voice-analysis .node rect {- fill: color-mix(in srgb, var(--card) 92%, transparent);- stroke: var(--border);- stroke-width: 1;- }- #realtime-interim-voice-analysis .node.primary rect {- fill: color-mix(in srgb, var(--viz-series-1) 18%, var(--card));- stroke: var(--viz-series-1);- }- #realtime-interim-voice-analysis .node.bridge rect {- fill: color-mix(in srgb, var(--viz-series-2) 18%, var(--card));- stroke: var(--viz-series-2);- }- #realtime-interim-voice-analysis .node.blocked rect {- fill: color-mix(in srgb, var(--destructive) 14%, var(--card));- stroke: var(--destructive);- }- #realtime-interim-voice-analysis .node text,- #realtime-interim-voice-analysis .axis-text,- #realtime-interim-voice-analysis .lane-label {- fill: var(--foreground);- font-weight: 400;- }- #realtime-interim-voice-analysis .node .node-time,- #realtime-interim-voice-analysis .axis-text,- #realtime-interim-voice-analysis .lane-label {- fill: var(--muted-foreground);- }- #realtime-interim-voice-analysis .comparison {- display: grid;- gap: 8px;- }- #realtime-interim-voice-analysis .compare-row {- align-items: center;- display: grid;- gap: 10px;- grid-template-columns: 72px minmax(0, 1fr) minmax(130px, 0.42fr);- }- #realtime-interim-voice-analysis .compare-label {- display: grid;- gap: 1px;- }- #realtime-interim-voice-analysis .bar {- background: color-mix(in srgb, var(--muted) 72%, transparent);- height: 22px;- position: relative;- }- #realtime-interim-voice-analysis .bar .thinking-segment,- #realtime-interim-voice-analysis .bar .bridge-segment,- #realtime-interim-voice-analysis .bar .ready-marker,- #realtime-interim-voice-analysis .bar .final-marker {- bottom: 0;- position: absolute;- top: 0;- }- #realtime-interim-voice-analysis .bar .thinking-segment {- background: color-mix(in srgb, var(--viz-series-1) 22%, transparent);- left: 0;- }- #realtime-interim-voice-analysis .bar .bridge-segment {- background: color-mix(in srgb, var(--viz-series-2) 42%, transparent);- }- #realtime-interim-voice-analysis .bar .ready-marker {- border-left: 2px solid var(--viz-series-3);- width: 0;- }- #realtime-interim-voice-analysis .bar .final-marker {- border-left: 2px solid var(--foreground);- width: 0;- }- #realtime-interim-voice-analysis .compare-note {- color: var(--muted-foreground);- min-width: 0;- }- #realtime-interim-voice-analysis .compare-row.is-selected .compare-note,- #realtime-interim-voice-analysis .compare-row.is-selected .compare-label {- color: var(--foreground);- font-weight: 500;- }- #realtime-interim-voice-analysis .legend {- align-items: center;- display: flex;- flex-wrap: wrap;- gap: 8px 16px;- }- #realtime-interim-voice-analysis .legend-item {- align-items: center;- display: inline-flex;- gap: 6px;- }- #realtime-interim-voice-analysis .swatch {- display: inline-block;- height: 10px;- width: 18px;- }- #realtime-interim-voice-analysis .swatch.thinking {- background: color-mix(in srgb, var(--viz-series-1) 22%, transparent);- }- #realtime-interim-voice-analysis .swatch.bridge {- background: color-mix(in srgb, var(--viz-series-2) 42%, transparent);- }- #realtime-interim-voice-analysis .swatch.ready {- border-left: 2px solid var(--viz-series-3);- width: 2px;- }- #realtime-interim-voice-analysis .swatch.final {- border-left: 2px solid var(--foreground);- width: 2px;- }- #realtime-interim-voice-analysis .export-flow {- align-items: stretch;- display: grid;- gap: 10px;- grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);- }- #realtime-interim-voice-analysis .export-node {- align-content: center;- display: grid;- gap: 4px;- min-height: 82px;- padding: 12px;- text-align: center;- }- #realtime-interim-voice-analysis .export-arrow {- align-self: center;- color: var(--muted-foreground);- }- #realtime-interim-voice-analysis .export-node.allowed {- background: color-mix(in srgb, var(--viz-series-1) 14%, transparent);- }- #realtime-interim-voice-analysis .export-node.dropped {- background: color-mix(in srgb, var(--destructive) 10%, transparent);- }- #realtime-interim-voice-analysis .evidence-line {- margin: 0;- }- @media (max-width: 680px) {- #realtime-interim-voice-analysis .turn-picker {- grid-template-columns: repeat(4, minmax(0, 1fr));- }- #realtime-interim-voice-analysis .compare-row {- grid-template-columns: 62px minmax(0, 1fr);- }- #realtime-interim-voice-analysis .compare-note {- grid-column: 2;- }- #realtime-interim-voice-analysis .export-flow {- grid-template-columns: 1fr;- }- #realtime-interim-voice-analysis .export-arrow {- justify-self: center;- transform: rotate(90deg);- }- }- </style>-- <div class="viz-controls turn-picker" role="group" aria-label="Choose a voice turn">- <button type="button" class="btn" data-turn="1">Turn 1</button>- <button type="button" class="btn" data-turn="2">Turn 2</button>- <button type="button" class="btn" data-turn="3">Turn 3</button>- <button type="button" class="btn" data-turn="4">Turn 4</button>- <button type="button" class="btn" data-turn="5">Turn 5</button>- <button type="button" class="btn" data-turn="6">Turn 6</button>- <button type="button" class="btn" data-turn="7">Turn 7</button>- <button type="button" class="btn" data-turn="8">Turn 8</button>- </div>-- <section aria-labelledby="selected-turn-heading">- <div class="section-head">- <h2 id="selected-turn-heading">Selected turn</h2>- <span id="route-badge" class="viz-badge"></span>- </div>- <p id="question" class="question"></p>- </section>-- <div class="viz-grid" aria-label="Selected turn timing">- <div class="card viz-stat">- <span class="text-muted">Router result ready</span>- <span id="ready-value" class="viz-stat-value"></span>- <span id="ready-context" class="text-small text-muted"></span>- </div>- <div class="card viz-stat">- <span class="text-muted">Final answer starts</span>- <span id="final-value" class="viz-stat-value"></span>- <span id="final-context" class="text-small text-muted"></span>- </div>- <div class="card viz-stat">- <span class="text-muted">Interim serialization hold</span>- <span id="hold-value" class="viz-stat-value"></span>- <span id="hold-context" class="text-small text-muted"></span>- </div>- </div>-- <section aria-labelledby="flow-heading">- <div class="section-head">- <h3 id="flow-heading">Turn flow</h3>- <span id="selected-detail" class="text-small text-muted"></span>- </div>- <div class="diagram-wrap">- <svg id="turn-diagram" class="diagram" viewBox="0 0 1000 370" role="img" aria-labelledby="diagram-title diagram-desc">- <title id="diagram-title">Selected voice turn event flow</title>- <desc id="diagram-desc">A time-aligned node diagram showing user input, routing, tool work, interim speech, result readiness, and final speech.</desc>- <defs>- <marker id="flow-arrow" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="6" markerHeight="6" orient="auto-start-reverse">- <path d="M 0 0 L 10 5 L 0 10 z" fill="var(--muted-foreground)"></path>- </marker>- <marker id="branch-arrow" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="6" markerHeight="6" orient="auto-start-reverse">- <path d="M 0 0 L 10 5 L 0 10 z" fill="var(--viz-series-2)"></path>- </marker>- </defs>- <g id="diagram-grid"></g>- <g id="diagram-edges"></g>- <g id="diagram-bands"></g>- <g id="diagram-nodes"></g>- </svg>- </div>- </section>-- <section aria-labelledby="comparison-heading">- <div class="section-head">- <h3 id="comparison-heading">All eight turns before final speech</h3>- <span class="text-small text-muted">Shared 0–10 second scale</span>- </div>- <div id="comparison" class="comparison"></div>- <div class="legend text-small text-muted" aria-label="Timeline legend">- <span class="legend-item"><span class="swatch thinking"></span>Processing</span>- <span class="legend-item"><span class="swatch bridge"></span>Audible interim sentence</span>- <span class="legend-item"><span class="swatch ready"></span>Router result ready</span>- <span class="legend-item"><span class="swatch final"></span>Final speech starts</span>- </div>- </section>-- <section aria-labelledby="export-heading">- <div class="section-head">- <h3 id="export-heading">Why the plain transcript looks incomplete</h3>- </div>- <div class="export-flow" role="img" aria-label="Export inclusion logic">- <div class="card export-node dropped">- <strong>AnnouncementRequested / MessageSent</strong>- <span class="text-small">Generated UI status or grounded ack</span>- <span class="text-small text-muted">Not exported unless it was actually voiced</span>- </div>- <span class="export-arrow" aria-hidden="true">→</span>- <div class="card export-node allowed">- <strong>SpeechSpoken(progress)</strong>- <span class="text-small">Only the audible interim sentences in turns 3 and 4</span>- <span class="text-small text-muted">Exported as an unlabeled “Jarvis:” line</span>- </div>- <span class="export-arrow" aria-hidden="true">→</span>- <div class="card export-node allowed">- <strong>ResponseGenerated</strong>- <span class="text-small">The final answer after provider playback ends</span>- <span class="text-small text-muted">Exported as the next “Jarvis:” line</span>- </div>- </div>- </section>-- <p class="evidence-line text-small text-muted">Evidence: session 524d58e6 · flight recorder events · desktop voice-state log · plain-export formatter.</p>-- <script>- (() => {- const root = document.getElementById('realtime-interim-voice-analysis');- if (!root) return;-- const turns = [- {- id: 1,- question: 'Macht eigentlich Whisperflow Gewinn?',- route: 'Deterministic orchestration',- routeReason: 'action + capability',- toolSelected: 2.05,- toolDone: 4.93,- brainReady: 7.16,- finalAudio: 7.68,- turnDone: 26.14,- bridgeRequested: 2.01,- bridgeBlocked: 2.60,- bridgeAudioStart: null,- bridgeAudioEnd: null,- groundedAck: 2.96,- groundedAckDropped: 5.59,- hold: 0,- note: 'The interim attempt triggered the honesty scrub and produced no recorded speech.',- compare: 'Bridge attempt scrubbed; grounded ack dropped'- },- {- id: 2,- question: 'zwei Milliarden bei zehn Millionen, das ist ja absurd.',- route: 'Native realtime',- routeReason: 'no orchestration reason',- toolSelected: null,- toolDone: null,- brainReady: null,- finalAudio: 0.77,- turnDone: 12.32,- bridgeRequested: null,- bridgeBlocked: null,- bridgeAudioStart: null,- bridgeAudioEnd: null,- groundedAck: null,- groundedAckDropped: null,- hold: 0,- note: 'The realtime provider answered directly; no tool, bridge, or duplicate status path ran.',- compare: 'Direct native reply'- },- {- id: 3,- question: 'Was aktuell ist, was sind noch so absurde Kapitalisierungen?',- route: 'Deterministic orchestration',- routeReason: 'current data',- toolSelected: 1.71,- toolDone: 2.97,- brainReady: 5.61,- finalAudio: 7.09,- turnDone: 22.72,- bridgeRequested: 2.01,- bridgeBlocked: null,- bridgeAudioStart: 2.58,- bridgeAudioEnd: 7.08,- groundedAck: 2.56,- groundedAckDropped: null,- hold: 1.47,- note: 'The result was ready while the interim response was still speaking; final delivery waited for that response boundary.',- compare: 'Audible interim; final held 1.47 s'- },- {- id: 4,- question: 'Gibt es überhaupt ein KI-Unternehmen, was Gewinne macht?',- route: 'Deterministic orchestration',- routeReason: 'action + capability + connected data',- toolSelected: 1.74,- toolDone: 3.28,- brainReady: 5.35,- finalAudio: 7.68,- turnDone: 17.83,- bridgeRequested: 2.23,- bridgeBlocked: null,- bridgeAudioStart: 2.86,- bridgeAudioEnd: 7.64,- groundedAck: 2.84,- groundedAckDropped: null,- hold: 2.30,- note: 'The same serialization happened again, with a longer wait after the router result was complete.',- compare: 'Audible interim; final held 2.30 s'- },- {- id: 5,- question: 'Wie viel hat Nvidia Gewinn gemacht?',- route: 'Provider-requested delegation',- routeReason: 'native route escalated to tool',- toolSelected: 2.32,- toolDone: 3.53,- brainReady: 5.47,- finalAudio: 6.01,- turnDone: 17.90,- bridgeRequested: null,- bridgeBlocked: null,- bridgeAudioStart: null,- bridgeAudioEnd: null,- groundedAck: null,- groundedAckDropped: null,- hold: 0,- note: 'The provider requested the tool after the native route; this path did not schedule the two-second bridge.',- compare: 'Tool delegation without interim bridge'- },- {- id: 6,- question: 'Vergleich das mal mit Alphabet.',- route: 'Provider-requested delegation',- routeReason: 'native route escalated to tool',- toolSelected: 2.53,- toolDone: 3.93,- brainReady: 5.75,- finalAudio: 6.35,- turnDone: 22.81,- bridgeRequested: null,- bridgeBlocked: null,- bridgeAudioStart: null,- bridgeAudioEnd: null,- groundedAck: 3.70,- groundedAckDropped: 6.05,- hold: 0,- note: 'A separate grounded ack was generated, then dropped because the live realtime call still owned the voice.',- compare: 'Grounded ack generated, then dropped'- },- {- id: 7,- question: 'Wie ist dann immer der meisten Gewinner auf der Welt?',- route: 'Provider-requested delegation',- routeReason: 'native route escalated to tool',- toolSelected: 2.38,- toolDone: 3.59,- brainReady: 5.55,- finalAudio: 6.16,- turnDone: 22.86,- bridgeRequested: null,- bridgeBlocked: null,- bridgeAudioStart: null,- bridgeAudioEnd: null,- groundedAck: null,- groundedAckDropped: null,- hold: 0,- note: 'The delegated result moved directly into final realtime rendering once the provider boundary was free.',- compare: 'Tool delegation without interim bridge'- },- {- id: 8,- question: "Wie sieht's mit TSMC aus?",- route: 'Provider-requested delegation',- routeReason: 'native route escalated to two searches',- toolSelected: 2.22,- toolDone: 7.35,- brainReady: 8.84,- finalAudio: 9.37,- turnDone: 24.21,- bridgeRequested: null,- bridgeBlocked: null,- bridgeAudioStart: null,- bridgeAudioEnd: null,- groundedAck: 3.42,- groundedAckDropped: 6.75,- hold: 0,- note: 'Two searches extended processing; the parallel grounded ack was dropped rather than spoken into the live call.',- compare: 'Two searches; grounded ack dropped'- }- ];-- const ns = 'http://www.w3.org/2000/svg';- const q = (selector) => root.querySelector(selector);- const fmt = (value) => value == null ? '—' : `+${value.toFixed(2)} s`;-- function svgEl(name, attrs = {}, text = '') {- const el = document.createElementNS(ns, name);- Object.entries(attrs).forEach(([key, value]) => el.setAttribute(key, String(value)));- if (text) el.textContent = text;- return el;- }-- function addNode(group, x, y, label, time, variant = '') {- const width = Math.max(116, Math.min(184, label.length * 7.1 + 24));- const node = svgEl('g', { class: `node ${variant}`.trim(), transform: `translate(${x - width / 2} ${y - 25})` });- node.appendChild(svgEl('rect', { width, height: 50, rx: 8 }));- node.appendChild(svgEl('text', { x: width / 2, y: 21, 'text-anchor': 'middle' }, label));- node.appendChild(svgEl('text', { class: 'node-time', x: width / 2, y: 38, 'text-anchor': 'middle' }, fmt(time)));- group.appendChild(node);- return { x, y, width };- }-- function addEdge(group, from, to, variant = '') {- const startX = from.x + Math.min(from.width / 2, Math.max(20, (to.x - from.x) * 0.22));- const endX = to.x - Math.min(to.width / 2, Math.max(20, (to.x - from.x) * 0.22));- const midX = (startX + endX) / 2;- const marker = variant === 'branch' ? 'url(#branch-arrow)' : 'url(#flow-arrow)';- group.appendChild(svgEl('path', {- class: `flow-edge ${variant}`.trim(),- d: `M ${startX} ${from.y} C ${midX} ${from.y}, ${midX} ${to.y}, ${endX} ${to.y}`,- 'marker-end': marker- }));- }-- function renderDiagram(turn) {- const grid = q('#diagram-grid');- const edges = q('#diagram-edges');- const bands = q('#diagram-bands');- const nodes = q('#diagram-nodes');- [grid, edges, bands, nodes].forEach((group) => group.replaceChildren());-- const left = 150;- const right = 950;- const domain = Math.max(10, Math.ceil(turn.finalAudio + 0.6));- const x = (time) => left + (Math.max(0, time) / domain) * (right - left);- const laneY = { route: 72, work: 176, voice: 280 };-- ['User + route', 'Router + tools', 'Realtime voice'].forEach((label, index) => {- const y = [laneY.route, laneY.work, laneY.voice][index];- grid.appendChild(svgEl('text', { class: 'lane-label', x: 12, y: y + 4 }, label));- grid.appendChild(svgEl('line', { class: 'lane-line', x1: left, y1: y, x2: right, y2: y }));- });- grid.appendChild(svgEl('line', { class: 'axis-line', x1: left, y1: 342, x2: right, y2: 342 }));- for (let tick = 0; tick <= domain; tick += 2) {- const tx = x(tick);- grid.appendChild(svgEl('line', { class: 'tick-line', x1: tx, y1: 48, x2: tx, y2: 342 }));- grid.appendChild(svgEl('text', { class: 'axis-text', x: tx, y: 362, 'text-anchor': 'middle' }, `+${tick}s`));- }-- const input = addNode(nodes, x(0), laneY.route, 'Input committed', 0, 'primary');- const route = addNode(nodes, x(Math.min(0.55, turn.finalAudio * 0.18)), laneY.route, turn.route.includes('Native') ? 'Native route' : 'Route decision', Math.min(0.55, turn.finalAudio * 0.18));- addEdge(edges, input, route);-- let tool = null;- let toolDone = null;- let ready = null;- if (turn.toolSelected != null) {- tool = addNode(nodes, x(turn.toolSelected), laneY.work, 'Search selected', turn.toolSelected);- addEdge(edges, route, tool);- }- if (turn.toolDone != null) {- toolDone = addNode(nodes, x(turn.toolDone), laneY.work, turn.id === 8 ? 'Second search done' : 'Search done', turn.toolDone);- if (tool) addEdge(edges, tool, toolDone);- }- if (turn.brainReady != null) {- ready = addNode(nodes, x(turn.brainReady), laneY.work, 'Router result ready', turn.brainReady, 'primary');- if (toolDone) addEdge(edges, toolDone, ready);- }-- let bridgeStart = null;- let bridgeEnd = null;- if (turn.bridgeAudioStart != null) {- bridgeStart = addNode(nodes, x(turn.bridgeAudioStart), laneY.voice, 'Interim starts', turn.bridgeAudioStart, 'bridge');- bridgeEnd = addNode(nodes, x(turn.bridgeAudioEnd), laneY.voice, 'Interim ends', turn.bridgeAudioEnd, 'bridge');- addEdge(edges, route, bridgeStart, 'branch');- addEdge(edges, bridgeStart, bridgeEnd, 'branch');- } else if (turn.bridgeBlocked != null) {- const bridgeAttempt = addNode(nodes, x(turn.bridgeRequested), laneY.voice, 'Interim requested', turn.bridgeRequested, 'bridge');- const blocked = addNode(nodes, x(turn.bridgeBlocked), laneY.voice, 'Honesty scrub blocks it', turn.bridgeBlocked, 'blocked');- addEdge(edges, route, bridgeAttempt, 'branch');- addEdge(edges, bridgeAttempt, blocked, 'blocked');- }-- if (turn.groundedAck != null) {- const ack = addNode(nodes, x(turn.groundedAck), laneY.route, 'Parallel grounded ack', turn.groundedAck);- addEdge(edges, route, ack);- if (turn.groundedAckDropped != null) {- const dropped = addNode(nodes, x(turn.groundedAckDropped), laneY.route, 'Ack dropped', turn.groundedAckDropped, 'blocked');- addEdge(edges, ack, dropped, 'blocked');- }- }-- const final = addNode(nodes, x(turn.finalAudio), laneY.voice, 'Final answer starts', turn.finalAudio, 'primary');- if (ready) addEdge(edges, ready, final);- else addEdge(edges, route, final);- if (bridgeEnd) addEdge(edges, bridgeEnd, final, 'branch');-- if (turn.hold > 0 && turn.brainReady != null) {- const start = x(turn.brainReady);- const end = x(turn.finalAudio);- bands.appendChild(svgEl('rect', {- class: 'wait-band',- x: start,- y: laneY.work + 36,- width: Math.max(2, end - start),- height: 20,- rx: 6- }));- bands.appendChild(svgEl('text', {- class: 'axis-text',- x: (start + end) / 2,- y: laneY.work + 51,- 'text-anchor': 'middle'- }, `result waits ${turn.hold.toFixed(2)}s`));- }- }-- function renderComparison(selectedId) {- const comparison = q('#comparison');- comparison.replaceChildren();- const scale = 10;- turns.forEach((turn) => {- const row = document.createElement('div');- row.className = `compare-row${turn.id === selectedId ? ' is-selected' : ''}`;- const label = document.createElement('div');- label.className = 'compare-label';- label.innerHTML = `<span>Turn ${turn.id}</span><span class="text-small text-muted">${turn.route.includes('Native') ? 'native' : turn.route.includes('Provider') ? 'tool-requested' : 'deterministic'}</span>`;- const bar = document.createElement('div');- bar.className = 'bar';- bar.setAttribute('aria-label', `Turn ${turn.id}: final speech starts at ${turn.finalAudio.toFixed(2)} seconds`);- const thinking = document.createElement('span');- thinking.className = 'thinking-segment';- thinking.style.width = `${Math.min(100, turn.finalAudio / scale * 100)}%`;- bar.appendChild(thinking);- if (turn.bridgeAudioStart != null) {- const bridge = document.createElement('span');- bridge.className = 'bridge-segment';- bridge.style.left = `${turn.bridgeAudioStart / scale * 100}%`;- bridge.style.width = `${(turn.bridgeAudioEnd - turn.bridgeAudioStart) / scale * 100}%`;- bar.appendChild(bridge);- }- if (turn.brainReady != null) {- const ready = document.createElement('span');- ready.className = 'ready-marker';- ready.style.left = `${turn.brainReady / scale * 100}%`;- bar.appendChild(ready);- }- const final = document.createElement('span');- final.className = 'final-marker';- final.style.left = `${turn.finalAudio / scale * 100}%`;- bar.appendChild(final);- const note = document.createElement('div');- note.className = 'compare-note text-small';- note.textContent = turn.compare;- row.append(label, bar, note);- comparison.appendChild(row);- });- }-- function selectTurn(id) {- const turn = turns.find((item) => item.id === id) || turns[2];- root.querySelectorAll('[data-turn]').forEach((button) => {- const selected = Number(button.dataset.turn) === turn.id;- button.classList.toggle('btn-primary', selected);- button.setAttribute('aria-pressed', selected ? 'true' : 'false');- });- q('#route-badge').textContent = `${turn.route} · ${turn.routeReason}`;- q('#question').textContent = turn.question;- q('#ready-value').textContent = fmt(turn.brainReady);- q('#ready-context').textContent = turn.brainReady == null ? 'No delegated router result' : 'Delegated result completion';- q('#final-value').textContent = fmt(turn.finalAudio);- q('#final-context').textContent = `Turn completes at ${fmt(turn.turnDone)}`;- q('#hold-value').textContent = turn.hold > 0 ? `${turn.hold.toFixed(2)} s` : '0 s';- q('#hold-context').textContent = turn.hold > 0 ? 'Result ready before interim response ended' : 'No audible interim blocked final delivery';- q('#selected-detail').textContent = turn.note;- renderDiagram(turn);- renderComparison(turn.id);- }-- root.querySelectorAll('[data-turn]').forEach((button) => {- button.addEventListener('click', () => selectTurn(Number(button.dataset.turn)));- });- selectTurn(3);- })();- </script>-</div>diff --git a/Unbenanntes Dokument (10).md b/Unbenanntes Dokument (10).mddeleted file mode 100644index b1abd39c98..0000000000--- a/Unbenanntes Dokument (10).md+++ /dev/null@@ -1,76 +0,0 @@-AUFGABE: Hol den bereits nach GitHub gepushten Wake-Word-Fix in unser lokales-PersonalJarvis-Repo auf DIESEM Rechner und aktiviere ihn. Ändere nur, was nötig-ist; arbeite hunk-sicher (der Arbeitsbaum ist geteilt — evtl. laufen parallele-Sessions). NIEMALS \`git add \-A\`/\`git add .\`, NIEMALS \`git push \--force\`, und-\`jarvis.toml\` / \`.env\` / \`data/\` NICHT anfassen (das ist lokale Config/Secrets).--KONTEXT-\- Öffentliches Repo (origin): https://github.com/PersonalJarvis/PersonalJarvis.git-\- Fertiger Branch mit dem Fix: \`fix/wake-language-aware\` (HEAD 7f9794c),- 4 Commits auf Basis 1693874:- 354f4fb language-aware CPU wake routing \+ auto-provision \+ self-test- d7d9610 prominente, eindeutige Sprach-Erklärung im UI- 127f3b1 gebrandetes Dropdown, "Auto" entfernt- 7f9794c live-Umschaltung bei Sprachwechsel-\- Inhalt: Das Wake-Word war für Nicht-Englisch-Sprecher lautlos taub (falsches,- sprach-fremdes Vosk-Modell). Fix \= sprach-bewusstes Routing \+ Auto-Download des- passenden Modells \+ UI-Sprachwahl (schwarz/gelb, ohne "Auto") \+ CPU-Pinning.- Geänderte Dateien u.a.: jarvis/speech/wake\_phrase.py, wake\_model\_fetch.py,- jarvis/plugins/wake/vosk\_kws\_provider.py, jarvis/plugins/stt/\_\_init\_\_.py,- jarvis/core/config.py, jarvis/ui/desktop\_app.py, jarvis/ui/web/settings\_routes.py,- jarvis/ui/web/frontend/src/views/SettingsView.tsx \+ i18n en/de/es \+- tests/unit/speech/test\_wake\_language\_aware.py \+ gebautes dist/.--SCHRITTE-1\. Finde das lokale PersonalJarvis-Repo (wahrscheinlich unter- \`%USERPROFILE%\\Desktop\\Personal Jarvis\` oder dem managed install- \`%USERPROFILE%\\.personal-jarvis\`). Prüfe: \`git remote \-v\` muss auf- PersonalJarvis/PersonalJarvis zeigen. Wechsle in dieses Verzeichnis.-2\. Sichern: \`git status \-sb\`. Falls uncommittete Änderungen da sind, die NICHT- zu diesem Fix gehören → \`git stash push \-u \-m pre-wakefix\`. Merke dir, ob- gestasht wurde.-3\. Nur die Änderungen holen (inkrementell, NICHT das ganze Repo):- git fetch origin fix/wake-language-aware-4\. In den aktuellen Branch mergen (die Commits betreffen andere Dateien als der- Rest, daher konfliktfrei):- git merge \--no-ff FETCH\_HEAD \-m "merge: wake-word language-aware fix"- Bei Konflikt: pausieren, den Konflikt sauber auflösen (unsere Wake-Dateien- gewinnen inhaltlich), dann \`git merge \--continue\`. Nichts erzwingen.-5\. Falls in Schritt 2 gestasht: \`git stash pop\` (Konflikte sauber lösen).-6\. Reaktivieren:- pwsh scripts/preflight.ps1 \# BUG-006/014, Working-Tree/Editable-Install prüfen- python \-c "import jarvis; print(jarvis.\_\_file\_\_)" \# muss auf DIESES Repo zeigen- pip install \-e . \--no-deps \# Entry-points aktiv (schadet nicht)- Das Frontend ist als gebautes dist/ enthalten — kein npm-Build nötig.-7\. App neu starten NICHT per Stop-Process, sondern (wenn die App läuft):- POST http://127.0.0.1:47821/api/settings/restart-app- (falls Port abweicht: den lauschenden Backend-Port des laufenden- PersonalJarvis/pythonw-Prozesses ermitteln). Läuft sie nicht, normal starten.--VERIFIKATION (muss alles zutreffen)-\- Marker im Code:- grep \-c lang\_is\_concrete jarvis/speech/wake\_phrase.py \# \>= 2- grep \-c vosk\_model\_supports\_phrase jarvis/plugins/wake/vosk\_kws\_provider.py \# \>= 2- python \-c "from jarvis.core.config import STTConfig; print(STTConfig().wake\_high\_accuracy)" \# False-\- Tests:- python \-m pytest tests/unit/speech/test\_wake\_language\_aware.py \-q \# alle grün-\- Funktionaler Trace (mit ECHTER Config des Nutzers):- python \-c "from jarvis.core.config import load\_config; from jarvis.speech.wake\_model\_fetch import resolve\_wake\_language; from jarvis.speech.wake\_phrase import resolve\_wake\_plan; import importlib.util as i; c=load\_config(); l=resolve\_wake\_language(c); print('lang=',l); p=resolve\_wake\_plan(c.trigger.wake\_word, local\_whisper\_available=i.find\_spec('faster\_whisper') is not None, language=l); print('engine=',p.engine,'wake\_available=',p.wake\_available,'msg=',p.message\[:100\])"- Erwartung: engine ist \`vosk\_kws\` (mit sprach-passendem Modell) ODER \`stt\_match\`- (mehrsprachiges Whisper); wake\_available=True. NIE ein sprach-fremdes Vosk-Modell.--RUNTIME-HINWEIS (WICHTIG, sonst wirkt es "kaputt")-\- Der Fix wählt das Modell nach der Sprache, die der NUTZER SPRICHT. Ist im UI- noch keine konkrete Sprache gesetzt (stt.language="auto" \+ ui.language="en"),- wird Englisch angenommen. Also: in Settings → Wake Word das Sprach-Dropdown auf- die tatsächlich gesprochene Sprache stellen (z.B. Deutsch). Fehlt das passende- Vosk-Modell, lädt es der Fix beim Sprachwechsel/Boot automatisch nach; solange- greift mehrsprachiges Whisper. Der "Wake-Word testen"-Button zeigt den Status.-\- Getrennt davon: Wenn nach dem Wecken die Cloud-Antwort ausbleibt, prüfe das- STT/Brain-Guthaben (z.B. OpenRouter 402\) — das ist NICHT der Wake-Word-Fix.--ABSCHLUSS-\- Melde: gemergter Commit-SHA, Ergebnis der Verifikation, ob gestasht/gepoppt- wurde. NICHT nach GitHub pushen (nur lokal integrieren) außer der Nutzer sagt- es ausdrücklich.-diff --git a/Unbenanntes Dokument (7).md b/Unbenanntes Dokument (7).mddeleted file mode 100644index 329f51360c..0000000000--- a/Unbenanntes Dokument (7).md+++ /dev/null@@ -1,158 +0,0 @@-**\# Bug Report — Custom wake word never fires after fresh install (\`auto\` silently degrades to \`stt\_match\`)**--\> Handoff for a coding agent working on the public repo. Everything below is-\> reconstructed from a live install on the maintainer's machine — no code was-\> changed, no push was made.--**\#\# TL;DR**--A user configures a **\*\*custom proper-noun wake phrase\*\*** (\`"Hey Ruben"\`) with-\`engine \= "auto"\` and completes onboarding successfully. The wake word \*\*never-fires\*\*. Root cause is a provisioning \+ fallback gap, **\*\*not\*\*** user-misconfiguration:--1\. The fresh **\*\*v1.0.3\*\*** checkout ships **\*\*no wake-model assets\*\*** for either- reliable engine — \`jarvis/assets/wakeword/\` is **\*\*absent\*\*** (openWakeWord- backbones) and \`data/wake\_models/vosk/\` **\*\*does not exist\*\*** (Vosk KWS).-2\. So \`resolve\_wake\_plan(engine="auto")\` falls all the way through to the- **\*\*weakest\*\*** engine, \`stt\_match\` (local \`base\`/CPU Whisper transcribe-and-match).-3\. \`stt\_match\` **\*\*structurally cannot recognize a hard custom name\*\***: the base- model garbles \`"Ruben"\` (transcribes spoken "Hey Ruben" as \`'Hey, um, zu- sein.'\`), so the phrase matcher gets \`matched=0\` forever.-4\. Onboarding marked the setup **\*\*complete\*\*** and never warned that the chosen- word requires a model that isn't installed.--\*\*The user built the config exactly right. The install never provisioned an-engine that can serve a custom word, and \`auto\` degraded silently instead of-warning.\*\*--**\#\# Environment**--| | |-|---|---|-| Repo | \`github.com/PersonalJarvis/PersonalJarvis\` |-| Branch | \`main\` |-| **\*\*Commit\*\*** | **\*\*\`ae1bcdf64d8c67921490b7fb479b784b367ab88d\`\*\*** (\`v1.0.3\` — "release: v1.0.3 — Inworld premium voice, cross-provider voice picker, wiki/wake/fallback robustness") |-| Install type | managed install (\`.jarvis-managed-install\` present), \`install/installer.py\` |-| OS | Windows 11 (26200) |-| GPU/CUDA | \`wake\_cuda\_probe.json → {"cuda": false}\` → wake runs on **\*\*CPU\*\*** |-| STT (utterance) | OpenRouter cloud (\`JARVIS\_\_STT\_\_PROVIDER=openrouter-stt\`); **\*\*wake stays local\*\*** |-| \`faster\_whisper\` | 1.2.1 installed → \`stt\_match\` available |-| \`vosk\` (pip) | installed, **\*\*but no model dir\*\*** → \`vosk\_kws\` unavailable |--**\#\#\# User config (\`jarvis.toml\`) — correct, as intended**-\`\`\`toml-\[trigger\]-wake\_word\_enabled \= true--\[trigger.wake\_word\]-phrase \= "Hey Ruben"-engine \= "auto"-\`\`\`--**\#\#\# Onboarding state (\`data/setup\_state.json\`) — reported success**-\`\`\`json-{ "onboarding\_step": "finish",- "wake\_word\_acknowledged\_at": "2026-07-08T08:05:16Z",- "onboarding\_completed\_at": "2026-07-08T08:05:32Z" }-\`\`\`--**\#\# Root-cause chain (with code anchors)**--\`resolve\_wake\_plan\` — \`jarvis/speech/wake\_phrase.py:320\`. \`engine="auto"\` tries,-in order:--| Order | Engine | Requirement | State on this install |-|---|---|---|---|-| 1 | \`custom\_onnx\` | trained \`.onnx\` at \`custom\_model\_path\` | none configured → skip (\`wake\_phrase.py:367\`) |-| 2 | \`vosk\_kws\` | model dir \`data/wake\_models/vosk/\<lang\>/\` | **\*\*dir absent\*\*** → skip (\`wake\_phrase.py:416\`, \`resolve\_vosk\_model\_path\` in \`wake\_constants.py:175\`) |-| 3 | **\*\*\`stt\_match\`\*\*** | \`faster\_whisper\` importable | present → **\*\*selected\*\*** (\`wake\_phrase.py:451\`) |-| 4 | degrade \`wake\_available=False\` | — | not reached |--Additionally, \`bundled\_wakeword\_models()\` (\`jarvis/assets/\_\_init\_\_.py:40\`)-returns \`None\` because \*\*\`jarvis/assets/wakeword/\` does not exist in the release-tree\*\* — so even a user who supplied a custom \`.onnx\` would be blocked (the-backbones \`melspectrogram.onnx\` / \`embedding\_model.onnx\` are missing).--Net: on a stock v1.0.3 install, \*\*the only reachable wake engine is the one-least able to recognize a custom word.\*\*--**\#\# Evidence (live log — \`data/jarvis\_desktop.log\`, 2026-07-08)**--Wake armed correctly:-\`\`\`-10:07:39 Wake-word plan: engine=stt\_match keyword=ruben phrase='Hey Ruben' — via local-Whisper transcript match.-10:07:39 Pipeline bereit. … OWW=off WAKE=\['ruben'\] (threshold=0.15) WHISPER-WAKE=on-10:07:39 Wake-Listener aktiv — sag 'Hey Ruben' …-\`\`\`-Recognition fails on three fronts:-\`\`\`-\# (a) proper noun garbled — never spells "Ruben"-10:10:21 rolling-whisper: text='Hey, um, zu sein.' ← spoken "Hey Ruben"- rolling-whisper: text='und' (rejected, confidence 0.153)- 💓 wake-heartbeat: … transcribed=12 … matched=0 ← matched stays 0--\# (b) quiet mic — most windows gated before Whisper runs- 💓 wake-heartbeat: … max-rms=0.0125 (-38 dBFS) … gated\[rms=964 …\] (964/1370 windows dropped)--\# (c) faster-whisper wedges on CPU (AP-24 / BUG-036)-10:07:58 WARNING Rolling-Whisper transcription aborted after 8.0s (hung STT) — re-polling-10:08:38 ERROR in-flight transcription stuck for \>20 s (true hang) — rebuilding the wedged wake model-10:08:38 WARNING FasterWhisperProvider.recover(): dropping a wedged model \+ lock …-\`\`\`--**\#\# Contributing factors (ranked)**--1\. **\*\*\[decisive\] Custom proper noun \+ transcription engine.\*\*** \`stt\_match\` cannot- spell \`"Ruben"\`. This is exactly the failure documented in \*\*AP-25 / AP-27 /- BUG-037\*\* ("truly-instant \+ zero-ghost custom wake needs a neural KWS model,- NOT transcription").-2\. **\*\*\[provisioning\] No model for the reliable engines shipped.\*\*** \`vosk\_kws\` and- \`custom\_onnx\` are both dead-on-arrival because their assets aren't present in- the v1.0.3 install.-3\. **\*\*\[silent degrade\] \`auto\` picks the weakest engine without warning\*\*** when a- custom phrase is set — no log/UI signal that recognition will be unreliable.-4\. **\*\*\[secondary\] Quiet mic\*\*** — 964/1370 windows below the RMS/peak gate- (\`min\_rms=0.003\`, \`min\_peak=0.008\`, \`rolling\_whisper\_wake.py:201,212\`).-5\. **\*\*\[secondary\] CPU Whisper wedge\*\*** — 8s/20s hangs \+ self-heal rebuild (AP-24).--**\#\# Recommended fixes (for the repo)**--1\. **\*\*Provision a reliable wake engine for custom words at install/onboarding.\*\***- When the user sets a custom phrase, auto-download a Vosk model for- \`\[stt\].language\` into \`data/wake\_models/vosk/\<lang\>/\` so \`auto\` resolves to- \`vosk\_kws\` (package is already a dependency). This is the smallest change- that makes a custom word work out of the box.-2\. **\*\*Ship / auto-fetch the openWakeWord backbones.\*\*** \`jarvis/assets/wakeword/\`- (\`melspectrogram.onnx\`, \`embedding\_model.onnx\`) is missing from the release- tree, so \`bundled\_wakeword\_models()\` returns \`None\` and \`custom\_onnx\` can- never load. Either package these assets or fetch them on first run.-3\. **\*\*Stop \`auto\` from silently landing on \`stt\_match\` for a custom word.\*\*** In- \`resolve\_wake\_plan\`, when the phrase is a custom/proper noun and only- \`stt\_match\` is reachable, emit a **\*\*loud\*\*** warning (log \+ onboarding/UI) that- recognition will be unreliable and point to the Vosk/\`custom\_onnx\` remedy —- or refuse to mark onboarding "complete" until a working engine is present.-4\. **\*\*Make onboarding's wake step verify, not just acknowledge.\*\*** Add a live- mic-dBFS check (reuse \`python \-m jarvis.speech.diagnose\`, which already warns- \`\< \-40 dBFS\`) plus a "say your wake word once" confirmation before writing- \`wake\_word\_acknowledged\_at\`. Both the quiet mic and the unrecognizable word- would have been caught during setup.-5\. **\*\*Investigate the CPU \`stt\_match\` wedge (AP-24 / BUG-036).\*\*** The \`base\`/\`cpu\`- wake Whisper still hangs (8s → 20s → rebuild) on this machine even with- \`wake\_cuda\_probe \= {cuda:false}\`. Likely a ctranslate2 CPU thread-pool- deadlock; revisit fixed \`cpu\_threads\` on the CPU floor.--**\#\# Reproduce**--1\. Fresh v1.0.3 managed install on a CUDA-less Windows box.-2\. \`jarvis.toml\`: \`wake\_word\_enabled=true\`, \`\[trigger.wake\_word\] phrase="Hey Ruben"\`, \`engine="auto"\`.-3\. Complete onboarding, speak "Hey Ruben".-4\. Observe \`data/jarvis\_desktop.log\`: \`engine=stt\_match\`, \`matched=0\`, garbled- transcripts, periodic wedge/rebuild. Wake never triggers.--**\#\# Diagnostic tool**--\`python \-m jarvis.speech.diagnose\` — prints input devices, live mic dBFS-(warns \`\< \-40 dBFS\`), and a Whisper transcription test. Confirms both the-quiet-mic and the garbled-transcription symptoms directly.-diff --git a/Unbenanntes Dokument (9).md b/Unbenanntes Dokument (9).mddeleted file mode 100644index 0aacbc6fb3..0000000000--- a/Unbenanntes Dokument (9).md+++ /dev/null@@ -1,364 +0,0 @@-**\# PersonalJarvis — Wake-Word-Fix — Handoff für den Hauptrechner**--\> **\*\*Diese Datei ist ein vollständiger Auftrag/Handoff.\*\*** Ein Coding-Agent (oder du selbst)-\> auf dem **\*\*Hauptrechner\*\*** soll damit den Wake-Word-Bug endgültig fixen — so, dass er-\> **\*\*mit jedem Wort auf jedem Rechner\*\*** funktioniert und **\*\*nicht mehr wiederkommt\*\***.-\> Alles hier ist verifiziert und paste-fertig.--**\---**--**\#\# 0\. Kontext: Wer hat das erstellt und wie?**--\- **\*\*Erstellt von einem Agenten auf einem NEBENRECHNER\*\*** (nicht dem Hauptrechner).-\- Der Nebenrechner hat die **\*\*laufende, gemanagte Installation\*\*** unter- \`C:\\Users\\haral\\.personal-jarvis\\\` (Git-Repo, \`origin\` \= silent backup, entspricht- aber byte-genau dem öffentlichen \`main\`).-\- **\*\*Es wurde NICHTS verändert\*\*** — reine Read-only-Diagnose (Logs gelesen, Config gelesen,- Quellcode gelesen, zwei read-only Python-Probes gegen das Vosk-Modell laufen lassen).- Der Grund: Der Fix soll bewusst auf dem **\*\*Hauptrechner\*\*** passieren und von dort über die- Privacy-Gate nach GitHub gepusht werden.-\- **\*\*Code-Stand identisch mit GitHub:\*\***- \- Lokaler \`HEAD\` \= \`1693874cf77e0548a3f4dbb6974f1c194a4e8ec0\` (Release v1.0.4)- \- \`origin/main\` \= \`1693874…\` → **\*\*byte-identisch, kein Code-Unterschied.\*\***- \- Der Bug lag **\*\*nicht im Code-Sync\*\***, sondern in der Engine-Auswahl-Logik \+ lokaler Config.- \- \`jarvis.toml\` ist git-ignoriert → liegt nur lokal, nicht auf GitHub.--**\#\#\# Wie der Nebenrechner gearbeitet hat (Methodik, damit du die Beweiskette nachvollziehst)**-1\. Projekt lokalisiert (\`.personal-jarvis\`, nicht der leere Desktop-Ordner \`PersonalJarvisGitHUb\`).-2\. Wake-Architektur gelesen: \`jarvis/speech/wake\_phrase.py\` (\`resolve\_wake\_plan\`),- \`jarvis/speech/wake\_constants.py\`, \`jarvis/plugins/wake/vosk\_kws\_provider.py\`,- \`jarvis/plugins/wake/openwakeword\_provider.py\`, \`jarvis/speech/rolling\_whisper\_wake.py\`.-3\. **\*\*Laufzeit-Log\*\*** \`data/jarvis\_desktop.log\` als primäre Wahrheitsquelle ausgewertet.-4\. Zwei **\*\*read-only Vosk-Probes\*\*** gefahren (mit \`SetLogLevel(0)\`, das der Produktivcode- normalerweise per \`SetLogLevel(-1)\` unterdrückt), um OOV-Warnungen sichtbar zu machen.--**\---**--**\#\# 1\. Symptom**--\- Wake-Word \`"Hey Billionar"\` löste **\*\*nie\*\*** aus.-\- Nach Änderung auf \`"Hey Ruben"\` (bzw. Namen allgemein) löst es **\*\*ebenfalls nie\*\*** aus.-\- Ziel des Maintainers: **\*\*Es soll mit JEDEM Wort auf JEDEM Rechner klappen.\*\***--**\---**--**\#\# 2\. Zwei verschiedene Ursachen (beide bewiesen)**--**\#\#\# Ursache A — „Billionar": Out-of-Vocabulary (OOV)**-Der Vosk-Provider baut die Grammatik aus der Phrase-(\`jarvis/plugins/wake/vosk\_kws\_provider.py\`, \~Zeile 205):-\`\`\`python-grammar \= json.dumps(\[self.\_phrase.lower(), "\[unk\]"\]) \# \-\> \["hey billionar", "\[unk\]"\]-\`\`\`-Vosk kann **\*\*nur Wörter erkennen, die im Lexikon des Modells stehen.\*\*** \`billionar\` ist kein-englisches Wort. **\*\*Read-only-Probe gegen das echte Modell:\*\***-\`\`\`-'hey billionar' \-\> WARNING: Ignoring word missing in vocabulary: 'billionar'- Grammatik \= 3 states / 4 arcs (nur "hey" bleibt übrig)-'hey billionaire' \-\> (keine Warnung) 4 states / 7 arcs OK im Vokabular-\`\`\`-→ Das Wort wird **\*\*still verworfen\*\***, die Phrase kann nie gehört werden, der Wake feuert nie.-Weil der Code \`SetLogLevel(-1)\` setzt, steht die Warnung **\*\*nicht\*\*** im App-Log — es wirkt-„gesund", ist aber taub.--**\#\#\# Ursache B — „Ruben": akustisches Sprach-Mismatch (der eigentliche Kern)**-\`ruben\` **\*\*ist\*\*** im Vokabular (kein OOV — auch getestet). Die Grammatik-Stufe **\*\*feuert sogar\*\***.-Aber die **\*\*Verifikationsstufe lehnt jedes Mal ab.\*\*** Beweis aus \`data/jarvis\_desktop.log\`:-\`\`\`-vosk-kws: verify SUPPRESSED — free ear heard 'hey of whom' vs phrase 'Hey Ruben'-vosk-kws: verify SUPPRESSED — free ear heard 'hey will be' vs phrase 'Hey Ruben'-vosk-kws: verify SUPPRESSED — free ear heard 'hey all been' vs phrase 'Hey Ruben'-vosk-kws: verify SUPPRESSED — re-score did not re-hear 'Hey Ruben' (heard 'hey \[unk\]')-vosk-kws: verify SUPPRESSED — free ear heard 'can a woman' vs phrase 'Hey Ruben'-\`\`\`-**\*\*Grund:\*\*** Du sprichst „Hey Ruben" **\*\*deutsch\*\***. Das geladene Vosk-Modell ist aber-**\*\*englisch\*\*** (\`vosk-model-small-en-us-0.15\`). Ein Vosk-Modell ist akustisch-**\*\*sprachspezifisch\*\*** — das englische Modell kann dein deutsch gesprochenes „Ruben" nicht auf-das englische Lautbild abbilden (es hört „of whom / a woman"). Die Verify-Stufe schützt-korrekt vor Fehlauslösung und lehnt ab → Wake feuert nie.--**\*\*Warum überhaupt das englische Modell?\*\*** Config hat \`stt.language \= "auto"\` (Default). Bei-„auto" nimmt \`resolve\_vosk\_model\_path\` einfach das **\*\*erstinstallierte\*\*** Modell — hier das-englische (das einzige installierte). Es gibt \*\*keine Prüfung, ob die Modellsprache zum-Sprecher passt.\*\* Das ist der zentrale Logikfehler.--**\#\#\# Das gemeinsame Grundprinzip (unbedingt verstehen)**-Ein **\*\*Vosk-KWS-Modell ist doppelt begrenzt:\*\***-1\. **\*\*Geschlossenes Vokabular\*\*** → erfundene/abgekürzte Wörter scheitern (Ursache A).-2\. **\*\*Sprachspezifische Akustik\*\*** → ein Wort in anderer Sprache/Aussprache scheitert, selbst- wenn es im Vokabular steht (Ursache B).--→ **\*\*Vosk kann prinzipiell NICHT „jedes Wort in jeder Sprache".\*\*** Der einzige Pfad, der das-kann, ist **\*\*mehrsprachiges, offenes-Vokabular Whisper\*\*** (\`stt\_match\` / \`RollingWhisperWake\`).--**\---**--**\#\# 3\. Warum der Fix auf diesem Rechner sofort greifen würde**-Auf dem Nebenrechner ist **\*\*mehrsprachiges faster-whisper voll installiert\*\***-(\`faster-whisper-base\`, \`-small\`, \`distil-large-v3\` im HF-Cache). Der \`stt\_match\`\-Pfad-transkribiert dein deutsches „Hey Ruben" korrekt. Der Bug ist nur, dass \`resolve\_wake\_plan\`-**\*\*Vosk bevorzugt\*\***, sobald irgendein Vosk-Modell existiert, und **\*\*nie\*\*** auf den universellen-Whisper-Pfad zurückfällt — selbst wenn die Vosk-Sprache nicht passt.--**\---**--**\#\# 4\. DER FIX**--**\#\#\# Kern-Wahrheit in einem Satz**-\> \*\*Vertraue Vosk nur, wenn seine Sprache nachweislich zum Sprecher passt — sonst nimm das-\> mehrsprachige, offene Whisper (\`stt\_match\`).\*\*--Das löst **\*\*beide\*\*** Ursachen auf jedem Rechner mit lokalem Whisper automatisch (denn dort wird-gar kein Vosk mehr für unpassende Fälle gewählt).--**\---**--**\#\#\# Patch 1 — Sprach-bewusstes Routing (PFLICHT)**--**\*\*Datei:\*\*** \`jarvis/speech/wake\_phrase.py\`-**\*\*Funktion:\*\*** \`resolve\_wake\_plan\`, **\*\*Schritt 2\*\*** (im Original Zeilen **\*\*416–421\*\***).--Ersetze diesen Block …-\`\`\`python- if phrase and engine\_pref in ("auto", "vosk\_kws"):- if vosk\_available is None:- import importlib.util as \_ilu-- vosk\_available \= \_ilu.find\_spec("vosk") is not None- vosk\_model \= resolve\_vosk\_model\_path(language) if vosk\_available else None- if vosk\_model is not None and (- engine\_pref \== "vosk\_kws"- or not custom\_path- or custom\_stale- or custom\_missing- ):-\`\`\`-… durch diesen (alles darunter — der \`return WakeWordPlan(engine="vosk\_kws", …)\` — bleibt-UNVERÄNDERT):-\`\`\`python- \# A Vosk model is language-SPECIFIC acoustically: an English model cannot- \# hear a German-pronounced name even when the word IS in its lexicon (live- \# 2026-07-09: 'Hey Ruben' spoken de on the en model free-decoded to- \# 'hey of whom'/'a woman' and EVERY verify suppressed — a silent dead- \# listener). So vosk\_kws is trusted only when its language provably matches- \# the speaker: (a) engine explicitly forced, or (b) a CONCRETE language is- \# pinned and a model for THAT language is installed. Under an ambiguous- \# "auto" language we do NOT gamble on the first-installed model — we prefer- \# the multilingual, open-vocabulary stt\_match path whenever local Whisper is- \# available (it transcribes ANY word in ANY language). Vosk stays the- \# best-effort fallback only on a box with NO local Whisper.- lang\_norm \= (language or "auto").strip().lower().split("-")\[0\]- lang\_is\_concrete \= bool(lang\_norm) and lang\_norm \!= "auto"- vosk\_model \= None- if phrase and engine\_pref in ("auto", "vosk\_kws"):- if vosk\_available is None:- import importlib.util as \_ilu-- vosk\_available \= \_ilu.find\_spec("vosk") is not None- if vosk\_available:- if engine\_pref \== "vosk\_kws":- \# Explicit force: honour the user's choice, any installed model.- vosk\_model \= resolve\_vosk\_model\_path(language)- elif lang\_is\_concrete:- \# auto engine \+ a pinned language: trust vosk only for a model- \# in exactly that language (never a mismatched fallback).- vosk\_model \= resolve\_vosk\_model\_path(lang\_norm)- elif not local\_whisper\_available:- \# auto engine \+ ambiguous language \+ NO multilingual Whisper:- \# vosk (first-installed) is the only local option — best effort.- vosk\_model \= resolve\_vosk\_model\_path(language)- \# else: auto \+ ambiguous language \+ Whisper present \-\> fall through- \# to the multilingual stt\_match path below (the universal answer).- if vosk\_model is not None and (- engine\_pref \== "vosk\_kws"- or not custom\_path- or custom\_stale- or custom\_missing- ):-\`\`\`--**\*\*Wirkung:\*\*** \`engine="auto"\` \+ \`stt.language="auto"\` \+ Whisper installiert → \`vosk\_model\`-bleibt \`None\` → Durchfall auf \`stt\_match\` → mehrsprachiges Whisper hört „Hey Ruben" (und-„billionar", da offenes Vokabular). Schneller Vosk-Pfad bleibt erhalten für explizites-\`engine="vosk\_kws"\` oder eine konkret gepinnte, passende Sprache (z. B. \`language="de"\` mit-installiertem de-Modell).--\> **\*\*Alternative, falls du Universalität über Latenz stellst:\*\*** einfach \`stt\_match\` immer-\> bevorzugen, sobald \`local\_whisper\_available\` — noch robuster, aber Vosk-Geschwindigkeit-\> geht verloren. Die obige sprach-bewusste Variante ist der chirurgische Kompromiss.--**\---**--**\#\#\# Patch 2 — OOV-Guard (OPTIONAL, nur für Rechner OHNE lokales Whisper)**--Auf einem Headless-/VPS-Rechner ohne Whisper bleibt Vosk der einzige Pfad — dort verschluckt-Vosk ein Nicht-Vokabular-Wort weiterhin still. Guard dagegen.--**\*\*Datei:\*\*** \`jarvis/plugins/wake/vosk\_kws\_provider.py\` — neue Funktion (nutzt genau die-stderr-Capture-Technik, die auf dem Nebenrechner erfolgreich getestet wurde; portabel auf-Windows \+ POSIX):-\`\`\`python-def vosk\_model\_supports\_phrase(model\_path: str, phrase: str) \-\> bool:- """True when every core word of \`\`phrase\`\` exists in the model lexicon.-- Vosk drops out-of-vocabulary grammar words with a stderr warning and- silently builds a grammar without them (live 2026-07-08: 'Hey Billionar'- \-\> "Ignoring word missing in vocabulary: 'billionar'" \-\> the phrase could- never be heard). The warning is our only signal (no readable word list in- the small models), so capture it at the OS fd level — portable on Windows- and POSIX.- """- import json- import os- import tempfile-- from vosk import KaldiRecognizer, Model, SetLogLevel-- from jarvis.speech.wake\_constants import phrase\_core\_for\_match-- core \= phrase\_core\_for\_match(phrase)- if not core:- return False- SetLogLevel(0)- tmp \= tempfile.TemporaryFile(mode="w+")- old \= os.dup(2)- os.dup2(tmp.fileno(), 2\)- try:- KaldiRecognizer(Model(model\_path), 16\_000, json.dumps(\[phrase.lower(), "\[unk\]"\]))- finally:- os.dup2(old, 2\)- os.close(old)- SetLogLevel(-1)- tmp.seek(0)- return "missing in vocabulary" not in tmp.read().lower()-\`\`\`-\*\*Aufruf:\*\* in \`resolve\_wake\_plan\` unmittelbar bevor der \`vosk\_kws\`-Plan zurückgegeben wird —-nur wenn Vosk wirklich gewählt wurde. Bei \`not supported\` → \`vosk\_model \= None\` und ehrlich in-Schritt 4 degradieren (\`wake\_available=False\`) mit klarer Meldung: „Wort X ist im Sprachmodell-nicht vorhanden — wähle ein echtes Wort dieser Sprache, installiere das Sprachpaket, oder-trainiere ein custom .onnx."--\> ⚠️ \*\*Boot-Budget (AP-26):\*\* Diese Prüfung lädt das Vosk-Modell (\~1,5 s). \*\*Nicht\*\* in den-\> \`\_run\_backend\`-Boot-Pfad legen — nur im Hintergrund-Wake-Build ausführen, wo das Modell-\> ohnehin geladen wird.--\-----\#\#\# Patch 3 — Laufzeit-Selbstheilung (OPTIONAL, Kür)--Feuert die Vosk-Grammatik, wird aber N-mal in Folge „SUPPRESSED" (genau die „Ruben"-Signatur),-schalte die Session live auf \`stt\_match\` um. Skizze: in \`VoskKwsProvider.detect()\` die-\`\_stat\_suppressed\_confirm\`-Serie beobachten; bei ≥ 4 Suppressions ohne Fire in \~30 s einmalig-ein Signal/Event werfen → Pipeline baut mit \`engine="stt\_match"\` neu auf. Größerer Eingriff —-nur bei Bedarf an maximaler Robustheit.--\-----\#\# 5\. Tests (Repo-Konvention: \`tests/unit/speech/\`)--In \`test\_wake\_plan\_vosk.py\` bzw. \`test\_pipeline\_wake\_plan.py\` ergänzen:-\`\`\`python-def test\_auto\_language\_with\_whisper\_prefers\_multilingual\_stt\_over\_mismatched\_vosk():- \# only an EN vosk model installed, user language "auto", whisper present- cfg \= \_wwcfg(phrase="Hey Ruben", engine="auto")- plan \= resolve\_wake\_plan(cfg, local\_whisper\_available=True,- language="auto", vosk\_available=True)- assert plan.engine \== "stt\_match" \# NOT vosk\_kws (would be deaf to de)- assert plan.wake\_available--def test\_concrete\_matching\_language\_still\_uses\_fast\_vosk():- \# with a de vosk model present \+ language pinned to "de"- plan \= resolve\_wake\_plan(\_wwcfg("Hey Ruben", "auto"),- local\_whisper\_available=True, language="de",- vosk\_available=True)- assert plan.engine \== "vosk\_kws"--def test\_headless\_no\_whisper\_falls\_back\_to\_vosk\_best\_effort():- plan \= resolve\_wake\_plan(\_wwcfg("Hey Ruben", "auto"),- local\_whisper\_available=False, language="auto",- vosk\_available=True)- assert plan.engine \== "vosk\_kws"-\`\`\`-Für Patch 2 zusätzlich: \`vosk\_model\_supports\_phrase(model, "Hey Billionar") is False\` und-\`… "Hey Billionaire") is True\`.--\-----\#\# 6\. Anwenden, verifizieren, pushen (auf dem Hauptrechner)--\`\`\`bash-\# 0\) richtige Python-Quelle sicherstellen (BUG-006/014)-pwsh scripts/preflight.ps1-python \-c "import jarvis; print(jarvis.\_\_file\_\_)"--\# 1\) Patch 1 (+ optional 2/3) einspielen, dann Qualitätsgates-ruff check jarvis/ && ruff format jarvis/ && mypy jarvis/-pytest tests/unit/speech/ \-v \# inkl. der neuen Tests--\# 2\) Entry-points/editable-install aktivieren-pip install \-e . \--no-deps--\# 3\) App NICHT via Stop-Process neu starten, sondern:-\# POST /api/settings/restart-app-\`\`\`--\*\*Erfolg verifizieren im Log\*\* (\`data/jarvis\_desktop.log\`):-\- \`Wake-word plan: engine=stt\_match … phrase='Hey Ruben'\`-\- \`… WHISPER-WAKE=on\`-\- beim Sprechen: ein Wake-Treffer \*\*statt\*\* „verify SUPPRESSED".--\-----\#\# 7\. GitHub-Push (nur auf ausdrückliche Freigabe des Maintainers)--Öffentlicher Repo: \`https://github.com/PersonalJarvis/PersonalJarvis\`. \*\*Nur\*\* über die-§2-Privacy-Gate (Discreet-Snapshot, PII-Scrub, Sub-Agent-Review, Human-Review) — \*\*nie\*\* roher-Push, \`save-to-github\`/\`github-version\` sind verboten. Commit-Vorschlag:-\`\`\`-fix(wake): route arbitrary/cross-language wake words to multilingual stt\_match--An English Vosk model cannot acoustically hear a German-spoken name even when-the word is in its lexicon ('Hey Ruben' \-\> free-decoded 'hey of whom', every-verify suppressed \-\> silent dead listener). resolve\_wake\_plan now trusts-vosk\_kws only when its language provably matches the speaker and prefers the-multilingual open-vocabulary Whisper path under ambiguous language. Also guards-against out-of-vocabulary words silently dropped from the Vosk grammar.-Fixes the silent-no-fire class for any word on any \[full\]-install machine-(AP-27, §3).-\`\`\`--\-----\#\# 8\. Sofort-Workaround (falls du es SOFORT laufen lassen willst, ohne Code)--Rein per Config in \`jarvis.toml\` (reversibel):-\`\`\`toml-\[trigger.wake\_word\]-phrase \= "Hey Ruben"-engine \= "stt\_match" \# statt "auto" \-\> umgeht Vosk, nutzt mehrsprachiges Whisper-sensitivity \= 0.5--\[stt\]-language \= "de" \# pinnt die Wake-Transkription auf Deutsch-\`\`\`-Danach App-Neustart via \`POST /api/settings/restart-app\`. Das ist nur ein Pflaster — der-richtige Fix ist Patch 1, damit es \*\*für alle Nutzer und ohne Handarbeit\*\* stimmt.--\-----\#\# 9\. Für-maximale-Zuverlässigkeit-bei-EINEM-Wort (Ausblick)-Der stt\_match/Whisper-Pfad ist universell, aber bei „harten" Namen nicht 100 %. Für ein-felsenfestes einzelnes Wake-Word ist ein \*\*trainiertes openWakeWord \`custom\_onnx\`-Modell\*\*-(neuronales KWS, AP-25) die Königslösung — braucht aber Trainingsaufwand. Für „jedes Wort-sofort" bleibt Whisper der richtige Default.--\-----\#\#\# Betroffene Dateien (Kurzliste)-\- \`jarvis/speech/wake\_phrase.py\` — \*\*Patch 1\*\* (\`resolve\_wake\_plan\`, Schritt 2\)-\- \`jarvis/plugins/wake/vosk\_kws\_provider.py\` — \*\*Patch 2\*\* (neue \`vosk\_model\_supports\_phrase\`) \+ Aufruf, optional \*\*Patch 3\*\*-\- \`tests/unit/speech/test\_wake\_plan\_vosk.py\` / \`test\_pipeline\_wake\_plan.py\` — neue Tests-\- (Referenz, nicht ändern) \`jarvis/speech/wake\_constants.py\`, \`jarvis/speech/rolling\_whisper\_wake.py\`--\*Erstellt von einem Read-only-Diagnose-Agenten auf dem Nebenrechner. Code-Stand: v1.0.4 @ \`1693874\`. Es wurde nichts verändert.\*-diff --git a/scripts/ci/german-allowlist.txt b/scripts/ci/german-allowlist.txtindex ca8004b0d9..62cc611172 100644--- a/scripts/ci/german-allowlist.txt+++ b/scripts/ci/german-allowlist.txt@@ -353,3 +353,12 @@ tests/unit/speech/test_rolling_whisper_wake_silence_ghost.py# ghost-activation forensics — inline i18n-allow impossible inside a docstring# (bucket 4, forensic; same rationale as the docstring/prompt files above)jarvis/speech/rolling_whisper_wake.py++# --- Interim-ack redesign spec (2026-07-06): quotes the German spoken ack+# phrases (product surface, reason 1) it specifies, incl. the broken+# ASCII-umlaut variants under repair ---+docs/superpowers/specs/2026-07-06-interim-ack-redesign-design.md++# --- TTS evaluation corpus: the German sentences ARE the evaluation data the+# speech synthesis is scored on (product-surface test fixtures, reason 4) ---+jarvis/speech/tts_eval/corpus.py