Skip to content

[Context] Ingest standalone artists and songwriters #2136

Open

Description

@sidneyswift

Customer journey

An account submits a name, profile or existing record without a song URL.

Implementation ownership

API owns shared operations and Vercel Workflows; database changes belong in the database repository. Inspector work stays in the inspector; reference documentation stays in private Business.

Acceptance criteria

  • Resolve ambiguous names before enrichment; distinguish professional roles from login accounts.
  • Require explicit roster intent; researching a person does not add them to a roster.
  • Test new, existing, ambiguous and revoked-access requests through shared REST/MCP logic.

Dependencies

#2118, #2119, #2120, #2122

Delivery evidence

Link implementation PRs, meaningful tests and inspector traces. Report implemented, connected, fixture-tested and live-verified states separately. Preserve explicit gaps and paid-call authorization.

Parent: #2116.

Organization onboarding user story — 2026-10-07

As a label or music-services operator, I want to onboard a songwriter/producer without requiring a Spotify artist profile, so that the organization's roster represents the people and professional roles we actually work with.

Current capability gap

The current Chat components/Artists/AddArtistDialog.tsx flow is Spotify-only. API name-only artist creation exists, but that alone does not establish a songwriter/producer role or the intended organization relationship. This is a capability gap observed during onboarding, distinct from the reproduced artist-association and settings bugs in #2166 and #2167.

Bounded onboarding acceptance

  • Provide a supported manual/non-Spotify onboarding path with explicit organization roster intent and professional role selection.
  • Resolve a verified existing person where appropriate, or create a new professional record after ambiguity is resolved; do not create a login account or assume identity from name similarity.
  • Support songwriter and producer roles together for the same person, with persistent, explicit organization relationships.
  • A person's music activity can be represented without importing unrelated founder-marketing persona content, credentials, or another workspace's private context.
  • Do not require a fabricated Spotify profile or relabel an unrelated artist/profile to bypass the current UI limitation.
  • Roster membership and professional roles do not imply catalog ownership, publishing administration, royalty entitlement, or authority to act for a company.
  • An authorized operator can view the result in the selected roster after refresh; unauthorized and revoked-access calls are rejected, and retries do not duplicate records.
  • Exercise the shared operation through its UI and REST/MCP entry points as applicable, and verify the persisted identity, roles, and organization relationship in an authorized test environment.

Delivery boundary

Start by validating existing identity and organization primitives against the dependencies above. Implement the smallest coherent onboarding slice and record any genuinely blocking prerequisite with evidence. Full catalog rights, contracts, royalty accounting, company mandates, and a universal schema redesign are outside this slice. Preserve this issue's original dependencies and parent epic.

Activity

  1. sidneyswift commented on Oct 8, 2026

    @sidneyswift
    CollaboratorAuthor

    Bounded onboarding dependency assessment after implementing the two regressions:

    The non-Spotify songwriter/producer path remains blocked by concrete missing primitives on current API main (ca6db96a), not merely by the dependencies' open status:

    1. Context ingest contract still requires a supported media URL. There is no manual professional-person identity confirmation or role-bearing roster command. [Context] Define context contracts, ownership rules and acceptance fixtures #2118 needs the bounded input/identity/roster-intent contract.
    2. Roster schema models artist_organization_ids as an artist/organization pair; it has no professional roles or separate workspace professional profile. Name-only creation creates an account and empty account-info row, not a verified person with songwriter/producer roles. Exposing that as songwriter onboarding would misrepresent the result.
    3. Shared account profile reads return account-wide info. Reusing an existing persona through the legacy relationship does not establish the music-only workspace-context boundary required by [Context] Enforce context ownership consistently across API, MCP and workers #2120. Non-provider creation also lacks the stable persisted request/identity confirmation needed for duplicate-safe retries ([Context] Resolve provider identities and attach artists to the correct workspace #2119/[Context] Run durable context requests with recoverable per-module execution #2122).

    Smallest next supported slice: agree a role-bearing organization-roster command with explicit intent and verified-person/new-professional-record confirmation, persist organization-scoped professional context separately from shared identity, and make that command idempotent and authorization-equivalent through REST/MCP. Then expose the manual UI. No catalog rights, mandates, publishing administration, enrichment providers, or login-account creation are needed for that slice.

    No manual songwriter UI or fabricated identity was added. These prerequisites remain explicit; this issue is not complete. The two regression PR sets are implemented and locally fixture-tested, with hosted end-to-end verification pending an isolated test environment.

  2. sidneyswift commented on Oct 8, 2026

    @sidneyswift
    CollaboratorAuthor

    Correction to the dependency assessment: current API already supports ingest_songwriter_name through lib/context/processContextOperation.ts, backed by create_context_songwriter_name_request in database migration 20260925100000_context_songwriter_name_entry.sql. It accepts a name without a media URL, persists a workspace-private submitted-name candidate with an idempotency key, leaves identityConfirmed: false, and starts no research. The earlier statement that Context only accepts media URLs was too broad.

    This provides reusable intake, but not the requested onboarding result: it creates no professional-person confirmation, songwriter/producer role set, or organization roster relationship. Those are the bounded remaining primitives. A universal Context redesign is not required. The regression fixes in #2166/#2167 do not complete this issue.

  3. sidneyswift commented on Nov 6, 2026

    @sidneyswift
    CollaboratorAuthor

    Mostly done. Manual songwriter/producer onboarding shipped without a Spotify profile: explicit roster intent, both roles, same-name candidates resolved by explicit selection, and no login account (recoupable/database#85, recoupable/api#971, #2170). Roster members now get artist accounts (recoupable/database#121), and Spotify research no longer enrolls artists (recoupable/database#91).

    Still open: resolving a submitted songwriter name to a selected professional (recoupable/api#1022, recoupable/database#110, unmerged), retaining aliases and society identifiers (carried over from duplicate recoupable/database#2135), and recorded hosted verification of the saved roles and roster link.

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