Skip to content

Demo: fall back to the sample newsroom when real news is quiet - #33

Merged
rick-mingyu-liu merged 1 commit into
masterfrom
demo-sample-news
Sep 27, 2026
Merged

rick-mingyu-liu merged 1 commit into
masterfrom
demo-sample-news

Conversation

@rick-mingyu-liu

Copy link
Copy Markdown
Collaborator

Why

Part 2 of the demo (watches for you) reads the real Meta, Apple and NVIDIA newsrooms. Items older than 48 hours are never screened, and right now the newest are from Sep 22–24. A live demo would show `50 items found, 0 screened` and nothing else.

What

  • When the live check screens nothing, the same check then runs on the sample newsroom (a made-up company, labelled SAMPLE on screen and in Telegram) with your real interests.
  • Check output moved into `runCheck`; the verdict list shows only the companies in that check.

Checked

  • `tsc` clean, vitest passes.
  • Ran `npm run demo -- --no-pause` with Telegram off: live check found 50, screened 0, then the sample check kept the model launch and the CFO change, and skipped the meetup recap and the tips post. Message was held for quiet hours, as expected at that time.

🤖 Generated with Claude Code

Company newsrooms are often quiet for two days at a time, so the live
watchlist part could show 0 screened and nothing else. It now runs the
same check on the labelled sample newsroom afterwards, and lists only the
checked companies' verdicts.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@rick-mingyu-liu
rick-mingyu-liu merged commit 18cb497 into master Sep 27, 2026
2 checks passed
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