Skip to content

[hippo] Add guardrails for list_code_scanning_alerts prompt usage #44896

Description

@github-actions

Summary

Add validation or helper guidance so workflow prompts that call list_code_scanning_alerts consistently include state: open and severity: critical,high.

Memory: mem_0324334270d0

Rationale

Hippo surfaced a high-retrieval memory that unconstrained list_code_scanning_alerts calls can produce oversized MCP responses. This is a focused, actionable quick win that could prevent prompt/runtime failures in affected workflows.

Next steps

  • Locate workflow prompts and templates that reference list_code_scanning_alerts.
  • Add validation, linting, or helper text that requires or strongly nudges state: open and severity: critical,high.
  • Update any existing prompts that omit those filters.
  • Add a regression test covering the constrained form and the failure/warning path for unconstrained usage.

Generated by 🦛 Daily Hippo Learn · 23.9 AIC · ⌖ 21.3 AIC · ⊞ 5.4K ·

  • expires on Jul 13, 2026, 11:03 PM UTC-08:00

Metadata

Metadata

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions