New-task form and work-request API honour the workflow's repository mode #332
Notifications
Due Date
No due date set.
Blocks
Reference: sam/archie#332
Reference in new issue
Block a user
Goal
Choosing a workflow whose repository is optional or none relaxes the repository field, and POST /api/work-requests accepts none.
Evidence
Work-request handler rejects an empty repository; ui/src/tasks/NewTaskForm.vue:111 marks it required.
Rules
Read CLAUDE.md. Do only what the Goal and Stop when need. File anything else you notice as a bead; do not fix it. Run
task checkonce at the end; if it fails twice on the same problem, comment on this bead and stop.Stop when
Then commit (Conventional Commits, scoped by package),
bd closethis bead and stop.Close reason
work requests were unwired since the UI split (WorkRequests never set, always 503); now enqueued via the State Store, repository checked against the workflow's mode and configured repos; form hides/relaxes the field by mode, verified with Playwright
Imported from beads
archie-core-l8rc.4· GitHub #1262 · type feature · priority P1 · created 2026-10-05 · closed 2026-10-05