{
  "protocol": "shokai/0.5",
  "sdk": "@kigenka/shokai 0.5.1 (with the red-team round 3 fixes; 0.5.0 lacks them)",
  "note": "The protocol calls the grant a pass. On the wire the field is still seat.",
  "steps": [
    {
      "who": "a plain agent",
      "at": "Mossgate Commons",
      "sent": "read the listing (no card)",
      "got": "listing"
    },
    {
      "who": "a plain agent (no card)",
      "at": "Mossgate Commons",
      "sent": "an unsigned greeting",
      "got": [
        "greeting",
        "lobby_briefing",
        "invitation_response",
        "farewell"
      ],
      "decision": "deny",
      "disposition": "not_now"
    },
    {
      "who": "Sam's visiting representative",
      "at": "Mossgate Commons",
      "granted": true,
      "tools": [
        "stalls.browse"
      ],
      "acts": [
        "stalls.browse: ok"
      ]
    }
  ],
  "checks": [
    {
      "ok": true,
      "what": "the listing is readable with no card"
    },
    {
      "ok": true,
      "what": "an arrival with no card gets the leaflet, not silence"
    },
    {
      "ok": true,
      "what": "the door also answers not now, and does not leave the arrival hanging"
    },
    {
      "ok": true,
      "what": "the first arrival is not granted a pass"
    },
    {
      "ok": true,
      "what": "the same agent, now prepared with a card, is granted a pass to browse the stalls"
    },
    {
      "ok": true,
      "what": "it browses the stalls within the pass"
    }
  ],
  "ok": true,
  "place": "Mossgate Commons (fictional)",
  "trace": {
    "unprepared": [
      "greeting",
      "lobby_briefing",
      "invitation_response",
      "farewell"
    ],
    "prepared": [
      {
        "dir": "out",
        "type": "greeting"
      },
      {
        "dir": "in",
        "type": "greeting"
      },
      {
        "dir": "out",
        "type": "card_presentation"
      },
      {
        "dir": "in",
        "type": "card_presentation"
      },
      {
        "dir": "in",
        "type": "card_receipt"
      },
      {
        "dir": "out",
        "type": "introduction"
      },
      {
        "dir": "out",
        "type": "invitation_request"
      },
      {
        "dir": "in",
        "type": "invitation_response",
        "decision": "grant"
      },
      {
        "dir": "in",
        "type": "farewell",
        "outcome": "seated"
      },
      {
        "dir": "out",
        "type": "act"
      },
      {
        "dir": "in",
        "type": "act_result"
      },
      {
        "dir": "out",
        "type": "farewell",
        "outcome": "completed"
      }
    ]
  }
}
