The wallet rule

Partner writes run only on user-owned agent wallets, after the owner signs your protocol into the wallet policy. Reads work everywhere.

A protocol reaches an agent's funds only under a policy its owner signed. This rule decides who can use your writes.

The rule

  • Reads from any listed protocol work for every agent.
  • Writes from a partner protocol run only on user-owned agent wallets, and only after the owner has signed your protocol into the wallet's policy.
  • Other wallets keep their coded actions. On any wallet that is not user-owned (an older agent wallet, or one Thirdfy fenced to its owner) a partner write is refused before anything is signed or charged, with the error MANIFEST_APP_REQUIRES_USER_OWNED_WALLET. Nothing changes for those wallets and nothing is migrated.

Why

A user-owned wallet enforces its limits in a wallet policy that the owner controls. Your contracts and functions, the pinned recipients, the value caps and exact-amount approvals become rules in that policy. The policy, not Thirdfy's code, is what stops a call outside them. Those other wallets have no such policy, so a protocol that is not in Thirdfy's own code cannot be fenced there.

How an owner turns your protocol on

  1. The owner has an agent on a user-owned wallet.
  2. The owner signs a policy update that adds your protocol (app:<appId>) once. The wallet policy now allows exactly your declared contracts, functions and pins.
  3. Until then a write is refused before signing with AGENT_POLICY_UPDATE_REQUIRED.

This holds for erc4626_self writes too: the rule allows your own vault only, never any ERC-4626 vault.

In Command it is one card. When an agent's order needs your protocol and the owner hasn't set it up, the preview answers OWNER_SETUP_REQUIRED with what to allow (every write of the app, its exits included) and whether a policy update is needed. Command shows that as one setup card: what will be allowed (caps and the exits that close a position), the chain and contracts, and Allow and sign. It allows the actions, has the owner sign the wallet policy update, then asks the agent to preview the order again.

Before every write

Thirdfy decodes the calls it built against your manifest, independent of the builder: approvals first, then the call, the declared contract and function, pinned inputs equal to the wallet, approvals only to the declared spender and within the requested amount, and value within the cap. A mismatch fails and nothing is signed.

What this means for you

  • Plan for the owners who have user-owned wallets. Agents an owner creates on Thirdfy (in Command, New agent or when connecting an app) and on EarnOrg get user-owned wallets by default; some older agents keep their earlier wallets.
  • Reads reach everyone, so a read listing is the widest start.
  • A write listing needs fixtureParams, an exit for every opening write, and passing Gate A and Gate B before it is enabled.

More wallet types will follow, always under the same rule: an owner-signed policy, or a transaction the owner signs.

See List your protocol and the reference.