feat(enrichment): forward PR body and linked-issue envelope to REES#1852
feat(enrichment): forward PR body and linked-issue envelope to REES#1852kiannidev wants to merge 1 commit into
Conversation
Wire the engine enrichment POST through body plus a cached linkedIssue envelope so the REES history analyzer can parse Fixes #N references and measure diff coverage against the issue requirement without extra fetches. Fixes JSONbored#1851 Co-authored-by: Cursor <cursoragent@cursor.com>
|
Warning 🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨 ⏸️ Gittensory review result - manual review recommendedReview updated: 2026-06-30 19:05:31 UTC
⏸️ Suggested Action - Manual Review
Review summary Nits — 8 non-blocking
Review context
Contributor next steps
Signal definitions
🟩 Safe / merged · 🟦 Advisory · 🟨 Held for review · 🟥 Blocked / closed 💰 Earn for open-source contributions like this. Gittensor lets GitHub contributors earn for the work they already do — register to start earning →. Checked by Gittensory, a quiet PR intelligence layer for OSS maintainers.
|
JSONbored
left a comment
There was a problem hiding this comment.
Please fix this and resubmit once fixed:
The notable rough edge is that linked-issue resolution now happens before the enrichment flag/allowlist check, adding unnecessary DB work on disabled paths.
Summary
bodyfromrunAiReviewForAdvisorythroughbuildReviewEnrichmentinto the REES POSTgetIssue) and send a compactlinkedIssueenveloperesolveEnrichmentLinkedIssue()with fail-safe{ number }fallback when the issue row is missingFixes #1851
Why
REES
historyalready acceptsbodyandlinkedIssue, but the engine never sent them — so linked-issue parsing and requirement-alignment degraded silently.Validation
Test plan
bodywhen the PR has onelinkedIssuewhen the engine has a cached issue row{ number }onlyMade with Cursor