Repository navigation
Owner approvals: the agent that asked learns by itself that the owner signed, so the owner never goes back to say
"I signed". Gateway and clients; the page and the iOS app are unchanged.
- The gateway wakes the bot that asked. Every command that makes an approval link (
approval setup,request,
for,message,remove) in a data home that holds a Friends bot's binding registers that bot for the link
(POST /v1/approval-drops/{id}/watch, native binding credential, one bot per link). When the owner's device
writes the answer, the bot's connector is woken at once (yobiru.approval, phaseapproval, the link's id only;
{approval_ref}for--exec), recorded in the same intent and result ledger as a job; without an online
connector the hosted wake calls the bot's webhook withyobiru.approvalandapproval_refs. Nothing about the
request travels: the agent reads the link and checks the signature itself. - Waiting returns the moment the owner answers.
GET /v1/approval-drops/{id}?wait=N(up to 30 seconds) holds
the read until the answer is written;approval waitandguard waituse it,guard waitwaits until the
request expires by default, and both stop withexpiredonce the link has run out. Link commands printwakes,
wait_in_background(approval wait REF --timeout 86400),thenandtell_owner; skills and MCP tools tell
agents to wait in the background and never ask the owner to report back. - A message from the owner's other bot.
approval for MSGon a message from another bot of the same owner does
not wake this bot: the other bot adopts the link (approval wait LINK), is woken when the owner answers and its
nextsays to tell this bot in one message; this bot then checks withapproval get MSGand answers with the
result. A blocked tailnet request's link is adopted by the sender the same way.