From 0198724f14d0a4b87baf21893ccadbcaec8adf5d Mon Sep 17 00:00:00 2001 From: Sam Catlow Date: Tue, 22 Sep 2026 04:55:35 +1000 Subject: [PATCH] chore(release): archied v1.32.0 archie v1.32.0 --- CHANGELOG.archie.md | 12 ++++++++++++ CHANGELOG.archied.md | 25 +++++++++++++++++++++++++ 2 files changed, 37 insertions(+) diff --git a/CHANGELOG.archie.md b/CHANGELOG.archie.md index a49bbea57..b9899265e 100644 --- a/CHANGELOG.archie.md +++ b/CHANGELOG.archie.md @@ -1,5 +1,17 @@ # archie-agent changelog +## [1.32.0] - 2026-09-22 + +The sandboxed runtime links `storecontract` and `staterpc`, so it carries the dispatch-ledger +contract alongside archied: + +- The shared `store.ErrAlreadyDispatched` sentinel now describes both dedup ledgers -- + `binding_dispatches` per `(binding_id, capture_id)`, and `playbook_dispatches` per + `(playbook_id, playbook_version, event_id, action_id)`. Each is an at-most-once guarantee. +- `RecordPlaybookDispatch` is part of the store contract the runtime builds against. + +archied and archie-agent move together in this release. + ## [1.31.0] - 2026-09-22 The sandboxed runtime links the same shared packages as archied, so this diff --git a/CHANGELOG.archied.md b/CHANGELOG.archied.md index 79578b53a..0f6d95c20 100644 --- a/CHANGELOG.archied.md +++ b/CHANGELOG.archied.md @@ -1,5 +1,30 @@ # archied changelog +## [1.32.0] - 2026-09-22 + +### EDA: playbook action ids, and a dispatch idempotency ledger + +- **Action ids (J1).** Every action a later action references must now carry an `id`. Ids are + validated at load -- unique and stable-identifier-shaped -- and a `when`/`args` expression + naming an unknown `actions.` is a **load failure**, not a runtime miss, the same + reject-at-load rule already applied to a binding collision. +- **Reference classification is strict at load.** A map-index reference (`actions[expr]`), a + non-literal index, and a reference to an unknown prior id are all rejected when the playbook + loads; references are classified by identifier versus static access, and the when-compilation + helper is shared between the load-time and runtime paths. +- **Dispatch idempotency ledger.** A `playbook_dispatches` row records a dispatch against + `(playbook_id, playbook_version, event_id, action_id)`, written with `INSERT OR IGNORE` and + surfaced through the shared `store.ErrAlreadyDispatched` sentinel. Module, channel and forge + action positions are therefore at-most-once, which is what unblocks the side-effecting + positions that were previously rejected at load. +- **The ledger is wired into production.** `stateStoreDeps` constructs `Deps.PlaybookDispatcher`, + so the ledger RPCs no longer answer `Unavailable` in a running daemon. This defect was found + by the pre-release review of this change rather than by its tests. + +**Behaviour change:** a playbook whose actions reference `actions.` without declaring that +id, declare a duplicate id, or index `actions` with a non-literal value now fails to load +instead of failing at dispatch time. + ## [1.31.0] - 2026-09-22 ### Dashboard replaced: Preact -> Vue 3 + shadcn-vue