-
Notifications
You must be signed in to change notification settings - Fork 60
Description
PRD: GitOps Operations for Remediate Tool
Problem: When remediation actions target GitOps-managed resources, users must manually clone repos, find files, make changes, and push. There's no automated path from "here's what needs to change" to "here's a PR with the fix."
Solution: Add an internal agentic-loop tool (git_create_pr) that creates PRs with fixes for GitOps-managed resources. When the user confirms execution, the system automatically creates a PR instead of running kubectl commands — no additional choice needed. The AI constructs modified file content during investigation and passes it to git_create_pr. Uses GitHub API for full PR creation. Builds on Layer 1 (#407) which identifies the source repo and files.
Detailed PRD: See prds/408-gitops-operations.md
Priority: High
Supersedes: Operations portions of #363, #403
Depends On: #407 (GitOps Discovery — Layer 1)
Builds On: #362 (git-utils), #395 (pushToGit)