Dashboard work-request form cannot name workflow inputs #1

Closed
opened 2026-10-27 13:34:12 +00:00 by sam · 0 comments
Owner

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

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_
sam self-assigned this 2026-10-27 13:34:12 +00:00
sam closed this issue 2026-10-27 13:34:12 +00:00
sam added the mediumtask labels 2026-11-12 15:51:27 +00:00
sam added a new dependency 2026-11-14 14:45:17 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Blocks
Reference: sam/archie#1