Skip to content

Conversation

@bokelley
Copy link
Contributor

@bokelley bokelley commented Jan 6, 2026

Summary

  • Public API now includes "completed" events when querying past events (fixes December NYC event not appearing)
  • Addie's list_upcoming_events renamed to list_events with include_past option for historical queries
  • Event registration matching now works by email in addition to workos_user_id (matches "unified contacts" pattern for email activity)
  • Added statuses array support to listEvents for efficient multi-status queries

Changes

  • server/src/db/events-db.ts: Added statuses array filter, updated getUserRegistrations and isUserRegistered to match by email
  • server/src/routes/events.ts: Public API uses statuses array for past event queries
  • server/src/addie/mcp/event-tools.ts: Renamed tool, added include_past parameter
  • server/src/types.ts: Added statuses to ListEventsOptions

Test plan

  • Verify public API returns completed events with past_only=true
  • Verify Addie can list past events with include_past: true
  • Verify user registrations show up when matching by email (even if workos_user_id differs)

🤖 Generated with Claude Code

- Public API: Include 'completed' events when querying past events (?past=true)
- Addie: Rename list_upcoming_events to list_events with include_past option
- Registration: Match by email in addition to workos_user_id

This allows Luma-imported registrations (which only have email) to be
associated with users who later sign up with the same email.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@bokelley bokelley merged commit 11f01bd into main Jan 6, 2026
6 checks passed
bokelley added a commit that referenced this pull request Jan 6, 2026
- Public API: Include 'completed' events when querying past events (?past=true)
- Addie: Rename list_upcoming_events to list_events with include_past option
- Registration: Match by email in addition to workos_user_id

This allows Luma-imported registrations (which only have email) to be
associated with users who later sign up with the same email.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

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.

2 participants