Skip to content

XERK-522 [Qwen P]: permission-mode parity uses blind fallback by design - #550

Merged
xerhab merged 1 commit into
mainfrom
XERK-522
Aug 29, 2026
Merged

XERK-522 [Qwen P]: permission-mode parity uses blind fallback by design#550
xerhab merged 1 commit into
mainfrom
XERK-522

Conversation

@xerhab

@xerhab xerhab commented Aug 29, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Qwen's footer shows NO mode name (only "Ask permissions (shift + tab to cycle)"), so parse_pane_mode correctly returns None
  • This triggers _set_mode_blind fallback (computed Shift+Tab presses) — the INTENDED design, not a gap
  • Added test_qwen_footer_returns_none test to pin this behavior
  • Documented in .claude/rules/qwen.md

What was verified

  • interrupt already works unchanged (sends Escape to tmux, runtime-agnostic)
  • Composer permission-mode dropdown is already hidden for qwen sessions (sessions.html line 1371)
  • Evidence from docs/qwen-g0/pane/01-idle.txt and 02-busy.txt matches the test fixtures

Test plan

  • TestParsePaneMode — 5 tests pass including new test_qwen_footer_returns_none
  • Full Python test suite — 1825 tests pass
  • Full JS test suite — 1660 tests pass
  • Verified set_modeparse_pane_mode_set_mode_blind fallback chain in code
  • QA agent verdict: PASS

Qwen's footer shows no mode name (only "Ask permissions (shift + tab to
cycle)"), so parse_pane_mode correctly returns None and set_mode falls
back to _set_mode_blind (computed presses). This is the intended design,
not a gap to fill.

- Add test_qwen_footer_returns_none in TestParsePaneMode to pin this
- Document in .claude/rules/qwen.md
- interrupt already works (Escape is runtime-agnostic)
- Composer hides permission dropdown for qwen sessions (existing behavior)
@xerhab
xerhab merged commit 7df1e6c into main Aug 29, 2026
4 checks passed
@xerhab
xerhab deleted the XERK-522 branch August 29, 2026 04:47
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