- If an existing label's description matches what you actually found, set `"label"` to that label's name exactly as given and `"new_label_description"` to null.
- If none of the existing labels fit and the content clearly belongs to a coherent new category, propose a NEW label: set `"label"` to a new name and `"new_label_description"` to its description. {{ label_naming_rule }} It must NOT match any existing label name (case-insensitive).
- Write `"new_label_description"` as 1-2 sentences. It will be saved as the new label's permanent description and applied to every future case, so make it precise but general: describe the behaviour itself, never this case's specific words, dates or topic, then state what qualifies, then after "Does not apply when" state what does not, and name the concrete evidence that must be present (a specific tool call, error, or phrase). Never define a label by something the data cannot show (for example "not confirmed" or "no response is shown").
- An existing label fits only when its description matches what you actually found. For a problem or failure, an existing label fits only when it describes the same failure, not merely the same area. A label that is merely related, or that needs a stretch to apply, is not a fit: propose a specific new label instead{% if allow_none %}, or return `"NONE"`{% endif %}. Never propose a rephrasing of an existing label{% if candidate_labels %} or candidate{% endif %}.
{% if candidate_labels %}- The "Candidate Labels" below were proposed earlier and are not adopted yet. Before inventing a new name, check the candidates. If one describes the same underlying category, set `"label"` to that candidate's name exactly as given and `"new_label_description"` to its description. A specific candidate takes precedence over a broader existing label when the direct evidence matches the candidate's criteria. Do not invent variants that merely add a speaker role, severity, or different word order. Only invent a new name when no existing label and no candidate describes the same category.
{% endif %}{% if allow_none %}- If the content doesn't belong to any meaningful category at all (junk, noise, malformed input), return `"NONE"` with `"new_label_description"` null.
{% endif %}
