# ReelCraft — Agent Quickstart

If a user asked you to edit a vertical short-form video (TikTok, Instagram Reels, or YouTube Shorts), follow these steps:

## 1. Clone and Diagnose Environment
```bash
git clone https://github.com/dvlprlat/ReelCraft.git
cd ReelCraft
npm install
npm run doctor
```

Read `AGENTS.md` at the repository root — it is the single source of truth for intake questions, quality gates, and CLI commands.

## 2. Check User Inputs in `input/<slug>/`
- Talking-Head mode: `raw.mp4` or `raw.mov`
- Faceless mode: `voice.wav`, `voice.mp3`, or `voice.m4a`
- Optional: `script.md`, `media/`, `music.mp3`, `brand.json`, plus 1–2 style reference URLs.

## 3. Non-Negotiable Quality Gates
1. **Direct Ear Listening:** Listen to `ear_check_part*.mp3` before composing.
2. **YuNet Eye-Line Audit (Talking-Head):** Run `scripts/analyze-cuts.py` and eliminate `HIGH_TELEPORT` cuts.
3. **Zero Safe-Zone Violations:** `npx hyperframes check --json` must report 0 errors.
4. **Post-Render Audit:** `node scripts/verify-render.mjs out/<slug>.mp4` must confirm 0 black frames and loudness near `-14 LUFS`.
