Repository navigation
Closed
Description
Problem
Eight connectors exist. They pass tests. But none of them have run against real data for more than a few minutes. Tests mock HTTP β they don't prove the connector handles pagination, rate limits, token expiry, partial failures, or data volume in the real world.
Approach
Pick the three connectors that matter most for personal agents (GitHub, Gmail, Discord) and run them in production on the iMac for at least two weeks with auto-sync enabled.
Phase 1: Wire Up (Days 1-2)
- Configure GitHub connector with a real repo (hurttlocker/cortex itself β meta)
- Configure Gmail connector with a real inbox
- Configure Discord connector with a real server
- Set up
cortex connect schedule --every 3h --installfor all three - Instrument: log sync duration, record count, error count per run to a simple log file
Phase 2: Observe (Days 3-14)
- Monitor daily: any crashes? Any silent data loss? Any duplicates?
- Track: How many memories/facts accumulate per day per connector?
- Track: Does DB size stay reasonable? (Target: <50MB after 2 weeks)
- Track: Any rate limit hits? How does backoff behave?
- Track: Token expiry handling β does refresh work?
Phase 3: Fix & Harden (During + After)
For every issue found during burn-in:
- File a bug
- Fix it
- Add a regression test
- Update connector docs with real-world notes
What "Production Ready" Means for Each Connector
- Ran for 14+ days without crash
- Handled at least 1 token refresh cycle (or documented that tokens are long-lived)
- Pagination works for >100 items
- Duplicate detection works (reimport same data = no new memories)
- Rate limit backoff works (observed or simulated)
- Error recovery: network blip during sync doesn't corrupt state
- Documented: setup steps, env vars, known limits, cost (if any)
Remaining Connectors (Post-v1.0)
Telegram, Slack, Notion, Calendar, Drive β these get the same treatment in v1.1+. For v1.0, they ship as "beta" with a note in docs.
Acceptance Criteria
- 3 connectors running in production auto-sync for 14+ days
- Zero data loss or corruption incidents
- All bugs found during burn-in are fixed with regression tests
- Connector docs updated with real-world operational notes
Activity
hurttlocker commentedon Feb 26, 2026
Burn-in Started: 2026-02-26
GitHub Connector β LIVE
com.cortex.connect-syncevery 3h with--extract~/.cortex/logs/connect-sync.{log,err}Post-Sync Stats
Monitoring Plan
Gmail + Discord
Will add when burn-in infrastructure proves stable (day 3-4).
hurttlocker commentedon Feb 26, 2026
Connector burn-in continues post-v1.0. GitHub connector running in production with 3h auto-sync. Connectors ship as beta in v1.0 β burn-in validates them for v1.1 promotion.