Skip to content

fix: separate research section to show perspectives instead of RSS#740

Merged
bokelley merged 1 commit into
mainfrom
bokelley/personal-perspectives-check
Jan 13, 2026
Merged

fix: separate research section to show perspectives instead of RSS#740
bokelley merged 1 commit into
mainfrom
bokelley/personal-perspectives-check

Conversation

@bokelley

Copy link
Copy Markdown
Contributor

Summary

  • Research section (/latest/research) now pulls from the perspectives table where status='published' AND working_group_id IS NULL
  • Other sections (industry-news, learning, etc.) continue to pull from addie_knowledge
  • Updated Addie's propose_content responses to accurately reflect that perspectives will appear in /latest/research

This separates the two content systems:

  • perspectives table = member-authored content displayed at /latest/research
  • addie_knowledge = Addie's brain + RSS content for industry news and other sections

Test plan

  • TypeScript type checking passes
  • Manual testing with Vibium browser - research page loads correctly
  • API endpoint returns correct structure with author_name/author_title fields

🤖 Generated with Claude Code

- Research section (/latest/research) now pulls from perspectives table
  where status='published' AND working_group_id IS NULL
- Other sections (industry-news, learning, etc.) continue to pull from
  addie_knowledge
- Updated Addie's propose_content responses to accurately reflect that
  perspectives will appear in /latest/research
- Added helper function and constant to reduce code duplication
- Added author_name and author_title to LatestArticle interface

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@bokelley bokelley merged commit cb276eb into main Jan 13, 2026
6 checks passed
bokelley added a commit that referenced this pull request Jan 13, 2026
The previous fix (#740) queried perspectives where working_group_id IS NULL,
but this inadvertently included RSS and email content since those are also
stored in the perspectives table with source_type='rss' or source_type='email'.

This fix adds a filter to only show member perspectives (where source_type
is NULL or not 'rss'/'email'), ensuring the research section shows actual
thought leadership content instead of imported RSS feeds.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
bokelley added a commit that referenced this pull request Jan 13, 2026
The previous fix (#740) queried perspectives where working_group_id IS NULL,
but this inadvertently included RSS and email content since those are also
stored in the perspectives table with source_type='rss' or source_type='email'.

This fix adds a filter to only show member perspectives (where source_type
is NULL or not 'rss'/'email'), ensuring the research section shows actual
thought leadership content instead of imported RSS feeds.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
bokelley added a commit that referenced this pull request Jan 13, 2026
The previous fix (#740) queried perspectives where working_group_id IS NULL,
but this inadvertently included RSS and email content since those are also
stored in the perspectives table with source_type='rss' or source_type='email'.

This fix adds a filter to only show member perspectives (where source_type
is NULL or not 'rss'/'email'), ensuring the research section shows actual
thought leadership content instead of imported RSS feeds.

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant