{
  "$schema": "https://farmslot.io/schemas/recipe-v1.schema.json",
  "title": "MetaMask Extension wallet smoke",
  "description": "Fixture-backed proof that the Extension wallet is reachable, unlocked, readable, and visually capturable without depending on a product feature domain.",
  "workflow": {
    "entry": "status",
    "nodes": {
      "status": {
        "action": "app.status",
        "next": "fixture",
        "intent": "Confirm the Extension runtime is reachable"
      },
      "fixture": {
        "action": "metamask.wallet.fixture_status",
        "next": "unlock",
        "intent": "Confirm the checkout wallet fixture is ready"
      },
      "unlock": {
        "action": "metamask.wallet.ensure_unlocked",
        "next": "state",
        "intent": "Ensure the fixture-backed wallet is unlocked"
      },
      "state": {
        "action": "metamask.wallet.read_state",
        "next": "screenshot",
        "intent": "Read the current wallet state through the public adapter"
      },
      "screenshot": {
        "action": "ui.screenshot",
        "path": "screenshots/wallet-smoke.png",
        "next": "done",
        "intent": "Record the visible wallet state as evidence"
      },
      "done": {
        "action": "end",
        "status": "pass"
      }
    }
  }
}
