name: "Smoke Test"
description: "Quick E2E: connect, DM a user, send a message, check history"
variables:
  recipient: "bob"

steps:
  - command: dm
    args:
      username: "$recipient"

  - command: send
    args:
      text: "Hello from playbook smoke test!"

  - command: wait
    args:
      duration_ms: 500

  - command: history
    args:
      count: 5

  - command: assert
    condition: message_count
    op: gte
    value: 1
