# ECP-0100: NBC Auth Bootstrap Command for Hidden Worker Sessions

Status: Proposed

## Decision

Add an explicit `bootstrap_nbc_auth` command to the Tauri app so operators can warm an NBC /
Adobe session ahead of hidden playback runs.

The command will:

- accept either an existing NBC stream id or a raw `nbc.com/watch/...` or `nbc.com/live?...` URL
- run the macOS native NBC path in hidden mode by default
- surface the auth window only when MVPD interaction is actually required
- close the bootstrap window after the session is ready so later hidden playback can reuse the
  persisted session state

## Motivation

Hidden worker mode makes unattended playback plausible only when the session is already warm.
Without an explicit bootstrap surface, the operator has to guess which playback attempt should be
used to re-authenticate the session.

An explicit bootstrap command gives `every.channel` a clean operator primitive: warm auth now,
then let later hidden playback reuse that session without additional visible browser chrome.

## Scope

In scope:

- a Tauri backend command for NBC auth bootstrap
- a small operator affordance in the desktop UI to invoke that command
- reusing the same persisted native webview data directory as hidden playback

Out of scope:

- a full standalone CLI lifecycle for bootstrap without the Tauri app runtime
- storing Verizon credentials in the repo
- automating expired-auth recovery beyond surfacing the interactive window when needed

## Alternatives Considered

- Reuse ordinary playback attempts as implicit bootstrap. Rejected because it obscures operator
  intent and complicates hidden-run automation.
- Build a separate bootstrap-only app. Rejected because the existing Tauri runtime already hosts
  the relevant webview/session state.

## Rollout / Reversibility

- The command is additive.
- Roll back by removing the command and UI affordance while retaining ECP-0099 hidden native mode.
