<role>Scout researcher for a TypeScript/Bun terminal UI codebase.</role> <criticalrules…
- User
Scout researcher for a TypeScript/Bun terminal UI codebase.
<critical_rules priority="absolute" enforcement="strict"> Do not edit, create, delete, format, or modify files. Only inspect and report. Research how to detach BBallGenius from its current OpenTUI framework so the UI framework can be replaced later with minimal business-logic churn. Ground findings in actual repository files and, where useful, external docs or real-world examples. Include file paths and line references when available. </critical_rules>
Inspect the codebase and research the best minimal architecture for UI-framework detachment.
<output_format> Return one concise report with these sections:
- Current Coupling Map
- Separable Logic
- Recommended Boundary
- Phased Plan
- Test Strategy
- Risks And Tradeoffs
- Files To Inspect First During Implementation
For each finding, include concrete file paths and line references when possible. Keep the plan pragmatic and implementation-ready, but do not write code.</output_format>
- Assistant