#313 · Ticket past SLA · Bracken Place
done Sat 12:05 · ticket 5346
Ledger row
policy v2
policy v2
- The call
- POST /tickets/5346/dispatch vendor=37
- Action, tier
- dispatch_vendor, tier 0
- Decided by
- rules: No vendor at half the routine SLA; dispatch the best panel vendor.
- Controller
- Allowed: dispatch_vendor is tier 0 (just do it); within budget (0 of 6 actions at building 12 this hour).authorityconditionscooldownbudget
- Definition
- ticket_sla_breach v1
- At stake
- routine ticket, 3599 min to the SLA's end
- Outcome
- Ticket 5346: vendor 37 dispatched.
- Undo
- Cancel the dispatch.
Undo
Restores the before-snapshot below and writes a new row.
Evidence
{
"amount_at_risk": null,
"assigned_at": null,
"building": "Bracken Place",
"building_id": 12,
"candidate_vendor_ids": [
37,
3,
52
],
"category": "blocked_drain",
"currency": null,
"due_at": "2026-11-03 00:04:32.049583",
"manager_id": 9,
"minutes_to_due": 3599,
"mode": "no_vendor",
"opened_at": "2026-10-29 00:04:32.049583",
"priority": "routine",
"source": "site_team",
"stake_note": "routine ticket, 3599 min to the SLA's end",
"started_at": "2026-10-31T12:04:32.049583",
"summary": "Drain blocked",
"ticket_id": 5346,
"trade": "plumbing",
"unit_id": 657,
"vendor_id": null,
"vendor_no_shows_30d": 0
}Before and after
{
"after": {
"ticket_events": [
{
"id": 27051,
"ticket_id": 5346,
"type": "vendor_dispatched"
}
],
"tickets": [
{
"assigned_at": "2026-10-31T12:05:00",
"attended_at": "2026-11-01T11:05:12.869485",
"closed_at": "2026-11-01T14:38:10.552341",
"completed_at": "2026-11-01T13:38:10.552341",
"id": 5346,
"status": "assigned",
"vendor_id": 37
}
]
},
"before": {
"tickets": [
{
"assigned_at": null,
"attended_at": null,
"closed_at": null,
"completed_at": null,
"id": 5346,
"status": "new",
"vendor_id": null
}
]
},
"endpoint": "POST /tickets/5346/dispatch vendor=37",
"note": "Ticket 5346: vendor 37 dispatched.",
"ok": true,
"rollback_fn_name": "undo_dispatch_vendor"
}Arguments
{
"ticket_id": 5346,
"vendor_id": 37
}