P7: Ask screen intelligence — suggestions + refine dialogue (REQ-67..68) #7
Reference in New Issue
Block a user
Delete Branch "phase/07-ask-suggestions-refine"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
2nd owner gate feedback executed as phase 7.
Both opt-in — the ≤3-click happy path is re-pinned on the new AskView. Verify: PASS (88/88 tests, 2 P1 fixes with regression tests). AskForm retired; AskView owns the form state. Squash-merge → tag v0.1.7.
---ci--- phase: 7 milestone: v0.1 status: execute escalation: type: prototype_approval hook: prototype_approval resolution: binding_extension message: >- Owner returned 2nd gate feedback: the New Research view must surface follow-up query suggestions from unanswered questions, and offer a refine option that crafts a better research query through back-and-forth dialogue. Feedback becomes binding requirements REQ-67/68 as execution phase 7 (+ P8 final re-review); the milestone merge to main stays halted until the extended prototype is approved at the REQ-62 gate. requirements: covered: [] partial: [REQ-67, REQ-68, REQ-62] ---/ci--- ROADMAP: P6 marked shipped-superseded; P7 (ask suggestions + refine dialogue) + P8 (final re-review) inserted; releases table extended (v0.1.7, v0.1.8). REQUIREMENTS: Ask Intelligence Extension section (REQ-67/68); traceability updated. PLAN.md: phase-7 waves with MVP/UX sections. Checkpoint: phase 7 execute.---ci--- phase: 7 milestone: v0.1 status: execute persona: frontend-engineer task: T-7.2 requirements: covered: [REQ-67, REQ-68] partial: [] ---/ci--- /ask restructured: AskView (client) owns question+context state; AskForm retired (its tests move to AskView; the 3-click test drives AskView — criterion green, suggestions/refine are opt-in). REQ-67 AskSuggestions: open questions from past runs as clickable cards (question + 'From your research — <report title>' attribution); click fills the question box for editing, never auto-submits; honest empty state ('they collect here as you run research'). REQ-68 RefineQuestionButton + RefineDrawer: disabled until a draft exists; inline drawer (dials-drawer pattern) shows the draft, asks the scripted clarifying questions one at a time (progress n/3, required scope vs skippable decision/depth, Enter submits), then previews the composed refined question + suggested context; Use this fills the form, Restart re-runs, Keep original / Escape leaves the draft untouched; honest 'scripted in the prototype' caption. Tests: 8 AskView suites (submit carry, suggestions render/join, click-fills-box no-auto-submit, refine open/compose/skip/keep/ escape) + 6 boundary; 3-click re-pinned on AskView. Gates: lint 0/0, typecheck, 86/86, build. README documents both affordances.