eda: thread Playbook ID and Version for idempotency-ledger keying (gap-2 prereq) #445
Notifications
Due Date
No due date set.
Depends on
Reference: sam/archie#445
Reference in new issue
Block a user
Prerequisite for the t2db.17 idempotency resolution. The shipped Playbook struct (internal/domain/eda/playbook/playbook.go) is {Trigger, Actions} with no ID and no Version, so a playbook_dispatches ledger keyed on (playbook_id, playbook_version, event_id) cannot be built. Add ID (stable path-relative identifier) and Version (content hash of the loaded file, recomputed on every load), both populated at load time. Mirror Binding.Version's purpose: pin dispatched-run provenance to the exact definition that was active when it fired.
Close reason
Verified landed: Playbook.ID (path-relative) and Playbook.Version (sha256 content hash) populated at load time.
Imported from beads
archie-core-t2db.21· GitHub #733 · type task · priority P2 · created 2026-09-04 · closed 2026-09-11