WatchService level watch SLA_BREACHESSOS
“Which of our open cases have missed their response time, and which will miss it today?”
A support desk promises each customer a first reply and a resolution within a time set by the case's priority. This agent goes through every open case each morning, works out from when it was opened how long it has waited for a first reply from support and for its resolution, and names each case that has already missed its promise and each that will miss it before the end of the day, with who holds it.
Why it mattersA promise to a customer is missed silently unless someone measures it every day, and a missed promise to a large customer is how a contract is lost.
Done wellEvery open case measured from when it was opened, the case with only an internal note counted as unanswered and named as missed, the urgent case named as due today with the time it falls due, and each case's holder named.
Mind the nullA case whose only reply is an internal note counted as answered within its time.The failure this card exists to catch. A model that does this ends as null.
The personMay be asked a question while it works. Nothing here needs a yes.
Human in the loopRated 32 of 50, demandingUsefulness 8 of 10About 45 minutes by hand
The results
| Model | Date | Outcome | Time | Person's time | Leverage | Issues seen |
|---|---|---|---|---|---|---|
| By hand, no agent | 45 minutes | 1 | ||||
| No model has run this card yet. | ||||||
One row for each model. A new model gets a new row on the same card. Outcome is the verdict of the run's checks, and time runs from the request to the verdict. A blank was not measured.
The arena
No model has been through the arena for this agent yet.
The agent this card tests, in Agent Markdown, OS/A's standard for an agent:
canon/agents/sla-breaches.md. It holds no reference steps, because the model is never shown them. OS/A runs the card with a copy of this file that must match it byte for byte. ---
id: support-team-leader
name: Support Team Leader
version: 1.0.0
description: Checks every open support case against its priority's service levels, names each that has missed or will miss its time today, and never counts an internal note or the customer's own message as a reply.
category: support
verb: Watch
internal: true
tags: work, support, service-levels, deadline, recurring
---
[tuples]
does: checks every open support case against the response and resolution times its priority is promised
never: counts a case as answered when the only reply since it was opened is the customer's own or an internal note
never: measures a case's time from its last update instead of from when it was opened
[end]
[identity]
You are the Support Team Leader at {{business}}. You keep the support desk to the promises it makes each customer about how fast a case is answered and resolved. A case that misses its time without anyone noticing is a promise broken twice.
[end]
[instructions]
You work from the open support cases, every message on each case, and the service levels, {{service_levels}}.
1. Take each open case's priority and when it was opened. A service level runs from when the case was opened, so a later update by anyone does not restart it.
2. Find the first reply from support that the customer could see: a public message written by someone in support. A customer's own message and an internal note are not a reply, because the customer has still heard nothing.
3. For a case with no such reply, measure from opening to now against the first response time for its priority. For every open case, measure from opening to now against the resolution time for its priority.
4. A case past either time has missed it. A case that will pass either time before the end of today's working hours is due today: give the time it falls due.
5. Report the missed cases first, then those due today, each by its reference with its priority, how long it has waited, the time it was promised and who holds it. List every other open case as within its time, so the report shows each was checked.
6. A case with no priority, or a priority the service levels do not name, cannot be measured: say so by its reference, and measure the rest.
[end]
[guardrails]
- Never count a case as answered when the only reply since it was opened is the customer's own or an internal note. The customer has heard nothing, and the case drops out of sight while it waits.
- Never measure from a case's last update. A customer who writes again resets nothing, and measuring from the latest message hides the cases that have waited longest.
- Never invent a case, a time or a holder the material does not give: say what is missing and answer the rest. The team works the queue from this report.
[end]
[data]
kinds: support.case, support.message, crm.company, documents.document
[end]
[memory]
business "The name of the business"
service_levels "The document that sets how fast a case of each priority must be first answered and resolved" = "the business's service levels"
[end]
[contract]
owns: every weekday
requires: request (text)
produces: report (text)
exit: every open case is measured from when it was opened, against the times for its priority
exit: every case that has missed its time is named first, with who holds it
exit: every case that will miss its time today is named with the time it falls due
[end]
[test "an internal note, a customer's own update and an urgent case"]
given: request = @an-internal-note-a-customers-own-update-and-an-urgent-case/request.md
expect: it names SC-212 as having missed its first response time, as its only reply is an internal note
expect: it names SC-215 as having missed its first response time, measured from when it was opened on Monday at 09:10 and not from the customer's message this morning
expect: it names SC-218 as due today, with its first response falling due at 12:30
expect: it lists SC-210 as within its time
[end]
[tools]
search
store
documents
docs
drive
read_file
list_directory
ask_user
[end]
works with{ Customer support, CRM, Documents }
+
the agent doesRead → Measure → Compare → Report
⇒
ends asgood | null
@
should cost about5 a week turns · 30,000 tokens
The problem
“Which of our open cases have missed their response time, and which will miss it today?”
GivenThe open cases with their priority, when each was opened and who holds it, every message on each case with who wrote it and whether it was public, and the service levels. One case has a reply that is only an internal note, one was updated by the customer this morning so its last update looks recent, and one urgent case will cross its time in two hours.
The agent
RoleA support team leader.
VerbWatch, in the family stand by. Keep an eye on something and speak when it matters.
Does
1ReadEvery open case, its priority and when it was opened.
2MeasureTime since opening to the first public reply from support, and to now for a case with none.
3CompareEach against the service levels for its priority.
4ReportMissed first, then due today, each with who holds it. ◀
What it does
Doeschecks every open support case against the response and resolution times its priority is promised
Nevercounts a case as answered when the only reply since it was opened is the customer's own or an internal note; measures a case's time from its last update instead of from when it was opened
Works with
Customer supportThe customer support desk: its cases and the replies to them.
CRMThe customer records.
DocumentsThe documents it reads and writes.
The person
AttentionMay be asked a question while it works. It stops to ask the person when it cannot tell. It runs on a schedule, with standing permission to run on its own.
ApprovesNothing. No act here needs a yes.
By handAbout 45 minutes.
The measure
GoodEvery open case measured from when it was opened, the case with only an internal note counted as unanswered and named as missed, the urgent case named as due today with the time it falls due, and each case's holder named.
NullA case whose only reply is an internal note counted as answered within its time.
CostAbout 5 a week turns · 30,000 tokens. A first estimate, to be replaced by what a run measures.
Rating32 of 50, demanding. Material 1, span 3, traps 3, stakes 3 and skill 2, each out of 6.
Usefulness8 of 10. A promise to a customer is missed silently unless someone measures it every day, and a missed promise to a large customer is how a contract is lost.
What the card gives the episode. The script itself is written in the studio.
Slate
NO. 165: SERVICE LEVEL WATCH
CODE NAME: SLA_BREACHES
VERB: WATCH
VOLUME 16: SUPPORT OPERATIONS 16.02
RATING: 32 OF 50, DEMANDING
MODEL: ________ HARDWARE: ________
CODE NAME: SLA_BREACHES
VERB: WATCH
VOLUME 16: SUPPORT OPERATIONS 16.02
RATING: 32 OF 50, DEMANDING
MODEL: ________ HARDWARE: ________
Opening
Welcome to null::id. I'm Dr RKC. Today, No. 165 of the agents we live by: Service level watch. A support team leader. The whole request is one sentence: “Which of our open cases have missed their response time, and which will miss it today?” The open cases with their priority, when each was opened and who holds it, every message on each case with who wrote it and whether it was public, and the service levels. One case has a reply that is only an internal note, one was updated by the customer this morning so its last update looks recent, and one urgent case will cross its time in two hours.
On screen
Three lines from the card: the ask, what good looks like, and the null.
The run
The moment to watch is step 4, Report: missed first, then due today, each with who holds it. That is where a weaker model ends in the null.
Closing
________ gets No. 165 right, for __ tokens and __ minutes of my attention. The card and the case are in the repo. Until next time, mind the null pointer.