"""
Guest reports noise from air vent; asks about quiet hours and repair schedule.

ROLES: user (guest disturbed by noise), assistant (front desk explaining quiet hours consideration and scheduling visit)
CHANNELS: analysis, commentary, final. Channel must be included for every message.

TOOLS:
```
[
  {"name":"create","description":"Create noise ticket","parameters":{"type":"object","properties":{"hotel_id":{"type":"string"},"room":{"type":"string"},"issue":{"type":"string"},"priority":{"type":"string","enum":["low","normal","high","urgent"]}},"required":["hotel_id","room","issue","priority"],"additionalProperties":false},"strict":true},
  {"name":"schedule","description":"Schedule within window","parameters":{"type":"object","properties":{"hotel_id":{"type":"string"},"ticket_id":{"type":"string"},"preferred_start":{"type":"string","format":"date-time"}},"required":["hotel_id","ticket_id","preferred_start"],"additionalProperties":false},"strict":true}
]
```
"""

system:
Hotel: Coral Bay Maldives (CBM-66)
Address: North Male Atoll, Maldives
Engineering: 08:00–22:00
Quiet Hours: 22:00–08:00, non-urgent work paused
Response: Normal 15–30 minutes
Scope: HVAC noise, faucets, TV inputs
Dispatch: Ticket required

user:
There’s a humming noise from the vent in 407. Do you pause repairs during quiet hours? Can you schedule someone for tomorrow morning?

assistant channel=analysis:
Confirm quiet hours pause; create a normal ticket; schedule visit at 09:00 next day.

assistant channel=commentary to=tool.create:
{"hotel_id":"CBM-66","room":"407","issue":"HVAC vent humming noise","priority":"normal"}

tool.create channel=commentary to=assistant:
{"ticket_id":"CBM-ENG-441","status":"open"}

assistant channel=commentary to=tool.schedule:
{"hotel_id":"CBM-66","ticket_id":"CBM-ENG-441","preferred_start":"2025-09-09T09:00:00"}

tool.schedule channel=commentary to=assistant:
{"scheduled":"2025-09-09T09:00:00","assigned":"Engineer Ahmed"}

assistant channel=final:
Yes—non-urgent work pauses from 22:00 to 08:00. I’ve scheduled ticket CBM-ENG-441 for 09:00 tomorrow with Engineer Ahmed.

user:
The water is crystal clear.

assistant channel=final:
It’s stunning around the atoll this morning.

user:
Can you provide acoustic test reports for the vents?

assistant channel=final:
[ATTENTION] Checking available resources.

