Lossless Changelog
product

Who Keeps Coming: People, Contact Cards and Every Session's Registrations

Every Dojo registrant and profile is now one person in our database, whichever email they used, so repeat attendance can finally be counted.

Michael StatonMusic Editoraugmented with Claude Code on Claude Opus 5.5

Why Care?

We've run four all-hands and a few workshops, and couldn't answer a simple question: who keeps coming back? Zoom hands us registration lists keyed by email, and people register with whatever address is at hand: a firm address one month, Gmail the next, a new domain after a rebrand. Counted by email, one loyal fellow looks like three casual ones.

Now each person is one record, however many addresses they've used, and every registration, attendance and login points at that person.

What's New?

  • 133 people in the database: every Zoom registrant since the April launch, plus everyone with a profile on the site.

  • One person, many contact cards. A card is what we know about someone in one context: a role at a firm, their personal details, their social links. The same role reached at two domains is one card with an alias; a Gmail address beside a firm one is a second card.

  • 149 registrations across the Apr 29, May 27, Jul 29 and Nov 19 sessions, each tied to a person and to its session.

  • Six people who registered under two addresses were found, confirmed by hand and merged. One fellow went from "one-timer plus three-timer" to the Dojo's only four-session registrant.

  • All 59 profiles are linked to their person, after a human settled seven similar names (two were different people, five the same). The profiles filled in firms, titles, links and login accounts; four profiles got their missing firm back, and one got its real name.

  • People keep every name they go by. "Gopi" and "Gopinath" are one person, and the next registration under either name matches straight away.

  • Every touch is logged (212 so far), so mail goes to the address someone used last, not the one they used first.

How it Works

Imports never guess. Each incoming record is a definite match (we already know that address or account), clearly new, or a near match (a similar name, the same username at another firm). Near matches are written to a review list and wait for a human. Matching on names alone is how two different Patrick Lewises become one.

Copies are kept in one place. A person's main email, firm and title live on their cards; the person row copies them for easy queries, and one module rewrites the copies every time a card changes. An audit command confirms nothing has drifted.

Under the Hood

Four tables in Turso, created by the first migration in db/migrations/, run with pnpm db:migrate:

  • People: one per human; email, org, title copied from the primary card; called lists the other names they go by (migration 002)

  • PersonContactCards: role, personal or socials; documented JSON fields, with email, email_aliases and email_pinned

  • SessionRegistrations: one per person per session, referencing Session.slug (all seven sessions now have a Session row)

  • PersonInteractions: registrations, attendance and logins, append-only

All writes go through src/lib/contact-cards.ts. The commands:

CommandDoes
pnpm ingest:registrationsImports Zoom exports; near matches go to context-v/extra/registration-review.json
pnpm db:link-participantsLinks profiles; near matches go to context-v/extra/participant-review.json
pnpm db:backfill-loginsRecords past logins (50 of 54 now resolve to a person)
pnpm db:merge-peopleCombines two people once confirmed
pnpm db:audit-peopleChecks every copy against the cards

Emails live only in the database. The review lists sit in the gitignored context-v/extra/.

What's Next

  • Attendance needs post-event reports. Every Zoom export we have was downloaded before its session started, so almost everyone reads Absent. Importing the attendee reports is one line per file.

  • Sign-in should record itself as an interaction; until then, re-run the login backfill.

  • Firm names on registration-only people are still email domains.