{
"$type": "site.standard.document",
"bskyPostRef": {
"cid": "bafyreibpjyx62kcoqibmss35qytb6yz5ic3b2dfoyyaj3ld4bfkx6bx55i",
"uri": "at://did:plc:kzt7sa3rmmhsgeipfzse4tnl/app.bsky.feed.post/3mmvfxbaztdn2"
},
"coverImage": {
"$type": "blob",
"ref": {
"$link": "bafkreieenkdd6ppfh54da6q67zdx25tz2h24aaye66nl2komqcbydlxz6a"
},
"mimeType": "image/png",
"size": 84590
},
"path": "/posts/2026-05-27-human-in-the-loop-agent-approvals-a-mastra-pattern/",
"publishedAt": "2026-05-27T04:00:00.000Z",
"site": "https://www.damiangalarza.com",
"textContent": "Prompt-based approval gates fail because the model decides whether to ask. Mastra's requireApproval primitive removes that decision entirely. Here's how to implement it.",
"title": "Human-in-the-Loop Agent Approvals: A Mastra Pattern"
}