Agent QA Result Triage
Overview
Classify a failed Agent QA run from its recorded evidence instead of guessing. Inspect the run, steps, artifacts, and logs; choose one fixed category; and return confidence, likely ownership, and the next evidence-backed action.
When to Use
- Investigating a failed or interrupted Agent QA run.
- Inspecting run artifacts, step results, or execution logs.
- Comparing recent related runs for recurring failure patterns.
- Deciding whether a failure belongs to a test, product, hook, browser/mobile runtime, or infrastructure owner.
Workflow
- Start with
agent_qa_get_run for run status, suite child context, steps, and attempts.
- Fetch evidence before deciding:
agent_qa_get_run_artifact
agent_qa_get_run_steps
agent_qa_get_run_logs
agent_qa_get_run_execution_logs
- Call
agent_qa_classify_failure and use its category as the default classification unless stronger evidence contradicts it.
- Compare recent related runs when they are available in the classifier output.
- Return a concise triage result: category, confidence, evidence, likely fix area, and next action.
- For code changes, switch to
agent-qa-debug-fix after triage is complete.
Categories
Use exactly one category from references/triage-categories.md:
timeout
appium_startup
browser_disconnect
element_not_found
assertion_failure
hook_failure
infrastructure
unknown_failure
Evidence Rules
- Quote or summarize concrete artifact, log, or step evidence.
- Mention missing artifact sections when they limit confidence.
- Do not invent screenshots, videos, logs, or memory context that MCP did not return.
- If MCP is unavailable, use dashboard REST APIs or Agent QA CLI output as a fallback and state which evidence was unavailable.
- Redact credentials, session tokens, personal data, and unrelated application content from the report.
Example
{
"category": "element_not_found",
"confidence": "high",
"evidence": ["Step 4 could not resolve the described checkout button"],
"likely_fix_area": "test definition or changed product UI",
"next_action": "Inspect the captured UI context, then compare the current checkout screen"
}
Limitations
- Classification is only as reliable as the retained run artifacts and logs.
- A failure category identifies the most likely failure surface; it does not prove root cause.
- Missing screenshots, DOM/accessibility context, device logs, or prior runs must lower confidence.
- This skill does not modify tests or application code; use
agent-qa-debug-fix for an authorized repair.
1---2name: agent-qa-result-triage3description: Triage failed Agent QA runs with MCP evidence, artifacts, logs, fixed failure categories, confidence, and actionable next steps.4---567# Agent QA Result Triage89## Overview1011Classify a failed Agent QA run from its recorded evidence instead of guessing. Inspect the run, steps, artifacts, and logs; choose one fixed category; and return confidence, likely ownership, and the next evidence-backed action.1213## When to Use1415- Investigating a failed or interrupted Agent QA run.16- Inspecting run artifacts, step results, or execution logs.17- Comparing recent related runs for recurring failure patterns.18- Deciding whether a failure belongs to a test, product, hook, browser/mobile runtime, or infrastructure owner.1920## Workflow21221. Start with `agent_qa_get_run` for run status, suite child context, steps, and attempts.232. Fetch evidence before deciding:24 - `agent_qa_get_run_artifact`25 - `agent_qa_get_run_steps`26 - `agent_qa_get_run_logs`27 - `agent_qa_get_run_execution_logs`283. Call `agent_qa_classify_failure` and use its category as the default classification unless stronger evidence contradicts it.294. Compare recent related runs when they are available in the classifier output.305. Return a concise triage result: category, confidence, evidence, likely fix area, and next action.316. For code changes, switch to `agent-qa-debug-fix` after triage is complete.3233## Categories3435Use exactly one category from `references/triage-categories.md`:3637- `timeout`38- `appium_startup`39- `browser_disconnect`40- `element_not_found`41- `assertion_failure`42- `hook_failure`43- `infrastructure`44- `unknown_failure`4546## Evidence Rules4748- Quote or summarize concrete artifact, log, or step evidence.49- Mention missing artifact sections when they limit confidence.50- Do not invent screenshots, videos, logs, or memory context that MCP did not return.51- If MCP is unavailable, use dashboard REST APIs or Agent QA CLI output as a fallback and state which evidence was unavailable.52- Redact credentials, session tokens, personal data, and unrelated application content from the report.5354## Example5556```json57{58 "category": "element_not_found",59 "confidence": "high",60 "evidence": ["Step 4 could not resolve the described checkout button"],61 "likely_fix_area": "test definition or changed product UI",62 "next_action": "Inspect the captured UI context, then compare the current checkout screen"63}64```6566## Limitations6768- Classification is only as reliable as the retained run artifacts and logs.69- A failure category identifies the most likely failure surface; it does not prove root cause.70- Missing screenshots, DOM/accessibility context, device logs, or prior runs must lower confidence.71- This skill does not modify tests or application code; use `agent-qa-debug-fix` for an authorized repair.