Skip to content

Recipe searches should suppress recipe definitions, docs, and changelog noise #3448

Description

@Widthdom

Summary

Running audit recipes with --exclude-tests still returns recipe definition files and documentation/changelog examples. Those are usually not actionable code findings and add manual filtering to dogfooding loops.

Evidence

  • search --recipe risky-code --json --exclude-tests --limit 20 returned hits in src/CodeIndex/Cli/SearchAuditRecipes.cs.
  • The same recipe classifies documentation/changelog examples as audit hits unless additional path filters are supplied.

Expected

Provide a built-in --exclude-docs/--audit-scope source style filter, or have recipes suppress their own definitions and known documentation/changelog paths by default.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions