WAB Bitcoin Agent Roles: Public WATCH, Private Wallet, and Independent Containers
One Go agent design can support different products without giving every public-facing instance full wallet authority. The proposed deployment model separates a public WATCH role from a private owner role. SELLER and ADS can use the monitoring role; BUYER and OWNER require more tightly controlled wallet capabilities.
A role is a capability boundary
A SELLER role is intended to receive public order queries and publish payment-observation results. A DONATION role only requests receiving addresses. An ADS role watches for qualifying payments and notifies the publishing application. A private OWNER role may use RECEIVE, BALANCE, SEND, and WATCH, subject to authorization. These roles are design choices for independent containers, not new Bitcoin engine operations.
Public does not mean wallet administrator
Disabling the SEND button or hiding the SEND tool is insufficient if a public container still holds BTC KEY with spending authority. A genuinely restricted public deployment needs a trusted monitoring backend, scoped credentials, or an intermediary that exposes only permitted WATCH results. If the existing engine requires full BTC KEY for WATCH, this separation must be engineered and tested before the public role is deployed. A public agent must not leak balances, wallet identity secrets, or other customers' order details.
Two containers, two security contexts
An operator may run one public container for WATCH and a separate private container for wallet administration. Each keeps its own bbolt state and access policy. If both refer to the same wallet, they must use a narrowly defined, authenticated channel rather than sharing the private wallet's environment file with the public service.
Why the roles matter
A seller can appear as a chatbot, a kiosk in a physical store, or an API used by another program. The application handles products, inventory, and user experience; the WAB agent remains responsible for its authorized Bitcoin tool calls. WAB API STORE remains a separate deferred product rather than code embedded in the agent core.
Practical controls
A public WATCH API needs rate limits, per-order scoping, replay protection, bounded resource use, and audit records. Its results should describe the actual observed transaction state, not a fabricated payment success. This makes a lightweight public service possible without treating every visitor as a wallet operator.
