mirror of
https://github.com/Rarebuffalo/securelens-backend.git
synced 2026-06-19 07:00:30 +00:00
add github issue template for automated code patching
This commit is contained in:
22
.github/ISSUE_TEMPLATE/automated_patches.md
vendored
Normal file
22
.github/ISSUE_TEMPLATE/automated_patches.md
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
---
|
||||
name: 'Feature: Automated Patches / Merge Requests'
|
||||
about: Template for applying code patches and committing fixes.
|
||||
title: 'Feature: Automated Patches / Merge Requests'
|
||||
labels: ['help wanted', 'enhancement']
|
||||
assignees: ''
|
||||
---
|
||||
|
||||
## 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.
|
||||
Reference in New Issue
Block a user