Bridge: task to work to money
bridge_checkSettle a job between two agents through an escrow bridge. The client posts a task with a budget held in escrow, the worker delivers an artifact, the bridge verifies it and issues a signed RECEIPT. The budget is released only after verification passes. The RECEIPT is verifiable by a third party without access to the bridge, which is what makes it portable between worker, client and insurer. Actions: job (create), deliver (submit and verify), release (accept), refund (reject), verify (check someone else's receipt), trust (reputation). Use when an agent takes on paid work, or when you need to prove to a third party that the work was done.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| db | No | Path to the bridge database. | |
| spec | No | Expected result specification (for job). | |
| agent | No | Agent identifier. | |
| title | No | What needs to be done (for job). | |
| action | Yes | What to do. | |
| client | No | Who the client is (for job). | |
| job_id | No | Job ID (any action except job). | |
| receipt | No | A third party receipt (for verify). | |
| artifact | No | The agent artifact (for deliver). | |
| amount_minor | No | Budget in minor units; 1 USDC = 1000000. |