#265 · Ticket past SLA · Vantage Point
done Fri 08:45 · ticket 5354
Ledger row
policy v2
policy v2
- The call
- POST /tickets/5354/dispatch vendor=61 (replaces)
- Action, tier
- reassign_vendor, tier 1
- Decided by
- rules: Vendor 67 did not attend inside the SLA; send the next panel vendor and tell the building manager.
- Controller
- Allowed: reassign_vendor is tier 1 (do it and tell); within budget (0 of 6 actions at building 63 this hour).authorityconditionscooldownbudget
- Definition
- ticket_sla_breach v1
- At stake
- urgent ticket, -2 min to the SLA's end
- Outcome
- Ticket 5354: vendor 61 dispatched.
- Undo
- Put the first vendor back on the ticket.
Undo
Restores the before-snapshot below and writes a new row.
Evidence
{
"amount_at_risk": null,
"assigned_at": "2026-10-29 17:16:52.794661",
"building": "Vantage Point",
"building_id": 63,
"candidate_vendor_ids": [
61,
81,
82
],
"category": "common_light",
"currency": null,
"due_at": "2026-10-30 08:43:34.396062",
"manager_id": 17,
"minutes_to_due": -2,
"mode": "no_show",
"opened_at": "2026-10-29 08:43:34.396062",
"priority": "urgent",
"source": "tenant_app",
"stake_note": "urgent ticket, -2 min to the SLA's end",
"started_at": "2026-10-30T08:43:34.396062",
"summary": "Hallway light out",
"ticket_id": 5354,
"trade": "electrical",
"unit_id": null,
"vendor_id": 67,
"vendor_no_shows_30d": 2
}Before and after
{
"after": {
"ticket_events": [
{
"id": 27042,
"ticket_id": 5354,
"type": "vendor_reassigned"
}
],
"tickets": [
{
"assigned_at": "2026-10-30T08:45:00",
"attended_at": "2026-10-30T09:30:25.220304",
"closed_at": "2026-10-30T11:38:42.371166",
"completed_at": "2026-10-30T10:38:42.371166",
"id": 5354,
"status": "assigned",
"vendor_id": 61
}
]
},
"before": {
"tickets": [
{
"assigned_at": "2026-10-29T17:16:52.794661",
"attended_at": "2026-10-30T22:11:38.533169",
"closed_at": "2026-10-31T17:45:39.994657",
"completed_at": "2026-10-31T02:53:32.549689",
"id": 5354,
"status": "closed",
"vendor_id": 67
}
]
},
"endpoint": "POST /tickets/5354/dispatch vendor=61 (replaces)",
"note": "Ticket 5354: vendor 61 dispatched.",
"notified": {
"message_id": 44,
"to": [
"building manager"
]
},
"ok": true,
"rollback_fn_name": "undo_reassign_vendor"
}Arguments
{
"ticket_id": 5354,
"vendor_id": 61
}