Opus finding
renderRssFeed does not validate item URLs — feed link/guid taken verbatim could break feed
lowapi-contractmedium
- apps/web/lib/rss.ts:73-83
RssItem.link is typed as string and not validated as a URL. If an empty string or relative path is passed (e.g., '/receipts/...' rather than 'https://www.antfleet.dev/receipts/...'), the resulting feed will have non-conformant <link> elements that some readers reject. Since the comment says 'guaranteed-parseable by RSS readers', stricter validation would match the stated intent.
Recommendation
Either narrow types (URL type) or assert URL parseability at the boundary.