Skip to content

RFC: Identity Ingestion & Information Architecture: Disentangle Actor Nature (Human vs Automated/Bot) from Organization #3314

Backlog

Description

@pikerr

Summary

The current identity ingestion pipeline conflates the fundamental nature of the sender (Human vs Automated Bot/Feed) with its organizational context and relationship status. This leads to severe breakdowns across both the data model and the user interface:

  1. Broken Strangers classification: Automated notification daemons and commercial banks end up classified as "strangers from public groups", while the owner's self-identities and primary 1-to-1 contacts lose their ties.
  2. Combinatorial merge explosion in people review: Transactional feeds (like Substack newsletters) are ingested as individual person records, generating $O(N^2)$ bogus pairwise merge candidates.
  3. Cluttered Information Architecture: The top-level tab hierarchy (People | Companies | Newsletters & notifications | Strangers | Unsorted) confuses entity types with relational statuses and internal quarantine buckets.

This RFC proposes:

  1. Strict separation between Actor Nature (Human vs Automated / Bot) and Affiliation (Organization).
  2. A clean 3-pillar Information Architecture for Contacts: People, Automated, and Organizations.
  3. Demoting Strangers and Unsorted from top-level tabs into internal attributes/filters.
  4. A core invariant: Automated identities must never enter the pairwise people review candidate queue with person entities.

Observed Failures (Live Store & Desktop UI Symptoms)

1. Ingestion Classification Failure (The Strangers Breakdown)

The definition of Strangers states:

"A real name, but no tie with you: authors from big groups and channels."

Yet looking at what actually lands in Strangers:

  • Financial Institutions & Legal Entities: ALTA Banka a.d. Beograd (altabanka@24x7.rs) — a commercial bank sending official monthly statements, yet classified as a stranger from a chat group rather than a Company/Automated entity.
  • Transactional Daemons & Broadcast Feeds: Google Location Sharing (noreply-...), Google Gemini (google-gemini-noreply@...), Bitget (notification@...), Blockchain.com (notify@...). All leak into Strangers instead of Newsletters & notifications or Companies.
  • The Owner & Primary Human Contacts: The only real humans in Strangers are the owner's own second email address and a primary business contact with multiple 1-to-1 threads, who lost their "tie" simply because outgoing replies weren't indexed or weighted properly.

2. Pairwise Deduplication Failure (The Substack $O(N^2)$ Explosion)

Substack sends newsletters from dynamic plus-addresses: author+topic1@substack.com, author+topic2@substack.com, etc.
cli-core extracts the display name ("Token Dispatch") and assigns each to an individual person record (person:127, person:130, person:131, person:152).
Consequently, people review generates $O(N^2)$ candidate pairs:

17: thetokendispatch+wormhole@substack.com may be the same person as thetokendispatch+mempool@substack.com (name, score 0.5)
16: thetokendispatch+rabbit-hole@substack.com may be the same person as thetokendispatch+mempool@substack.com (name, score 0.5)
15: thetokendispatch+rabbit-hole@substack.com may be the same person as thetokendispatch+wormhole@substack.com (name, score 0.5)
...

The user is forced to manually review dozens of mechanical merge suggestions for broadcast feeds.

3. The Unsorted Flaw

Checking what currently populates Unsorted reveals entities like Deleted Account from Telegram or records without extractable names (no-name). Exposing an internal quarantine bucket as a permanent top-level navigation tab confuses users, who expect actionable triage rather than dead metadata.


Root Cause: The Flattened kind Enum

Currently:

kind: "person" | "organization" | "automated" | "stranger" | "unsorted"

This conflates three orthogonal dimensions into a single flat enum:

  1. Actor Type (Human vs Automated Bot/Feed/Service).
  2. Affiliation / Container (Organization).
  3. Relationship Status / Data Hygiene (Connected vs Unconnected / Orphaned / No Name).

Organizations do not send messages directly; actors (humans or bots) belonging to an organization do.


Proposed Domain Model & Information Architecture

1. Clean 3-Pillar Top-Level Navigation

Instead of 5 fragmented tabs, Contacts should adhere to a strict dichotomy of actors plus organizational containers:

[ 👤 People ]        [ 🤖 Automated ]        [ 🏢 Organizations ]
  • 👤 People: Strictly real human counterparts.
    • Filterable by relationship status: All, Connected / Direct (with mutual threads/meetings), or Unconnected (authors from public groups, replacing the top-level Strangers tab).
  • 🤖 Automated: All software actors, feeds, transactional notifications, and bots.
    • Categorized by tag/purpose: Newsletters, Alerts / 2FA, Receipts / Billing, Bots.
    • Grouped deterministically by service domain without requiring user merge reviews.
  • 🏢 Organizations: Legal entities, platforms, and vendors (e.g. ALTA Banka, Google, AWS).
    • Act as aggregate containers linking both their employees (Human members) and system addresses (Automated daemons).

2. Demote Unsorted to Secondary Triage / Maintenance

Entities like Deleted Account or records lacking display names should not occupy primary tab space. They should be:

  • Filterable via a secondary filter ("Archived / Incomplete"), or
  • Surfaced via the existing triage/review badges when user attention is actually required.

3. Core Architecture Invariants

  1. Strict Exclusion from people review: Identities classified as automated (or matching bulk mail RFC headers / bot flags) MUST NEVER enter the pairwise people review candidate queue with person entities.
  2. Deterministic Service Grouping: Automated identities sharing the same base domain or organization should automatically be rolled up under that Organization without prompting for manual merges.
  3. Owner Identification: Ingested accounts must strictly inherit the owner flag across all configured addresses to prevent self-identities from degrading into strangers.

Expected Benefits

  • Zero Junk in Merge Review: Eliminates 90%+ of useless merge suggestions in people review.
  • Intuitive Mental Model: Users clearly navigate by Who (People), What Machine (Automated), and What Company (Organizations).
  • Elimination of "Strangers" and "Unsorted" as Confusing Primitives: Replaces awkward top-level tabs with standard relational filters and clean data hygiene.

Activity

  1. changed the title [-]RFC: Disentangle Actor Kind (Human vs Automated/Bot) from Organization and exclude Automated identities from `people review`[/-] [+]RFC: Identity Ingestion & Information Architecture: Disentangle Actor Nature (Human vs Automated/Bot) from Organization[/+] on Nov 24, 2026
  2. leemour commented on Nov 24, 2026

    @leemour
    Member

    Thanks for the detailed report. We checked it against the code, and the symptoms are real.

    The four concrete bugs behind them have their own issues and are being fixed now:

    For the model and the screen we wrote a plan in #3323. It follows your main idea and changes it in two places:

    • The kind is split into three answers: who sent it (human, bot, organization), how it reached you (direct, group, broadcast) and whether you know them. A newsletter author is usually a person, so "newsletter" is a way of reaching you, not a sender type.
    • That gives four tabs (People, Subscriptions, Bots, Organizations). Strangers becomes a filter inside People, and nameless or deleted rows become a mark.

    Comments on the plan are welcome in #3323.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions