Skip to content

[Feat] Connect Brain context across team member identities - #1373

Merged
mrubens merged 4 commits into
developfrom
feature/brain-member-identities-1ev02n5fjf1ut
Aug 15, 2026
Merged

[Feat] Connect Brain context across team member identities#1373
mrubens merged 4 commits into
developfrom
feature/brain-member-identities-1ev02n5fjf1ut

Conversation

@roomote-roomote

@roomote-roomote roomote-roomote Bot commented Aug 15, 2026

Copy link
Copy Markdown
Contributor

​Opened on behalf of @mrubens. Follow up by mentioning @roomote-roomote, in the web UI, or in Slack.

What changed

  • Publish canonical people/ cards from existing Roomote users and linked Slack, GitHub, source-control, Telegram, Discord, and Teams identities.
  • Keep person slugs stable across profile renames, scrub standalone and embedded email addresses from Brain labels, and reconcile updates, removed aliases, and deleted members.
  • Add member names alongside raw Slack user IDs, link exact Granola attendee matches to canonical person pages, and re-project historical meetings after identity changes.
  • Expose gbrain's read-only entity lookup and document when agents should use it.

Why this change was made

The Brain could retrieve activity about a person but had no canonical identity connecting names and provider handles across Slack, source control, and meeting notes. This made direct questions such as "who is this person?" noisy and unreliable.

Impact

Agents can now resolve known deployment members through one privacy-safe identity card and connect their activity across supported sources. Identity changes also restart Granola's bounded backfill once so existing meeting pages converge without waiting for note edits. Postgres remains authoritative, no schema migration is required, and existing raw provider IDs remain available for exact matching.

@roomote-community

roomote-community Bot commented Aug 15, 2026

Copy link
Copy Markdown
Contributor

No new code issues found. See task

  • Scrub embedded email addresses before adding member profile and provider values to Brain cards and Slack labels. (apps/bullmq/src/scheduled-jobs/brain-collectors.ts:1088)
  • Re-project existing Granola meeting pages when identity mappings change so historical attendees receive canonical links. (apps/bullmq/src/scheduled-jobs/brain-collectors.ts:1721)

Reviewed e1f2e17

Comment thread apps/bullmq/src/scheduled-jobs/brain-collectors.ts Outdated
Comment thread apps/bullmq/src/scheduled-jobs/brain-collectors.ts
@roomote-roomote

roomote-roomote Bot commented Aug 15, 2026

Copy link
Copy Markdown
Contributor Author

Fixed both review findings in e1f2e17:

  • Embedded email addresses are scrubbed from member names, provider values, aliases, cards, and Slack author labels.
  • A stable identity-projection hash resets Granola's existing bounded backfill once per identity change, re-projecting historical meeting pages with canonical attendee links.

Both review threads are resolved. Focused collector tests, BullMQ type checking, formatting, linting, and the repository pre-push checks pass.

@mrubens
mrubens marked this pull request as ready for review August 15, 2026 17:43
@mrubens
mrubens merged commit 161dbfe into develop Aug 15, 2026
18 checks passed
@mrubens
mrubens deleted the feature/brain-member-identities-1ev02n5fjf1ut branch August 15, 2026 17:43
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.

1 participant