- Repository:
adityachauhan0/gamer-cat - Active branch:
linux - Remote default branch:
linux - Current HEAD:
4783833(Add technical error log and mitigation summary) - Working tree: clean
- Added startup bootstrap in app to set sane defaults for Linux runtime.
- Added Ollama startup + required model checks (
llama3.2:3b,moondream). - Added local runtime hints for missing portal/capture/audio prerequisites.
- Switched default LLM model to
llama3.2:3b. - Set English-only STT defaults:
GAMERCAT_STT_MODEL=tiny.enGAMERCAT_STT_LANGUAGE=enGAMERCAT_STT_ENFORCE_LANGUAGE=1
- Set anime-style English TTS defaults:
GAMERCAT_TTS_BACKEND=edgeGAMERCAT_TTS_VOICE=en-US-AnaNeuralGAMERCAT_TTS_RATE=+10%GAMERCAT_TTS_PITCH=+12Hz
- Improved capture backend fallback strategy and diagnostics.
- Added Wayland/KDE portal handling guidance and checks.
- Improved vision prompt behavior and empty-response handling.
- Added deterministic answer path for direct screen questions (uses latest valid context, avoids hallucination).
- Added explicit listen logs:
[Listen] Started recording user input (...)[Listen] Stopped recording user input.
- Added configurable post-speech resume delay:
GAMERCAT_LISTEN_RESUME_DELAY(set to15by default).
- Reworked main orchestration to serialized turn flow:
listen -> refresh screen context -> generate -> speak
- Disabled background listener in main path to avoid overlapping record cycles.
- Added hard recorder mutex lock in
VoiceEngineto prevent parallel recording paths. - Added TTS busy/cooldown gating before each listen cycle.
- Added
startup.shwith:- user-session safety (avoid broken
sudoDBus/Wayland context) - portal user-service checks/restarts
- dependency sync (
uv sync) - Ollama/model bootstrap
- launch command
- user-session safety (avoid broken
- Confirmed expected invocation: run as normal user (
./startup.sh), notsudo.
- Updated
README.mdandDOCUMENTATION.mdto match Linux runtime and defaults. - Added detailed incident postmortem:
ERROR_LOGS.md(root causes, fixes, bypasses, validation, residual risks).
5614b9bImprove Linux runtime flow, startup, and capture/TTS stability4783833Add technical error log and mitigation summary
- Created/pushed branch:
linux - Set GitHub default branch to:
linux - Updated local remote HEAD:
origin/HEAD -> origin/linux
- App starts and speaks greeting.
- Waits for TTS idle + resume delay.
- Logs waiting and starts recording.
- Stops recording and transcribes.
- Captures fresh screen context.
- Generates response.
- Speaks response.
- Repeats.
- STT still incurs natural inference latency on CPU; this is expected.
- If fully local/offline TTS is required, configure Piper model and set
GAMERCAT_LOCAL_ONLY=1. - Wayland capture remains dependent on active compositor/portal permissions and installed tools.
- Verify branch and cleanliness:
git branch --show-currentgit status --short --branch
- Start runtime:
./startup.sh
- If diagnosing turn order, watch for these log markers:
[Flow] Waiting for user input...[Listen] Started...[Listen] Stopped...[Flow] Refreshing screen context before response...[Flow] Generating response...[Flow] Speaking response...
- For historical context, read:
ERROR_LOGS.mdDOCUMENTATION.md