Skip to content

Add product/component verification and severity assessment to frontend-triage agent#6315

Open
msujaws wants to merge 1 commit into
mozilla:masterfrom
msujaws:frontend-triage-improvements
Open

Add product/component verification and severity assessment to frontend-triage agent#6315
msujaws wants to merge 1 commit into
mozilla:masterfrom
msujaws:frontend-triage-improvements

Conversation

@msujaws

@msujaws msujaws commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

Extend the frontend-triage agent with two new triage judgments driven by rules and prompt (no ML models or new tools).

What it does

  • Component verification: verifies whether the bug is filed against the correct Bugzilla Product :: Component by matching the file paths it localizes against module ownership in mots.yaml.
  • Severity assessment: assesses an appropriate Mozilla severity (S1–S4) from user impact.

At high confidence the agent records bugzilla_update_bug proposals for a corrected component/product and/or severity for human review; at medium/low confidence it reports the assessment only.

Changes

  • Adds two rule files (component-verification.md, severity-assessment.md).
  • Adds the corresponding job steps and structured-output keys in the system prompt.
  • Adds ComponentAssessment / SeverityAssessment submodels parsed into FrontendTriageResult.

🤖 Generated with Claude Code

…d-triage agent

Extend the frontend-triage agent with two new triage judgments driven by rules and prompt (no ML models or new tools). It now verifies whether the bug is filed against the correct Bugzilla Product :: Component by matching the file paths it localizes against module ownership in mots.yaml, and it assesses an appropriate Mozilla severity (S1-S4) from user impact. At high confidence the agent records bugzilla_update_bug proposals for a corrected component/product and/or severity for human review; at medium/low confidence it reports the assessment only.

Adds two rule files (component-verification.md, severity-assessment.md), the corresponding job steps and structured-output keys in the system prompt, and ComponentAssessment/SeverityAssessment submodels parsed into FrontendTriageResult.
@msujaws
msujaws requested a review from a team as a code owner July 14, 2026 15:36
@@ -0,0 +1,50 @@
# Product / component verification

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we could do this in bugbot instead, without an LLM, so it'll be cheaper and more deterministic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants