Skip to content

Person identity storage: migrate portable profile state off canonical WorkOS user #6488

Open

Description

@bokelley

Split from #3590. Depends on the ownership/provenance contract in #6487.

Problem

The durable identity and plural WorkOS credential binding are live, but community profile fields still live on users, keyed by the canonical workos_user_id. Auth currently masks that coupling with a primary-user ID swap.

Changing a primary credential therefore still means moving person-owned application rows, and an incorrect link/split has no clean profile-ownership contract.

Scope

  • Introduce identity-owned storage for portable community profile fields approved in Person identity: define ownership, provenance, and lifecycle of portable state #6487.
  • Preserve credential-specific WorkOS names and emails as sourced credential facts; add an identity-owned preferred display value only where the model calls for one.
  • Backfill existing profiles from the current canonical user without overwriting conflicting non-empty values silently.
  • Add bounded dual-read/dual-write behavior and observability during rollout.
  • Move profile APIs, directory rendering, and account settings to the identity-owned read model.
  • Define safe fallback/rollback behavior while both representations exist.

Explicitly not included

  • Community points, badges, and journey status (separate child issue)
  • Organization memberships, roles, seats, or entitlements
  • Certifications, billing, conversations, or audit-event provenance
  • Employment affiliations

Acceptance criteria

Activity

  1. added this to the Evergreen milestone on Aug 13, 2026
  2. added
    enhancementNew feature or request
    admin-toolInternal tools for AAO staff
    claude-triagedIssue has been triaged by the Claude Code triage routine. Remove to re-triage.
    on Aug 13, 2026
  3. changed the title [-]Identity storage: replace singular relationship identity columns with junction tables[/-] [+]Person identity storage: migrate portable profile state off canonical WorkOS user[/+] on Aug 24, 2026
  4. added
    triage:outcome-missingclaude-triaged label is present but no visible triage outcome comment was found
    on Sep 21, 2026
  5. bokelley commented on Sep 21, 2026

    @bokelley
    ContributorAuthor

    Maintainer triage — 2026-09-21

    Classification: Data migration

    Status: Blocked on ownership/provenance decision

    Decision: Retain the person-identity storage migration but do not move data before lifecycle and ownership semantics are settled.

    Next gate: Resolve #6487, then produce a reversible migration plan with collision and rollback tests.

  6. removed
    triage:outcome-missingclaude-triaged label is present but no visible triage outcome comment was found
    on Sep 21, 2026
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

    admin-toolInternal tools for AAO staffclaude-triagedIssue has been triaged by the Claude Code triage routine. Remove to re-triage.enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions