Expand description
§35.14: standard protocol fragments — battle-tested handler sets
for common agent interaction patterns. Merge into a program with
apply_fragment; the program’s own handlers win on trigger clash.
Fragments here are compiled Rust (not .aclp) because they are
polymorphic over the host program’s roles.
Functions§
- apply_
fragment - merge fragment handlers into a program, skipping exact duplicates
- deadline_
escalation - escalate to the counterpart when a commitment nears expiry:
every <warn_ms> -> send progress to <other> - double_
confirmation - require a second confirmation before
begin: anacceptonly activates the commitment when aconfirmflag was set by a priorinform. - lookup
- register a fragment under a name