275b0c142f432a58675d037cfdc293f9762cb428
Drafted for archie-core-t2db.17 (idempotency) and .18 (mid-run failure), following the same evidence-then-sign-off process the CEL resolution used -- explicitly marked PROPOSED, not decided, pending Sam's approval. Every claim checked against the real shipped code during drafting, not assumed, catching two wrong assumptions before they landed: - Gap 1 (mid-run failure): proposes reusing workflow.Run's existing three-way distinction (real error -> stop+report; shutdown interruption -> not a failure; no-outcome -> definition-bug parked) rather than inventing new semantics. States the producer-only boundary and the J3 (condition-error) vs action-failure distinction explicitly, and states plainly that rollback is not attempted. - Gap 2 (idempotency): proposes reusing internal/store/bindings.go's binding_dispatches at-most-once ledger shape (INSERT OR IGNORE + sentinel error) rather than a new mechanism. Caught two real gaps while drafting, both stated honestly rather than glossed over: (1) t2db.15's shipped Playbook struct has no ID/Version to key a ledger on -- Binding gets its identity from being a DB row, a playbook is just a loaded file; (2) DispatchInput is a task-label trigger (same vocabulary as workflow.Route()), NOT a webhook-capture trigger -- captured_events.id, the first instinct, does not apply to what shipped, and DispatchInput doesn't yet carry any task identity to key on either. Both are named as concrete prerequisites for whoever implements this, not silently assumed solved. Not marked as settled -- the status lines say "awaiting Sam's sign-off" explicitly, matching the process this doc already used for the CEL decision.
Description
Archie connects events from your systems to agents that can investigate, reason, and act.
Define what an event means, map its data into a workflow, and give that workflow an agent equipped for the job: its own execution environment, tools, and identity.
https://archie.catlow.cloud
132 MiB
0 Stars
1 Watchers
0 Forks
Releases
11
Archie v1.62.0
Latest
Languages
Go
76.7%
Vue
13.1%
TypeScript
7.8%
JavaScript
1.2%
Shell
0.6%
Other
0.4%