# 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
- [x] Task: Fix Text Viewer Docking
    - [x] WHERE: `src/gui_2.py`
    - [x] WHAT: Update window ID to `###Text_Viewer_Unified`.
- [x] Task: Fix Markdown Table Width
    - [x] WHERE: `src/gui_2.py` (`render_discussion_entry`)
    - [x] WHAT: Insert forced newline and dummy horizontal expansion.
- [x] Task: Centralize Theme Colors
    - [x] WHERE: `src/theme_2.py` and `src/gui_2.py`
    - [x] WHAT: Move all hardcoded `vec4` to theme module. Update call sites.

## Phase 3: Verification
- [x] Task: Verify Full Suite
    - [x] Run all tests in batches of 4.
- [x] Task: Conductor - User Manual Verification 'Phase 3: Verification' (Protocol in workflow.md)

