fix: dispatch guard and Defect-safe rollback (#32)
A readable intent that fails in handling now always gets exactly one ack: the new static internal code, unless the handler's own ack was already enqueued. Both transaction helpers roll back on every unwind path, Defect included, so the shared SQLite connection never keeps an open transaction. Test-only dispfault build covers catchable/defect/after-ack; DESIGN 6.5 records internal as an owner decision and 6.2 names refusal codes as additive.
This commit is contained in:
@@ -58,6 +58,9 @@ const
|
||||
CodeInUse* = "in-use"
|
||||
CodeNoRules* = "no-rules"
|
||||
CodeMalformed* = "malformed"
|
||||
CodeInternal* = "internal"
|
||||
## #32: the server failed while handling a readable intent; nothing was applied. Static, no
|
||||
## detail (DESIGN 6.5).
|
||||
|
||||
# The complete M3 intent catalogue (DESIGN 6.1: 29 intents). A name in here but not yet built
|
||||
# by its slice still gets exactly one ack; see `isImplementedIntent`.
|
||||
|
||||
Reference in New Issue
Block a user