docs(conductor): Initialize Phase 6 GenCpp UX Validation tracks
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
# Track: Manual Context Pruner / Intercept Modal
|
||||
|
||||
- [Specification](./spec.md)
|
||||
- [Plan](./plan.md)
|
||||
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"id": "manual_context_pruner_20260510",
|
||||
"title": "Manual Context Pruner / Intercept Modal",
|
||||
"status": "planned"
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
# 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.
|
||||
@@ -0,0 +1,9 @@
|
||||
# Specification: Manual Context Pruner / Intercept Modal
|
||||
|
||||
## Overview
|
||||
Introduce a "Review Context Before Send" toggle. When enabled, hitting "Send" opens a modal displaying the final, aggregated Markdown string. The user can manually delete lines, redact symbols, or prune irrelevant RAG chunks before giving the final approval to send the payload to the API.
|
||||
|
||||
## Acceptance Criteria
|
||||
- [ ] A UI toggle exists for "Review Context Before Send".
|
||||
- [ ] When enabled, sending a prompt opens a modal with a large text editor containing the fully aggregated markdown string (files + RAG chunks + prompt).
|
||||
- [ ] User can edit the text and click "Approve and Send" or "Cancel".
|
||||
Reference in New Issue
Block a user