feat(classifier): add recruiter outreach fast-path and Eventbrite ticketing and promos

Merged
DO
5d ago
+75-10

Summary

  • Recruiter Outreach Fast-Path: Extends CAREER_SUBJECT_TERMS_ and CAREER_SNIPPET_TERMS_ to catch direct executive recruiter and talent acquisition outreach (Connecting on [Company] Opportunities, Introductory phone call, Leadership interview, Panel interview, Interview follow-up, talent acquisition reaching out regarding resumes and applications). Routes to 06_Work_Career/Work/Career (Primary/keep, 0.99 confidence) in 0ms without Gemini quota consumption.
  • Eventbrite Platform Integration:
    • Adds eventbrite.com to the Event Platform & RSVP Shield (01_Household/Household/General, Primary/keep, 1.0 confidence) for personal invitations and RSVPs.
    • Adds deterministic fast path for Eventbrite order and ticket confirmations (01_Household/Household/General, Updates/archive, 0.99 confidence).
    • Routes Eventbrite promotional recommendations and trending events to Promotions/archive (0.98 confidence).
  • Parity & Tests: Maintains exact character parity between code.gs and src/index.js. All 22 test suites (1,090 tests) passing; strict No-PII scan passing.

Problem

See the linked issue.

Risk

Low — 3 file(s) changed; no CI- or runtime-critical paths touched.

Test plan

Tests added/updated: src/gmail-ai-classifier/tests/code.test.js. Verification: bash scripts/dev-lead-lint.sh (shellcheck --severity=warning) ran pre-commit; the bats suite runs in CI.

Rollback

Revert this PR. No non-revertible side effects (no tags, migrations, or external state).

Monitoring

This PR's CI checks (Lint + bats) are the success/regression signal.