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.
This commit is contained in:
1 parent
7a03e003a1
commit
d699b9afba
37 files changed
+509
-1021
No files matched your search
@@ -91,8 +91,6 @@ tasks:
|
||||
# Parallel UI checks must share one dependency install.
|
||||
run: once
|
||||
dir: ui
|
||||
env:
|
||||
OPENUI_TELEMETRY_DISABLED: "1"
|
||||
cmds:
|
||||
- npm ci --no-audit --no-fund
|
||||
|
||||
@@ -101,17 +99,8 @@ tasks:
|
||||
dir: ui
|
||||
deps: [ui:deps]
|
||||
cmds:
|
||||
- task: ui:prompt
|
||||
- npm run build
|
||||
|
||||
ui:prompt:
|
||||
desc: Generate the agent prompt for the dashboard's view components (committed; the Go build embeds it)
|
||||
deps: [ui:deps]
|
||||
env:
|
||||
OPENUI_TELEMETRY_DISABLED: "1"
|
||||
cmds:
|
||||
- node --experimental-strip-types ui/scripts/genui-prompt.ts internal/domain/genui/prompt.md
|
||||
|
||||
ui:check:
|
||||
desc: Rebuild the dashboard into a temporary directory and reject a stale ui/dist
|
||||
deps: [ui:deps]
|
||||
|
||||
Reference in new issue
Block a user