Prompt Improvement Loop: Lessons Learned pro Repo aus Reviews #33
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Beschreibung
Aus MR-Review-Feedback automatisch "Lessons Learned" pro Repo akkumulieren und in zukünftige kontext.md-Dateien injizieren, damit der Agent aus vergangenen Fehlern lernt.
Hintergrund
Nick Tune's Post-Merge Reflection Pattern und HubSpots Feedback-Tracking zeigen, dass systematisches Lernen aus Review-Feedback die Code-Qualität über Zeit verbessert. Aktuell werden Review-Kommentare erfasst (
review_result), aber nie systematisch ausgewertet oder zurück in die Pipeline geführt.Akzeptanzkriterien
changes_requested: Review-Feedback wird nach Kategorie klassifiziert (Style, Logic, Security, Architecture)Technische Hinweise
backend/models/lesson.py— RepoLesson (repo_name, category, description, ticket_id, created_at)backend/services/review_agent.py— Feedback-Klassifizierung nach Reviewbackend/services/preparation_engine.py— Lessons in kontext.md Template einbauenbackend/templates/kontext_template.md— neue Sektion "Bekannte Patterns/Fehler"repo_lessons)Aufwand: M
Superseded by #91 (Prompt-Evolution & Kontext-Learning). Prompt Improvement Loop und Lessons Learned pro Repo sind dort vollständig abgedeckt.