# Contracts

## Product

The Canvas board remains primary, but storyboard frames and selected-frame review are first-class surfaces. A technically correct graph is insufficient if it does not produce a desirable storyboard workflow.

## Data

Persist project/episode flow data, prose/script, script plan, assets, storyboard order, frame metadata, media records and workbench/video metadata in durable storage.

## Integration

Provider adapters must separate fake-provider contract tests from live-provider proof. Missing credentials produce explicit blocked states.

## Runtime

Serve a browser app with authenticated API/socket routes, durable data/media storage, health/readiness checks and restart proof.

## UX/UI

Desktop and narrow screenshots must show a coherent production storyboard product: ordered shot frames, selected-frame inspector, visible media/review states and no overlapping controls.

## Security

Secrets remain server-side. Session/project/episode authorization is required for API, socket, media and destructive operations.
