HA-01: The agent does not know when to hand over to a person
Area: Handing over to people · Severity: high · Catalogue version 1.104.0
Why it matters
When unsure, the agent just carries on.
Before (example)
Example: a test fails twice and it still changes the production data.
How to fix it
Name the cases in which the agent should stop and bring in a person.
After (example)
The agent escalates to a person when it is unsure.Check it yourself
Read your instruction files and look for a sentence that names the condition under which the agent stops and hands the task to a person.
Recognised wording
The check looks in your instruction files for a sentence with one of these wordings (German or English):
ask me firstask first beforeask a human firstgibt an die it abask a person firstask first and waitask the user firsthand it to a humanübergibt an die itescalate to a humaneskaliert an die itgibt an das team abhand it to a personhand off to a humanübergib an das teamescalate to a personescalate to the teamescalate to the userescalates to a humanhand off to a person
These are examples: the check knows 1964 more wordings, also in other word forms and orders (full list: catalog/rule-keywords-1.23.0.yaml).
A negated sentence does not count: “There is no rate limit” or “without approval” does not meet the rule, even though it holds one of these wordings.
A sentence that ends like this counts too: ask first.
A sentence that starts like this counts too: escalate to a human, escalate to a person, escalate to the user, hand over to a human, stop and ask a human, hand over to a person, stop and ask a person, stop and ask the user, eskaliere an eine person, hand the task to a person. And 3 more sentence starts.
A sentence that ties the action to a person or an approval counts too, for example “only after approval” or “not without the confirmation of a person”.
The check reads words, not meaning: a sentence that is right in meaning but holds none of these wordings is not recognised. The list grows with every catalogue version.