Skip to content

Add issue-draft export and open-issue duplicate preflight for code-audit workflows #2878

Description

@Widthdom

Summary

During code-audit workflows, cdidx can help find candidates, but turning findings into GitHub issues still requires manual draft tracking and duplicate checks.

Motivation

This audit loop repeatedly produced issue candidates, then required a separate gh issue list --state open pass to avoid duplicate open issues before creation. The code-search step would be smoother if cdidx could preserve structured issue drafts and preflight them against open issue titles/labels.

Suggested enhancement

Add an audit/suggestions workflow that can export issue drafts with title, labels, evidence paths, and body text, then optionally run an open-issue duplicate preflight before handing them to gh issue create or another issue backend.

Notes

The feature should not create issues automatically by default. It should make the human review step 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