# Implementation Plan: Manual Context Pruner ## Phase 1: Aggregation Intercept - [ ] Add `review_context_before_send` boolean flag to `AppController`. - [ ] Update the `generate` workflow in `src/app_controller.py` to pause and trigger the UI modal if the flag is true. ## Phase 2: UI Modal - [ ] Add `_render_context_pruner_modal` in `src/gui_2.py`. - [ ] The modal must use a large `imgui.input_text_multiline` (or similar editor) to allow manual redaction. - [ ] Handle the callback to resume the `generate` workflow with the modified string.