Skip to content

fix: complete Uteke memory Phase 2+3 (#259)#260

Merged
ajianaz merged 1 commit into
developfrom
fix/259-memory-phase2-3
Jun 11, 2026
Merged

fix: complete Uteke memory Phase 2+3 (#259)#260
ajianaz merged 1 commit into
developfrom
fix/259-memory-phase2-3

Conversation

@ajianaz

@ajianaz ajianaz commented Jun 11, 2026

Copy link
Copy Markdown
Collaborator

Fixes #259 — completes the Uteke memory integration from PR #256.

Phase 2 — Inject memory context into LLM prompt

  • memory_context passed through execute_reviewengine::review_difffinal_context
  • Recalled memories appended to context before LLM call
  • Shows ℹ Review enriched with Uteke memory context. when used

Phase 3 — Extract real findings from ReviewResult

  • ReviewResult extended with total_issues, severity_summary, categories
  • Helper methods: empty() for no-issue, with_issues() for real data
  • save_findings() now receives actual counts/severities/categories (was hardcoded 0)
  • Shows 💾 Saved N findings to Uteke memory. after --learn

Testing

  • 506 tests pass
  • Clippy clean
  • Manual validation with --memory and --learn flags

Phase 2 — Inject memory context into LLM prompt:
- memory_context passed through execute_review → engine::review_diff
- Appended to final_context before LLM call
- Shows 'ℹ Review enriched with Uteke memory context.' when used

Phase 3 — Extract real findings from ReviewResult:
- ReviewResult extended with total_issues, severity_summary, categories
- Helper methods: empty() for no-issue results, with_issues() for real data
- save_findings() now receives actual counts/severities/categories
- Shows '💾 Saved N findings to Uteke memory.' after --learn

506 tests pass, clippy clean.
@ajianaz
ajianaz merged commit d380e88 into develop Jun 11, 2026
10 checks passed
@ajianaz
ajianaz deleted the fix/259-memory-phase2-3 branch June 11, 2026 07:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix: complete Uteke memory integration — inject context + extract findings

1 participant