Skip to content

Support guard-aware structural search queries #2852

Description

@Widthdom

Found during the code-search audit. While checking repeated patterns like ReadAllText plus missing size guards, FileMode.Create plus missing temp replacement, and GetValue plus ignored arguments, the current search flow still required manual inspection of each call site. Request: add a guard-aware structural query mode that can search for API usage together with nearby constraints, for example calls to File.ReadAllText not preceded by a file-size cap, FileMode.Create writes not followed by atomic move, or accepted MCP arguments that are never read. This would make future audits much faster and less error-prone.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions