You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(tui+lsp): resolve CI failures and CodeRabbit findings; harden RunAgents
Make the PR branch green and address the review.
CI failures (15 tests + ruff):
- Update agent-spec / config-dump / pyinstaller snapshots for the new LSP tool
- Add explicit encoding to LSP framing/symbol_context/tool sources (static check)
- Sync dark prompt frame/separator/dialog borders to their core theme tokens
- Flush the live view immediately for external (approval/steer) messages and
supervise the frame/status refresh loops so a refresh failure surfaces instead
of silently freezing the view (fixes 3 external-approval tests)
- Wire `_mode` + completer onto the bottom-toolbar unit test's bare session
- Fix import sorting / line length
CodeRabbit findings:
- Critical: inline code spans now actually clear an inherited background
(Rich `Style(bgcolor=None)` is a no-op; mutate the copied style instead)
- LSP: bounded JSON-RPC frame size + graceful-shutdown timeout, didChange
document version tracking, open-doc state cleared on restart, empty
diagnostics payloads clear stale entries, code-0 dedup key, TOCTOU re-check,
documentSymbol file_count
- Theme picker: compare resolved themes by identity so distinct Catppuccin
variants no longer match
- Usage activity: anchor the chart to the payload window (not wall-clock) and
fix the current-streak partial-today contract
- Config: validate LSP numeric settings; `/usage` rejects extra activity args;
`/theme code <Name>` preserves case; guard install-script cursor escapes to
animated mode; drop unused worklog icon params
RunAgents: strip stray whitespace-only string entries the model emits between
agent objects so a multi-agent launch no longer fails validation.
Also: AGENTS.md gains a "Pre-PR gate" checklist (run the full gate, snapshot
fix-direction, encoding/bundling/changelog checks) to stop these slipping to CI.
0 commit comments