Skip to content

Automatic Issue Creation from Failed Patrol and Hygiene Scans #306

@github-actions

Description

@github-actions

Strategic Improvement

Close the self-improvement loop by automatically filing GitHub issues when patrol or hygiene scans detect actionable problems. If code-review finds SOLID violations, adversarial-review finds edge cases, or hygiene finds technical debt, create labeled issues for the daemon to process. Makes platform health monitoring actionable, not just informational.

Acceptance Criteria

  • --auto-issue flag for patrol commands (code-review, security-audit, hygiene, adversarial)
  • Scan output analyzed for actionable findings (severity threshold configurable)
  • Create GitHub issue with label shipwright-auto + severity label (P0-P6)
  • Issue body includes: finding description, affected files, suggested fix, scan evidence
  • Deduplication: don't create duplicate issues for same finding
  • shipwright patrol-meta --auto-issue runs all patrols and files issues
  • Daemon automatically picks up shipwright-auto labeled issues
  • Test suite validates issue creation, deduplication, and label assignment

Context

  • Priority: P6
  • Complexity: fast
  • Generated by: Strategic Intelligence Agent
  • Strategy alignment: P6: Platform Self-Improvement (AGI-Level Readiness)

Metadata

Metadata

Assignees

No one assigned

    Labels

    auto-patrolCreated by autonomous patrol agentsready-to-buildIssue is ready for autonomous pipeline processingstrategicCreated by strategic intelligence agent

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions