Skip to content

Run 89: git, cline and lms output decoded as UTF-8 - #149

Merged
sklsp merged 2 commits into
v1from
night-qwen-89
Nov 21, 2026
Merged

sklsp merged 2 commits into
v1from
night-qwen-89

Conversation

@sklsp

@sklsp sklsp commented Nov 21, 2026

Copy link
Copy Markdown
Owner

Qwen run 89, reviewed by Claude.

  • iris/agents.py _git and iris/dashboard run_lms: encoding="utf-8", errors="replace". Without an encoding, Windows decoded their output with cp1252: a Dutch file name or an emoji in a commit message came back garbled, and bytes cp1252 cannot map made stdout None (nightshift crashed on exactly this today).
  • iris/autopilot.py already passed encoding="utf-8" to cline-cli; it gains errors="replace" so one bad byte cannot raise.
  • PowerShell calls checked, none changed (only clipboard_read sets UTF-8 output, and it already decodes as UTF-8). nvidia-smi prints ASCII.
  • Tests: a real git repo with a commit "café ☕" and a file notities-é.txt; the encoding arguments reach the fake runners.

Gates: ruff clean, mypy clean, 2443 tests pass, coverage 100%.

🤖 Generated with Claude Code

2443 passed in 117.74s (0:01:57)

PowerShell calls checked, none changed: clipboard_read already passes encoding=utf-8 with its _UTF8 prefix; clipboard_write, screenshot and _capture have no _UTF8 prefix; shortcut_main has no _UTF8 prefix. tools.py nvidia-smi output is ASCII, left alone.
@sklsp
sklsp merged commit c4e9943 into v1 Nov 21, 2026
5 checks passed
@sklsp
sklsp deleted the night-qwen-89 branch November 24, 2026 17:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant