You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* chore: prettier-format OG card files
* chore: add CLAUDE.md, remove internal planning docs, gitignore AI config
- Add CLAUDE.md orienting contributors; flags the repo as public and sets a high
bar for code that must pass open-source review.
- Remove docs/plans/* internal design/planning notes (not appropriate for a
public repo) and drop their references from code comments.
- gitignore .claude/ and other local AI assistant config.
* feat: personalized 'For you' feed (topic follow/mute + affinity)
Adds opt-in feed personalization built on the topic vocabulary:
- Schema (migration 0039, additive): user_topic_pref (follow/mute) and
user_topic_affinity (implicit interest, time-decayed).
- feedRanking: pure, unit-tested scoring — a transparent weighted blend of
recency, quality, and topic affinity, with muted topics filtered out.
- topicAffinity: derive per-user affinity from votes/bookmarks/comments through
post_topic edges with decay; recomputed for active users by the nightly cron.
- profile.getTopicPrefs / setTopicPref: manage follows and mutes.
- content.getForYouFeed: re-rank a recent candidate window for the user; cold
start (no signal) falls back to recency, so the existing feed is untouched.
Also trims verbose comments across the content-pipeline modules.
0 commit comments