Opus finding
Cross-repo RSS items use mergedAt while same-repo items use closedAt — ordering and lastBuildDate compute on heterogeneous timestamps
- apps/web/app/receipts.rss/route.ts:47-70
The triple-nested ternary for lastBuildDate is dense and easy to misread but logically correct (max of two nullable Dates, fall back to now()). Worth a refactor but not a bug.
Recommendation
Extract to a helper `maxDate(a, b)` returning the later non-null Date or null, then default to new Date().