Commit Graph
8 Commits
Author SHA1 Message Date
sam 3915441cdf feat(workflow): approve a PRD as one structured document
The prd step returns the PRD as structured fields and human.approve takes
them as its document. The plan text every surface reads and the approval
card's layout are both rendered from that one document, so what the human
approves is what the implement workflow is handed. Replaces the separately
generated OpenUI view, which could drift from the plan.
2026-10-25 16:53:17 +11:00
sam cf2942c97a feat(workflow): render a PRD's generated view on the plan approval card
agent.run gains views: the agent may return an OpenUI Lang view of its
answer through an optional view tool, read as steps.<id>.view. human.approve
stores it as the task's plan_view, and the approval card renders it with
the dashboard's own components, falling back to the plan text when there
is no view or it does not parse. The feasibility prd step uses it.
2026-10-25 16:33:04 +11:00
sam d6c631e998 fix(ui): centre the plan in the approval card 2026-10-25 00:50:16 +11:00
sam 885c377863 fix(ui): put the approval card in the task page's main column 2026-10-25 00:46:18 +11:00
sam bda360a497 fix(ui): size the approval card to its text so the answers sit beside it 2026-10-25 00:38:02 +11:00
sam eb124a90ee fix(ui): hold the plan to a readable line length 2026-10-25 00:36:45 +11:00
sam 0195e58ac8 fix(ui): plain text for the plan's title on the approval card 2026-10-25 00:17:27 +11:00
sam 4b0cd45c00 fix(ui): approve a plan from a card that holds the plan and both answers 2026-10-25 00:16:10 +11:00