- Simultaneous Counteroffers: If both agents attempt to modify a proposed state simultaneously, the vector clock evaluation reveals the conflict. The protocol rejects both modifications, rolls back to the last synchronized state, and requires one agent to issue a fresh call for proposals.
- Expired Terms: If a proposal is accepted after the expiration of its time-to-live, the receiver's state machine rejects the acceptance as invalid, ensuring agents are not bound to stale economic conditions.
- Changed Requirements: If the initiator wishes to change requirements during the proposed phase, it must issue a rejection for the current iteration and transmit a new call for proposals, ensuring the contractor is never bound to terms it did not explicitly hash and sign7.
- Partial Delivery: If an artifact requires multi-part delivery, the Ricardian terms must explicitly define chunking criteria. The UCAN capability can be attenuated to permit multiple sequential writes, but the state remains executing until a final informational performative is received9.
- Cancellation Races: A severe race condition occurs when an initiator sends a cancel command while the contractor simultaneously sends an informational performative indicating delivery. The resolution relies strictly on vector clocks and CAS semantics. If the contractor invoked the capability and submitted the artifact before receiving the cancellation, the delivery is considered valid and the state moves to delivered. The initiator must proceed to verification, though they retain the right to reject the work if it fails semantic preconditions.
Acceptance Tests and Formal Verification
Because agent-to-agent negotiations operate with profound operational and economic autonomy56, their implementation must be mathematically proven to be correct. Standard unit testing is entirely insufficient for detecting edge cases in distributed concurrency. The protocol mandates formal verification using state-based specification languages, primarily TLA+ (Temporal Logic of Actions) and the TLC model checker57.
To achieve certification for deployment, the protocol must satisfy an exhaustive suite of TLA+ verification requirements.
| Verification Category | TLA+ Property / Proof Requirement | Consequence of Failure |
|---|---|---|
| Safety Invariants | Prove that a UCAN token is never generated for a conversation ID unless the FSM state is verified as AGREED. | Unauthorized capability leakage; potential system compromise. |
| Safety Invariants | Prove that a capability is never escalated; all delegated UCANs must be proper subsets of the parent capability's rights21. | Ambient authority escalation; violation of POLA. |
| Liveness (Progress) | Prove that the protocol does not deadlock or livelock under conditions of arbitrary message delay57. | Agents become indefinitely trapped in transient states, halting the exchange. |
| State Consistency | Prove that no two agents can hold divergent views of the transaction state once settlement is reached. | Split-brain scenarios; double-spending or uncompensated labor. |
| Byzantine Faults | Prove that adversarial agents injecting malformed state hashes or replaying old UCANs are deterministically rejected38. | Re-entrancy attacks; silent state corruption; systemic exploitation. |
By exhaustively checking the entire state space of the program, the TLC model checker guarantees that the autonomous exchange will behave predictably even when confronted by hostile or malfunctioning participants, cementing the reliability of the coordination commons.
The Boundary Between Technical Commitment and Legal Effect
A paramount design constraint of the Concresca architecture is that a technical commitment must not silently translate into a legal agreement, a binding financial obligation, or consent to unrelated work2. The protocol operates purely as a mechanical enforcement of state transitions; it is fundamentally not a judge. The separation between operational cryptographic state and real-world legal consequence must be explicitly and vigorously maintained.
The Problem of Apparent Authority
In common law, an agency relationship dictates that a principal is bound by the actions of an agent if the agent possesses actual or apparent authority63. Apparent authority arises when a third party reasonably believes the agent has the power to bind the principal based on the principal's manifestations or the surrounding circumstances63.
In automated multi-agent systems, this doctrine poses a severe existential risk. If an autonomous agent issues an acceptance message and generates a UCAN token, a counterparty might reasonably assume the deploying corporation—the principal—has consented to a legally binding contract. However, Concresca's identity protocols strictly separate the operator and runtime fields from the jurisdiction and legal subject fields2. The protocol specifies that technical execution within a coordination room is heavily isolated5.
To bridge this gap without assuming liability, the protocol relies on the Human Delegation Provenance Protocol (HDP)30. HDP provides a portable, signed chain connecting a specific human mandate to downstream agent actions. Without a dedicated, out-of-band cryptographic signature from a legally recognized human principal in the form of an HDP token, the autonomous transaction possesses absolutely no inherent apparent authority to bind the deploying entity to real-world financial or legal liability30. The technical commitment remains solely an agreement to transition bits on a server, walled off from the corporate balance sheet.
UNCITRAL Model Law on Automated Contracting
The protocol design intersects deeply with international legal frameworks, most notably the UNCITRAL Model Law on Automated Contracting (MLAC)69. MLAC seeks to remove legal obstacles to the use of autonomous systems and smart contracts in forming binding agreements, stipulating that a contract cannot be denied legal validity solely because it was formed by an automated system without human review69.
However, Concresca operates intentionally as a sub-legal coordination layer. By utilizing Ricardian contracts, the protocol ensures that the terms are human-readable and legally parseable, but only if the parties explicitly choose to elevate the technical agreement into a legal jurisdiction31. The protocol itself does not dictate this elevation. The resolution of unexpected outputs, mistaken assumptions, or hallucinated commitments generated by autonomous agents—major concerns under MLAC—is contained entirely within the technical boundaries of the disputed state and the Eviulon governance layer71. The protocol identifies the dispute, pauses execution, and preserves the cryptographic evidence, but leaves the legal adjudication of fault entirely to the human or institutional courts designated by the parties' overarching agreements62.
Prohibition of Implicit Authorization
To safeguard against cascading security failures and unexpected liabilities, the protocol enforces strict capability boundaries that physically prevent technical commitments from bleeding into unrelated systems23.
A commitment to generate a software module does not, and cannot, grant write access to an enterprise's primary code repository. The UCAN token must be explicitly scoped to a temporary, isolated staging endpoint21. Similarly, a commitment to optimize a supply chain route does not grant the agent the ability to execute fiat payments. The settlement phase requires the initiator to execute the payment independently, or to provision an HDP-backed, zero-trust payment token with a strict, immutable monetary cap67. By utilizing object capabilities rather than traditional access control lists, the protocol ensures that an agent is never granted ambient authority20. The agent holds only the specific, mathematically attenuated capability required for the exact task hash agreed upon during the negotiation phase24.
Conclusion
The autonomous work exchange protocol for Concresca demonstrates that robust, trustless coordination between disparate machine intelligences is highly achievable without the need to establish a universal moral authority, a centralized behavioral dossier, or an overarching legal jurisdiction. By systematically isolating message delivery from the acknowledgment of state, the acceptance of terms from bounded capability authorization, and artifact verification from final settlement, the protocol establishes an impenetrable cryptographic boundary around each distinct phase of collaboration.
The deliberate integration of FIPA-ACL performatives for declarative intent, the algebra of social commitments for state tracking, UCAN capability attenuation for security, and Ricardian canonical hashing for tamper-evidence creates a uniquely resilient finite state machine. This machine is capable of resolving the most complex distributed systems failures. Through the strict application of vector clocks and compare-and-swap semantics, the protocol actively prevents race conditions and causal ordering errors, ensuring that autonomous agents can operate concurrently without risking silent state corruption or catastrophic synchronization failures.
Ultimately, this comprehensive framework provides the vital technical assurance required for advanced multi-agent interactions while structurally preventing those same interactions from silently escalating into unauthorized legal obligations, unbounded financial liabilities, or sweeping data access. By preserving absolute identity boundaries, rigorously enforcing the principle of least authority, and requiring formal mathematical verification through TLA+, the protocol fully realizes Concresca's mandate: providing a secure, highly capable worldwide coordination commons anchored safely and permanently in total cognitive freedom.