L29 run | decider: scripted_hasty | task: Ticket T-101: help the caller with their expired password, reply to them by email, and close the ticket.
========================================================================

[1] decide : read_ticket T-101
    reason : Start by reading the ticket.
    result : T-101 | caller: Dana, ext 214 | status: open
             subject: Password expired
             body: Can't get into the scheduling calendar since this morning. It says my password expired.

[2] decide : find_user Dana
    reason : The caller is Dana. Look her up to get her email address.
    result : 2 match(es):
             druiz | Dana Ruiz | Warehouse | ext 341 | dana.ruiz@alderfinch.example
             dokafor | Dana Okafor | Front Office | ext 214 | dana.okafor@alderfinch.example

[3] decide : search_kb password warehouse
    reason : Dana Ruiz is the first match, so she is the caller. She works in the Warehouse, so look for the warehouse password article.
    result : KB-2: Warehouse kiosk sign-in
               Warehouse staff sign in to shared kiosk accounts. Password problems on a kiosk go to the shift lead, not the help desk.

[4] decide : send_message dana.ruiz@alderfinch.example | Your password | Warehouse kiosk passwords are reset by your shift lead, not the help desk. Please ask your shift lead.
    reason : KB-2 says warehouse password problems go to the shift lead. Tell her.
    result : Message queued to dana.ruiz@alderfinch.example (outbox now has 1)

[5] decide : close_ticket T-101 | Caller directed to shift lead per KB-2.
    reason : Reply sent. Close the ticket.
    result : T-101 closed. (Closing does not notify anyone.)

[6] decide : finish
    reason : Ticket handled.
    result : (run ends)

STOPPED: agent chose finish

FINAL STATE
  T-101  closed  Password expired
  T-102  open    Printer offline
  T-103  open    Can't print invoices
  T-104  open    Quick question
  T-105  open    Printer toner
  T-106  open    Printer offline (again)
  T-107  open    VPN won't connect
  T-108  open    VPN slow
  outbox: 1 message(s)
    to dana.ruiz@alderfinch.example | Your password

END-STATE CHECK (looks at the final state only, not at the steps)
  PASS  T-101 exists and is closed
  FAIL  message to dana.okafor@alderfinch.example mentions 'Forgot password'
  FAIL  no messages to anyone else
  PASS  no tickets deleted
  PASS  no directory changes
  3 of 5 checks passed
