Summary
Add a prompt optimization feature to the input box that allows users to refine a prompt through discussion in a sub-thread, then send the finalized result back to the originating area.
Motivation
Users often want to iteratively improve a prompt before sending it. A dedicated sub-thread discussion flow — scoped to a single message — provides a structured way to collaborate on prompt quality without polluting the main conversation.
Proposed Behavior
-
Open sub-thread for prompt discussion
- From any message input area, users can open a sub-thread specifically for refining the current prompt.
- The sub-thread context is tied to the originating area (main area or a parent sub-thread).
-
Source tracking
- Main area → Sub-thread A: After discussion, the finalized prompt is sent back to the main area.
- Sub-thread A → Sub-thread B: After discussion, the finalized prompt is sent back to Sub-thread A.
- In general: always return the result to the direct parent of the sub-thread where the discussion took place.
-
Confirm and send back
- When the user finishes refining the prompt in the sub-thread, a "Use this prompt" or similar action delivers the result to the source input box.
- The source input box is populated with the optimized prompt so the user can review and send it.
Acceptance Criteria
Open Questions
- Should the sub-thread persist after the optimized prompt is sent back, or be discarded?
- What is the maximum nesting depth for prompt optimization sub-threads?
- Should there be a way to cancel and discard the sub-thread discussion without affecting the parent?
Summary
Add a prompt optimization feature to the input box that allows users to refine a prompt through discussion in a sub-thread, then send the finalized result back to the originating area.
Motivation
Users often want to iteratively improve a prompt before sending it. A dedicated sub-thread discussion flow — scoped to a single message — provides a structured way to collaborate on prompt quality without polluting the main conversation.
Proposed Behavior
Open sub-thread for prompt discussion
Source tracking
Confirm and send back
Acceptance Criteria
Open Questions