/**
 * The account the local data belongs to.
 *
 * SINGLE-USER / DOGFOOD MODE: a fixed constant, no auth yet. This is the **client-side
 * swap point** for auth — when auth lands, return the signed-in user's id here, and call
 * `useTaskStore.getState().adoptOwner(id)` at the sign-in moment so existing local rows
 * get claimed into the account. (Keep DOGFOOD_OWNER in sync with the server constant in
 * convex/sync.ts.) See docs/engineering/convex-sync.md §Decisions.
 */
export const DOGFOOD_OWNER = 'dogfood';

export function currentOwnerId(): string {
  return DOGFOOD_OWNER;
}
