You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add a [Stress Test] button to the PRD page that triggers the stress-test pipeline and streams progress back to the browser.
Background
The CLI has cf prd stress-test for recursive decomposition — it surfaces ambiguities the agent cannot resolve without human input. Web-only users never see this step, skipping the most valuable part of the THINK phase.
Scope
[Stress Test] button on the PRD page, enabled only when a PRD exists
Clicking opens a modal or side panel with a streaming progress view (SSE or WebSocket)
Backend: expose POST /api/v2/prd/stress-test that runs the existing cf prd stress-test core logic and streams intermediate results (decomposition steps)
Loading/streaming state: show "Analyzing PRD..." with a spinner and incremental output lines as they arrive
Goal
Add a [Stress Test] button to the PRD page that triggers the stress-test pipeline and streams progress back to the browser.
Background
The CLI has
cf prd stress-testfor recursive decomposition — it surfaces ambiguities the agent cannot resolve without human input. Web-only users never see this step, skipping the most valuable part of the THINK phase.Scope
POST /api/v2/prd/stress-testthat runs the existingcf prd stress-testcore logic and streams intermediate results (decomposition steps)Out of scope
Acceptance criteria
npm testanduv run pytestpass