Skip to content

Initial implementation of event recommendation service#1

Open
chancesend wants to merge 2 commits into
mainfrom
claude/event-recommendation-service-GnQ9o
Open

Initial implementation of event recommendation service#1
chancesend wants to merge 2 commits into
mainfrom
claude/event-recommendation-service-GnQ9o

Conversation

@chancesend
Copy link
Copy Markdown
Owner

Full working skeleton: FastAPI + APScheduler service that runs Claude
(Sonnet, tool-use) with Tavily web search to discover upcoming events,
stores them in SQLite, and emails per-user HTML digests.

Key design decisions implemented:

  • YAML preferences per user + household.yaml for shared picks
  • Normalized events table with recommendations join table so shared
    events fall out naturally from a simple 2+ user_id query
  • Search result cache (query hash + TTL) to avoid redundant Tavily
    calls when users share interests
  • Per-user APScheduler cron jobs loaded from YAML schedules
  • Household mode: explicit household agent run + organic promotion
    of events that appear in 2+ individual runs
  • PWA-ready FastAPI app with /u/{slug}/ per-user routes and
    /household/ shared page, iOS home-screen compatible

13 passing unit tests covering prefs I/O, household synthesis,
deduplication helpers, and SQLAlchemy model constraints.

https://claude.ai/code/session_01KVmem9weT6rnWfSg1KNGA6

claude added 2 commits May 8, 2026 05:10
Full working skeleton: FastAPI + APScheduler service that runs Claude
(Sonnet, tool-use) with Tavily web search to discover upcoming events,
stores them in SQLite, and emails per-user HTML digests.

Key design decisions implemented:
- YAML preferences per user + household.yaml for shared picks
- Normalized events table with recommendations join table so shared
  events fall out naturally from a simple 2+ user_id query
- Search result cache (query hash + TTL) to avoid redundant Tavily
  calls when users share interests
- Per-user APScheduler cron jobs loaded from YAML schedules
- Household mode: explicit household agent run + organic promotion
  of events that appear in 2+ individual runs
- PWA-ready FastAPI app with /u/{slug}/ per-user routes and
  /household/ shared page, iOS home-screen compatible

13 passing unit tests covering prefs I/O, household synthesis,
deduplication helpers, and SQLAlchemy model constraints.

https://claude.ai/code/session_01KVmem9weT6rnWfSg1KNGA6
README covers project overview, architecture diagram, setup guide
(TrueNAS SCALE and local), full user guide (web UI, iOS PWA, rating,
scheduling, household mode), and dev instructions.

CLAUDE.md is a quick-reference for future agents: stack, file layout,
data model, agent flow, route map, settings, common tasks, and the
key design decisions worth preserving.

https://claude.ai/code/session_01KVmem9weT6rnWfSg1KNGA6
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.

2 participants