workflow: make kind-to-workflow routing YAML-overridable #477

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

First slice of the EDA playbook engine (docs/prds/eda-playbook-engine.md): make workflow/routing.go's kindWorkflows map overridable from an optional YAML file, so which workflow runs for an intake Kind is data instead of a Go literal. labelKinds/NATS subjects are explicitly out of scope for this slice (closed subject-per-kind question deferred).

Acceptance criteria

Route() accepts an optional KindWorkflows override; a YAML file with the same shape as the built-in map overrides it; absent file/nil override falls back to today's hardcoded defaults unchanged; config gains an optional path field; task check passes.

Close reason

Verified landed: workflow.LoadKindWorkflowsYAML + cfg.WorkflowRoutingFile, called from boot.loadWorkflowRouting.


Imported from beads archie-core-t2db.9 · GitHub #702 · type task · priority P2 · created 2026-09-02 · closed 2026-09-11

First slice of the EDA playbook engine (docs/prds/eda-playbook-engine.md): make workflow/routing.go's kindWorkflows map overridable from an optional YAML file, so which workflow runs for an intake Kind is data instead of a Go literal. labelKinds/NATS subjects are explicitly out of scope for this slice (closed subject-per-kind question deferred). ### Acceptance criteria Route() accepts an optional KindWorkflows override; a YAML file with the same shape as the built-in map overrides it; absent file/nil override falls back to today's hardcoded defaults unchanged; config gains an optional path field; task check passes. ### Close reason Verified landed: workflow.LoadKindWorkflowsYAML + cfg.WorkflowRoutingFile, called from boot.loadWorkflowRouting. --- _Imported from beads `archie-core-t2db.9` · GitHub #702 · type task · priority P2 · created 2026-09-02 · closed 2026-09-11_
sam added the mediumtask labels 2026-10-27 13:36:29 +00:00
sam self-assigned this 2026-10-27 13:36:29 +00:00
sam closed this issue 2026-10-27 13:36:29 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sam/archie#477