Files
rag-technical-docs-assistant/docs/evaluation/local-s2s/windows-browser-stop-20261017.md
amirhosein mazaheri 628aec8def feat(voice): implement local S2S responsiveness candidate and direct TTS routing
Add local S2S responsiveness candidate pinning ASR options and sentence-at-a-time generation. Route speech synthesis directly to OpenAI API for fluent Persian phonetics with gpt-4o-mini-tts-2025-12-15. Add responsiveness, budget carry, and browser watch unit tests along with acceptance benchmarks and evaluation evidence.
2026-10-17 13:02:41 +03:30

3.2 KiB

Windows browser startup failure ? 2026-10-17

The browser handoff is no longer live. The Windows watchdog stopped only its owned engine after175.791s with reason memory_floor; minimum Windows availability2,606,247,936 bytes, just below2500MiB. This was a guarded stop, not a proven OOM or interruption/history defect. The frontend/API stayed available.

The two user WebSocket attempts at06:29:54 and06:30:01 UTC occurred after that stop. API diagnostics show stream_setup, gaierror, LIVE_SETUP_FAILED; frontend close1011 corresponds to failed engine setup. Three login401s were followed by login200 and authenticated me/configuration/session requests; those login failures do not explain the later voice failures. Initial me401 before login is expected.

Engine logs show only the three startup requests and normal shutdown. Ledger still contains exactly three attempts; neither failed browser connection admitted inference. There is no microphone/barge-in quality result.

Billing reconciliation

Read-only generation lookups for all three exact ledger IDs returned200. Actual costs: STT$0.0000075, LLM$0.0000228, TTS$0.0001635; total $0.0001938. The corresponding new$0.059 startup reserve can be replaced only in a new carry; the historical$0.704504399 remains held in full. Reconciled conservative exposure $0.704698199. Original exclusive ledger remains untouched and must not restart. Full billing receipts retained privately; sanitized evidence.

No new inference or engine restart was performed during diagnosis. The current host had3463MiB free after engine stop. Native fixture peak alone underestimated live handoff memory pressure; next admission must include the observed live decline and browser/UI headroom instead of silently reducing the runtime floor. Free memory with the actual browser open before another paid startup. A new carried-forward exclusive ledger is required; old documentary constructor currently accepts only its original checkpoint, so do not substitute the new exposure into it without implementing/verifying a billing-linked carry path.

Phase3/4 remain unaccepted. Next user dependency: free nonessential memory with the browser open; plan roughly4.5GiB available before another supervised trial. No unrelated process was terminated. The previous advertised handoff expiry was an upper bound; this earlier memory stop supersedes its ready state.

User override: memory prevention disabled

The user explicitly requested disabling memory prevention temporarily. watch-windows-browser.py now defaults to observation only: neither Windows/VM pre-start thresholds nor the runtime2500MiB floor block or stop the engine. Memory samples are still recorded. --enforce-memory-floor explicitly restores both checks. The3GiB/no-swap Docker limit, exclusive-ledger rejection, budget admission, startup deadline and30minute expiry remain unchanged.

Validation:11 budget/supervisor tests passed in0.40s, including default low-memory launch continuing until the time limit and opt-in memory enforcement. No engine restart or paid call was made. The previously stopped engine remains stopped; any new paid launch still needs verified billing-linked carry. Earlier requests to free RAM are superseded by this explicit user override.