Files
securelens-backend/.github/ISSUE_TEMPLATE/automated_patches.md
2026-06-12 19:37:00 +05:30

844 B

name, about, title, labels, assignees
name about title labels assignees
Feature: Automated Patches / Merge Requests Template for applying code patches and committing fixes. Feature: Automated Patches / Merge Requests
help wanted
enhancement

Description

We want to close the loop on codebase remediation by letting the CLI suggest and commit code fixes automatically.

Goal

Implement a command (or interactive REPL slash command) that takes an AI-generated code patch, applies it to the local codebase, and creates a git branch or commit.

Requirements

  1. Retrieve the code remediation suggested by the LLM.
  2. Write the patch safely to the target file.
  3. Optionally run a validation check (e.g. pytest or compiler checks) to verify the patch doesn't break tests.
  4. Automatically create a local feature branch and git commit with the fix.