eda: lint eda_playbook_dir playbooks through archie-playbooks #458

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

cmd/archie-playbooks lint runs only the routing loaders (workflow.LoadPlaybookDirs and the two single-file loaders). EDA playbooks under eda_playbook_dir are validated by internal/domain/eda/playbook.Load (CEL compile, action ids, args) only at daemon startup, so a playbook that the daemon refuses passes lint. Add a lint mode or flag that runs playbook.Load against a directory with the same schemas the daemon uses. Found while fixing t2db.29 item 4; the PRD now states the gap.

Close reason

Shipped. cmd/archie-playbooks lint takes -eda-dir and validates EDA playbooks through playbook.Load via archieplaybooks.LintEDA, alongside the routing loaders. Verified: go test ./cmd/archie-playbooks/... ./internal/app/archieplaybooks/... passes (lint_eda_test.go).


Imported from beads archie-core-t2db.33 · GitHub #1090 · type task · priority P2 · created 2026-09-23 · closed 2026-09-29

cmd/archie-playbooks lint runs only the routing loaders (workflow.LoadPlaybookDirs and the two single-file loaders). EDA playbooks under eda_playbook_dir are validated by internal/domain/eda/playbook.Load (CEL compile, action ids, args) only at daemon startup, so a playbook that the daemon refuses passes lint. Add a lint mode or flag that runs playbook.Load against a directory with the same schemas the daemon uses. Found while fixing t2db.29 item 4; the PRD now states the gap. ### Close reason Shipped. cmd/archie-playbooks lint takes -eda-dir and validates EDA playbooks through playbook.Load via archieplaybooks.LintEDA, alongside the routing loaders. Verified: go test ./cmd/archie-playbooks/... ./internal/app/archieplaybooks/... passes (lint_eda_test.go). --- _Imported from beads `archie-core-t2db.33` · GitHub #1090 · type task · priority P2 · created 2026-09-23 · closed 2026-09-29_
sam added the mediumtask labels 2026-10-27 13:36:24 +00:00
sam self-assigned this 2026-10-27 13:36:25 +00:00
sam closed this issue 2026-10-27 13:36:25 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sam/archie#458