fix(workflows): add text_mode config for Claude Code remote session compatibility (#1214)

- Add workflow.text_mode config option (default: false) that replaces
  AskUserQuestion TUI menus with plain-text numbered lists
- Document --text flag and config-set workflow.text_mode true as the
  fix for /rc remote sessions where the Claude App cannot forward TUI
  menu selections
- Update discuss-phase.md with text mode parsing and answer_validation
  fallback documentation
- Add text_mode to loadConfig defaults and VALID_CONFIG_KEYS
- Add regression tests for config-set and loadConfig
This commit is contained in:
Tom Boucher
2026-03-19 09:19:01 -04:00
parent 1427aab41b
commit 0487151142
6 changed files with 36 additions and 0 deletions

View File

@@ -172,6 +172,9 @@ Merge new settings into existing config.json:
"context_warnings": true/false,
"workflow_guard": true/false,
"research_questions": true/false
},
"workflow": {
"text_mode": true/false // Use plain-text questions instead of TUI menus (for /rc remote sessions)
}
}
```