eda: workflow inputs, structured parameters, optional repository #463
Notifications
Due Date
No due date set.
Reference: sam/archie#463
Reference in new issue
Block a user
Workflow definitions declare inputs/outputs and repository: none|optional|required. Binding assigns inputs from mapped params or constants (checked at save); repo fixed or from a param. Inputs reach the agent as structured task-brief data, not body text; repository: none runs without a clone. Design: docs/prds/event-automation.md (Approved).
Close reason
Already shipped in
47fae672(feat(eda): workflow inputs, optional repository and agent profiles), an ancestor of main; the bead was left open when the lane merged. Workflow interface declares inputs + repository none|optional|required (internal/domain/workflow/task/interface.go); a binding assigns each input from a mapped parameter or a constant, checked at save (internal/domain/binding/inputs.go, internal/webui/api_binding.go) and again at dispatch (internal/daemon/binding_target.go); repository:none runs a per-task scratch workspace with no clone (internal/worktree/scratch.go, migration 0009_workflow_inputs.sql); inputs travel as structured task data (internal/container/pool.go TaskJSON.Inputs, task.Inputs). Declared workflow outputs are deliberately out of scope here and tracked by t2db.43. Verified on the current main tree: go test ./internal/domain/binding/... ./internal/domain/workflow/task/... ./internal/worktree/... ./internal/webui/... plus the daemon dispatch_inputs_test/scratch_task_test cases all pass. Not verified by me: the operator flow against a live daemon.Imported from beads
archie-core-t2db.38· GitHub #1036 · type task · priority P1 · created 2026-09-23 · closed 2026-09-29