Dashboard work-request form cannot name workflow inputs #1
Notifications
Due Date
No due date set.
Blocks
#1218 PR review agent
sam/archie
Reference: sam/archie#1
Reference in new issue
Block a user
POST /api/work-requests (internal/webui/api_workflows.go) builds messaging.SpawnRequest with identity/repo/workflow/title/instructions only, so it cannot supply a workflow's declared inputs. hasWorkflow accepts pr-review, so the form will happily create a pr-review task with no pr_number, which then fails at stagePRIntake.
The enqueue path now carries inputs (SpawnRequest.Inputs -> EnqueueChatTaskRequest.inputs_json), so only the HTTP handler and the form are missing. handleWorkflowRequest already projects each definition's declared inputs (task.ParseWorkflowInterface), which is what the form would render.
The PRD's operator trigger is 'a PR URL from the dashboard or chat'; chat is wired (archie-core-afbk.14), the dashboard half is not.
Close reason
Closed
Imported from beads
archie-core-06nq· GitHub #1471 · type task · priority P2 · created 2026-09-28 · closed 2026-09-29