feat(feeds): never miss an item, judge on summaries, per-source stats - #38
Merged
Conversation
Send eligibility is now `relevant AND sentAt IS NULL`, oldest-first: an item whose article left the RSS window before a digest ran was stranded forever with current=false. `current` stays the web feed's live-membership flag. RSS items carry an optional plain-text summary (RSS description/content:encoded, Atom summary/content, JSON Feed summary/content_html), stripped of HTML and the WordPress tail and capped at 300 chars, which the relevance pass now judges on — the main recall fix for preferences that depend on facts absent from headlines. The feeds batch halves to compensate; the HN prompt and select() are unchanged. feed_items gains source_id (first source wins, no FK so removing a source keeps its items) so settings can show per-source fetched/selected counts and drill into one source's items. Feed pages lose the switcher select and New feed button; the archive links back to its feed. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Send eligibility is now
relevant AND sentAt IS NULL, oldest-first: an itemwhose article left the RSS window before a digest ran was stranded forever with
current=false.
currentstays the web feed's live-membership flag.RSS items carry an optional plain-text summary (RSS description/content:encoded,
Atom summary/content, JSON Feed summary/content_html), stripped of HTML and the
WordPress tail and capped at 300 chars, which the relevance pass now judges on —
the main recall fix for preferences that depend on facts absent from headlines.
The feeds batch halves to compensate; the HN prompt and select() are unchanged.
feed_items gains source_id (first source wins, no FK so removing a source keeps
its items) so settings can show per-source fetched/selected counts and drill
into one source's items. Feed pages lose the switcher select and New feed
button; the archive links back to its feed.
Co-Authored-By: Claude Opus 5 noreply@anthropic.com