# Implementation Plan: Phase 7 Monolithic Stabilization ## Phase 1: Architecture Consolidation - [x] Task: Restore Monolithic Rendering [checkpoint: fee4103] - [x] Task: Robustify ID Scopes - [x] WHERE: `src/imgui_scopes.py` - [x] WHAT: Update `_ScopeId.__enter__` to always use `str(self._id)`. ## Phase 2: Definitive UI Fixes - [~] Task: Fix Text Viewer Docking - [~] WHERE: `src/gui_2.py` - [~] WHAT: Update window ID to `###Text_Viewer_Unified`. - [ ] Task: Fix Markdown Table Width - [ ] WHERE: `src/gui_2.py` (`render_discussion_entry`) - [ ] WHAT: Insert forced newline and dummy horizontal expansion. - [ ] Task: Centralize Theme Colors - [ ] WHERE: `src/theme_2.py` and `src/gui_2.py` - [ ] WHAT: Move all hardcoded `vec4` to theme module. Update call sites. ## Phase 3: Verification - [ ] Task: Verify Full Suite - [ ] Run all tests in batches of 4. - [ ] Task: Conductor - User Manual Verification 'Phase 3: Verification' (Protocol in workflow.md)