Stu Mason
Stu Mason

Activity

StuMason/progress
stumason.dev
TypeScript
Pull Request Merged

PR #87 merged: feat: AI summaries for feed items (cheap LLM pass over automated activity)

Recreation of #86 (auto-closed when its stacked base branch was deleted). Same content, now based on main.

  • SummarizeFeedItem action via existing openai-php/laravelgpt-5-mini default, OPENAI_FEED_SUMMARY_MODEL to override. Stores metadata.ai_summary; DTO excerpt prefers it.
  • Queued SummarizeFeedItemJob at ingest (webhook + sync), no-ops without OPENAI_API_KEY.
  • php artisan feed:summarize backfill (--limit, --force, --queue).
  • Preserve ai_summary across 30-min re-syncs (metadata was rebuilt from scratch).
  • Homepage stream card now renders excerpt (homepage uses StreamItem, not FeedItemCard).
  • phpunit blanks OPENAI_API_KEY so tests never hit the live API.

After merge: set OPENAI_API_KEY in prod, run php artisan feed:summarize --limit=100.

+307
additions
-6
deletions
10
files changed
Stu Mason

Stu Mason

It works on my agent's machine? · UK