Delegation & machine output
Gator/ERC-7710 delegation lifecycle with thirdfy-agent. Create, activate, preflight, run, and JSON automation.
Use thirdfy-agent delegation for Gator-compatible ERC-7710 authority. Alignment with runMode (self, hybrid, thirdfy, agent_wallet) is enforced server-side. See Delegation and protection.
Lifecycle (operator sequence)
1. Create
Returns an EIP-712 payload for the owner wallet to sign. Alias: delegation grant.
2. Activate
After the user signs in MetaMask or another supported wallet:
Persists the binding. Status becomes active when caveats and expiry are valid.
3. Inspect and balance
Use before live writes to confirm expiry, executor, and remaining period allowance.
4. Preflight and run
Preflight surfaces delegation, policy, and catalog blockers before execution.
5. Revoke or redeem
Revocation stops future authorizations. See Delegation and protection.
Run modes and delegation
runMode | Delegation |
|---|---|
thirdfy / hybrid | Active Gator binding required for delegated user capital |
agent_wallet | Agent-owned wallet. No user delegation binding. |
self | Local signer. Delegation optional depending on action. |
Machine output (--json)
Treat --json as the stable integration surface for scripts and CI:
- Parse fields defensively. Unknown keys may appear as the CLI evolves.
- Prefer exit codes plus structured
error/blockedReasonfields for automation. - Pair with REST Delegation API or MCP for non-shell agents.