Skip to content

Agent Skill for 15–90 s motion graphics, promo and character videos: reference analysis, seven stage gates, Remotion and HyperFrames engines.

docs: English README by default, diagrams on the Uncle Jobs design system (#6)

Unclejobs9fdf7ddd9dff
diff --git a/README.en.md b/README.en.md
deleted file mode 100644
index 47222c6..0000000
--- a/README.en.md
+++ /dev/null
@@ -1,236 +0,0 @@
-# motion-video-production
-
-[한국어](README.md) · **English**
-
-A **production skill in the Agent Skills format** for making 15–90 second motion graphics, promo and character mp4 videos with music and voice. It includes stage gates, a reference-video analyzer, and two render engines (Remotion, HyperFrames).
-
-Codex, Claude Code, and other skill-capable runtimes use the same skill folder.
-
-![Animated result of the 5-second carry demo](docs/assets/carry-demo.gif)
-
-The quick start renders this 5-second typography demo. Carry is the fraction of cut transitions where at least one on-screen element continues into the next shot. The finished mp4 has music but no voice; the GIF is silent and the on-screen text is Korean. For character and voice production, start at [First request](#first-request).
-
-**Jump to** · [Quick start](#quick-start) · [Installation](#installation) · [What's inside](#whats-inside) · [Reference analysis](#reference-analysis) · [Workflow](#workflow) · [Harness](#harness) · [Seven consistency criteria](#seven-consistency-criteria) · [Gotchas](#gotchas) · [Reference docs](#reference-docs) · [Required tools](#required-tools) · [Known limitations](#known-limitations) · [Verification scope](#verification-scope)
-
-## Quick start
-
-After installing the skill (see [Installation](#installation)), copy an engine into a working folder and render a demo. Node.js 24 or newer and ffmpeg are required. Do not run `npm ci` inside the skill folder. The commands below took about 28 seconds on a MacBook Air M3, including engine dependency installation with a cached browser.
-
-```bash
-SKILL_ROOT="$PWD/.agents/skills/motion-video-production" # your actual install path
-# Find it: ls -d .agents/skills/motion-video-production .claude/skills/motion-video-production ~/.agents/skills/motion-video-production ~/.claude/skills/motion-video-production 2>/dev/null
-# Personal install: use "$HOME/.agents/skills/motion-video-production" or "$HOME/.claude/skills/motion-video-production"
-# mkdir stops if engine/ already exists. Remove it or pick another name (cp -R into an existing folder nests engine/remotion)
-mkdir engine && cp -R "$SKILL_ROOT/engines/remotion/." engine && cd engine && npm ci
-# Check carry across cut transitions
-node pipeline/probe.mjs productions/carry-demo # carry 1.00 PASS
-node pipeline/render.mjs carry-demo --stills 1.5 3.0 # renders/carry-demo/contact.png
-node pipeline/render.mjs carry-demo # renders/carry-demo/picture.mp4
-node pipeline/score.mjs productions/carry-demo # procedural score
-# <picture> <fps> <seconds> <music> <voice, - for none> <output>
-bash "$SKILL_ROOT/scripts/mix-mux.sh" renders/carry-demo/picture.mp4 60 5 productions/carry-demo/audio/score.wav - out/final.mp4
-bash "$SKILL_ROOT/scripts/verify.sh" out/final.mp4
-```
-
-Rendering uses `CHROME_PATH` or a cached Playwright headless shell. If neither exists, `npx remotion browser ensure` downloads one (the agent asks before downloading).
-
-## Installation
-
-Run this in the project folder where you want to use the skill. It requires Node.js and npx; select the runtimes you use.
-
-```bash
-npx skills add unclejobs-ai/motion-video-skill --skill motion-video-production
-```
-
-To target Codex only, run the command below. Add `--global` for personal scope.
-
-```bash
-npx skills add unclejobs-ai/motion-video-skill --skill motion-video-production --agent codex
-```
-
-The [Vercel skills CLI](https://github.com/vercel-labs/skills) handles install locations for Codex, Claude Code, Gemini CLI, Cursor, GitHub Copilot, OpenCode, Amp, Antigravity, Windsurf, and others. The engines live inside the skill folder, so they install with it. **Installer compatibility is not the same as full video-production validation.** See [runtime installation, invocation, and verification scope](docs/runtimes.md).
-
-<details>
-<summary><strong>Manual installation (without Node.js)</strong></summary>
-
-Codex reads skills from project `.agents/skills/` and personal `~/.agents/skills/`. This example is a personal installation.
-
-```bash
-git clone https://github.com/unclejobs-ai/motion-video-skill.git
-mkdir -p ~/.agents/skills
-cp -r motion-video-skill/skills/motion-video-production ~/.agents/skills/
-```
-
-Claude Code reads skills from project `.claude/skills/` and personal `~/.claude/skills/`.
-
-```bash
-git clone https://github.com/unclejobs-ai/motion-video-skill.git
-mkdir -p ~/.claude/skills
-cp -r motion-video-skill/skills/motion-video-production ~/.claude/skills/
-```
-
-To use it in one project only, copy the same folder into that project's runtime skill directory. Do not install the same name through several paths in one runtime.
-
-</details>
-
-### First request
-
-After installation, confirm that `motion-video-production` appears in the runtime's skill list. If it does not, restart the runtime. Invoke it with `$motion-video-production` in Codex or `/motion-video-production` in Claude Code and Cursor, or ask:
-
-> I want a 20-second promo video that feels like this reference video.
-
-The agent first asks six things (publication type, length and aspect ratio, available tools, prohibited elements, reference video, engine) and proceeds stage by stage. Without generation tools, it hands you prompts and continues from the files you generate.
-
-## What's inside
-
-| What | What it does | Where |
-|---|---|---|
-| Remotion engine | Pinned render pipeline, motion modules, demos | `engines/remotion/` |
-| Carry probe | Measures, before rendering, whether an on-screen element continues across each cut transition | `pipeline/carry.ts`, `probe.mjs` |
-| Wordcut template | One word held in one slot while scenes hand it over. Edit only `data.ts` | `productions/wordcut/` |
-| Look fit | Fits lens values to a reference's contrast, colour, grain and depth of field | `look-fit.mjs` |
-| Voice and music | ElevenLabs and Fish Audio voices via the composio CLI, a procedural score on the timing | `vo.mjs`, `score.mjs` |
-| HyperFrames engine | Animates plain HTML/CSS pages with GSAP and renders them to mp4 | `engines/hyperframes/` |
-| Reference analysis | Takes a reference video apart with OpenCV into target numbers | `scripts/ref-analyze.py` |
-
-The engine is swappable. Use Remotion when you need carry and wordcut, HyperFrames when the source material is web pages. The comparison is in [`references/engines.md`](skills/motion-video-production/references/engines.md).
-
-## Reference analysis
-
-<img src="docs/assets/ref-pipeline.en.png" width="480" alt="Reference analysis pipeline">
-
-"Make it like this video" is usually about motion and editing more than texture. Stage 0 takes the reference apart with OpenCV and records cuts and holds, optical flow, blur, depth of field, grain and look as numbers. The plan cites those numbers. After rendering, the same analysis measures the result, and `gate.py ref` lists target and difference per metric and blocks when one is out of range.
-
-Run this from your project folder, not `engine/`. Set `SKILL_ROOT` as in Quick start.
-
-```bash
-SKILL_ROOT="$PWD/.agents/skills/motion-video-production" # your actual install path
-PROJECT_ROOT="$PWD" # output folder containing reference.mp4 and ref/
-python3 -m venv .venv && . .venv/bin/activate && python3 -m pip install -r "$SKILL_ROOT/scripts/requirements-ref.txt"
-mkdir -p ref qa && cp -n "$SKILL_ROOT/templates/ANALYSIS.md" ref/ANALYSIS.md # fill the <...> blanks from the analysis
-python3 -I "$SKILL_ROOT/scripts/ref-analyze.py" reference.mp4 -o ref/analysis.json --targets ref/targets.json
-python3 "$SKILL_ROOT/harness/gate.py" ref "$PROJECT_ROOT"
-```
-
-Motion is measured per 1/30 s, so different frame rates compare. The reference file is never committed; only the numbers are kept. Metric explanations and a worked example are in [`references/reference-analysis.md`](skills/motion-video-production/references/reference-analysis.md).
-
-## Workflow
-
-<img src="docs/assets/workflow-ref.en.png" width="480" alt="Production stages and their gates">
-
-1. The skill creates the stage outputs (`ref/`, `STORY.md`, `character.txt`, `key/`, `clip/`, `voices.json`, `edit.json`).
-2. Set `SKILL_ROOT` to the parent folder of the installed `SKILL.md` and `PROJECT_ROOT` to the output folder. After each stage, run `python3 "$SKILL_ROOT/harness/gate.py" <stage> "$PROJECT_ROOT"`.
-3. Exit code 0 moves to the next stage. Exit code 1 (BLOCK) means: read the BLOCK lines in `qa/gate-<stage>.txt`, fix the output, and rerun the same gate.
-4. Checks that need human eyes cannot be judged by a script. They pass only with a record written after looking at the frames (`qa/clips-review.md`, `qa/review.md`).
-
-The start frame can match, yet the character may change a second later (G01). `gate clips` creates `qa/strip-<clip>.png` for each clip.
-
-![Frame strip showing character drift](docs/assets/strip.en.png)
-
-A `gate.py clips` run (gate output is in Korean). Without a visual review record it returns BLOCK (exit code 1); after the record is written it returns PASS (exit code 0).
-
-![gate clips run: BLOCK, visual review record, PASS](docs/assets/gate-demo.gif)
-
-## Harness
-
-<img src="docs/assets/harness.en.png" width="480" alt="How gates work: automated measurement, visual review, record files">
-
-| Production stage | Gate | Checks |
-|---|---|---|
-| 0. Reference analysis | `ref` | Before planning: blanks in ANALYSIS.md, targets.json format. After rendering: each metric against its target |
-| 1. Story and scene planning | `story` | Blanks, BPM, music sync table, scene table |
-| 2. Character sheet | `character` | Whether `character.txt` is one paragraph, color descriptions, sheet image |
-| 3. Keyframes | `keyframes` | Duplicate files, aspect ratio against clips |
-| 4. Video conversion | `clips` | Duration, frame count, start-frame match, frame strip, per-clip verdicts |
-| 5. Music and voice | `audio` | One voice ID, dialogue files |
-| 6. Assembly | `edit`, `final` | Beat grid, cut continuity, repeated cuts, dialogue length, frame count, audio, loudness, true peak, review record |
-
-Gates read only the stage outputs and the finished mp4, never engine internals, so the standard is the same whichever engine made it.
-
-Similarity values such as SSIM cannot tell a person's motion from deformation (`gotchas.md` G02). The gate checks only the start-frame match numerically and asks a person to review the frame strips and record the later frames.
-
-From the repository folder, run `bash skills/motion-video-production/harness/selftest.sh`. To check an installed copy, run `bash "$SKILL_ROOT/harness/selftest.sh"`. Exit code 0 means the cases behave as expected on this computer.
-
-## Seven consistency criteria
-
-Where the seven criteria that keep faces and voices consistent across scenes sit in the production stages is shown below and in [`references/consistency-7.md`](skills/motion-video-production/references/consistency-7.md).
-
-<img src="docs/assets/seams.en.png" width="480" alt="Where the seven consistency criteria sit">
-
-## Gotchas
-
-All 29 are in [`references/gotchas.md`](skills/motion-video-production/references/gotchas.md) with symptoms, causes, prevention, and check IDs. Engine pitfalls are in [`references/pitfalls.md`](skills/motion-video-production/references/pitfalls.md). Common ones:
-
-- Set cut lengths in beats, and round start frames once from cumulative time. (G11, G12)
-- Measure dialogue length before setting cut length. (G13)
-- Piping a check through `| tail` loses its exit code. (G21)
-- A smooth scene change where nothing survives still scores carry 0.00. Move one element across the cut transition.
-
-## Reference docs
-
-They ship inside the installed skill folder. The agent reads the one each stage needs; most are in Korean.
-
-| Doc | What it covers |
-|---|---|
-| [`SKILL.md`](skills/motion-video-production/SKILL.md) | Skill instructions: stage order, the six opening questions, gate calls |
-| [`references/reference-analysis.md`](skills/motion-video-production/references/reference-analysis.md) | Reference analysis metrics and building targets |
-| [`references/engines.md`](skills/motion-video-production/references/engines.md) | Remotion vs HyperFrames, per-engine commands |
-| [`references/art-direction.md`](skills/motion-video-production/references/art-direction.md) | Carry, motion vocabulary, holding one style |
-| [`references/glossary.md`](skills/motion-video-production/references/glossary.md) | Editing, camera and texture terms (Korean and English) |
-| [`references/beat-grid.md`](skills/motion-video-production/references/beat-grid.md) | Cut lengths from BPM |
-| [`references/consistency-7.md`](skills/motion-video-production/references/consistency-7.md) | Seven character consistency criteria |
-| [`references/brand-intro.md`](skills/motion-video-production/references/brand-intro.md) | A brand intro video plus a one-page homepage |
-| [`references/providers.md`](skills/motion-video-production/references/providers.md) | Notes on image, video and voice tools |
-| [`references/cost-rules.md`](skills/motion-video-production/references/cost-rules.md) | Free first, paid only where needed |
-| [`references/gotchas.md, pitfalls.md`](skills/motion-video-production/references/gotchas.md) | Common gotchas and mistakes |
-| [`references/licensing.md`](skills/motion-video-production/references/licensing.md) | External tool licenses and check dates |
-| [`templates/`](skills/motion-video-production/templates/) | Stage output forms such as STORY.md, ANALYSIS.md, BEATSHEET.md |
-
-## Required tools
-
-Free tiers and commercial-use conditions are in [`NOTICE.md`](NOTICE.md) and [`references/licensing.md`](skills/motion-video-production/references/licensing.md) (with source URLs). Remotion needs a Company License for for-profit organizations with four or more employees; HyperFrames is Apache-2.0. Terms change often, so check them right before work.
-
-| Tool | Purpose |
-|---|---|
-| Codex, Claude Code, or another skill-capable agent | Running production and assembly |
-| ffmpeg, ffprobe, Python 3, Bash | Running the harness and scripts (WSL on Windows) |
-| Node.js 24 or newer | Engines (Remotion 4.0.529, HyperFrames 0.8.143, pinned) |
-| OpenCV, numpy (`scripts/requirements-ref.txt`) | Reference analysis |
-| ChatGPT / Grok Imagine | Image and video generation |
-| ElevenLabs, Fish Audio (composio CLI) | Voice |
-| whisper | Transcription review |
-
-## Known limitations
-
-- **The carry probe is Remotion-only.** It reads the boxes declared before rendering (`track.ts`). HyperFrames renders are measured on the mp4 with `verify.sh`, `gate.py final` and `gate.py ref`. There is no mp4-side carry measurement yet.
-- **The wordcut demo is an untuned first render.** Against the reference targets, `gate.py ref` blocks 10 of 12 metrics; grain, sharpness ratio and contrast are furthest off. Re-running `look-fit.mjs` and `plan.mjs` to close that gap is how the skill is meant to be used.
-- **A closing image drops the carry score to 0.00 (FAIL).** The only counted boundary is the one where the image covers the page, and it counts as bare; the other detected boundary is exempt as a declared cut. Turn that boundary into a carry to get out of FAIL.
-- **The full text of the GSAP license clauses was not verified.** GSAP 3.14.2, used by the HyperFrames demo, says in its README that it is free including commercial use. Before releasing a commercial video, check https://gsap.com/standard-license.
-
-## Repository structure
-
-```
-README.md, README.en.md Korean and English READMEs
-NOTICE.md, LICENSE External tool notice, MIT
-docs/ README images (diagram SVG sources included), runtime install and verification scope
-skills/motion-video-production/ Skill folder to install (everything below is copied together)
- SKILL.md Skill instructions
- references/ reference analysis, engines, art direction, consistency, beat grid, tool notes, gotchas, licensing
- harness/ gate.py (per-stage verdicts), selftest.sh (harness self-validation)
- scripts/ ref-analyze.py, mix-mux.sh, verify.sh, key-plate.sh, clipsheet.sh and more
- templates/ ANALYSIS.md, STORY.md, BEATSHEET.md, MUSIC_BRIEF.md and more
- engines/remotion/ carry demo, wordcut template, render, voice and score pipeline
- engines/hyperframes/ HTML/GSAP carry demo
-```
-
-## Verification scope
-
-On 2026-10-25 the committed tree was exported and installed as is. All 76 skill files installed. Engine `npm ci`, typecheck, 13 tests, the carry probe and the selftest passed. Renders in both engines were measured with `verify.sh` and `gate.py ref`, and the HyperFrames render passed `gate.py final`. Not checked: external generation, voice credits, listening to audio, and invocation inside the seven other runtimes. Details are in [docs/runtimes.md](docs/runtimes.md).
-
-## Built by
-
-This skill distills the review criteria the team behind [SceneSteller](https://www.scenesteller.com/?utm_source=github&utm_medium=readme&utm_campaign=motion-video-skill) built up while producing videos. If you'd rather go from story to finished video right in your browser, try it in SceneSteller.
-
-## Rights and responsibilities
-
-Rights and responsibilities for generated outputs are described in [`NOTICE.md`](NOTICE.md) and [`references/licensing.md`](skills/motion-video-production/references/licensing.md).
diff --git a/README.ko.md b/README.ko.md
new file mode 100644
index 0000000..1c4ef18
--- /dev/null
+++ b/README.ko.md
@@ -0,0 +1,250 @@
+# motion-video-production
+
+[English](README.md) · **한국어**
+
+[![GitHub stars](https://img.shields.io/github/stars/unclejobs-ai/motion-video-skill?style=flat&color=ff5a14)](https://github.com/unclejobs-ai/motion-video-skill/stargazers) [![License: MIT](https://img.shields.io/badge/license-MIT-0a0a09)](LICENSE) [![Agent Skills](https://img.shields.io/badge/format-Agent%20Skills-5c5a52)](docs/runtimes.md)
+
+![레퍼런스를 재고, 7단계 게이트를 거쳐, 같은 목표값으로 mp4를 판정하는 흐름](docs/assets/hero.ko.png)
+
+음악과 목소리를 담은 15~90초 mp4를 만드는 **Agent Skills 형식의 제작 스킬**이에요. 모션 그래픽, 홍보 영상, 캐릭터 영상을 만들어요. 단계별 게이트, 레퍼런스 분석기, 렌더 엔진 두 개(Remotion, HyperFrames)가 들어 있어요.
+
+Codex, Claude Code와 다른 스킬 지원 런타임에서 같은 스킬 폴더를 써요.
+
+![5초 carry 데모의 움직이는 결과](docs/assets/carry-demo.gif)
+
+빠른 시작으로 만드는 5초 타이포그래피 데모예요. carry는 컷이 바뀔 때 화면 요소가 하나라도 이어지는 컷 전환의 비율이에요. 완성 mp4에는 음악만 있고 목소리는 없어요. 위 GIF에는 소리가 없어요. 캐릭터와 목소리를 넣는 흐름은 [첫 요청](#첫-요청)에서 시작해요.
+
+![carry: 첫 줄이 아이리스 전환을 지나 다음 장면의 라벨로 이어지는 세 프레임](docs/assets/carry.ko.png)
+
+**바로 가기** · [왜 게이트인가](#왜-게이트인가) · [빠른 시작](#빠른-시작) · [설치](#설치) · [들어 있는 것](#들어-있는-것) · [레퍼런스 분석](#레퍼런스-분석) · [사용 흐름](#사용-흐름) · [하네스](#하네스) · [캐릭터 일관성 7가지](#캐릭터-일관성-7가지) · [자주 겪는 함정](#자주-겪는-함정) · [참고 문서](#참고-문서) · [필요한 도구](#필요한-도구) · [알려진 한계](#알려진-한계) · [검증 범위](#검증-범위)
+
+## 왜 게이트인가
+
+생성 영상은 조용히 틀려요. 첫 프레임은 키프레임과 같은데 1초 뒤에 옷이 바뀌어 있어요. 컷이 박자에서 조금씩 밀리고, 대사가 컷보다 길어져요. "괜찮아 보인다"는 에이전트에게 지킬 기준이 되지 못해요. 그래서 이 스킬은 단계마다 스크립트가 검사할 수 있는 파일을 남겨요.
+
+- **숫자로 재는 것:** 길이, 프레임 수, 시작 프레임 SSIM, 박 격자, 라우드니스, 트루 피크, 레퍼런스 지표.
+- **눈으로 보고 기록하는 것:** 프레임 스트립을 보고 쓴 검수 기록이 없으면 게이트가 막아요.
+- **의견 대신 종료 코드:** `0`이면 다음 단계, `1`이면 고칠 줄을 알려줘요.
+
+## 빠른 시작
+
+스킬을 설치한 뒤(방법은 [설치](#설치)) 엔진을 작업 폴더로 복사해 데모 하나를 렌더해요. Node.js 24 이상과 ffmpeg가 필요해요. 스킬 폴더 안에서 `npm ci`를 실행하지 않아요. MacBook Air M3에서 아래 명령 전체는 약 28초 걸렸어요(엔진 의존성 설치 포함, 브라우저는 캐시 사용).
+
+```bash
+SKILL_ROOT="$PWD/.agents/skills/motion-video-production" # 실제 설치 경로
+# 찾기: ls -d .agents/skills/motion-video-production .claude/skills/motion-video-production ~/.agents/skills/motion-video-production ~/.claude/skills/motion-video-production 2>/dev/null
+# 개인 설치면 "$HOME/.agents/skills/motion-video-production" 또는 "$HOME/.claude/skills/motion-video-production"
+# engine/이 이미 있으면 mkdir에서 멈춰요. 지우거나 다른 이름을 써요(있는 폴더에 cp -R 하면 engine/remotion으로 중첩돼요)
+mkdir engine && cp -R "$SKILL_ROOT/engines/remotion/." engine && cd engine && npm ci
+# 컷 전환의 carry를 검사해요
+node pipeline/probe.mjs productions/carry-demo # carry 1.00 PASS
+node pipeline/render.mjs carry-demo --stills 1.5 3.0 # renders/carry-demo/contact.png
+node pipeline/render.mjs carry-demo # renders/carry-demo/picture.mp4
+node pipeline/score.mjs productions/carry-demo # 절차적 스코어
+# <영상> <fps> <초> <음악> <대사, -는 없음> <출력>
+bash "$SKILL_ROOT/scripts/mix-mux.sh" renders/carry-demo/picture.mp4 60 5 productions/carry-demo/audio/score.wav - out/final.mp4
+bash "$SKILL_ROOT/scripts/verify.sh" out/final.mp4
+```
+
+렌더 브라우저는 `CHROME_PATH`나 캐시된 Playwright 헤드리스 셸을 써요. 둘 다 없으면 `npx remotion browser ensure`가 내려받아요(내려받기 전에 에이전트가 먼저 물어요).
+
+## 설치
+
+스킬을 쓸 프로젝트 폴더에서 실행해요. Node.js와 npx가 필요하고, 쓸 런타임을 골라 설치해요.
+
+```bash
+npx skills add unclejobs-ai/motion-video-skill --skill motion-video-production
+```
+
+Codex만 지정하려면 아래처럼 실행해요. 개인 범위로 설치하려면 `--global`을 더해요.
+
+```bash
+npx skills add unclejobs-ai/motion-video-skill --skill motion-video-production --agent codex
+```
+
+[Vercel skills CLI](https://github.com/vercel-labs/skills)가 Codex, Claude Code, Gemini CLI, Cursor, GitHub Copilot, OpenCode, Amp, Antigravity, Windsurf 등의 설치 위치를 처리해요. 엔진은 스킬 폴더 안에 있어서 함께 설치돼요. **설치 호환성과 전체 영상 제작 검증은 달라요.** [런타임별 설치·호출과 검증 범위](docs/runtimes.md)를 참고해요.
+
+<details>
+<summary><strong>수동 설치 (Node.js 없이)</strong></summary>
+
+Codex는 프로젝트 `.agents/skills/`와 개인 `~/.agents/skills/`에서 스킬을 읽어요. 아래는 개인 설치 예시예요.
+
+```bash
+git clone https://github.com/unclejobs-ai/motion-video-skill.git
+mkdir -p ~/.agents/skills
+cp -r motion-video-skill/skills/motion-video-production ~/.agents/skills/
+```
+
+Claude Code는 프로젝트 `.claude/skills/`와 개인 `~/.claude/skills/`에서 스킬을 읽어요.
+
+```bash
+git clone https://github.com/unclejobs-ai/motion-video-skill.git
+mkdir -p ~/.claude/skills
+cp -r motion-video-skill/skills/motion-video-production ~/.claude/skills/
+```
+
+한 프로젝트에서만 쓰려면 그 프로젝트의 런타임별 스킬 폴더에 같은 폴더를 복사해요. 한 런타임에 같은 이름을 여러 경로로 중복 설치하지 않아요.
+
+</details>
+
+### 첫 요청
+
+설치한 뒤 런타임의 스킬 목록에서 `motion-video-production`을 확인해요. 보이지 않으면 런타임을 새로 시작해요. Codex에서는 `$motion-video-production`, Claude Code와 Cursor에서는 `/motion-video-production`으로 부르거나 아래처럼 요청해요.
+
+> 이 레퍼런스 영상 느낌으로 20초짜리 홍보 영상을 만들고 싶어.
+
+에이전트가 먼저 6가지(공개 방식, 길이와 화면비, 쓸 수 있는 도구, 금지 요소, 레퍼런스 영상, 엔진)를 묻고 단계 순서대로 진행해요. 생성 도구가 없으면 프롬프트를 건네고, 사용자가 만든 파일을 받아 이어가요.
+
+## 들어 있는 것
+
+| 무엇 | 하는 일 | 위치 |
+|---|---|---|
+| Remotion 엔진 | 버전이 고정된 렌더 파이프라인, 모션 모듈, 데모 | `engines/remotion/` |
+| carry 검사 | 컷 전환마다 화면 요소가 이어지는지를 렌더 전에 숫자로 재요 | `pipeline/carry.ts`, `probe.mjs` |
+| wordcut 템플릿 | 단어 하나를 한 자리에 두고 여러 장면이 넘겨받는 영상. `data.ts`만 바꿔요 | `productions/wordcut/` |
+| 질감 맞추기 | 레퍼런스의 대비·색·그레인·심도에 렌즈 값을 맞춰요 | `look-fit.mjs` |
+| 목소리와 음악 | composio CLI로 ElevenLabs·Fish Audio 목소리, 타이밍에 맞춘 절차적 스코어 | `vo.mjs`, `score.mjs` |
+| HyperFrames 엔진 | HTML/CSS 페이지를 GSAP으로 움직여 mp4로 렌더해요 | `engines/hyperframes/` |
+| 레퍼런스 분석 | 레퍼런스 영상을 OpenCV로 분해해 목표값을 만들어요 | `scripts/ref-analyze.py` |
+
+엔진은 바꿔 끼울 수 있어요. carry와 wordcut이 필요하면 Remotion, 재료가 웹페이지라면 HyperFrames가 맞아요. 비교는 [`references/engines.md`](skills/motion-video-production/references/engines.md)에 있어요.
+
+## 레퍼런스 분석
+
+![레퍼런스 분석: 레퍼런스를 목표값으로 바꾸고, 렌더 결과를 같은 분석기로 재서 gate.py ref가 비교](docs/assets/reference.ko.png)
+
+"이 영상처럼"이 가리키는 건 보통 질감보다 움직임과 편집이에요. 0단계에서 레퍼런스를 OpenCV로 분해해 컷과 홀드, 광학 흐름, 블러, 심도, 그레인, 질감을 숫자로 남겨요. 계획은 그 숫자를 인용해요. 렌더한 뒤에는 같은 분석으로 결과를 재고, `gate.py ref`가 지표마다 목표와 차이를 적고 범위를 벗어나면 막아요.
+
+엔진 폴더가 아니라 프로젝트 폴더에서 실행해요. `SKILL_ROOT`는 빠른 시작과 같게 정해요.
+
+```bash
+SKILL_ROOT="$PWD/.agents/skills/motion-video-production" # 실제 설치 경로
+PROJECT_ROOT="$PWD" # reference.mp4와 ref/를 둘 산출물 폴더
+python3 -m venv .venv && . .venv/bin/activate && python3 -m pip install -r "$SKILL_ROOT/scripts/requirements-ref.txt"
+mkdir -p ref qa && cp -n "$SKILL_ROOT/templates/ANALYSIS.md" ref/ANALYSIS.md # 빈칸(<...>)은 분석을 보고 채워요
+python3 -I "$SKILL_ROOT/scripts/ref-analyze.py" reference.mp4 -o ref/analysis.json --targets ref/targets.json
+python3 "$SKILL_ROOT/harness/gate.py" ref "$PROJECT_ROOT"
+```
+
+움직임은 1/30초당 값으로 재서 fps가 달라도 비교돼요. 레퍼런스 파일은 커밋하지 않고 숫자만 남겨요. 지표 설명과 실제 예시는 [`references/reference-analysis.md`](skills/motion-video-production/references/reference-analysis.md)에 있어요.
+
+## 사용 흐름
+
+![제작 7단계와 단계마다 붙는 게이트, BLOCK이면 고쳐서 다시 실행](docs/assets/workflow.ko.png)
+
+1. 스킬이 단계 산출물을 만들어요 (`ref/`, `STORY.md`, `character.txt`, `key/`, `clip/`, `voices.json`, `edit.json`).
+2. 설치된 `SKILL.md`의 부모 폴더를 `SKILL_ROOT`, 산출물 폴더를 `PROJECT_ROOT`로 정하고, 단계가 끝나면 `python3 "$SKILL_ROOT/harness/gate.py" <단계> "$PROJECT_ROOT"`를 실행해요.
+3. 종료 코드 0이면 다음 단계로 가요. 1(BLOCK)이면 `qa/gate-<단계>.txt`의 BLOCK 줄을 읽고 고친 뒤 같은 게이트를 다시 실행해요.
+4. 눈으로 봐야 하는 검사는 스크립트가 판정하지 못해요. 프레임을 보고 남긴 기록(`qa/clips-review.md`, `qa/review.md`)이 있어야 통과해요.
+
+시작 화면이 같아도 1초 뒤에 인물이 달라질 수 있어요(G01). `gate clips`가 클립마다 `qa/strip-<클립>.png`를 만들어요.
+
+![프레임 스트립: 키프레임과 0초는 같고 1.0초부터 옷과 조명이 바뀜](docs/assets/strip.ko.png)
+
+`gate.py clips` 실행 예시예요. 눈 검수 기록이 없어서 BLOCK(종료 코드 1)이 나오고, 기록을 남기면 PASS(종료 코드 0)가 돼요.
+
+![gate clips 실행: BLOCK, 눈 검수 기록, PASS](docs/assets/gate-demo.gif)
+
+## 하네스
+
+![게이트 동작: 측정과 눈 검수 기록을 거쳐 판정, PASS면 다음 단계, BLOCK이면 고쳐서 다시 실행](docs/assets/gate.ko.png)
+
+| 제작 단계 | 게이트 | 하는 검사 |
+|---|---|---|
+| 0. 레퍼런스 분석 | `ref` | 계획 전: ANALYSIS.md 빈칸, targets.json 형식. 렌더 후: 지표마다 목표와 비교 |
+| 1. 스토리·장면 기획 | `story` | 빈칸, BPM, 음악 싱크 지점 표, 장면 표 |
+| 2. 캐릭터 시트 | `character` | `character.txt`가 1개 문단인지, 색 표현, 시트 이미지 |
+| 3. 키프레임 | `keyframes` | 중복 파일, 클립과의 화면비 |
+| 4. 영상 변환 | `clips` | 길이, 프레임 수, 시작 화면 일치, 프레임 스트립, 클립별 판정 기록 |
+| 5. 음악·목소리 | `audio` | 음성 ID 1개, 대사 파일 |
+| 6. 조립 | `edit`, `final` | 박 격자, 컷 연결, 반복 컷, 대사 길이, 프레임 수, 오디오, 라우드니스, true peak, 검수 기록 |
+
+게이트는 엔진 내부가 아니라 산출물 파일과 완성된 mp4만 읽어요. 그래서 어느 엔진으로 만들었든 같은 기준이에요.
+
+SSIM 같은 유사도 값은 인물의 움직임과 변형을 구분하지 못해요(`gotchas.md` G02). 게이트는 시작 화면 일치만 숫자로 판정하고, 뒤쪽 프레임은 사람이 프레임 스트립을 보고 기록하게 해요.
+
+저장소 폴더에서 `bash skills/motion-video-production/harness/selftest.sh`를 실행해요. 설치된 사본은 `bash "$SKILL_ROOT/harness/selftest.sh"`로 점검해요. 종료 코드 0이면 이 컴퓨터에서 검사 사례가 기대대로 동작해요.
+
+## 캐릭터 일관성 7가지
+
+장면이 바뀌어도 얼굴과 목소리를 같게 지키는 기준 7가지예요. 어느 제작 단계에서 적용하는지는 아래 그림과 [`references/consistency-7.md`](skills/motion-video-production/references/consistency-7.md)에 있어요.
+
+![일관성 7가지와 각 기준을 확인하는 제작 단계](docs/assets/consistency.ko.png)
+
+## 자주 겪는 함정
+
+전체 29가지는 [`references/gotchas.md`](skills/motion-video-production/references/gotchas.md)에 증상, 원인, 예방, 검사 ID로 정리돼 있어요. 엔진 쪽 함정은 [`references/pitfalls.md`](skills/motion-video-production/references/pitfalls.md)에 있어요. 자주 부딪히는 것:
+
+- 컷 길이는 박의 배수로 정하고, 시작 프레임은 누적 시간에서 한 번만 반올림해요. (G11, G12)
+- 대사 길이를 먼저 재고 컷 길이를 정해요. (G13)
+- `검사 | tail`처럼 자르면 종료 코드가 사라져요. (G21)
+- 아무것도 살아남지 않는 매끄러운 장면 전환도 carry 0.00이에요. 요소 하나를 컷 전환 너머로 옮겨요.
+
+## 참고 문서
+
+설치된 스킬 폴더 안에 함께 들어 있어요. 에이전트가 단계마다 필요한 문서를 읽어요.
+
+| 문서 | 내용 |
+|---|---|
+| [`SKILL.md`](skills/motion-video-production/SKILL.md) | 스킬 본문. 단계 순서, 처음 묻는 6가지, 게이트 호출 |
+| [`references/reference-analysis.md`](skills/motion-video-production/references/reference-analysis.md) | 레퍼런스 분석 지표와 목표값 만들기 |
+| [`references/engines.md`](skills/motion-video-production/references/engines.md) | Remotion과 HyperFrames 비교, 엔진별 명령 |
+| [`references/art-direction.md`](skills/motion-video-production/references/art-direction.md) | carry, 모션 어휘, 스타일 고정 |
+| [`references/glossary.md`](skills/motion-video-production/references/glossary.md) | 편집·카메라·질감 용어(한국어·영어) |
+| [`references/beat-grid.md`](skills/motion-video-production/references/beat-grid.md) | BPM에서 컷 길이 계산 |
+| [`references/consistency-7.md`](skills/motion-video-production/references/consistency-7.md) | 캐릭터 일관성 7가지 |
+| [`references/brand-intro.md`](skills/motion-video-production/references/brand-intro.md) | 브랜드 소개 영상과 홈페이지 한 장 만들기 |
+| [`references/providers.md`](skills/motion-video-production/references/providers.md) | 이미지·영상·목소리 도구 사용 메모 |
+| [`references/cost-rules.md`](skills/motion-video-production/references/cost-rules.md) | 무료 먼저, 유료는 필요한 곳만 |
+| [`references/gotchas.md, pitfalls.md`](skills/motion-video-production/references/gotchas.md) | 자주 겪는 함정과 실수 |
+| [`references/licensing.md`](skills/motion-video-production/references/licensing.md) | 외부 도구 라이선스와 확인 날짜 |
+| [`templates/`](skills/motion-video-production/templates/) | STORY.md, ANALYSIS.md, BEATSHEET.md 등 단계 산출물 서식 |
+
+## 필요한 도구
+
+무료 범위와 상업 이용 조건은 [`NOTICE.md`](NOTICE.md)와 [`references/licensing.md`](skills/motion-video-production/references/licensing.md)(출처 URL 포함)에 있어요. Remotion은 직원 4명 이상 영리 조직에 Company License가 필요하고, HyperFrames는 Apache-2.0이에요. 약관은 자주 바뀌니 작업 직전에 다시 확인해요.
+
+| 도구 | 용도 |
+|---|---|
+| Codex, Claude Code 등 스킬 지원 에이전트 | 제작 진행·조립 |
+| ffmpeg, ffprobe, Python 3, Bash | 하네스·스크립트 실행 (Windows는 WSL) |
+| Node.js 24 이상 | 엔진 (Remotion 4.0.529, HyperFrames 0.8.143, 버전 고정) |
+| OpenCV, numpy (`scripts/requirements-ref.txt`) | 레퍼런스 분석 |
+| ChatGPT / Grok Imagine | 이미지·영상 생성 |
+| ElevenLabs, Fish Audio (composio CLI) | 목소리 |
+| whisper | 받아쓰기 검수 |
+
+## 알려진 한계
+
+- **carry 검사는 Remotion 전용이에요.** 렌더 전에 선언한 상자(`track.ts`)를 읽기 때문이에요. HyperFrames 렌더는 `verify.sh`, `gate.py final`, `gate.py ref`로 mp4에서 재요. mp4에서 carry를 재는 방식은 아직 없어요.
+- **wordcut 데모는 조정 전 첫 렌더예요.** 레퍼런스 목표와 비교하면 `gate.py ref`가 12개 지표 중 10개에서 막아요. 그레인, 선명도 비, 대비가 특히 멀어요. `look-fit.mjs`와 `plan.mjs`를 다시 돌려 맞추는 과정이 이 스킬의 사용법이에요.
+- **마무리 이미지를 켜면 carry 점수가 0.00(FAIL)이에요.** 세지는 경계가 이미지가 페이지를 덮는 경계 하나뿐이고, 이 경계는 아무것도 넘어가지 않는 경계로 세지기 때문이에요. 다른 경계는 선언한 컷이라 면제돼요. 이 경계를 carry로 바꿔야 FAIL을 벗어나요.
+- **GSAP 라이선스 조항 전문은 확인하지 못했어요.** HyperFrames 데모가 쓰는 GSAP 3.14.2는 README에 상업 이용도 무료라고 적혀 있어요. 상업용 영상을 공개하기 전에 https://gsap.com/standard-license 를 확인해요.
+
+## 저장소 구조
+
+```
+README.md, README.ko.md 영문(기본)·한국어 README
+NOTICE.md, LICENSE 외부 도구 안내, MIT
+docs/ README 이미지, 도식 원본(docs/diagrams, Uncle Jobs 디자인 시스템), 런타임별 설치·검증 범위
+skills/motion-video-production/ 설치하는 스킬 폴더 (아래 전체가 함께 복사돼요)
+ SKILL.md 스킬 본문
+ references/ 레퍼런스 분석, 엔진, 아트 디렉션, 일관성, 박 격자, 도구 메모, gotchas, licensing
+ harness/ gate.py(단계별 판정), selftest.sh(하네스 자체 검증)
+ scripts/ ref-analyze.py, mix-mux.sh, verify.sh, key-plate.sh, clipsheet.sh 외
+ templates/ ANALYSIS.md, STORY.md, BEATSHEET.md, MUSIC_BRIEF.md 외
+ engines/remotion/ carry 데모, wordcut 템플릿, 렌더·목소리·스코어 파이프라인
+ engines/hyperframes/ HTML/GSAP carry 데모
+```
+
+## 검증 범위
+
+2026-10-25에 커밋한 트리를 그대로 꺼내 설치하고 확인했어요. 스킬 파일 76개가 모두 설치됐어요. 엔진 `npm ci`, 타입 검사, 테스트 13개, carry 검사, selftest가 통과했어요. 두 엔진의 렌더를 `verify.sh`와 `gate.py ref`로 쟀고, HyperFrames 렌더는 `gate.py final`을 통과했어요. 외부 생성, 목소리 크레딧, 오디오 청취, 다른 일곱 런타임 안에서의 호출은 확인하지 않았어요. 자세한 내용은 [docs/runtimes.md](docs/runtimes.md)에 있어요.
+
+## 만든 곳
+
+이 스킬은 [SceneSteller](https://www.scenesteller.com/?utm_source=github&utm_medium=readme&utm_campaign=motion-video-skill)를 만드는 팀이 영상 제작 과정에서 쌓은 점검 기준을 정리한 것이에요. 스토리에서 영상까지 브라우저에서 바로 만들어 보고 싶다면 SceneSteller를 써 보세요.
+
+## 책임 범위
+
+생성물의 권리와 책임은 [`NOTICE.md`](NOTICE.md)와 [`references/licensing.md`](skills/motion-video-production/references/licensing.md)에 있어요.
diff --git a/README.md b/README.md
index 013c418..a7244d0 100644
--- a/README.md
+++ b/README.md
@@ -1,59 +1,73 @@
# motion-video-production
-**한국어** · [English](README.en.md)
+**English** · [한국어](README.ko.md)
-음악과 목소리를 담은 15~90초 mp4를 만드는 **Agent Skills 형식의 제작 스킬**이에요. 모션 그래픽, 홍보 영상, 캐릭터 영상을 만들어요. 단계별 게이트, 레퍼런스 분석기, 렌더 엔진 두 개(Remotion, HyperFrames)가 들어 있어요.
+[![GitHub stars](https://img.shields.io/github/stars/unclejobs-ai/motion-video-skill?style=flat&color=ff5a14)](https://github.com/unclejobs-ai/motion-video-skill/stargazers) [![License: MIT](https://img.shields.io/badge/license-MIT-0a0a09)](LICENSE) [![Agent Skills](https://img.shields.io/badge/format-Agent%20Skills-5c5a52)](docs/runtimes.md)
-Codex, Claude Code와 다른 스킬 지원 런타임에서 같은 스킬 폴더를 써요.
+![Measure the reference, pass seven gated stages, judge the mp4 against the same targets](docs/assets/hero.png)
-![5초 carry 데모의 움직이는 결과](docs/assets/carry-demo.gif)
+An **Agent Skill** for making 15–90 second motion graphics, promo and character videos with music and voice, where **every stage is checked before the next one starts**. It ships a reference-video analyzer, seven stage gates and two render engines (Remotion, HyperFrames). Codex, Claude Code and other skill-capable runtimes use the same skill folder.
-빠른 시작으로 만드는 5초 타이포그래피 데모예요. carry는 컷이 바뀔 때 화면 요소가 하나라도 이어지는 컷 전환의 비율이에요. 완성 mp4에는 음악만 있고 목소리는 없어요. 위 GIF에는 소리가 없어요. 캐릭터와 목소리를 넣는 흐름은 [첫 요청](#첫-요청)에서 시작해요.
+**Jump to** · [Why gates](#why-gates) · [Quick start](#quick-start) · [Installation](#installation) · [What's inside](#whats-inside) · [Reference analysis](#reference-analysis) · [Workflow](#workflow) · [Harness](#harness) · [Seven consistency criteria](#seven-consistency-criteria) · [Gotchas](#gotchas) · [Reference docs](#reference-docs) · [Required tools](#required-tools) · [Known limitations](#known-limitations) · [Verification scope](#verification-scope)
-**바로 가기** · [빠른 시작](#빠른-시작) · [설치](#설치) · [들어 있는 것](#들어-있는-것) · [레퍼런스 분석](#레퍼런스-분석) · [사용 흐름](#사용-흐름) · [하네스](#하네스) · [캐릭터 일관성 7가지](#캐릭터-일관성-7가지) · [자주 겪는 함정](#자주-겪는-함정) · [참고 문서](#참고-문서) · [필요한 도구](#필요한-도구) · [알려진 한계](#알려진-한계) · [검증 범위](#검증-범위)
+## Why gates
-## 빠른 시작
+Generated video fails quietly. The first frame matches the keyframe, and a second later the jacket is different. Cuts land a little off the beat. A line of dialogue runs past its shot. "Looks fine" is not something an agent can be held to, so the skill turns each stage into files a script can check.
-스킬을 설치한 뒤(방법은 [설치](#설치)) 엔진을 작업 폴더로 복사해 데모 하나를 렌더해요. Node.js 24 이상과 ffmpeg가 필요해요. 스킬 폴더 안에서 `npm ci`를 실행하지 않아요. MacBook Air M3에서 아래 명령 전체는 약 28초 걸렸어요(엔진 의존성 설치 포함, 브라우저는 캐시 사용).
+- **Measured** where a number works: duration, frame count, start-frame SSIM, beat grid, loudness, true peak and the reference metrics.
+- **Recorded** where only eyes work: the gate blocks until someone writes a review after looking at the frame strips.
+- **Exit codes**, not opinions: `0` moves on, `1` lists the lines to fix.
+
+## Quick start
+
+After installing the skill (see [Installation](#installation)), copy an engine into a working folder and render a demo. Node.js 24 or newer and ffmpeg are required. Do not run `npm ci` inside the skill folder. The commands below took about 28 seconds on a MacBook Air M3, including engine dependency installation with a cached browser.
```bash
-SKILL_ROOT="$PWD/.agents/skills/motion-video-production" # 실제 설치 경로
-# 찾기: ls -d .agents/skills/motion-video-production .claude/skills/motion-video-production ~/.agents/skills/motion-video-production ~/.claude/skills/motion-video-production 2>/dev/null
-# 개인 설치면 "$HOME/.agents/skills/motion-video-production" 또는 "$HOME/.claude/skills/motion-video-production"
-# engine/이 이미 있으면 mkdir에서 멈춰요. 지우거나 다른 이름을 써요(있는 폴더에 cp -R 하면 engine/remotion으로 중첩돼요)
+SKILL_ROOT="$PWD/.agents/skills/motion-video-production" # your actual install path
+# Find it: ls -d .agents/skills/motion-video-production .claude/skills/motion-video-production ~/.agents/skills/motion-video-production ~/.claude/skills/motion-video-production 2>/dev/null
+# Personal install: use "$HOME/.agents/skills/motion-video-production" or "$HOME/.claude/skills/motion-video-production"
+# mkdir stops if engine/ already exists. Remove it or pick another name (cp -R into an existing folder nests engine/remotion)
mkdir engine && cp -R "$SKILL_ROOT/engines/remotion/." engine && cd engine && npm ci
-# 컷 전환의 carry를 검사해요
+# Check carry across cut transitions
node pipeline/probe.mjs productions/carry-demo # carry 1.00 PASS
node pipeline/render.mjs carry-demo --stills 1.5 3.0 # renders/carry-demo/contact.png
node pipeline/render.mjs carry-demo # renders/carry-demo/picture.mp4
-node pipeline/score.mjs productions/carry-demo # 절차적 스코어
-# <영상> <fps> <초> <음악> <대사, -는 없음> <출력>
+node pipeline/score.mjs productions/carry-demo # procedural score
+# <picture> <fps> <seconds> <music> <voice, - for none> <output>
bash "$SKILL_ROOT/scripts/mix-mux.sh" renders/carry-demo/picture.mp4 60 5 productions/carry-demo/audio/score.wav - out/final.mp4
bash "$SKILL_ROOT/scripts/verify.sh" out/final.mp4
```
-렌더 브라우저는 `CHROME_PATH`나 캐시된 Playwright 헤드리스 셸을 써요. 둘 다 없으면 `npx remotion browser ensure`가 내려받아요(내려받기 전에 에이전트가 먼저 물어요).
+This renders the 5-second typography demo below (silent GIF; the finished mp4 has music and no voice, and the on-screen text is Korean). For character and voice production, start at [First request](#first-request).
+
+![Animated result of the 5-second carry demo](docs/assets/carry-demo.gif)
+
+Carry is the share of cut transitions where at least one on-screen element continues into the next shot. In the demo, the first line rises and shrinks into the label of the next scene, so the probe scores 1.00.
-## 설치
+![Carry: three frames where the first line survives the iris transition](docs/assets/carry.png)
-스킬을 쓸 프로젝트 폴더에서 실행해요. Node.js와 npx가 필요하고, 쓸 런타임을 골라 설치해요.
+Rendering uses `CHROME_PATH` or a cached Playwright headless shell. If neither exists, `npx remotion browser ensure` downloads one (the agent asks before downloading).
+
+## Installation
+
+Run this in the project folder where you want to use the skill. It requires Node.js and npx; select the runtimes you use.
```bash
npx skills add unclejobs-ai/motion-video-skill --skill motion-video-production
```
-Codex만 지정하려면 아래처럼 실행해요. 개인 범위로 설치하려면 `--global`을 더해요.
+To target Codex only, run the command below. Add `--global` for personal scope.
```bash
npx skills add unclejobs-ai/motion-video-skill --skill motion-video-production --agent codex
```
-[Vercel skills CLI](https://github.com/vercel-labs/skills)가 Codex, Claude Code, Gemini CLI, Cursor, GitHub Copilot, OpenCode, Amp, Antigravity, Windsurf 등의 설치 위치를 처리해요. 엔진은 스킬 폴더 안에 있어서 함께 설치돼요. **설치 호환성과 전체 영상 제작 검증은 달라요.** [런타임별 설치·호출과 검증 범위](docs/runtimes.md)를 참고해요.
+The [Vercel skills CLI](https://github.com/vercel-labs/skills) handles install locations for Codex, Claude Code, Gemini CLI, Cursor, GitHub Copilot, OpenCode, Amp, Antigravity, Windsurf, and others. The engines live inside the skill folder, so they install with it. **Installer compatibility is not the same as full video-production validation.** See [runtime installation, invocation, and verification scope](docs/runtimes.md).
<details>
-<summary><strong>수동 설치 (Node.js 없이)</strong></summary>
+<summary><strong>Manual installation (without Node.js)</strong></summary>
-Codex는 프로젝트 `.agents/skills/`와 개인 `~/.agents/skills/`에서 스킬을 읽어요. 아래는 개인 설치 예시예요.
+Codex reads skills from project `.agents/skills/` and personal `~/.agents/skills/`. This example is a personal installation.
```bash
git clone https://github.com/unclejobs-ai/motion-video-skill.git
@@ -61,7 +75,7 @@ mkdir -p ~/.agents/skills
cp -r motion-video-skill/skills/motion-video-production ~/.agents/skills/
```
-Claude Code는 프로젝트 `.claude/skills/`와 개인 `~/.claude/skills/`에서 스킬을 읽어요.
+Claude Code reads skills from project `.claude/skills/` and personal `~/.claude/skills/`.
```bash
git clone https://github.com/unclejobs-ai/motion-video-skill.git
@@ -69,168 +83,170 @@ mkdir -p ~/.claude/skills
cp -r motion-video-skill/skills/motion-video-production ~/.claude/skills/
```
-한 프로젝트에서만 쓰려면 그 프로젝트의 런타임별 스킬 폴더에 같은 폴더를 복사해요. 한 런타임에 같은 이름을 여러 경로로 중복 설치하지 않아요.
+To use it in one project only, copy the same folder into that project's runtime skill directory. Do not install the same name through several paths in one runtime.
</details>
-### 첫 요청
+### First request
+
+After installation, confirm that `motion-video-production` appears in the runtime's skill list. If it does not, restart the runtime. Invoke it with `$motion-video-production` in Codex or `/motion-video-production` in Claude Code and Cursor, or ask:
-설치한 뒤 런타임의 스킬 목록에서 `motion-video-production`을 확인해요. 보이지 않으면 런타임을 새로 시작해요. Codex에서는 `$motion-video-production`, Claude Code와 Cursor에서는 `/motion-video-production`으로 부르거나 아래처럼 요청해요.
+> I want a 20-second promo video that feels like this reference video.
-> 이 레퍼런스 영상 느낌으로 20초짜리 홍보 영상을 만들고 싶어.
+The agent first asks six things (publication type, length and aspect ratio, available tools, prohibited elements, reference video, engine) and proceeds stage by stage. Without generation tools, it hands you prompts and continues from the files you generate.
-에이전트가 먼저 6가지(공개 방식, 길이와 화면비, 쓸 수 있는 도구, 금지 요소, 레퍼런스 영상, 엔진)를 묻고 단계 순서대로 진행해요. 생성 도구가 없으면 프롬프트를 건네고, 사용자가 만든 파일을 받아 이어가요.
+The agent answers in your language. Gate output and most reference docs are written in Korean; agents read them as they are, and `STORY.md` keeps its Korean field names because the gates read them.
-## 들어 있는 것
+## What's inside
-| 무엇 | 하는 일 | 위치 |
+| What | What it does | Where |
|---|---|---|
-| Remotion 엔진 | 버전이 고정된 렌더 파이프라인, 모션 모듈, 데모 | `engines/remotion/` |
-| carry 검사 | 컷 전환마다 화면 요소가 이어지는지를 렌더 전에 숫자로 재요 | `pipeline/carry.ts`, `probe.mjs` |
-| wordcut 템플릿 | 단어 하나를 한 자리에 두고 여러 장면이 넘겨받는 영상. `data.ts`만 바꿔요 | `productions/wordcut/` |
-| 질감 맞추기 | 레퍼런스의 대비·색·그레인·심도에 렌즈 값을 맞춰요 | `look-fit.mjs` |
-| 목소리와 음악 | composio CLI로 ElevenLabs·Fish Audio 목소리, 타이밍에 맞춘 절차적 스코어 | `vo.mjs`, `score.mjs` |
-| HyperFrames 엔진 | HTML/CSS 페이지를 GSAP으로 움직여 mp4로 렌더해요 | `engines/hyperframes/` |
-| 레퍼런스 분석 | 레퍼런스 영상을 OpenCV로 분해해 목표값을 만들어요 | `scripts/ref-analyze.py` |
+| Remotion engine | Pinned render pipeline, motion modules, demos | `engines/remotion/` |
+| Carry probe | Measures, before rendering, whether an on-screen element continues across each cut transition | `pipeline/carry.ts`, `probe.mjs` |
+| Wordcut template | One word held in one slot while scenes hand it over. Edit only `data.ts` | `productions/wordcut/` |
+| Look fit | Fits lens values to a reference's contrast, colour, grain and depth of field | `look-fit.mjs` |
+| Voice and music | ElevenLabs and Fish Audio voices via the composio CLI, a procedural score on the timing | `vo.mjs`, `score.mjs` |
+| HyperFrames engine | Animates plain HTML/CSS pages with GSAP and renders them to mp4 | `engines/hyperframes/` |
+| Reference analysis | Takes a reference video apart with OpenCV into target numbers | `scripts/ref-analyze.py` |
-엔진은 바꿔 끼울 수 있어요. carry와 wordcut이 필요하면 Remotion, 재료가 웹페이지라면 HyperFrames가 맞아요. 비교는 [`references/engines.md`](skills/motion-video-production/references/engines.md)에 있어요.
+The engine is swappable. Use Remotion when you need carry and wordcut, HyperFrames when the source material is web pages. The comparison is in [`references/engines.md`](skills/motion-video-production/references/engines.md).
-## 레퍼런스 분석
+## Reference analysis
-<img src="docs/assets/ref-pipeline.png" width="480" alt="레퍼런스 분석 파이프라인">
+![Reference analysis: the reference becomes targets, the render is measured by the same analyzer, gate.py ref compares them](docs/assets/reference.png)
-"이 영상처럼"이 가리키는 건 보통 질감보다 움직임과 편집이에요. 0단계에서 레퍼런스를 OpenCV로 분해해 컷과 홀드, 광학 흐름, 블러, 심도, 그레인, 질감을 숫자로 남겨요. 계획은 그 숫자를 인용해요. 렌더한 뒤에는 같은 분석으로 결과를 재고, `gate.py ref`가 지표마다 목표와 차이를 적고 범위를 벗어나면 막아요.
+"Make it like this video" is usually about motion and editing more than texture. Stage 0 takes the reference apart with OpenCV and records cuts and holds, optical flow, blur, depth of field, grain and look as numbers. The plan cites those numbers. After rendering, the same analysis measures the result, and `gate.py ref` lists target and difference per metric and blocks when one is out of range.
-엔진 폴더가 아니라 프로젝트 폴더에서 실행해요. `SKILL_ROOT`는 빠른 시작과 같게 정해요.
+Run this from your project folder, not `engine/`. Set `SKILL_ROOT` as in Quick start.
```bash
-SKILL_ROOT="$PWD/.agents/skills/motion-video-production" # 실제 설치 경로
-PROJECT_ROOT="$PWD" # reference.mp4와 ref/를 둘 산출물 폴더
+SKILL_ROOT="$PWD/.agents/skills/motion-video-production" # your actual install path
+PROJECT_ROOT="$PWD" # output folder containing reference.mp4 and ref/
python3 -m venv .venv && . .venv/bin/activate && python3 -m pip install -r "$SKILL_ROOT/scripts/requirements-ref.txt"
-mkdir -p ref qa && cp -n "$SKILL_ROOT/templates/ANALYSIS.md" ref/ANALYSIS.md # 빈칸(<...>)은 분석을 보고 채워요
+mkdir -p ref qa && cp -n "$SKILL_ROOT/templates/ANALYSIS.md" ref/ANALYSIS.md # fill the <...> blanks from the analysis
python3 -I "$SKILL_ROOT/scripts/ref-analyze.py" reference.mp4 -o ref/analysis.json --targets ref/targets.json
python3 "$SKILL_ROOT/harness/gate.py" ref "$PROJECT_ROOT"
```
-움직임은 1/30초당 값으로 재서 fps가 달라도 비교돼요. 레퍼런스 파일은 커밋하지 않고 숫자만 남겨요. 지표 설명과 실제 예시는 [`references/reference-analysis.md`](skills/motion-video-production/references/reference-analysis.md)에 있어요.
+Motion is measured per 1/30 s, so different frame rates compare. The reference file is never committed; only the numbers are kept. Metric explanations and a worked example are in [`references/reference-analysis.md`](skills/motion-video-production/references/reference-analysis.md).
-## 사용 흐름
+## Workflow
-<img src="docs/assets/workflow-ref.png" width="480" alt="제작 단계와 단계별 게이트">
+![Seven production stages, a gate after each, and the BLOCK loop](docs/assets/workflow.png)
-1. 스킬이 단계 산출물을 만들어요 (`ref/`, `STORY.md`, `character.txt`, `key/`, `clip/`, `voices.json`, `edit.json`).
-2. 설치된 `SKILL.md`의 부모 폴더를 `SKILL_ROOT`, 산출물 폴더를 `PROJECT_ROOT`로 정하고, 단계가 끝나면 `python3 "$SKILL_ROOT/harness/gate.py" <단계> "$PROJECT_ROOT"`를 실행해요.
-3. 종료 코드 0이면 다음 단계로 가요. 1(BLOCK)이면 `qa/gate-<단계>.txt`의 BLOCK 줄을 읽고 고친 뒤 같은 게이트를 다시 실행해요.
-4. 눈으로 봐야 하는 검사는 스크립트가 판정하지 못해요. 프레임을 보고 남긴 기록(`qa/clips-review.md`, `qa/review.md`)이 있어야 통과해요.
+1. The skill creates the stage outputs (`ref/`, `STORY.md`, `character.txt`, `key/`, `clip/`, `voices.json`, `edit.json`).
+2. Set `SKILL_ROOT` to the parent folder of the installed `SKILL.md` and `PROJECT_ROOT` to the output folder. After each stage, run `python3 "$SKILL_ROOT/harness/gate.py" <stage> "$PROJECT_ROOT"`.
+3. Exit code 0 moves to the next stage. Exit code 1 (BLOCK) means: read the BLOCK lines in `qa/gate-<stage>.txt`, fix the output, and rerun the same gate.
+4. Checks that need human eyes cannot be judged by a script. They pass only with a record written after looking at the frames (`qa/clips-review.md`, `qa/review.md`).
-시작 화면이 같아도 1초 뒤에 인물이 달라질 수 있어요(G01). `gate clips`가 클립마다 `qa/strip-<클립>.png`를 만들어요.
+The start frame can match, yet the character may change a second later (G01). `gate clips` creates `qa/strip-<clip>.png` for each clip.
-![인물 변화가 보이는 프레임 스트립](docs/assets/strip.png)
+![Frame strip: the keyframe and 0 s match, from 1.0 s the outfit and light change](docs/assets/strip.png)
-`gate.py clips` 실행 예시예요. 눈 검수 기록이 없어서 BLOCK(종료 코드 1)이 나오고, 기록을 남기면 PASS(종료 코드 0)가 돼요.
+A `gate.py clips` run (gate output is in Korean). Without a visual review record it returns BLOCK (exit code 1); after the record is written it returns PASS (exit code 0).
-![gate clips 실행: BLOCK, 눈 검수 기록, PASS](docs/assets/gate-demo.gif)
+![gate clips run: BLOCK, visual review record, PASS](docs/assets/gate-demo.gif)
-## 하네스
+## Harness
-<img src="docs/assets/harness.png" width="480" alt="게이트 동작: 자동 측정, 눈으로 확인, 기록 파일">
+![How a gate decides: measured checks and a visual review record lead to a verdict, PASS or BLOCK](docs/assets/gate.png)
-| 제작 단계 | 게이트 | 하는 검사 |
+| Production stage | Gate | Checks |
|---|---|---|
-| 0. 레퍼런스 분석 | `ref` | 계획 전: ANALYSIS.md 빈칸, targets.json 형식. 렌더 후: 지표마다 목표와 비교 |
-| 1. 스토리·장면 기획 | `story` | 빈칸, BPM, 음악 싱크 지점 표, 장면 표 |
-| 2. 캐릭터 시트 | `character` | `character.txt`가 1개 문단인지, 색 표현, 시트 이미지 |
-| 3. 키프레임 | `keyframes` | 중복 파일, 클립과의 화면비 |
-| 4. 영상 변환 | `clips` | 길이, 프레임 수, 시작 화면 일치, 프레임 스트립, 클립별 판정 기록 |
-| 5. 음악·목소리 | `audio` | 음성 ID 1개, 대사 파일 |
-| 6. 조립 | `edit`, `final` | 박 격자, 컷 연결, 반복 컷, 대사 길이, 프레임 수, 오디오, 라우드니스, true peak, 검수 기록 |
+| 0. Reference analysis | `ref` | Before planning: blanks in ANALYSIS.md, targets.json format. After rendering: each metric against its target |
+| 1. Story and scene planning | `story` | Blanks, BPM, music sync table, scene table |
+| 2. Character sheet | `character` | Whether `character.txt` is one paragraph, color descriptions, sheet image |
+| 3. Keyframes | `keyframes` | Duplicate files, aspect ratio against clips |
+| 4. Video conversion | `clips` | Duration, frame count, start-frame match, frame strip, per-clip verdicts |
+| 5. Music and voice | `audio` | One voice ID, dialogue files |
+| 6. Assembly | `edit`, `final` | Beat grid, cut continuity, repeated cuts, dialogue length, frame count, audio, loudness, true peak, review record |
-게이트는 엔진 내부가 아니라 산출물 파일과 완성된 mp4만 읽어요. 그래서 어느 엔진으로 만들었든 같은 기준이에요.
+Gates read only the stage outputs and the finished mp4, never engine internals, so the standard is the same whichever engine made it.
-SSIM 같은 유사도 값은 인물의 움직임과 변형을 구분하지 못해요(`gotchas.md` G02). 게이트는 시작 화면 일치만 숫자로 판정하고, 뒤쪽 프레임은 사람이 프레임 스트립을 보고 기록하게 해요.
+Similarity values such as SSIM cannot tell a person's motion from deformation (`gotchas.md` G02). The gate checks only the start-frame match numerically and asks a person to review the frame strips and record the later frames.
-저장소 폴더에서 `bash skills/motion-video-production/harness/selftest.sh`를 실행해요. 설치된 사본은 `bash "$SKILL_ROOT/harness/selftest.sh"`로 점검해요. 종료 코드 0이면 이 컴퓨터에서 검사 사례가 기대대로 동작해요.
+From the repository folder, run `bash skills/motion-video-production/harness/selftest.sh`. To check an installed copy, run `bash "$SKILL_ROOT/harness/selftest.sh"`. Exit code 0 means the cases behave as expected on this computer.
-## 캐릭터 일관성 7가지
+## Seven consistency criteria
-장면이 바뀌어도 얼굴과 목소리를 같게 지키는 기준 7가지예요. 어느 제작 단계에서 적용하는지는 아래 그림과 [`references/consistency-7.md`](skills/motion-video-production/references/consistency-7.md)에 있어요.
+Where the seven criteria that keep faces and voices consistent across scenes sit in the production stages is shown below and in [`references/consistency-7.md`](skills/motion-video-production/references/consistency-7.md).
-<img src="docs/assets/seams.png" width="480" alt="일관성 7가지가 놓이는 자리">
+![Seven consistency criteria and the stages where each one is checked](docs/assets/consistency.png)
-## 자주 겪는 함정
+## Gotchas
-전체 29가지는 [`references/gotchas.md`](skills/motion-video-production/references/gotchas.md)에 증상, 원인, 예방, 검사 ID로 정리돼 있어요. 엔진 쪽 함정은 [`references/pitfalls.md`](skills/motion-video-production/references/pitfalls.md)에 있어요. 자주 부딪히는 것:
+All 29 are in [`references/gotchas.md`](skills/motion-video-production/references/gotchas.md) with symptoms, causes, prevention, and check IDs. Engine pitfalls are in [`references/pitfalls.md`](skills/motion-video-production/references/pitfalls.md). Common ones:
-- 컷 길이는 박의 배수로 정하고, 시작 프레임은 누적 시간에서 한 번만 반올림해요. (G11, G12)
-- 대사 길이를 먼저 재고 컷 길이를 정해요. (G13)
-- `검사 | tail`처럼 자르면 종료 코드가 사라져요. (G21)
-- 아무것도 살아남지 않는 매끄러운 장면 전환도 carry 0.00이에요. 요소 하나를 컷 전환 너머로 옮겨요.
+- Set cut lengths in beats, and round start frames once from cumulative time. (G11, G12)
+- Measure dialogue length before setting cut length. (G13)
+- Piping a check through `| tail` loses its exit code. (G21)
+- A smooth scene change where nothing survives still scores carry 0.00. Move one element across the cut transition.
-## 참고 문서
+## Reference docs
-설치된 스킬 폴더 안에 함께 들어 있어요. 에이전트가 단계마다 필요한 문서를 읽어요.
+They ship inside the installed skill folder. The agent reads the one each stage needs; most are in Korean.
-| 문서 | 내용 |
+| Doc | What it covers |
|---|---|
-| [`SKILL.md`](skills/motion-video-production/SKILL.md) | 스킬 본문. 단계 순서, 처음 묻는 6가지, 게이트 호출 |
-| [`references/reference-analysis.md`](skills/motion-video-production/references/reference-analysis.md) | 레퍼런스 분석 지표와 목표값 만들기 |
-| [`references/engines.md`](skills/motion-video-production/references/engines.md) | Remotion과 HyperFrames 비교, 엔진별 명령 |
-| [`references/art-direction.md`](skills/motion-video-production/references/art-direction.md) | carry, 모션 어휘, 스타일 고정 |
-| [`references/glossary.md`](skills/motion-video-production/references/glossary.md) | 편집·카메라·질감 용어(한국어·영어) |
-| [`references/beat-grid.md`](skills/motion-video-production/references/beat-grid.md) | BPM에서 컷 길이 계산 |
-| [`references/consistency-7.md`](skills/motion-video-production/references/consistency-7.md) | 캐릭터 일관성 7가지 |
-| [`references/brand-intro.md`](skills/motion-video-production/references/brand-intro.md) | 브랜드 소개 영상과 홈페이지 한 장 만들기 |
-| [`references/providers.md`](skills/motion-video-production/references/providers.md) | 이미지·영상·목소리 도구 사용 메모 |
-| [`references/cost-rules.md`](skills/motion-video-production/references/cost-rules.md) | 무료 먼저, 유료는 필요한 곳만 |
-| [`references/gotchas.md, pitfalls.md`](skills/motion-video-production/references/gotchas.md) | 자주 겪는 함정과 실수 |
-| [`references/licensing.md`](skills/motion-video-production/references/licensing.md) | 외부 도구 라이선스와 확인 날짜 |
-| [`templates/`](skills/motion-video-production/templates/) | STORY.md, ANALYSIS.md, BEATSHEET.md 등 단계 산출물 서식 |
-
-## 필요한 도구
-
-무료 범위와 상업 이용 조건은 [`NOTICE.md`](NOTICE.md)와 [`references/licensing.md`](skills/motion-video-production/references/licensing.md)(출처 URL 포함)에 있어요. Remotion은 직원 4명 이상 영리 조직에 Company License가 필요하고, HyperFrames는 Apache-2.0이에요. 약관은 자주 바뀌니 작업 직전에 다시 확인해요.
-
-| 도구 | 용도 |
+| [`SKILL.md`](skills/motion-video-production/SKILL.md) | Skill instructions: stage order, the six opening questions, gate calls |
+| [`references/reference-analysis.md`](skills/motion-video-production/references/reference-analysis.md) | Reference analysis metrics and building targets |
+| [`references/engines.md`](skills/motion-video-production/references/engines.md) | Remotion vs HyperFrames, per-engine commands |
+| [`references/art-direction.md`](skills/motion-video-production/references/art-direction.md) | Carry, motion vocabulary, holding one style |
+| [`references/glossary.md`](skills/motion-video-production/references/glossary.md) | Editing, camera and texture terms (Korean and English) |
+| [`references/beat-grid.md`](skills/motion-video-production/references/beat-grid.md) | Cut lengths from BPM |
+| [`references/consistency-7.md`](skills/motion-video-production/references/consistency-7.md) | Seven character consistency criteria |
+| [`references/brand-intro.md`](skills/motion-video-production/references/brand-intro.md) | A brand intro video plus a one-page homepage |
+| [`references/providers.md`](skills/motion-video-production/references/providers.md) | Notes on image, video and voice tools |
+| [`references/cost-rules.md`](skills/motion-video-production/references/cost-rules.md) | Free first, paid only where needed |
+| [`references/gotchas.md, pitfalls.md`](skills/motion-video-production/references/gotchas.md) | Common gotchas and mistakes |
+| [`references/licensing.md`](skills/motion-video-production/references/licensing.md) | External tool licenses and check dates |
+| [`templates/`](skills/motion-video-production/templates/) | Stage output forms such as STORY.md, ANALYSIS.md, BEATSHEET.md |
+
+## Required tools
+
+Free tiers and commercial-use conditions are in [`NOTICE.md`](NOTICE.md) and [`references/licensing.md`](skills/motion-video-production/references/licensing.md) (with source URLs). Remotion needs a Company License for for-profit organizations with four or more employees; HyperFrames is Apache-2.0. Terms change often, so check them right before work.
+
+| Tool | Purpose |
|---|---|
-| Codex, Claude Code 등 스킬 지원 에이전트 | 제작 진행·조립 |
-| ffmpeg, ffprobe, Python 3, Bash | 하네스·스크립트 실행 (Windows는 WSL) |
-| Node.js 24 이상 | 엔진 (Remotion 4.0.529, HyperFrames 0.8.143, 버전 고정) |
-| OpenCV, numpy (`scripts/requirements-ref.txt`) | 레퍼런스 분석 |
-| ChatGPT / Grok Imagine | 이미지·영상 생성 |
-| ElevenLabs, Fish Audio (composio CLI) | 목소리 |
-| whisper | 받아쓰기 검수 |
+| Codex, Claude Code, or another skill-capable agent | Running production and assembly |
+| ffmpeg, ffprobe, Python 3, Bash | Running the harness and scripts (WSL on Windows) |
+| Node.js 24 or newer | Engines (Remotion 4.0.529, HyperFrames 0.8.143, pinned) |
+| OpenCV, numpy (`scripts/requirements-ref.txt`) | Reference analysis |
+| ChatGPT / Grok Imagine | Image and video generation |
+| ElevenLabs, Fish Audio (composio CLI) | Voice |
+| whisper | Transcription review |
-## 알려진 한계
+## Known limitations
-- **carry 검사는 Remotion 전용이에요.** 렌더 전에 선언한 상자(`track.ts`)를 읽기 때문이에요. HyperFrames 렌더는 `verify.sh`, `gate.py final`, `gate.py ref`로 mp4에서 재요. mp4에서 carry를 재는 방식은 아직 없어요.
-- **wordcut 데모는 조정 전 첫 렌더예요.** 레퍼런스 목표와 비교하면 `gate.py ref`가 12개 지표 중 10개에서 막아요. 그레인, 선명도 비, 대비가 특히 멀어요. `look-fit.mjs`와 `plan.mjs`를 다시 돌려 맞추는 과정이 이 스킬의 사용법이에요.
-- **마무리 이미지를 켜면 carry 점수가 0.00(FAIL)이에요.** 세지는 경계가 이미지가 페이지를 덮는 경계 하나뿐이고, 이 경계는 아무것도 넘어가지 않는 경계로 세지기 때문이에요. 다른 경계는 선언한 컷이라 면제돼요. 이 경계를 carry로 바꿔야 FAIL을 벗어나요.
-- **GSAP 라이선스 조항 전문은 확인하지 못했어요.** HyperFrames 데모가 쓰는 GSAP 3.14.2는 README에 상업 이용도 무료라고 적혀 있어요. 상업용 영상을 공개하기 전에 https://gsap.com/standard-license 를 확인해요.
+- **The carry probe is Remotion-only.** It reads the boxes declared before rendering (`track.ts`). HyperFrames renders are measured on the mp4 with `verify.sh`, `gate.py final` and `gate.py ref`. There is no mp4-side carry measurement yet.
+- **The wordcut demo is an untuned first render.** Against the reference targets, `gate.py ref` blocks 10 of 12 metrics; grain, sharpness ratio and contrast are furthest off. Re-running `look-fit.mjs` and `plan.mjs` to close that gap is how the skill is meant to be used.
+- **A closing image drops the carry score to 0.00 (FAIL).** The only counted boundary is the one where the image covers the page, and it counts as bare; the other detected boundary is exempt as a declared cut. Turn that boundary into a carry to get out of FAIL.
+- **The full text of the GSAP license clauses was not verified.** GSAP 3.14.2, used by the HyperFrames demo, says in its README that it is free including commercial use. Before releasing a commercial video, check https://gsap.com/standard-license.
-## 저장소 구조
+## Repository structure
```
-README.md, README.en.md 한국어·영문 README
-NOTICE.md, LICENSE 외부 도구 안내, MIT
-docs/ README 이미지(그림 원본 SVG 포함), 런타임별 설치·검증 범위
-skills/motion-video-production/ 설치하는 스킬 폴더 (아래 전체가 함께 복사돼요)
- SKILL.md 스킬 본문
- references/ 레퍼런스 분석, 엔진, 아트 디렉션, 일관성, 박 격자, 도구 메모, gotchas, licensing
- harness/ gate.py(단계별 판정), selftest.sh(하네스 자체 검증)
- scripts/ ref-analyze.py, mix-mux.sh, verify.sh, key-plate.sh, clipsheet.sh 외
- templates/ ANALYSIS.md, STORY.md, BEATSHEET.md, MUSIC_BRIEF.md 외
- engines/remotion/ carry 데모, wordcut 템플릿, 렌더·목소리·스코어 파이프라인
- engines/hyperframes/ HTML/GSAP carry 데모
+README.md, README.ko.md English (default) and Korean READMEs
+NOTICE.md, LICENSE External tool notice, MIT
+docs/ README images, diagram sources (docs/diagrams, Uncle Jobs design system), runtime install and verification scope
+skills/motion-video-production/ Skill folder to install (everything below is copied together)
+ SKILL.md Skill instructions
+ references/ reference analysis, engines, art direction, consistency, beat grid, tool notes, gotchas, licensing
+ harness/ gate.py (per-stage verdicts), selftest.sh (harness self-validation)
+ scripts/ ref-analyze.py, mix-mux.sh, verify.sh, key-plate.sh, clipsheet.sh and more
+ templates/ ANALYSIS.md, STORY.md, BEATSHEET.md, MUSIC_BRIEF.md and more
+ engines/remotion/ carry demo, wordcut template, render, voice and score pipeline
+ engines/hyperframes/ HTML/GSAP carry demo
```
-## 검증 범위
+## Verification scope
-2026-10-25에 커밋한 트리를 그대로 꺼내 설치하고 확인했어요. 스킬 파일 76개가 모두 설치됐어요. 엔진 `npm ci`, 타입 검사, 테스트 13개, carry 검사, selftest가 통과했어요. 두 엔진의 렌더를 `verify.sh`와 `gate.py ref`로 쟀고, HyperFrames 렌더는 `gate.py final`을 통과했어요. 외부 생성, 목소리 크레딧, 오디오 청취, 다른 일곱 런타임 안에서의 호출은 확인하지 않았어요. 자세한 내용은 [docs/runtimes.md](docs/runtimes.md)에 있어요.
+On 2026-10-25 the committed tree was exported and installed as is. All 76 skill files installed. Engine `npm ci`, typecheck, 13 tests, the carry probe and the selftest passed. Renders in both engines were measured with `verify.sh` and `gate.py ref`, and the HyperFrames render passed `gate.py final`. Not checked: external generation, voice credits, listening to audio, and invocation inside the seven other runtimes. Details are in [docs/runtimes.md](docs/runtimes.md).
-## 만든 곳
+## Built by
-이 스킬은 [SceneSteller](https://www.scenesteller.com/?utm_source=github&utm_medium=readme&utm_campaign=motion-video-skill)를 만드는 팀이 영상 제작 과정에서 쌓은 점검 기준을 정리한 것이에요. 스토리에서 영상까지 브라우저에서 바로 만들어 보고 싶다면 SceneSteller를 써 보세요.
+This skill distills the review criteria the team behind [SceneSteller](https://www.scenesteller.com/?utm_source=github&utm_medium=readme&utm_campaign=motion-video-skill) built up while producing videos. If you'd rather go from story to finished video right in your browser, try it in SceneSteller.
-## 책임 범위
+## Rights and responsibilities
-생성물의 권리와 책임은 [`NOTICE.md`](NOTICE.md)와 [`references/licensing.md`](skills/motion-video-production/references/licensing.md)에 있어요.
+Rights and responsibilities for generated outputs are described in [`NOTICE.md`](NOTICE.md) and [`references/licensing.md`](skills/motion-video-production/references/licensing.md).
diff --git a/docs/assets/README.md b/docs/assets/README.md
index f11c37b..58f99c5 100644
--- a/docs/assets/README.md
+++ b/docs/assets/README.md
@@ -1,26 +1,31 @@
# README assets
-## Editable diagrams
+## Diagrams
-`ref-pipeline`, `workflow-ref`, `harness`, `seams`, and `strip` each have Korean (`.svg`) and English (`.en.svg`) sources. The paired layouts match. The four vertical diagrams retain the type, colors, grid, and arrow style from `d8b8b44`. Orange marks gate names and BLOCK messages only. Both READMEs display the four vertical diagrams at 480 pixels wide. Reference-flow steps are unnumbered; workflow stages use 0–6. The harness table owns the gate-name column, and the consistency map shows only stages with applicable criteria.
+`hero`, `carry`, `workflow`, `gate`, `reference`, `consistency` and `strip` are rendered from the HTML sources in [`../diagrams/`](../diagrams/). Each source holds its English and Korean strings; `name.png` is English (used by `README.md`) and `name.ko.png` is Korean (used by `README.ko.md`). `skills/motion-video-production/references/assets/ref-pipeline.png` is a copy of `reference.ko.png`, because the skill's reference docs are Korean.
-Export at 2x with librsvg, from the repository root:
+The diagrams follow the Uncle Jobs design system:
+
+- Paper (`#fafaf7`) or ink (`#0a0a09`) ground, one orange accent (`#ff5a14`, `#b83802` for small text on paper). In every diagram the accent marks one thing, usually the BLOCK loop.
+- Pretendard for text, JetBrains Mono for paths, numbers and code. Hierarchy comes from size, weight and space; structure from 2px hairlines and 3px rules.
+- Hand-drawn lines through rough.js 4.6.6 (`sketch.js`): roughness 1.3, bowing 1.2, hachure gap 11, fixed seeds so re-renders do not move. Only lines wobble; text stays in HTML.
+- Real frames, not decoration: every image in a diagram is a frame from the carry demo or the QA strip.
+
+Edit the HTML, then render from the repository root (needs Chrome and network for the fonts and rough.js on jsDelivr):
```bash
-for name in ref-pipeline workflow-ref harness seams strip; do
- for lang in '' .en; do
- rsvg-convert --zoom 2 "docs/assets/$name$lang.svg" -o "docs/assets/$name$lang.png"
- done
-done
+bash docs/diagrams/render.sh # all diagrams, English and Korean
+bash docs/diagrams/render.sh workflow # one diagram
```
-Fonts: Noto Sans KR (fallback: Apple SD Gothic Neo) and IBM Plex Mono (fallback: SFMono-Regular). Font availability can change text metrics; inspect both language exports after editing.
+Each page declares its size in `<meta name="size">`. If the content is taller, the script still renders a full-height image for a look and exits 1, so fix the size or the layout before committing.
+
+## Frames used inside the diagrams
+
+- `diagrams/img/carry-1.5.png`, `carry-1.9.png`, `carry-3.0.png`: frames of `carry-demo.gif` at those times (`ffmpeg -ss <t> -i carry-demo.gif -frames:v 1`). The boxes in `carry.html` are the first line's ink boxes from `productions/carry-demo/track.ts`, scaled to the thumbnail.
+- `diagrams/img/strip-frames.png`: the six tiles of the earlier QA strip (`cd1e75b`, crop 3036×280 at (82, 180), resized to 1518×140). No new character footage was generated. `strip-key.png` and `strip-1.0.png` are its first and third tiles.
-## Result and frame-strip sources
+## Result animations
-- `carry-demo.gif` is the five-second quick-start render at 15 fps and 720 pixels wide, looping without audio. Export from the copied Remotion engine: `ffmpeg -i renders/carry-demo/picture.mp4 -vf "fps=15,scale=720:-1:flags=lanczos,split[a][b];[a]palettegen[p];[b][p]paletteuse" -loop 0 carry-demo.gif`, then copy it here. Both READMEs embed this moving result.
-- `carry-demo.png` remains the quick-start result contact sheet: the existing carry-demo stills at 1.5 and 3.0 seconds, scaled to 480×270 and placed left to right. The demo's Korean typography is real rendered content, not a translated diagram. It is five seconds long and the quick start adds music, not voice.
-- To reproduce it, run the README's `node pipeline/render.mjs carry-demo --stills 1.5 3.0` in the copied Remotion engine, then copy `renders/carry-demo/contact.png` here as `carry-demo.png`.
-- `strip-frames.png` preserves only the six image tiles from the previous `strip.png` at `cd1e75b`. Crop: 3036×280 at (82, 180), resized to 1518×140. No new character footage was generated. The strip is a QA example, not the quick-start result.
-- `strip.svg` and `strip.en.svg` crop six separate tiles from that shared image. Keep it beside them when exporting. Both PNGs are 1600×420; labels are 36 pixels in the export (18 pixels at an 800-pixel README width). A 32-pixel gap after the keyframe becomes 16 pixels at that display width. The explanatory caption lives only in the README, not the image.
-- `gate-demo.gif` is unchanged real gate output in Korean. Both READMEs keep it next to the strip; the English caption identifies the output language.
+- `carry-demo.gif` is the five-second quick-start render at 15 fps and 720 pixels wide, looping without audio. Export from the copied Remotion engine: `ffmpeg -i renders/carry-demo/picture.mp4 -vf "fps=15,scale=720:-1:flags=lanczos,split[a][b];[a]palettegen[p];[b][p]paletteuse" -loop 0 carry-demo.gif`.
+- `gate-demo.gif` is real `gate.py clips` output in Korean. Both READMEs keep it next to the strip; the English caption names the output language.
diff --git a/docs/assets/carry-demo.png b/docs/assets/carry-demo.png
deleted file mode 100644
index 84e4c04..0000000
Binary files a/docs/assets/carry-demo.png and /dev/null differ
diff --git a/docs/assets/carry.ko.png b/docs/assets/carry.ko.png
new file mode 100644
index 0000000..87384e8
Binary files /dev/null and b/docs/assets/carry.ko.png differ
diff --git a/docs/assets/carry.png b/docs/assets/carry.png
new file mode 100644
index 0000000..65c9f7c
Binary files /dev/null and b/docs/assets/carry.png differ
diff --git a/docs/assets/consistency.ko.png b/docs/assets/consistency.ko.png
new file mode 100644
index 0000000..f3d520c
Binary files /dev/null and b/docs/assets/consistency.ko.png differ
diff --git a/docs/assets/consistency.png b/docs/assets/consistency.png
new file mode 100644
index 0000000..146423a
Binary files /dev/null and b/docs/assets/consistency.png differ
diff --git a/docs/assets/gate.ko.png b/docs/assets/gate.ko.png
new file mode 100644
index 0000000..24dd43c
Binary files /dev/null and b/docs/assets/gate.ko.png differ
diff --git a/docs/assets/gate.png b/docs/assets/gate.png
new file mode 100644
index 0000000..6682e79
Binary files /dev/null and b/docs/assets/gate.png differ
diff --git a/docs/assets/harness.en.png b/docs/assets/harness.en.png
deleted file mode 100644
index cbbf660..0000000
Binary files a/docs/assets/harness.en.png and /dev/null differ
diff --git a/docs/assets/harness.en.svg b/docs/assets/harness.en.svg
deleted file mode 100644
index 93c5ae5..0000000
--- a/docs/assets/harness.en.svg
+++ /dev/null
@@ -1,37 +0,0 @@
-<svg xmlns="http://www.w3.org/2000/svg" width="720" height="788" viewBox="0 0 720 788" role="img" aria-labelledby="harness-title harness-desc">
- <title id="harness-title">How gates work</title>
- <desc id="harness-desc">Gates combine automated measurement and human review records, returning exit code 0 or 1. Each check leaves its own record; these are not sequential steps.</desc>
- <defs>
- <style>
- text { font-family: 'Noto Sans KR', 'Apple SD Gothic Neo', sans-serif; font-size: 26px; fill: #242824; }
- .title { font-size: 34px; font-weight: 700; }
- .heading { font-size: 28px; font-weight: 700; }
- .mono { font-family: 'IBM Plex Mono', 'SFMono-Regular', monospace; font-size: 24px; }
- .muted { fill: #626860; }
- .label { font-size: 24px; fill: #626860; }
- .accent { fill: #B8441A; }
- .rule { stroke: #626860; stroke-opacity: .24; }
- .flow { fill: none; stroke: #626860; stroke-width: 2; marker-end: url(#arrow); }
- </style>
- <marker id="arrow" viewBox="0 0 10 10" refX="8" refY="5" markerWidth="6" markerHeight="6" orient="auto-start-reverse"><path d="M2 1L8 5L2 9" fill="none" stroke="#626860" stroke-width="1.5"/></marker>
- </defs>
- <rect width="720" height="788" fill="#FFFFFF"/>
- <text x="40" y="68" class="title">How gates work</text>
- <text x="40" y="112" class="muted">Measurement + human review + records</text>
- <path d="M40 152H680" class="rule"/>
- <text x="40" y="190" class="label">AUTOMATED MEASUREMENT</text>
- <text x="64" y="232">ffprobe · ffmpeg · start-frame SSIM</text>
- <text x="64" y="270" class="mono accent">gate.py &lt;stage&gt; &lt;folder&gt;</text>
- <path d="M40 300H680" class="rule"/>
- <text x="40" y="338" class="label">VISUAL REVIEW</text>
- <text x="64" y="380">Compare clothes, glasses, and hair in the strips.</text>
- <path d="M40 412H680" class="rule"/>
- <text x="40" y="450" class="label">RECORD FILES (ONE PER CHECK)</text>
- <text x="64" y="492" class="mono">qa/gate-&lt;stage&gt;.txt</text>
- <text x="64" y="530" class="mono">qa/clips-review.md · qa/review.md</text>
- <rect x="40" y="568" width="640" height="180" rx="12" fill="#FFFFFF" stroke="#626860" stroke-width="2"/>
- <text x="64" y="610" class="heading">Exit code</text>
- <text x="64" y="650">0 = PASS · 1 = BLOCK</text>
- <text x="64" y="690" class="muted">clips / final also require a visual review record.</text>
- <text x="64" y="726" class="accent">A BLOCK must be fixed before proceeding.</text>
-</svg>
diff --git a/docs/assets/harness.png b/docs/assets/harness.png
deleted file mode 100644
index 474f23f..0000000
Binary files a/docs/assets/harness.png and /dev/null differ
diff --git a/docs/assets/harness.svg b/docs/assets/harness.svg
deleted file mode 100644
index f8319ec..0000000
--- a/docs/assets/harness.svg
+++ /dev/null
@@ -1,37 +0,0 @@
-<svg xmlns="http://www.w3.org/2000/svg" width="720" height="788" viewBox="0 0 720 788" role="img" aria-labelledby="harness-title harness-desc">
- <title id="harness-title">게이트가 동작하는 방식</title>
- <desc id="harness-desc">자동 측정과 눈 검수 기록을 확인하고 종료 코드 0 또는 1을 돌려줘요. 기록 파일은 순서대로 만드는 단계가 아니라 각각 남기는 산출물이에요.</desc>
- <defs>
- <style>
- text { font-family: 'Noto Sans KR', 'Apple SD Gothic Neo', sans-serif; font-size: 26px; fill: #242824; }
- .title { font-size: 34px; font-weight: 700; }
- .heading { font-size: 28px; font-weight: 700; }
- .mono { font-family: 'IBM Plex Mono', 'SFMono-Regular', monospace; font-size: 24px; }
- .muted { fill: #626860; }
- .label { font-size: 24px; fill: #626860; }
- .accent { fill: #B8441A; }
- .rule { stroke: #626860; stroke-opacity: .24; }
- .flow { fill: none; stroke: #626860; stroke-width: 2; marker-end: url(#arrow); }
- </style>
- <marker id="arrow" viewBox="0 0 10 10" refX="8" refY="5" markerWidth="6" markerHeight="6" orient="auto-start-reverse"><path d="M2 1L8 5L2 9" fill="none" stroke="#626860" stroke-width="1.5"/></marker>
- </defs>
- <rect width="720" height="788" fill="#FFFFFF"/>
- <text x="40" y="68" class="title">게이트가 동작하는 방식</text>
- <text x="40" y="112" class="muted">자동 측정 + 눈 검수 + 기록 파일</text>
- <path d="M40 152H680" class="rule"/>
- <text x="40" y="190" class="label">자동 측정</text>
- <text x="64" y="232">ffprobe · ffmpeg · 시작 화면 SSIM</text>
- <text x="64" y="270" class="mono accent">gate.py &lt;단계&gt; &lt;폴더&gt;</text>
- <path d="M40 300H680" class="rule"/>
- <text x="40" y="338" class="label">눈으로 확인</text>
- <text x="64" y="380">프레임 스트립에서 옷·안경·머리를 비교해요.</text>
- <path d="M40 412H680" class="rule"/>
- <text x="40" y="450" class="label">기록 파일 (각각 남겨요)</text>
- <text x="64" y="492" class="mono">qa/gate-&lt;단계&gt;.txt</text>
- <text x="64" y="530" class="mono">qa/clips-review.md · qa/review.md</text>
- <rect x="40" y="568" width="640" height="180" rx="12" fill="#FFFFFF" stroke="#626860" stroke-width="2"/>
- <text x="64" y="610" class="heading">종료 코드</text>
- <text x="64" y="650">0 = 통과 · 1 = BLOCK</text>
- <text x="64" y="690" class="muted">clips · final은 눈 검수 기록도 있어야 해요.</text>
- <text x="64" y="726" class="accent">BLOCK이면 고친 뒤 다시 실행해요.</text>
-</svg>
diff --git a/docs/assets/hero.ko.png b/docs/assets/hero.ko.png
new file mode 100644
index 0000000..e59c297
Binary files /dev/null and b/docs/assets/hero.ko.png differ
diff --git a/docs/assets/hero.png b/docs/assets/hero.png
new file mode 100644
index 0000000..c8574c8
Binary files /dev/null and b/docs/assets/hero.png differ
diff --git a/docs/assets/ref-pipeline.en.png b/docs/assets/ref-pipeline.en.png
deleted file mode 100644
index e229b59..0000000
Binary files a/docs/assets/ref-pipeline.en.png and /dev/null differ
diff --git a/docs/assets/ref-pipeline.en.svg b/docs/assets/ref-pipeline.en.svg
deleted file mode 100644
index 91c248f..0000000
--- a/docs/assets/ref-pipeline.en.svg
+++ /dev/null
@@ -1,65 +0,0 @@
-<svg xmlns="http://www.w3.org/2000/svg" width="720" height="1444" viewBox="0 0 720 1444" role="img" aria-labelledby="ref-pipeline-title ref-pipeline-desc">
- <title id="ref-pipeline-title">Reference analysis pipeline</title>
- <desc id="ref-pipeline-desc">Analyze the reference, set targets, plan and render, then compare the result. The dotted arrow carries targets to the ref gate.</desc>
- <defs>
- <style>
- text { font-family: 'Noto Sans KR', 'Apple SD Gothic Neo', sans-serif; font-size: 26px; fill: #242824; }
- .title { font-size: 34px; font-weight: 700; }
- .heading { font-size: 28px; font-weight: 700; }
- .mono { font-family: 'IBM Plex Mono', 'SFMono-Regular', monospace; font-size: 24px; }
- .muted { fill: #626860; }
- .label { font-size: 24px; fill: #626860; }
- .accent { fill: #B8441A; }
- .rule { stroke: #626860; stroke-opacity: .24; }
- .flow { fill: none; stroke: #626860; stroke-width: 2; marker-end: url(#arrow); }
- </style>
- <marker id="arrow" viewBox="0 0 10 10" refX="8" refY="5" markerWidth="6" markerHeight="6" orient="auto-start-reverse"><path d="M2 1L8 5L2 9" fill="none" stroke="#626860" stroke-width="1.5"/></marker>
- </defs>
- <rect width="720" height="1444" fill="#FFFFFF"/>
- <text x="40" y="68" class="title">Reference analysis pipeline</text>
- <text x="40" y="112" class="muted">Compare targets and results with the same metrics.</text>
- <path d="M40 152H680" class="rule"/>
- <text x="100" y="192" class="heading">Reference video</text>
- <text x="100" y="230" class="mono">reference.mp4</text>
- <text x="100" y="264" class="muted">Keep numbers, not the source file.</text>
- <path d="M56 212v50" class="flow"/>
- <path d="M40 292H680" class="rule"/>
- <text x="100" y="332" class="heading">Analysis · ref-analyze.py</text>
- <text x="100" y="370" class="muted">Cuts · holds · optical flow · blur</text>
- <text x="100" y="404" class="muted">Depth bands · grain · look</text>
- <path d="M56 352v50" class="flow"/>
- <path d="M40 432H680" class="rule"/>
- <text x="100" y="472" class="heading">Targets · ref/targets.json</text>
- <text x="100" y="510" class="muted">Targets and tolerances per metric</text>
- <text x="100" y="544" class="muted">Cited in ANALYSIS.md</text>
- <path d="M56 492v50" class="flow"/>
- <path d="M40 572H680" class="rule"/>
- <text x="100" y="612" class="heading">Plan</text>
- <text x="100" y="650" class="mono">plan.mjs · look-fit.mjs</text>
- <text x="100" y="684" class="mono">BEATSHEET.md</text>
- <path d="M56 632v50" class="flow"/>
- <path d="M40 712H680" class="rule"/>
- <text x="100" y="752" class="heading">Swappable engine</text>
- <text x="100" y="790" class="mono">Remotion · carry</text>
- <text x="100" y="824" class="mono">HyperFrames · HTML</text>
- <path d="M56 772v50" class="flow"/>
- <path d="M40 852H680" class="rule"/>
- <text x="100" y="892" class="heading">Result · out/final.mp4</text>
- <text x="100" y="930" class="mono">mix-mux.sh · verify.sh</text>
- <text x="100" y="964" class="muted">Finished video with music and voice</text>
- <path d="M56 912v50" class="flow"/>
- <path d="M40 992H680" class="rule"/>
- <text x="100" y="1032" class="heading">Render analysis · ref-analyze.py</text>
- <text x="100" y="1070" class="mono">qa/render-analysis.json</text>
- <text x="100" y="1104" class="muted">Measure with the same analyzer.</text>
- <path d="M56 1052v50" class="flow"/>
- <text x="674" y="512" class="label" text-anchor="end">Targets</text>
- <path d="M680 506H704V1160H680" class="flow" stroke-dasharray="5 7"/>
- <rect x="40" y="1132" width="640" height="184" rx="12" fill="#FFFFFF" stroke="#626860" stroke-width="2"/>
- <text x="64" y="1172" class="mono accent">gate.py ref</text>
- <text x="64" y="1212">Compare target, measured value, and difference.</text>
- <text x="64" y="1252">PASS · exit 0: next stage</text>
- <text x="64" y="1290" class="accent">BLOCK · exit 1: revise the plan</text>
- <text x="40" y="1368" class="muted">Motion per 1/30 s: compare across frame rates.</text>
- <text x="40" y="1408" class="muted">The same criteria apply to either engine.</text>
-</svg>
diff --git a/docs/assets/ref-pipeline.png b/docs/assets/ref-pipeline.png
deleted file mode 100644
index 214045a..0000000
Binary files a/docs/assets/ref-pipeline.png and /dev/null differ
diff --git a/docs/assets/ref-pipeline.svg b/docs/assets/ref-pipeline.svg
deleted file mode 100644
index 4c823a8..0000000
--- a/docs/assets/ref-pipeline.svg
+++ /dev/null
@@ -1,65 +0,0 @@
-<svg xmlns="http://www.w3.org/2000/svg" width="720" height="1444" viewBox="0 0 720 1444" role="img" aria-labelledby="ref-pipeline-title ref-pipeline-desc">
- <title id="ref-pipeline-title">레퍼런스 분석 파이프라인</title>
- <desc id="ref-pipeline-desc">레퍼런스에서 목표를 정하고 계획과 엔진을 거쳐 완성본을 만들어요. 같은 지표로 분석해 비교해요. 점선은 ref 게이트에 목표값을 전달해요.</desc>
- <defs>
- <style>
- text { font-family: 'Noto Sans KR', 'Apple SD Gothic Neo', sans-serif; font-size: 26px; fill: #242824; }
- .title { font-size: 34px; font-weight: 700; }
- .heading { font-size: 28px; font-weight: 700; }
- .mono { font-family: 'IBM Plex Mono', 'SFMono-Regular', monospace; font-size: 24px; }
- .muted { fill: #626860; }
- .label { font-size: 24px; fill: #626860; }
- .accent { fill: #B8441A; }
- .rule { stroke: #626860; stroke-opacity: .24; }
- .flow { fill: none; stroke: #626860; stroke-width: 2; marker-end: url(#arrow); }
- </style>
- <marker id="arrow" viewBox="0 0 10 10" refX="8" refY="5" markerWidth="6" markerHeight="6" orient="auto-start-reverse"><path d="M2 1L8 5L2 9" fill="none" stroke="#626860" stroke-width="1.5"/></marker>
- </defs>
- <rect width="720" height="1444" fill="#FFFFFF"/>
- <text x="40" y="68" class="title">레퍼런스 분석 파이프라인</text>
- <text x="40" y="112" class="muted">같은 지표로 목표와 완성본을 비교해요.</text>
- <path d="M40 152H680" class="rule"/>
- <text x="100" y="192" class="heading">레퍼런스 영상</text>
- <text x="100" y="230" class="mono">reference.mp4</text>
- <text x="100" y="264" class="muted">원본 대신 숫자만 남겨요.</text>
- <path d="M56 212v50" class="flow"/>
- <path d="M40 292H680" class="rule"/>
- <text x="100" y="332" class="heading">분석 · ref-analyze.py</text>
- <text x="100" y="370" class="muted">컷·홀드 · 광학 흐름 · 블러</text>
- <text x="100" y="404" class="muted">심도 띠 · 그레인 · 질감</text>
- <path d="M56 352v50" class="flow"/>
- <path d="M40 432H680" class="rule"/>
- <text x="100" y="472" class="heading">목표 · ref/targets.json</text>
- <text x="100" y="510" class="muted">지표별 목표와 허용 오차</text>
- <text x="100" y="544" class="muted">ANALYSIS.md에서 인용해요.</text>
- <path d="M56 492v50" class="flow"/>
- <path d="M40 572H680" class="rule"/>
- <text x="100" y="612" class="heading">계획</text>
- <text x="100" y="650" class="mono">plan.mjs · look-fit.mjs</text>
- <text x="100" y="684" class="mono">BEATSHEET.md</text>
- <path d="M56 632v50" class="flow"/>
- <path d="M40 712H680" class="rule"/>
- <text x="100" y="752" class="heading">바꿔 끼우는 엔진</text>
- <text x="100" y="790" class="mono">Remotion · carry</text>
- <text x="100" y="824" class="mono">HyperFrames · HTML</text>
- <path d="M56 772v50" class="flow"/>
- <path d="M40 852H680" class="rule"/>
- <text x="100" y="892" class="heading">완성본 · out/final.mp4</text>
- <text x="100" y="930" class="mono">mix-mux.sh · verify.sh</text>
- <text x="100" y="964" class="muted">음악·목소리를 입힌 완성본이에요.</text>
- <path d="M56 912v50" class="flow"/>
- <path d="M40 992H680" class="rule"/>
- <text x="100" y="1032" class="heading">렌더 분석 · ref-analyze.py</text>
- <text x="100" y="1070" class="mono">qa/render-analysis.json</text>
- <text x="100" y="1104" class="muted">레퍼런스와 같은 분석기로 재요.</text>
- <path d="M56 1052v50" class="flow"/>
- <text x="674" y="512" class="label" text-anchor="end">목표값</text>
- <path d="M680 506H704V1160H680" class="flow" stroke-dasharray="5 7"/>
- <rect x="40" y="1132" width="640" height="184" rx="12" fill="#FFFFFF" stroke="#626860" stroke-width="2"/>
- <text x="64" y="1172" class="mono accent">gate.py ref</text>
- <text x="64" y="1212">지표마다 목표·측정값·차이를 비교해요.</text>
- <text x="64" y="1252">PASS · exit 0: 다음 단계로 가요</text>
- <text x="64" y="1290" class="accent">BLOCK · exit 1: 계획을 고쳐요</text>
- <text x="40" y="1368" class="muted">움직임은 1/30초당 값으로 비교해요.</text>
- <text x="40" y="1408" class="muted">fps나 엔진이 달라도 기준은 같아요.</text>
-</svg>
diff --git a/docs/assets/reference.ko.png b/docs/assets/reference.ko.png
new file mode 100644
index 0000000..f9da870
Binary files /dev/null and b/docs/assets/reference.ko.png differ
diff --git a/docs/assets/reference.png b/docs/assets/reference.png
new file mode 100644
index 0000000..725ae86
Binary files /dev/null and b/docs/assets/reference.png differ
diff --git a/docs/assets/seams.en.png b/docs/assets/seams.en.png
deleted file mode 100644
index 1e1e75e..0000000
Binary files a/docs/assets/seams.en.png and /dev/null differ
diff --git a/docs/assets/seams.en.svg b/docs/assets/seams.en.svg
deleted file mode 100644
index df27cac..0000000
--- a/docs/assets/seams.en.svg
+++ /dev/null
@@ -1,59 +0,0 @@
-<svg xmlns="http://www.w3.org/2000/svg" width="720" height="884" viewBox="0 0 720 884" role="img" aria-labelledby="seams-title seams-desc">
- <title id="seams-title">Where consistency checks belong</title>
- <desc id="seams-desc">Seven consistency criteria mapped to production stages. Only applicable stages are shown; criteria 01 and 06 apply at two stages.</desc>
- <defs>
- <style>
- text { font-family: 'Noto Sans KR', 'Apple SD Gothic Neo', sans-serif; font-size: 26px; fill: #242824; }
- .title { font-size: 34px; font-weight: 700; }
- .heading { font-size: 28px; font-weight: 700; }
- .mono { font-family: 'IBM Plex Mono', 'SFMono-Regular', monospace; font-size: 24px; }
- .muted { fill: #626860; }
- .label { font-size: 24px; fill: #626860; }
- .accent { fill: #B8441A; }
- .rule { stroke: #626860; stroke-opacity: .24; }
- .flow { fill: none; stroke: #626860; stroke-width: 2; marker-end: url(#arrow); }
- </style>
- <marker id="arrow" viewBox="0 0 10 10" refX="8" refY="5" markerWidth="6" markerHeight="6" orient="auto-start-reverse"><path d="M2 1L8 5L2 9" fill="none" stroke="#626860" stroke-width="1.5"/></marker>
- </defs>
- <rect width="720" height="884" fill="#FFFFFF"/>
- <text x="40" y="68" class="title">Where consistency checks belong</text>
- <text x="40" y="112" class="muted">One criterion can apply at more than one stage.</text>
- <text x="40" y="168" class="label">STAGE</text>
- <text x="350" y="168" class="label">APPLICABLE CRITERIA</text>
- <path d="M40 192H680" class="rule"/>
- <g transform="translate(0 -126)">
- <text x="40" y="358" class="mono muted">2</text>
- <text x="100" y="358" class="heading">Character sheet</text>
- <text x="100" y="396" class="muted">PNG</text>
- <text x="350" y="358">Criterion 01 · Sheet</text>
- <path d="M56 376v50" class="flow"/>
- <path d="M40 444H680" class="rule"/>
- <text x="40" y="484" class="mono muted">3</text>
- <text x="100" y="484" class="heading">Keyframes</text>
- <text x="100" y="522" class="muted">One per scene</text>
- <text x="350" y="484">Criterion 01 · Sheet</text>
- <text x="350" y="520">Criterion 02 · Look text</text>
- <path d="M56 502v50" class="flow"/>
- <path d="M40 570H680" class="rule"/>
- <text x="40" y="610" class="mono muted">4</text>
- <text x="100" y="610" class="heading">Video clips</text>
- <text x="100" y="648" class="muted">Clips</text>
- <text x="350" y="610">Criterion 03 · Start frame</text>
- <path d="M56 628v50" class="flow"/>
- <path d="M40 696H680" class="rule"/>
- <text x="40" y="736" class="mono muted">5</text>
- <text x="100" y="736" class="heading">Music and voice</text>
- <text x="100" y="774" class="muted">BPM · voice ID</text>
- <text x="350" y="736">Criterion 04 · Voice ID</text>
- <text x="350" y="772">Criterion 06 · Music beats</text>
- <path d="M56 754v50" class="flow"/>
- <path d="M40 822H680" class="rule"/>
- <text x="40" y="862" class="mono muted">6</text>
- <text x="100" y="862" class="heading">Assembly</text>
- <text x="100" y="900" class="muted">Either engine</text>
- <text x="350" y="862">Criterion 05 · Lip timing</text>
- <text x="350" y="898">Criterion 06 · Music beats</text>
- <text x="350" y="934">Criterion 07 · Review</text>
- <path d="M40 970H680" class="rule"/>
- </g>
-</svg>
diff --git a/docs/assets/seams.png b/docs/assets/seams.png
deleted file mode 100644
index eff97c5..0000000
Binary files a/docs/assets/seams.png and /dev/null differ
diff --git a/docs/assets/seams.svg b/docs/assets/seams.svg
deleted file mode 100644
index b762c7f..0000000
--- a/docs/assets/seams.svg
+++ /dev/null
@@ -1,59 +0,0 @@
-<svg xmlns="http://www.w3.org/2000/svg" width="720" height="884" viewBox="0 0 720 884" role="img" aria-labelledby="seams-title seams-desc">
- <title id="seams-title">일관성 7가지가 놓이는 자리</title>
- <desc id="seams-desc">제작 단계별로 걸리는 일관성 기준이에요. 기준이 있는 단계만 보여요. 기준 01과 06은 두 단계에 걸려요.</desc>
- <defs>
- <style>
- text { font-family: 'Noto Sans KR', 'Apple SD Gothic Neo', sans-serif; font-size: 26px; fill: #242824; }
- .title { font-size: 34px; font-weight: 700; }
- .heading { font-size: 28px; font-weight: 700; }
- .mono { font-family: 'IBM Plex Mono', 'SFMono-Regular', monospace; font-size: 24px; }
- .muted { fill: #626860; }
- .label { font-size: 24px; fill: #626860; }
- .accent { fill: #B8441A; }
- .rule { stroke: #626860; stroke-opacity: .24; }
- .flow { fill: none; stroke: #626860; stroke-width: 2; marker-end: url(#arrow); }
- </style>
- <marker id="arrow" viewBox="0 0 10 10" refX="8" refY="5" markerWidth="6" markerHeight="6" orient="auto-start-reverse"><path d="M2 1L8 5L2 9" fill="none" stroke="#626860" stroke-width="1.5"/></marker>
- </defs>
- <rect width="720" height="884" fill="#FFFFFF"/>
- <text x="40" y="68" class="title">일관성 7가지가 놓이는 자리</text>
- <text x="40" y="112" class="muted">같은 기준이 두 단계에 놓일 수 있어요.</text>
- <text x="40" y="168" class="label">제작 단계</text>
- <text x="350" y="168" class="label">걸리는 기준</text>
- <path d="M40 192H680" class="rule"/>
- <g transform="translate(0 -126)">
- <text x="40" y="358" class="mono muted">2</text>
- <text x="100" y="358" class="heading">캐릭터 시트</text>
- <text x="100" y="396" class="muted">PNG</text>
- <text x="350" y="358">기준 01 · 캐릭터 시트</text>
- <path d="M56 376v50" class="flow"/>
- <path d="M40 444H680" class="rule"/>
- <text x="40" y="484" class="mono muted">3</text>
- <text x="100" y="484" class="heading">키프레임</text>
- <text x="100" y="522" class="muted">장면당 1장</text>
- <text x="350" y="484">기준 01 · 캐릭터 시트</text>
- <text x="350" y="520">기준 02 · 외형 고정문</text>
- <path d="M56 502v50" class="flow"/>
- <path d="M40 570H680" class="rule"/>
- <text x="40" y="610" class="mono muted">4</text>
- <text x="100" y="610" class="heading">영상 변환</text>
- <text x="100" y="648" class="muted">클립</text>
- <text x="350" y="610">기준 03 · 시작 화면</text>
- <path d="M56 628v50" class="flow"/>
- <path d="M40 696H680" class="rule"/>
- <text x="40" y="736" class="mono muted">5</text>
- <text x="100" y="736" class="heading">음악·목소리</text>
- <text x="100" y="774" class="muted">BPM · 음성 ID</text>
- <text x="350" y="736">기준 04 · 목소리 고정</text>
- <text x="350" y="772">기준 06 · 음악 박자</text>
- <path d="M56 754v50" class="flow"/>
- <path d="M40 822H680" class="rule"/>
- <text x="40" y="862" class="mono muted">6</text>
- <text x="100" y="862" class="heading">조립</text>
- <text x="100" y="900" class="muted">엔진 공통</text>
- <text x="350" y="862">기준 05 · 대사·입 모양</text>
- <text x="350" y="898">기준 06 · 음악 박자</text>
- <text x="350" y="934">기준 07 · 품질 검수</text>
- <path d="M40 970H680" class="rule"/>
- </g>
-</svg>
diff --git a/docs/assets/strip.en.png b/docs/assets/strip.en.png
deleted file mode 100644
index b3cee2e..0000000
Binary files a/docs/assets/strip.en.png and /dev/null differ
diff --git a/docs/assets/strip.en.svg b/docs/assets/strip.en.svg
deleted file mode 100644
index 4a27fa5..0000000
--- a/docs/assets/strip.en.svg
+++ /dev/null
@@ -1,23 +0,0 @@
-<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="800" height="210" viewBox="0 0 800 210" role="img" aria-labelledby="strip-title strip-desc">
- <title id="strip-title">Frame strip</title>
- <desc id="strip-desc">Compare the keyframe with five clip frames to spot character drift.</desc>
- <style>
- text { font-family: 'Noto Sans KR', 'Apple SD Gothic Neo', sans-serif; font-size: 18px; fill: #242824; }
- .title { font-size: 34px; font-weight: 700; }
- .label { fill: #626860; }
- </style>
- <rect width="800" height="210" fill="#FFFFFF"/>
- <text x="20" y="54" class="title">Frame strip</text>
- <svg x="20" y="88" width="120" height="66.4" viewBox="0 0 253 140"><image width="1518" height="140" xlink:href="strip-frames.png"/></svg>
- <text x="80" y="185" class="label" text-anchor="middle">Key</text>
- <svg x="156" y="88" width="120" height="66.4" viewBox="253 0 253 140"><image width="1518" height="140" xlink:href="strip-frames.png"/></svg>
- <text x="216" y="185" class="label" text-anchor="middle">0 s</text>
- <svg x="282" y="88" width="120" height="66.4" viewBox="506 0 253 140"><image width="1518" height="140" xlink:href="strip-frames.png"/></svg>
- <text x="342" y="185" class="label" text-anchor="middle">1.0 s</text>
- <svg x="408" y="88" width="120" height="66.4" viewBox="759 0 253 140"><image width="1518" height="140" xlink:href="strip-frames.png"/></svg>
- <text x="468" y="185" class="label" text-anchor="middle">1.5 s</text>
- <svg x="534" y="88" width="120" height="66.4" viewBox="1012 0 253 140"><image width="1518" height="140" xlink:href="strip-frames.png"/></svg>
- <text x="594" y="185" class="label" text-anchor="middle">2.0 s</text>
- <svg x="660" y="88" width="120" height="66.4" viewBox="1265 0 253 140"><image width="1518" height="140" xlink:href="strip-frames.png"/></svg>
- <text x="720" y="185" class="label" text-anchor="middle">3.0 s</text>
-</svg>
diff --git a/docs/assets/strip.ko.png b/docs/assets/strip.ko.png
new file mode 100644
index 0000000..1589d03
Binary files /dev/null and b/docs/assets/strip.ko.png differ
diff --git a/docs/assets/strip.png b/docs/assets/strip.png
index 34d899a..c489ffc 100644
Binary files a/docs/assets/strip.png and b/docs/assets/strip.png differ
diff --git a/docs/assets/strip.svg b/docs/assets/strip.svg
deleted file mode 100644
index 9e4111e..0000000
--- a/docs/assets/strip.svg
+++ /dev/null
@@ -1,23 +0,0 @@
-<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="800" height="210" viewBox="0 0 800 210" role="img" aria-labelledby="strip-title strip-desc">
- <title id="strip-title">프레임 스트립</title>
- <desc id="strip-desc">키프레임과 클립의 다섯 화면을 비교해 인물 변화를 찾아요.</desc>
- <style>
- text { font-family: 'Noto Sans KR', 'Apple SD Gothic Neo', sans-serif; font-size: 18px; fill: #242824; }
- .title { font-size: 34px; font-weight: 700; }
- .label { fill: #626860; }
- </style>
- <rect width="800" height="210" fill="#FFFFFF"/>
- <text x="20" y="54" class="title">프레임 스트립</text>
- <svg x="20" y="88" width="120" height="66.4" viewBox="0 0 253 140"><image width="1518" height="140" xlink:href="strip-frames.png"/></svg>
- <text x="80" y="185" class="label" text-anchor="middle">키프레임</text>
- <svg x="156" y="88" width="120" height="66.4" viewBox="253 0 253 140"><image width="1518" height="140" xlink:href="strip-frames.png"/></svg>
- <text x="216" y="185" class="label" text-anchor="middle">0초</text>
- <svg x="282" y="88" width="120" height="66.4" viewBox="506 0 253 140"><image width="1518" height="140" xlink:href="strip-frames.png"/></svg>
- <text x="342" y="185" class="label" text-anchor="middle">1.0초</text>
- <svg x="408" y="88" width="120" height="66.4" viewBox="759 0 253 140"><image width="1518" height="140" xlink:href="strip-frames.png"/></svg>
- <text x="468" y="185" class="label" text-anchor="middle">1.5초</text>
- <svg x="534" y="88" width="120" height="66.4" viewBox="1012 0 253 140"><image width="1518" height="140" xlink:href="strip-frames.png"/></svg>
- <text x="594" y="185" class="label" text-anchor="middle">2.0초</text>
- <svg x="660" y="88" width="120" height="66.4" viewBox="1265 0 253 140"><image width="1518" height="140" xlink:href="strip-frames.png"/></svg>
- <text x="720" y="185" class="label" text-anchor="middle">3.0초</text>
-</svg>
diff --git a/docs/assets/workflow-ref.en.png b/docs/assets/workflow-ref.en.png
deleted file mode 100644
index 4608fc3..0000000
Binary files a/docs/assets/workflow-ref.en.png and /dev/null differ
diff --git a/docs/assets/workflow-ref.en.svg b/docs/assets/workflow-ref.en.svg
deleted file mode 100644
index 2c67968..0000000
--- a/docs/assets/workflow-ref.en.svg
+++ /dev/null
@@ -1,68 +0,0 @@
-<svg xmlns="http://www.w3.org/2000/svg" width="720" height="1324" viewBox="0 0 720 1324" role="img" aria-labelledby="workflow-ref-title workflow-ref-desc">
- <title id="workflow-ref-title">Production stages and gates</title>
- <desc id="workflow-ref-desc">Seven stages from reference analysis to assembly. Check outputs at each gate; fix a BLOCK before proceeding.</desc>
- <defs>
- <style>
- text { font-family: 'Noto Sans KR', 'Apple SD Gothic Neo', sans-serif; font-size: 26px; fill: #242824; }
- .title { font-size: 34px; font-weight: 700; }
- .heading { font-size: 28px; font-weight: 700; }
- .mono { font-family: 'IBM Plex Mono', 'SFMono-Regular', monospace; font-size: 24px; }
- .muted { fill: #626860; }
- .label { font-size: 24px; fill: #626860; }
- .accent { fill: #B8441A; }
- .rule { stroke: #626860; stroke-opacity: .24; }
- .flow { fill: none; stroke: #626860; stroke-width: 2; marker-end: url(#arrow); }
- </style>
- <marker id="arrow" viewBox="0 0 10 10" refX="8" refY="5" markerWidth="6" markerHeight="6" orient="auto-start-reverse"><path d="M2 1L8 5L2 9" fill="none" stroke="#626860" stroke-width="1.5"/></marker>
- </defs>
- <rect width="720" height="1324" fill="#FFFFFF"/>
- <text x="40" y="68" class="title">Production stages and gates</text>
- <text x="40" y="112" class="muted">Make it, check it, then move on.</text>
- <path d="M40 152H680" class="rule"/>
- <text x="40" y="192" class="mono muted">0</text>
- <text x="100" y="192" class="heading">Reference analysis</text>
- <text x="100" y="228" class="muted">OpenCV</text>
- <text x="100" y="262" class="mono">ref/ANALYSIS.md</text>
- <text x="100" y="294" class="mono">ref/targets.json</text>
- <path d="M56 212v50" class="flow"/>
- <path d="M40 316H680" class="rule"/>
- <text x="40" y="356" class="mono muted">1</text>
- <text x="100" y="356" class="heading">Story and scenes</text>
- <text x="100" y="392" class="muted">Agent</text>
- <text x="100" y="426" class="mono">STORY.md</text>
- <path d="M56 376v50" class="flow"/>
- <path d="M40 448H680" class="rule"/>
- <text x="40" y="488" class="mono muted">2</text>
- <text x="100" y="488" class="heading">Character sheet</text>
- <text x="100" y="524" class="muted">Image generation</text>
- <text x="100" y="558" class="mono">character.txt · sheet/*.png</text>
- <path d="M56 508v50" class="flow"/>
- <path d="M40 580H680" class="rule"/>
- <text x="40" y="620" class="mono muted">3</text>
- <text x="100" y="620" class="heading">Keyframes</text>
- <text x="100" y="656" class="muted">Image generation</text>
- <text x="100" y="690" class="mono">key/*.png</text>
- <path d="M56 640v50" class="flow"/>
- <path d="M40 712H680" class="rule"/>
- <text x="40" y="752" class="mono muted">4</text>
- <text x="100" y="752" class="heading">Video conversion</text>
- <text x="100" y="788" class="muted">Video generation</text>
- <text x="100" y="822" class="mono">clip/*.mp4</text>
- <path d="M56 772v50" class="flow"/>
- <path d="M40 844H680" class="rule"/>
- <text x="40" y="884" class="mono muted">5</text>
- <text x="100" y="884" class="heading">Music and voice</text>
- <text x="100" y="920" class="muted">composio · score</text>
- <text x="100" y="954" class="mono">voices.json · audio/*.wav</text>
- <path d="M56 904v50" class="flow"/>
- <path d="M40 976H680" class="rule"/>
- <text x="40" y="1016" class="mono muted">6</text>
- <text x="100" y="1016" class="heading">Assembly</text>
- <text x="100" y="1052" class="muted">Swappable engine</text>
- <text x="100" y="1086" class="mono">Remotion · HyperFrames</text>
- <path d="M40 1108H680" class="rule"/>
- <text x="40" y="1150">PASS · exit 0: next stage</text>
- <text x="40" y="1190" class="accent">BLOCK · exit 1: fix and rerun</text>
- <text x="40" y="1246" class="muted">Before planning: check documents and targets.</text>
- <text x="40" y="1286" class="muted">After rendering: compare the result to targets.</text>
-</svg>
diff --git a/docs/assets/workflow-ref.png b/docs/assets/workflow-ref.png
deleted file mode 100644
index f6ac7cb..0000000
Binary files a/docs/assets/workflow-ref.png and /dev/null differ
diff --git a/docs/assets/workflow-ref.svg b/docs/assets/workflow-ref.svg
deleted file mode 100644
index 0cf12c9..0000000
--- a/docs/assets/workflow-ref.svg
+++ /dev/null
@@ -1,68 +0,0 @@
-<svg xmlns="http://www.w3.org/2000/svg" width="720" height="1324" viewBox="0 0 720 1324" role="img" aria-labelledby="workflow-ref-title workflow-ref-desc">
- <title id="workflow-ref-title">제작 단계와 단계별 게이트</title>
- <desc id="workflow-ref-desc">레퍼런스 분석부터 조립까지 7단계예요. 산출물을 검사하고 BLOCK이면 고쳐서 같은 게이트를 다시 실행해요.</desc>
- <defs>
- <style>
- text { font-family: 'Noto Sans KR', 'Apple SD Gothic Neo', sans-serif; font-size: 26px; fill: #242824; }
- .title { font-size: 34px; font-weight: 700; }
- .heading { font-size: 28px; font-weight: 700; }
- .mono { font-family: 'IBM Plex Mono', 'SFMono-Regular', monospace; font-size: 24px; }
- .muted { fill: #626860; }
- .label { font-size: 24px; fill: #626860; }
- .accent { fill: #B8441A; }
- .rule { stroke: #626860; stroke-opacity: .24; }
- .flow { fill: none; stroke: #626860; stroke-width: 2; marker-end: url(#arrow); }
- </style>
- <marker id="arrow" viewBox="0 0 10 10" refX="8" refY="5" markerWidth="6" markerHeight="6" orient="auto-start-reverse"><path d="M2 1L8 5L2 9" fill="none" stroke="#626860" stroke-width="1.5"/></marker>
- </defs>
- <rect width="720" height="1324" fill="#FFFFFF"/>
- <text x="40" y="68" class="title">제작 단계와 단계별 게이트</text>
- <text x="40" y="112" class="muted">만들고 검사한 뒤 다음 단계로 가요.</text>
- <path d="M40 152H680" class="rule"/>
- <text x="40" y="192" class="mono muted">0</text>
- <text x="100" y="192" class="heading">레퍼런스 분석</text>
- <text x="100" y="228" class="muted">OpenCV</text>
- <text x="100" y="262" class="mono">ref/ANALYSIS.md</text>
- <text x="100" y="294" class="mono">ref/targets.json</text>
- <path d="M56 212v50" class="flow"/>
- <path d="M40 316H680" class="rule"/>
- <text x="40" y="356" class="mono muted">1</text>
- <text x="100" y="356" class="heading">스토리·장면</text>
- <text x="100" y="392" class="muted">에이전트</text>
- <text x="100" y="426" class="mono">STORY.md</text>
- <path d="M56 376v50" class="flow"/>
- <path d="M40 448H680" class="rule"/>
- <text x="40" y="488" class="mono muted">2</text>
- <text x="100" y="488" class="heading">캐릭터 시트</text>
- <text x="100" y="524" class="muted">이미지 생성</text>
- <text x="100" y="558" class="mono">character.txt · sheet/*.png</text>
- <path d="M56 508v50" class="flow"/>
- <path d="M40 580H680" class="rule"/>
- <text x="40" y="620" class="mono muted">3</text>
- <text x="100" y="620" class="heading">키프레임</text>
- <text x="100" y="656" class="muted">이미지 생성</text>
- <text x="100" y="690" class="mono">key/*.png</text>
- <path d="M56 640v50" class="flow"/>
- <path d="M40 712H680" class="rule"/>
- <text x="40" y="752" class="mono muted">4</text>
- <text x="100" y="752" class="heading">영상 변환</text>
- <text x="100" y="788" class="muted">영상 생성</text>
- <text x="100" y="822" class="mono">clip/*.mp4</text>
- <path d="M56 772v50" class="flow"/>
- <path d="M40 844H680" class="rule"/>
- <text x="40" y="884" class="mono muted">5</text>
- <text x="100" y="884" class="heading">음악·목소리</text>
- <text x="100" y="920" class="muted">composio · score</text>
- <text x="100" y="954" class="mono">voices.json · audio/*.wav</text>
- <path d="M56 904v50" class="flow"/>
- <path d="M40 976H680" class="rule"/>
- <text x="40" y="1016" class="mono muted">6</text>
- <text x="100" y="1016" class="heading">조립</text>
- <text x="100" y="1052" class="muted">바꿔 끼우는 엔진</text>
- <text x="100" y="1086" class="mono">Remotion · HyperFrames</text>
- <path d="M40 1108H680" class="rule"/>
- <text x="40" y="1150">PASS · exit 0: 다음 단계로 가요</text>
- <text x="40" y="1190" class="accent">BLOCK · exit 1: 고쳐서 다시 실행해요</text>
- <text x="40" y="1246" class="muted">계획 전에는 문서와 목표값을 검사해요.</text>
- <text x="40" y="1286" class="muted">렌더 후에는 완성본을 목표와 비교해요.</text>
-</svg>
diff --git a/docs/assets/workflow.ko.png b/docs/assets/workflow.ko.png
new file mode 100644
index 0000000..aff4b6e
Binary files /dev/null and b/docs/assets/workflow.ko.png differ
diff --git a/docs/assets/workflow.png b/docs/assets/workflow.png
new file mode 100644
index 0000000..34408ab
Binary files /dev/null and b/docs/assets/workflow.png differ
diff --git a/docs/diagrams/carry.html b/docs/diagrams/carry.html
new file mode 100644
index 0000000..178b8bc
--- /dev/null
+++ b/docs/diagrams/carry.html
@@ -0,0 +1,61 @@
+<!doctype html>
+<meta charset="utf-8">
+<meta name="size" content="1600x684">
+<title>carry</title>
+<link rel="stylesheet" href="uj.css">
+<script src="https://cdn.jsdelivr.net/npm/[email protected]/bundled/rough.js"></script>
+<script src="sketch.js"></script>
+<style>
+ .row { display: flex; gap: 92px; margin-top: 52px; }
+ .shot { width: 424px; }
+ .shot .media { height: 239px; }
+ .t { margin-top: 14px; display: flex; justify-content: space-between; align-items: baseline; }
+ .foot { margin-top: 40px; display: flex; gap: 48px; align-items: flex-start; }
+ .foot .lead { flex: 1; }
+</style>
+<body class="light" role="img" aria-label="Carry: three frames of the carry demo; the first line stays on screen across the iris transition">
+<div class="frame">
+ <div class="eyebrow" data-t="eyebrow"></div>
+ <div class="title" style="margin-top:14px" data-t="title"></div>
+ <div class="row">
+ <div class="shot"><div class="media" id="a"><img src="img/carry-1.5.png"></div>
+ <div class="t"><span class="name" data-t="a"></span><span class="mono">1.5 s</span></div></div>
+ <div class="shot"><div class="media" id="b"><img src="img/carry-1.9.png"></div>
+ <div class="t"><span class="name" data-t="b"></span><span class="mono">1.9 s</span></div></div>
+ <div class="shot"><div class="media" id="c"><img src="img/carry-3.0.png"></div>
+ <div class="t"><span class="name" data-t="c"></span><span class="mono">3.0 s</span></div></div>
+ </div>
+ <div class="foot">
+ <div class="lead" data-t="lead"></div>
+ <div><span class="pill pass">carry 1.00 · PASS</span></div>
+ </div>
+</div>
+<script>
+UJ.ready({
+ en: {
+ eyebrow: 'Carry probe · Remotion',
+ title: 'Something on screen survives every cut',
+ a: 'Before', b: 'Iris closes', c: 'After',
+ lead: 'The first line lifts and shrinks into a label while the next scene opens around it. The probe reads the boxes declared before rendering, so it counts this transition as carried.',
+ },
+ ko: {
+ eyebrow: 'Carry 검사 · Remotion',
+ title: '컷이 바뀌어도 화면의 무언가는 이어집니다',
+ a: '전환 전', b: '아이리스가 닫힘', c: '전환 후',
+ lead: '첫 줄이 위로 올라가며 작아져 다음 장면의 라벨이 됩니다. 검사는 렌더 전에 선언한 상자를 읽고, 이 전환을 이어진 전환으로 셉니다.',
+ },
+}, (S) => {
+ // ink boxes of the first line on the 1920x1080 frame (track.ts), mapped onto each thumbnail
+ const mark = (id, x, y, w, h, o) => {
+ const r = S.rect(id), k = r.w / 1920, p = 12;
+ S.rectAt(r.x + x * k - p, r.y + y * k - p, w * k + 2 * p, h * k + 2 * p, o);
+ return { x: r.x + (x + w) * k + p, y: r.y + (y + h / 2) * k };
+ };
+ mark('#a', 700, 435, 519, 135, { accent: true });
+ mark('#b', 833, 290, 254, 72, { accent: true });
+ mark('#c', 856, 275, 208, 54, { accent: true });
+ S.link('#a', '#b', { gap: 18 });
+ S.link('#b', '#c', { gap: 18 });
+});
+</script>
+</body>
diff --git a/docs/diagrams/consistency.html b/docs/diagrams/consistency.html
new file mode 100644
index 0000000..27bec41
--- /dev/null
+++ b/docs/diagrams/consistency.html
@@ -0,0 +1,75 @@
+<!doctype html>
+<meta charset="utf-8">
+<meta name="size" content="1600x1016">
+<title>consistency</title>
+<link rel="stylesheet" href="uj.css">
+<script src="https://cdn.jsdelivr.net/npm/[email protected]/bundled/rough.js"></script>
+<script src="sketch.js"></script>
+<style>
+ .table { margin-top: 48px; display: grid; grid-template-columns: 560px repeat(5, 1fr); }
+ .table > div { border-bottom: 2px solid var(--line); padding: 12px 0; min-height: 78px; display: flex; align-items: center; }
+ .table > .h { border-bottom: 3px solid var(--rule); align-items: flex-end; padding-bottom: 14px; min-height: 0; }
+ .h.stage { flex-direction: column; align-items: center; justify-content: flex-end; text-align: center; }
+ .h .num { font-size: 20px; color: var(--fg-muted); }
+ .h .name { font-size: 22px; margin-top: 4px; }
+ .crit { gap: 18px; }
+ .crit .num { font-size: 22px; color: var(--fg-muted); width: 34px; flex: none; }
+ .crit .name { font-size: 25px; }
+ .crit .sub { font-size: 20px; margin-top: 2px; }
+ .cell { justify-content: center; }
+ .dot { width: 34px; height: 34px; }
+ .foot { margin-top: 30px; }
+</style>
+<body class="light" role="img" aria-label="Seven consistency criteria and the production stages where each one is checked">
+<div class="frame">
+ <div class="eyebrow">references/consistency-7.md</div>
+ <div class="title" style="margin-top:14px" data-t="title"></div>
+ <div class="table" id="tb"></div>
+ <div class="caption foot" data-t="foot"></div>
+</div>
+<script>
+const STAGES = [2, 3, 4, 5, 6];
+const ROWS = [[1, [2, 3]], [2, [2, 3]], [3, [4]], [4, [5]], [5, [6]], [6, [5, 6]], [7, [4, 6]]];
+const FOCUS = 3; // the criterion the frame strip shows failing
+const tb = document.getElementById('tb');
+tb.insertAdjacentHTML('beforeend', '<div class="h"><span class="sub" data-t="crit"></span></div>');
+for (const s of STAGES) tb.insertAdjacentHTML('beforeend', `<div class="h stage"><span class="num">${s}</span><span class="name" data-t="s${s}"></span></div>`);
+for (const [n, at] of ROWS) {
+ tb.insertAdjacentHTML('beforeend', `<div class="crit"><span class="num">0${n}</span><div><div class="name" data-t="c${n}"></div><div class="sub" data-t="m${n}"></div></div></div>`);
+ for (const s of STAGES) tb.insertAdjacentHTML('beforeend', `<div class="cell">${at.includes(s) ? `<span class="dot" data-dot="${n}"></span>` : ''}</div>`);
+}
+UJ.ready({
+ en: {
+ title: 'Seven things that keep one character the same person',
+ crit: 'criterion · what breaks without it',
+ s2: 'Character sheet', s3: 'Keyframes', s4: 'Video clips', s5: 'Music and voice', s6: 'Assembly',
+ c1: 'One character sheet', m1: 'the face changes from scene to scene',
+ c2: 'One look paragraph', m2: 'glasses, clothes and hair drift',
+ c3: 'Keyframe as start frame', m3: 'later frames drift from the first',
+ c4: 'One voice ID', m4: 'a different voice in each scene',
+ c5: 'Line length before cut length', m5: 'lines get cut off mid-word',
+ c6: 'Cuts on the beat', m6: 'cuts miss the music',
+ c7: 'A visual review record', m7: 'mistakes reach the final cut',
+ foot: 'The look paragraph lives in character.txt and is pasted into every prompt unchanged.',
+ },
+ ko: {
+ title: '한 캐릭터를 끝까지 같은 사람으로 지키는 7가지',
+ crit: '기준 · 안 맞으면 생기는 문제',
+ s2: '캐릭터 시트', s3: '키프레임', s4: '영상 클립', s5: '음악·목소리', s6: '조립',
+ c1: '캐릭터 시트 하나', m1: '장면마다 얼굴이 달라짐',
+ c2: '외형 고정문 하나', m2: '안경, 옷, 머리색이 바뀜',
+ c3: '키프레임을 시작 화면으로', m3: '첫 프레임과 뒤 프레임의 인물이 달라짐',
+ c4: '목소리 ID 하나', m4: '장면마다 다른 목소리',
+ c5: '대사 길이를 먼저 재기', m5: '대사 도중에 컷이 잘림',
+ c6: '박자에 맞춘 컷', m6: '장면 전환이 음악과 어긋남',
+ c7: '눈으로 본 검수 기록', m7: '틀린 채로 완성본이 나옴',
+ foot: '외형 고정문은 character.txt에 두고 모든 프롬프트에 그대로 붙입니다.',
+ },
+}, (S) => {
+ document.querySelectorAll('[data-dot]').forEach((el) => {
+ const r = S.rect(el), focus = +el.dataset.dot === FOCUS;
+ S.ellipse(r.cx, r.cy, 34, 34, focus ? { accent: true, fill: 'accent', gap: 5 } : { fill: 'fg', gap: 5 });
+ });
+});
+</script>
+</body>
diff --git a/docs/diagrams/gate.html b/docs/diagrams/gate.html
new file mode 100644
index 0000000..6ea17d3
--- /dev/null
+++ b/docs/diagrams/gate.html
@@ -0,0 +1,70 @@
+<!doctype html>
+<meta charset="utf-8">
+<meta name="size" content="1600x820">
+<title>gate</title>
+<link rel="stylesheet" href="uj.css">
+<script src="https://cdn.jsdelivr.net/npm/[email protected]/bundled/rough.js"></script>
+<script src="sketch.js"></script>
+<style>
+ .row { display: flex; align-items: center; gap: 56px; margin-top: 70px; }
+ .node { padding: 22px 22px; }
+ .node .sub { margin-top: 6px; }
+ .node .mono { margin-top: 8px; }
+ .checks { display: flex; flex-direction: column; gap: 34px; width: 340px; }
+ .out { display: flex; flex-direction: column; gap: 46px; }
+ .out .sub { color: var(--fg); margin-top: 8px; }
+ .loopnote { margin-top: 96px; text-align: center; }
+ .foot { margin-top: 40px; }
+</style>
+<body class="night" role="img" aria-label="How a gate decides: it reads stage files and the mp4, measures them, requires a visual review record, writes a verdict, and exits 0 for PASS or 1 for BLOCK">
+<div class="frame">
+ <div class="eyebrow">harness/gate.py</div>
+ <div class="title" style="margin-top:14px" data-t="title"></div>
+ <div class="row">
+ <div class="node" id="in" style="width:220px"><div class="name" data-t="in"></div><div class="mono">STORY.md<br>clip/*.mp4<br>out/final.mp4</div></div>
+ <div class="node" id="gate"><div class="name">gate.py</div><div class="mono">&lt;stage&gt;</div></div>
+ <div class="checks">
+ <div class="node" id="m"><div class="name" data-t="m"></div><div class="sub">ffprobe · ffmpeg<br>SSIM · loudness</div></div>
+ <div class="node" id="v"><div class="name" data-t="v"></div><div class="mono">qa/clips-review.md<br>qa/review.md</div></div>
+ </div>
+ <div class="node" id="verdict"><div class="name" data-t="verdict"></div><div class="mono">qa/gate-&lt;stage&gt;.txt</div></div>
+ <div class="out">
+ <div><span class="pill pass" id="pass">PASS · exit 0</span><div class="sub" data-t="pass"></div></div>
+ <div><span class="pill block" id="block">BLOCK · exit 1</span></div>
+ </div>
+ </div>
+ <div class="note loopnote" id="back" data-t="back"></div>
+ <div class="caption foot" data-t="cap"></div>
+</div>
+<script>
+UJ.ready({
+ en: {
+ title: 'Measure what a number can. Record what only eyes can.',
+ in: 'Stage files', m: 'Measured', v: 'Looked at, recorded', verdict: 'Verdict', pass: 'next stage',
+ back: 'Read the BLOCK lines, fix the files, rerun the same gate.',
+ cap: 'A review record counts only when someone wrote it after looking at the frames.',
+ },
+ ko: {
+ title: '숫자로 잴 것은 재고, 눈으로 볼 것은 기록합니다.',
+ in: '단계 산출물', m: '측정', v: '눈으로 보고 기록', verdict: '판정', pass: '다음 단계',
+ back: 'BLOCK 줄을 읽고 산출물을 고친 뒤 같은 게이트를 다시 돌립니다.',
+ cap: '검수 기록은 실제로 프레임을 보고 쓴 것만 인정합니다.',
+ },
+}, (S) => {
+ for (const id of ['#in', '#gate', '#m', '#v', '#verdict']) S.box(id);
+ S.link('#in', '#gate', { gap: 10, head: 16 });
+ const g = S.rect('#gate'), m = S.rect('#m'), v = S.rect('#v'), d = S.rect('#verdict');
+ S.arrow(g.x + g.w + 10, g.cy - 8, m.x - 10, m.cy, { head: 16 });
+ S.arrow(g.x + g.w + 10, g.cy + 8, v.x - 10, v.cy, { head: 16 });
+ S.arrow(m.x + m.w + 10, m.cy, d.x - 10, d.cy - 8, { head: 16 });
+ S.arrow(v.x + v.w + 10, v.cy, d.x - 10, d.cy + 8, { head: 16 });
+ const p = S.rect('#pass'), b = S.rect('#block');
+ S.arrow(d.x + d.w + 10, d.cy - 8, p.x - 10, p.cy, { head: 16 });
+ S.arrow(d.x + d.w + 10, d.cy + 8, b.x - 10, b.cy, { head: 16 });
+ // the BLOCK loop, back to the stage files
+ const i = S.rect('#in'), low = Math.max(b.y + b.h, v.y + v.h) + 60;
+ S.curve([[b.cx, b.y + b.h + 10], [b.cx - 30, low], [800, low + 24], [i.cx + 120, low], [i.cx, i.y + i.h + 14]],
+ { accent: true, arrow: true, head: 18 });
+});
+</script>
+</body>
diff --git a/docs/diagrams/hero.html b/docs/diagrams/hero.html
new file mode 100644
index 0000000..351741d
--- /dev/null
+++ b/docs/diagrams/hero.html
@@ -0,0 +1,82 @@
+<!doctype html>
+<meta charset="utf-8">
+<meta name="size" content="1600x730">
+<title>hero</title>
+<link rel="stylesheet" href="uj.css">
+<script src="https://cdn.jsdelivr.net/npm/[email protected]/bundled/rough.js"></script>
+<script src="sketch.js"></script>
+<style>
+ .row { display: flex; align-items: flex-end; justify-content: space-between; margin-top: 56px; }
+ .col { width: 390px; }
+ .col.mid { width: 520px; }
+ .col .sub { margin-top: 6px; margin-bottom: 22px; min-height: 62px; }
+ .ref { height: 214px; padding: 26px 26px; display: flex; flex-direction: column; justify-content: space-between; }
+ .ref .mono { color: var(--fg); }
+ .steps { height: 214px; display: flex; align-items: center; justify-content: space-between; padding: 0 6px; }
+ .step { width: 56px; height: 56px; display: grid; place-items: center; font: 700 24px/1 var(--mono); }
+ .media { height: 214px; }
+ .media img { height: 100%; object-fit: cover; }
+ #same { position: absolute; }
+</style>
+<body class="light" role="img" aria-label="A reference video becomes measured targets, seven gated stages turn them into a video, and the finished mp4 is judged against the same targets">
+<div class="frame">
+ <div class="title">motion-video-production</div>
+ <div class="lead" style="margin-top:10px" data-t="lead"></div>
+ <div class="row">
+ <div class="col">
+ <div class="name" data-t="a"></div><div class="sub" data-t="as"></div>
+ <div class="ref" id="ref">
+ <div class="mono">reference.mp4</div>
+ <div class="mono" style="color:var(--fg-muted)">cuts · holds · flow<br>blur · depth<br>grain · look</div>
+ <div class="mono">→ ref/targets.json</div>
+ </div>
+ </div>
+ <div class="col mid">
+ <div class="name" data-t="b"></div><div class="sub" data-t="bs"></div>
+ <div class="steps" id="steps">
+ <div class="step" id="s0">0</div><div class="step" id="s1">1</div><div class="step" id="s2">2</div>
+ <div class="step" id="s3">3</div><div class="step" id="s4">4</div><div class="step" id="s5">5</div><div class="step" id="s6">6</div>
+ </div>
+ </div>
+ <div class="col">
+ <div class="name" data-t="c"></div><div class="sub" data-t="cs"></div>
+ <div class="media" id="out"><img src="img/carry-3.0.png"></div>
+ </div>
+ </div>
+ <div style="height:96px"></div>
+ <span class="sub" id="same" data-t="same"></span>
+</div>
+<script>
+UJ.ready({
+ en: {
+ lead: 'An Agent Skill for 15–90 second motion graphics, promo and character videos.',
+ same: 'same analyzer, same targets',
+ a: 'Measure the reference', as: 'OpenCV turns “like this” into targets.',
+ b: 'Seven stages, seven gates', bs: 'A gate exits 0, or the agent fixes and reruns.',
+ c: 'Judge the mp4', cs: 'Measured against the same targets.',
+ },
+ ko: {
+ lead: '15~90초 모션 그래픽·홍보·캐릭터 영상을 만드는 Agent Skill입니다.',
+ same: '같은 분석기, 같은 목표값',
+ a: '레퍼런스를 잰다', as: 'OpenCV로 목표값을 뽑습니다.',
+ b: '7단계, 7개의 게이트', bs: '게이트가 0으로 끝나야 다음 단계로.',
+ c: 'mp4를 판정한다', cs: '같은 목표값으로 다시 잽니다.',
+ },
+}, (S) => {
+ S.box('#ref');
+ for (let i = 0; i < 7; i++) S.box('#s' + i);
+ for (let i = 0; i < 6; i++) S.link('#s' + i, '#s' + (i + 1), { gap: 4, head: 10, width: 2.5 });
+ // one BLOCK loop on stage 4, the motif used in every diagram below
+ const s = S.rect('#s4');
+ S.curve([[s.cx + 14, s.y - 8], [s.cx + 30, s.y - 52], [s.cx - 30, s.y - 52], [s.cx - 14, s.y - 10]], { accent: true, arrow: true, head: 12 });
+ S.link('#ref', '#steps', { gap: 18 });
+ S.link('#steps', '#out', { gap: 18 });
+ const o = S.rect('#out');
+ // targets travel to the final judgement
+ const r = S.rect('#ref'), low = r.y + r.h + 60;
+ S.curve([[r.cx, r.y + r.h + 14], [r.cx + 200, low], [o.cx - 200, low], [o.cx, o.y + o.h + 14]], { dash: true, arrow: true, head: 16, stroke: 'fg-muted', width: 2.5 });
+ const same = document.getElementById('same');
+ same.style.left = (800 - same.offsetWidth / 2) + 'px'; same.style.top = (low + 14) + 'px';
+});
+</script>
+</body>
diff --git a/docs/diagrams/img/carry-1.5.png b/docs/diagrams/img/carry-1.5.png
new file mode 100644
index 0000000..1a52fa4
Binary files /dev/null and b/docs/diagrams/img/carry-1.5.png differ
diff --git a/docs/diagrams/img/carry-1.9.png b/docs/diagrams/img/carry-1.9.png
new file mode 100644
index 0000000..8fa4689
Binary files /dev/null and b/docs/diagrams/img/carry-1.9.png differ
diff --git a/docs/diagrams/img/carry-3.0.png b/docs/diagrams/img/carry-3.0.png
new file mode 100644
index 0000000..0071cf3
Binary files /dev/null and b/docs/diagrams/img/carry-3.0.png differ
diff --git a/docs/diagrams/img/strip-1.0.png b/docs/diagrams/img/strip-1.0.png
new file mode 100644
index 0000000..dddba08
Binary files /dev/null and b/docs/diagrams/img/strip-1.0.png differ
diff --git a/docs/assets/strip-frames.png b/docs/diagrams/img/strip-frames.png
similarity index 100%
rename from docs/assets/strip-frames.png
rename to docs/diagrams/img/strip-frames.png
diff --git a/docs/diagrams/img/strip-key.png b/docs/diagrams/img/strip-key.png
new file mode 100644
index 0000000..ab7f79a
Binary files /dev/null and b/docs/diagrams/img/strip-key.png differ
diff --git a/docs/diagrams/reference.html b/docs/diagrams/reference.html
new file mode 100644
index 0000000..7c7c1e9
--- /dev/null
+++ b/docs/diagrams/reference.html
@@ -0,0 +1,88 @@
+<!doctype html>
+<meta charset="utf-8">
+<meta name="size" content="1600x930">
+<title>reference</title>
+<link rel="stylesheet" href="uj.css">
+<script src="https://cdn.jsdelivr.net/npm/[email protected]/bundled/rough.js"></script>
+<script src="sketch.js"></script>
+<style>
+ .grid { display: grid; grid-template-columns: repeat(5, 1fr); column-gap: 56px; }
+ .top { margin-top: 60px; align-items: stretch; }
+ .bottom { margin-top: 120px; align-items: center; }
+ .node { padding: 20px 20px 22px; }
+ .node .sub { margin-top: 6px; }
+ .node .mono { margin-top: 8px; }
+ .media { aspect-ratio: 16 / 9; }
+ .pills { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
+ .pills .sub { color: var(--fg); }
+ #tlabel { position: absolute; }
+ .foot { margin-top: 48px; }
+</style>
+<body class="light" role="img" aria-label="Reference analysis: the reference video becomes targets, the plan cites them, the render is measured by the same analyzer, and gate.py ref compares the two">
+<div class="frame">
+ <div class="eyebrow">scripts/ref-analyze.py · gate.py ref</div>
+ <div class="title" style="margin-top:14px" data-t="title"></div>
+ <div class="grid top">
+ <div class="node" id="r"><div class="name" data-t="r"></div><div class="mono">reference.mp4</div><div class="sub" data-t="rs"></div></div>
+ <div class="node" id="a"><div class="name" data-t="a"></div><div class="mono">ref-analyze.py</div><div class="sub" data-t="as"></div></div>
+ <div class="node" id="t"><div class="name" data-t="t"></div><div class="mono">ref/targets.json</div><div class="sub" data-t="ts"></div></div>
+ <div class="node" id="p"><div class="name" data-t="p"></div><div class="mono">plan.mjs<br>look-fit.mjs</div><div class="sub">BEATSHEET.md</div></div>
+ <div class="node" id="e"><div class="name" data-t="e"></div><div class="sub">Remotion<br>HyperFrames</div></div>
+ </div>
+ <div class="grid bottom">
+ <div></div>
+ <div class="pills" id="pills"><span class="pill pass">PASS · exit 0</span><span class="sub" data-t="next"></span></div>
+ <div class="node" id="g"><div class="name">gate.py ref</div><div class="sub" data-t="gs"></div></div>
+ <div class="node" id="a2"><div class="name" data-t="a2"></div><div class="mono">qa/render-<br>analysis.json</div></div>
+ <div><div class="media" id="f"><img src="img/carry-3.0.png"></div><div class="mono" style="margin-top:10px;text-align:center">out/final.mp4</div></div>
+ </div>
+ <div class="mono" id="tlabel" data-t="tl"></div>
+ <div class="note" id="blk" style="position:absolute" data-t="blk"></div>
+ <div class="lead foot" data-t="lead"></div>
+</div>
+<script>
+UJ.ready({
+ en: {
+ title: 'Turn a reference into numbers, then hit them',
+ r: 'Reference', rs: 'keep the numbers, not the file',
+ a: 'Analyze', as: 'cuts · holds · flow<br>blur · depth<br>grain · look',
+ t: 'Targets', ts: 'target and tolerance<br>per metric',
+ p: 'Plan', e: 'Render',
+ a2: 'Same analyzer', gs: 'target, measured, difference',
+ next: 'next stage', tl: 'targets', blk: 'BLOCK · revise the plan',
+ lead: 'Motion is measured per 1/30 s, so a reference and a render at different frame rates still compare. Either engine is judged by the same numbers.',
+ },
+ ko: {
+ title: '레퍼런스를 숫자로 바꾸고, 렌더로 맞춥니다',
+ r: '레퍼런스', rs: '파일은 두지 않고 숫자만 남김',
+ a: '분석', as: '컷 · 정지 · 움직임<br>블러 · 심도<br>그레인 · 룩',
+ t: '목표값', ts: '지표별 목표와<br>허용 범위',
+ p: '기획', e: '렌더',
+ a2: '같은 분석기', gs: '목표, 측정값, 차이',
+ next: '다음 단계', tl: 'targets', blk: 'BLOCK · 기획 수정',
+ lead: '움직임은 1/30초 단위로 재므로 프레임 레이트가 다른 레퍼런스와 렌더도 비교할 수 있습니다. 어느 엔진이든 같은 숫자로 판정합니다.',
+ },
+}, (S) => {
+ for (const id of ['#r', '#a', '#t', '#p', '#e', '#a2']) S.box(id);
+ S.box('#g', { accent: true, width: 4 });
+ S.link('#r', '#a', { gap: 8, head: 16 });
+ S.link('#a', '#t', { gap: 8, head: 16 });
+ S.link('#t', '#p', { gap: 8, head: 16 });
+ S.link('#p', '#e', { gap: 8, head: 16 });
+ S.link('#e', '#f', { dir: 'v', gap: 10, head: 16 });
+ S.link('#f', '#a2', { gap: 10, head: 16 });
+ S.link('#a2', '#g', { gap: 10, head: 16 });
+ S.link('#g', '#pills', { gap: 10, head: 16 });
+ // targets go straight down to the gate
+ const t = S.rect('#t'), g = S.rect('#g'), p = S.rect('#p');
+ S.arrow(t.cx, t.y + t.h + 12, g.cx, g.y - 14, { dash: true, head: 16 });
+ const tl = document.getElementById('tlabel');
+ tl.style.left = (t.cx + 14) + 'px'; tl.style.top = ((t.y + t.h + g.y) / 2 - 14) + 'px';
+ // BLOCK goes back to the plan
+ S.curve([[g.x + g.w + 6, g.y + 10], [p.x + 30, (t.y + t.h + g.y) / 2 + 20], [p.cx - 30, p.y + p.h + 14]],
+ { arrow: true, head: 16 });
+ const blk = document.getElementById('blk');
+ blk.style.left = (p.cx - 10) + 'px'; blk.style.top = ((p.y + p.h + g.y) / 2 - 16) + 'px';
+});
+</script>
+</body>
diff --git a/docs/diagrams/render.sh b/docs/diagrams/render.sh
new file mode 100755
index 0000000..7244157
--- /dev/null
+++ b/docs/diagrams/render.sh
@@ -0,0 +1,37 @@
+#!/usr/bin/env bash
+# Render every docs/diagrams/*.html to docs/assets/<name>.png (English) and <name>.ko.png (Korean)
+# with headless Chrome. Needs network for rough.js and the fonts (jsDelivr).
+# Usage, from the repository root: bash docs/diagrams/render.sh [name ...]
+set -euo pipefail
+cd "$(dirname "$0")/../.."
+CHROME="${CHROME:-/Applications/Google Chrome.app/Contents/MacOS/Google Chrome}"
+[ -x "$CHROME" ] || CHROME="$(command -v google-chrome || command -v chromium || true)"
+[ -n "$CHROME" ] || { echo "set CHROME to a Chrome or Chromium binary" >&2; exit 1; }
+
+names=("$@")
+if [ ${#names[@]} -eq 0 ]; then
+ for f in docs/diagrams/*.html; do names+=("$(basename "$f" .html)"); done
+fi
+
+fail=0
+for name in "${names[@]}"; do
+ src="docs/diagrams/$name.html"
+ size=$(sed -n 's/.*<meta name="size" content="\([0-9]*x[0-9]*\)".*/\1/p' "$src")
+ [ -n "$size" ] || { echo "$src: missing <meta name=\"size\" content=\"WxH\">" >&2; exit 1; }
+ for lang in en ko; do
+ out="docs/assets/$name.png"; [ "$lang" = en ] || out="docs/assets/$name.$lang.png"
+ # --dump-dom prints the title, which the page sets to OVERFLOW when content is taller than the size
+ state=$("$CHROME" --headless=new --disable-gpu --hide-scrollbars --virtual-time-budget=15000 \
+ --window-size="${size/x/,}" --dump-dom "file://$PWD/$src?lang=$lang" 2>/dev/null | sed -n 's:.*<title>\(.*\)</title>.*:\1:p' || true)
+ shot="$size"
+ if [ "$state" != done ]; then
+ echo "$name ($lang): $state, set <meta name=size> to fit; rendered at full height for a look" >&2
+ fail=1; h="${state#OVERFLOW }"; [ -n "$state" ] && [ "$h" != "$state" ] || exit 1; shot="${size%x*}x$h"
+ fi
+ "$CHROME" --headless=new --disable-gpu --hide-scrollbars --virtual-time-budget=15000 \
+ --window-size="${shot/x/,}" --force-device-scale-factor=1 --screenshot="$PWD/$out" \
+ "file://$PWD/$src?lang=$lang" >/dev/null 2>&1
+ echo "$out ($shot)"
+ done
+done
+exit $fail
diff --git a/docs/diagrams/sketch.js b/docs/diagrams/sketch.js
new file mode 100644
index 0000000..5ac360c
--- /dev/null
+++ b/docs/diagrams/sketch.js
@@ -0,0 +1,111 @@
+// Hand-drawn layer for the README diagrams, after the Uncle Jobs sketch rules:
+// rough.js 4.6.6, roughness 1.3, bowing 1.2, hachure gap 11, fill weight 2, fixed seeds,
+// one accent shape per diagram, text stays in Pretendard (HTML), only the lines wobble.
+// Layout is plain HTML/CSS; this draws boxes, arrows and curves around the laid-out elements.
+(function () {
+ const LANG = new URLSearchParams(location.search).get('lang') || 'en';
+ document.documentElement.lang = LANG;
+
+ function strings(T) {
+ const t = T[LANG] || T.en;
+ document.querySelectorAll('[data-t]').forEach((el) => {
+ const v = t[el.dataset.t] ?? T.en[el.dataset.t];
+ if (v == null) throw new Error(`missing string ${el.dataset.t}`);
+ el.innerHTML = v;
+ });
+ }
+
+ function layer(draw) {
+ const NS = 'http://www.w3.org/2000/svg';
+ const svg = document.createElementNS(NS, 'svg');
+ svg.setAttribute('class', 'uj-sketch');
+ svg.setAttribute('aria-hidden', 'true');
+ document.body.appendChild(svg);
+ const rc = rough.svg(svg);
+ const cs = getComputedStyle(document.body);
+ const c = (n) => cs.getPropertyValue('--' + n).trim() || n;
+ let seed = 11;
+ const opts = (o = {}) => {
+ const x = { roughness: 1.3, bowing: 1.2, strokeWidth: 3, stroke: c('fg'), seed: seed++,
+ hachureGap: 11, fillWeight: 2, fillStyle: 'hachure' };
+ if (o.accent) x.stroke = c('accent');
+ if (o.stroke) x.stroke = c(o.stroke);
+ if (o.fill) x.fill = c(o.fill);
+ if (o.dash) x.strokeLineDash = [14, 12];
+ if (o.width) x.strokeWidth = o.width;
+ if (o.rough != null) x.roughness = o.rough;
+ if (o.gap) x.hachureGap = o.gap;
+ return x;
+ };
+ const add = (n) => svg.appendChild(n);
+ const body = document.body.getBoundingClientRect();
+ const rect = (sel) => {
+ const el = typeof sel === 'string' ? document.querySelector(sel) : sel;
+ if (!el) throw new Error(`no element ${sel}`);
+ const r = el.getBoundingClientRect();
+ return { x: r.left - body.left, y: r.top - body.top, w: r.width, h: r.height,
+ cx: r.left - body.left + r.width / 2, cy: r.top - body.top + r.height / 2 };
+ };
+ const head = (x, y, ang, op, size = 20) => {
+ const o = { ...op, strokeLineDash: undefined };
+ for (const s of [-0.45, 0.45]) add(rc.line(x, y, x - size * Math.cos(ang + s), y - size * Math.sin(ang + s), o));
+ };
+ const api = {
+ rect, c,
+ box(sel, o = {}) {
+ const r = rect(sel), p = o.pad ?? 0;
+ add(rc.rectangle(r.x - p, r.y - p, r.w + 2 * p, r.h + 2 * p, opts(o)));
+ },
+ rectAt(x, y, w, h, o = {}) { add(rc.rectangle(x, y, w, h, opts(o))); },
+ ellipse(cx, cy, w, h, o = {}) { add(rc.ellipse(cx, cy, w, h, opts(o))); },
+ line(x1, y1, x2, y2, o = {}) { add(rc.line(x1, y1, x2, y2, opts(o))); },
+ arrow(x1, y1, x2, y2, o = {}) {
+ const op = opts(o);
+ add(rc.line(x1, y1, x2, y2, op));
+ head(x2, y2, Math.atan2(y2 - y1, x2 - x1), op, o.head);
+ },
+ curve(pts, o = {}) {
+ const op = opts(o);
+ add(rc.curve(pts, op));
+ if (o.arrow) {
+ const [a, b] = pts.slice(-2);
+ head(b[0], b[1], Math.atan2(b[1] - a[1], b[0] - a[0]), op, o.head);
+ }
+ },
+ // arrow between two elements, edge to edge: 'h' (left to right) or 'v' (top to bottom)
+ link(a, b, o = {}) {
+ const A = rect(a), B = rect(b), g = o.gap ?? 14;
+ if ((o.dir ?? 'h') === 'h') {
+ const ltr = B.x >= A.x;
+ const y = o.y ?? (A.cy + B.cy) / 2;
+ api.arrow(ltr ? A.x + A.w + g : A.x - g, y, ltr ? B.x - g : B.x + B.w + g, y, o);
+ } else {
+ const ttb = B.y >= A.y;
+ const x = o.x ?? (A.cx + B.cx) / 2;
+ api.arrow(x, ttb ? A.y + A.h + g : A.y - g, x, ttb ? B.y - g : B.y + B.h + g, o);
+ }
+ },
+ underline(sel, o = {}) {
+ const r = rect(sel);
+ add(rc.line(r.x, r.y + r.h + (o.dy ?? 4), r.x + r.w, r.y + r.h + (o.dy ?? 4), opts(o)));
+ },
+ };
+ draw(api);
+ }
+
+ // Fill strings, wait for fonts and images, draw, then mark the page done for the renderer.
+ window.UJ = {
+ LANG,
+ ready(T, draw) {
+ strings(T);
+ const imgs = [...document.images].map((i) => i.decode().catch(() => { throw new Error(`image ${i.src}`); }));
+ Promise.all([document.fonts.ready, ...imgs]).then(() => {
+ layer(draw);
+ const h = +document.querySelector('meta[name=size]').content.split('x')[1];
+ const over = document.body.scrollHeight > h;
+ document.title = over ? `OVERFLOW ${document.body.scrollHeight}` : 'done';
+ if (over) document.body.style.outline = '12px solid red';
+ });
+ },
+ };
+})();
diff --git a/docs/diagrams/strip.html b/docs/diagrams/strip.html
new file mode 100644
index 0000000..709a651
--- /dev/null
+++ b/docs/diagrams/strip.html
@@ -0,0 +1,62 @@
+<!doctype html>
+<meta charset="utf-8">
+<meta name="size" content="1600x622">
+<title>strip</title>
+<link rel="stylesheet" href="uj.css">
+<script src="https://cdn.jsdelivr.net/npm/[email protected]/bundled/rough.js"></script>
+<script src="sketch.js"></script>
+<style>
+ .strip { display: flex; gap: 14px; margin-top: 100px; }
+ .tile { width: 222px; }
+ .tile .media { height: 123px; background: url(img/strip-frames.png) no-repeat; background-size: 1332px 123px; }
+ .tile:first-child { margin-right: 34px; }
+ .tile:nth-child(2) { margin-right: 24px; }
+ .tile .mono { margin-top: 22px; text-align: center; }
+ #note { position: absolute; top: 218px; }
+ .foot { margin-top: 46px; }
+</style>
+<body class="light" role="img" aria-label="Frame strip of one generated clip: the keyframe and 0 s match, from 1.0 s the outfit and lighting change">
+<div class="frame">
+ <div class="eyebrow">gate.py clips · qa/strip-&lt;clip&gt;.png</div>
+ <div class="title" style="margin-top:14px" data-t="title"></div>
+ <div class="strip">
+ <div class="tile"><div class="media" id="k" style="background-position:0 0"></div><div class="mono" data-t="key"></div></div>
+ <div class="tile"><div class="media" id="t0" style="background-position:-222px 0"></div><div class="mono">0 s</div></div>
+ <div class="tile"><div class="media" id="t1" style="background-position:-444px 0"></div><div class="mono">1.0 s</div></div>
+ <div class="tile"><div class="media" style="background-position:-666px 0"></div><div class="mono">1.5 s</div></div>
+ <div class="tile"><div class="media" style="background-position:-888px 0"></div><div class="mono">2.0 s</div></div>
+ <div class="tile"><div class="media" id="t3" style="background-position:-1110px 0"></div><div class="mono">3.0 s</div></div>
+ </div>
+ <div class="note" id="note" data-t="note"></div>
+ <div class="lead foot" data-t="lead"></div>
+</div>
+<script>
+UJ.ready({
+ en: {
+ title: 'The first frame matches. One second later, it does not.',
+ key: 'keyframe',
+ note: 'outfit and light change (G01)',
+ lead: 'Start-frame SSIM passes on the keyframe and at 0 s. A person reads the rest of the strip and writes the verdict to <span class="mono" style="font-size:inherit">qa/clips-review.md</span>.',
+ },
+ ko: {
+ title: '첫 프레임은 같습니다. 1초 뒤에는 달라집니다.',
+ key: '키프레임',
+ note: '옷과 조명이 바뀜 (G01)',
+ lead: '시작 프레임 SSIM은 키프레임과 0초 프레임에서 통과합니다. 나머지는 사람이 띠를 보고 <span class="mono" style="font-size:inherit">qa/clips-review.md</span>에 판정을 적습니다.',
+ },
+}, (S) => {
+ const k = S.rect('#k'), t0 = S.rect('#t0'), t1 = S.rect('#t1'), t3 = S.rect('#t3');
+ // bracket over the drifting frames, in accent
+ const y = t1.y - 20;
+ S.line(t1.x, y + 12, t1.x, y, { accent: true });
+ S.line(t1.x, y, t3.x + t3.w, y, { accent: true });
+ S.line(t3.x + t3.w, y, t3.x + t3.w, y + 12, { accent: true });
+ // note centred over the bracket
+ const note = document.getElementById('note');
+ note.style.left = (t1.x + (t3.x + t3.w - t1.x) / 2 - note.offsetWidth / 2) + 'px';
+ note.style.top = (y - 14 - note.offsetHeight) + 'px';
+ // the matching pair, in ink
+ S.rectAt(k.x - 9, k.y - 9, t0.x + t0.w - k.x + 18, k.h + 18, { dash: true });
+});
+</script>
+</body>
diff --git a/docs/diagrams/uj.css b/docs/diagrams/uj.css
new file mode 100644
index 0000000..d6fbaf5
--- /dev/null
+++ b/docs/diagrams/uj.css
@@ -0,0 +1,56 @@
+/* Uncle Jobs design tokens, adapted for README diagrams on a 1600px canvas.
+ Paper or ink ground, one orange accent, hierarchy from size, space and thin rules.
+ Values come from the Uncle Jobs tokens (color, type, sketch); sizes are scaled for a README
+ that shows the PNG at about 880px wide. */
+@import url("https://cdn.jsdelivr.net/gh/orioncactus/[email protected]/dist/web/variable/pretendardvariable.min.css");
+@import url("https://cdn.jsdelivr.net/npm/@fontsource/[email protected]/500.css");
+@import url("https://cdn.jsdelivr.net/npm/@fontsource/[email protected]/700.css");
+
+:root {
+ --orange-300: #ff9c5c; --orange-500: #ff5a14; --orange-700: #b83802;
+ --paper: #fafaf7; --ink-300: #c9c5b6; --ink-400: #8e8b7e; --ink-500: #5c5a52;
+ --ink-600: #3a3934; --ink-800: #141413; --ink-900: #0a0a09; --night-line: #2a2926;
+ --sans: "Pretendard Variable", "Pretendard", "Apple SD Gothic Neo", system-ui, sans-serif;
+ --mono: "JetBrains Mono", ui-monospace, monospace;
+}
+.light { --surface: var(--paper); --raised: #fff; --fg: var(--ink-900); --fg-muted: var(--ink-500);
+ --fg-subtle: var(--ink-400); --line: #e3e1d8; --rule: var(--ink-900); --accent: var(--orange-500);
+ --accent-text: var(--orange-700); --ink-fill: var(--ink-300); }
+.night { --surface: var(--ink-900); --raised: var(--ink-800); --fg: var(--paper); --fg-muted: var(--ink-400);
+ --fg-subtle: var(--ink-500); --line: var(--night-line); --rule: var(--ink-400); --accent: var(--orange-500);
+ --accent-text: var(--orange-500); --ink-fill: var(--ink-600); }
+
+* { box-sizing: border-box; margin: 0; padding: 0; }
+html, body { background: var(--surface); }
+body { font-family: var(--sans); color: var(--fg); width: 1600px; position: relative; overflow: hidden;
+ word-break: keep-all; overflow-wrap: break-word; -webkit-font-smoothing: antialiased; }
+body:lang(ko) { letter-spacing: -0.01em; }
+.frame { padding: 64px 72px 60px; position: relative; }
+
+/* type */
+.eyebrow { font: 700 22px/1 var(--mono); letter-spacing: .02em; color: var(--fg-muted); }
+.title { font-weight: 800; font-size: 56px; line-height: 1.12; letter-spacing: -0.02em; text-wrap: balance; }
+.lead { font-weight: 500; font-size: 28px; line-height: 1.4; color: var(--fg-muted); text-wrap: pretty; }
+.name { font-weight: 800; font-size: 30px; line-height: 1.2; }
+.sub { font-weight: 500; font-size: 23px; line-height: 1.35; color: var(--fg-muted); }
+.mono { font-family: var(--mono); font-weight: 500; font-size: 21px; line-height: 1.4; color: var(--fg-muted); }
+.num { font-family: var(--mono); font-weight: 700; }
+.note { font-weight: 800; font-size: 24px; line-height: 1.3; color: var(--accent-text); }
+.caption { font-weight: 500; font-size: 22px; line-height: 1.4; color: var(--fg-subtle); }
+.accent { color: var(--accent-text); }
+.mono, .eyebrow, .pill, .num { font-variant-ligatures: none; }
+.hr { height: 2px; background: var(--line); }
+.rule { border-top: 3px solid var(--rule); }
+
+/* status is a word first; fill and lightness differ so it holds in grayscale */
+.pill { display: inline-block; font: 700 20px/1 var(--mono); letter-spacing: .06em; padding: 9px 14px 8px;
+ border-radius: 999px; white-space: nowrap; }
+.pill.pass { border: 2px solid var(--fg); color: var(--fg); }
+.pill.block { background: var(--accent); color: var(--ink-900); border: 2px solid var(--accent); }
+
+/* media: the only boxes that are not hand-drawn, radius-md with a 2px ring */
+.media { display: block; border-radius: 12px; box-shadow: 0 0 0 2px var(--line); overflow: hidden; background: var(--raised); }
+.media img { display: block; width: 100%; height: auto; }
+
+/* sketch layer drawn by sketch.js above the HTML */
+svg.uj-sketch { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
diff --git a/docs/diagrams/workflow.html b/docs/diagrams/workflow.html
new file mode 100644
index 0000000..d78a063
--- /dev/null
+++ b/docs/diagrams/workflow.html
@@ -0,0 +1,90 @@
+<!doctype html>
+<meta charset="utf-8">
+<meta name="size" content="1600x866">
+<title>workflow</title>
+<link rel="stylesheet" href="uj.css">
+<script src="https://cdn.jsdelivr.net/npm/[email protected]/bundled/rough.js"></script>
+<script src="sketch.js"></script>
+<style>
+ .grid { display: grid; grid-template-columns: repeat(7, 1fr); column-gap: 40px; }
+ .nodes { margin-top: 56px; }
+ .node { padding: 20px 18px 22px; min-height: 172px; }
+ .node .num { font-size: 22px; color: var(--fg-muted); }
+ .node .name { font-size: 26px; margin-top: 8px; }
+ .node .sub { font-size: 21px; margin-top: 6px; }
+ .tags { margin-top: 26px; }
+ .tag { text-align: center; }
+ .tag .mono { color: var(--fg); }
+ .loop { height: 112px; position: relative; }
+ #fix { position: absolute; top: 10px; white-space: nowrap; display: flex; flex-direction: column; gap: 10px; align-items: flex-end; }
+ .shots { align-items: start; }
+ .shots .media { aspect-ratio: 16 / 9; }
+ .shots .mono { margin-top: 10px; font-size: 19px; text-align: center; }
+ .legend { margin-top: 40px; display: flex; gap: 40px; align-items: center; }
+ .legend .sub { color: var(--fg); }
+</style>
+<body class="light" role="img" aria-label="Seven production stages from reference analysis to assembly, each followed by a gate that must exit 0 before the next stage">
+<div class="frame">
+ <div class="eyebrow">python3 gate.py &lt;stage&gt; "$PROJECT_ROOT"</div>
+ <div class="title" style="margin-top:14px" data-t="title"></div>
+ <div class="grid nodes">
+ <div class="node" id="n0"><div class="num">0</div><div class="name" data-t="s0"></div><div class="sub">OpenCV</div></div>
+ <div class="node" id="n1"><div class="num">1</div><div class="name" data-t="s1"></div><div class="sub" data-t="t1"></div></div>
+ <div class="node" id="n2"><div class="num">2</div><div class="name" data-t="s2"></div><div class="sub" data-t="t2"></div></div>
+ <div class="node" id="n3"><div class="num">3</div><div class="name" data-t="s3"></div><div class="sub" data-t="t2"></div></div>
+ <div class="node" id="n4"><div class="num">4</div><div class="name" data-t="s4"></div><div class="sub" data-t="t4"></div></div>
+ <div class="node" id="n5"><div class="num">5</div><div class="name" data-t="s5"></div><div class="sub">composio<br>score</div></div>
+ <div class="node" id="n6"><div class="num">6</div><div class="name" data-t="s6"></div><div class="sub">Remotion<br>HyperFrames</div></div>
+ </div>
+ <div class="grid tags">
+ <div class="tag"><span class="mono" id="g0">ref</span></div>
+ <div class="tag"><span class="mono" id="g1">story</span></div>
+ <div class="tag"><span class="mono" id="g2">character</span></div>
+ <div class="tag"><span class="mono" id="g3">keyframes</span></div>
+ <div class="tag"><span class="mono" id="g4">clips</span></div>
+ <div class="tag"><span class="mono" id="g5">audio</span></div>
+ <div class="tag"><span class="mono" id="g6">edit · final</span></div>
+ </div>
+ <div class="loop"><div id="fix"><span class="pill block">BLOCK · exit 1</span><span class="note" data-t="fix"></span></div></div>
+ <div class="grid shots">
+ <div></div><div></div><div></div>
+ <div><div class="media" id="m3"><img src="img/strip-key.png"></div><div class="mono">key/03.png</div></div>
+ <div><div class="media" id="m4"><img src="img/strip-1.0.png"></div><div class="mono">clip/03.mp4</div></div>
+ <div></div>
+ <div><div class="media" id="m6"><img src="img/carry-3.0.png"></div><div class="mono">out/final.mp4</div></div>
+ </div>
+ <div class="legend">
+ <span class="pill pass">PASS · exit 0</span><span class="sub" data-t="pass"></span>
+ </div>
+</div>
+<script>
+UJ.ready({
+ en: {
+ title: 'Seven stages. None moves on until its gate exits 0.',
+ s0: 'Reference analysis', s1: 'Story and scenes', s2: 'Character sheet', s3: 'Keyframes',
+ s4: 'Video clips', s5: 'Music and voice', s6: 'Assembly',
+ t1: 'Agent', t2: 'Image tool', t4: 'Video tool',
+ fix: 'read qa/gate-clips.txt, fix, rerun',
+ pass: 'moves to the next stage. Gates read only stage files and the mp4, never engine internals.',
+ },
+ ko: {
+ title: '7단계. 게이트가 0으로 끝나야 다음 단계로 갑니다.',
+ s0: '레퍼런스 분석', s1: '스토리·장면', s2: '캐릭터 시트', s3: '키프레임',
+ s4: '영상 클립', s5: '음악·목소리', s6: '조립',
+ t1: '에이전트', t2: '이미지 도구', t4: '영상 도구',
+ fix: 'qa/gate-clips.txt를 읽고 고쳐서 다시 실행',
+ pass: '다음 단계로 넘어갑니다. 게이트는 단계 산출물과 mp4만 읽고 엔진 내부는 보지 않습니다.',
+ },
+}, (S) => {
+ for (let i = 0; i < 7; i++) S.box('#n' + i);
+ for (let i = 0; i < 6; i++) S.link('#n' + i, '#n' + (i + 1), { gap: 6, head: 16 });
+ for (let i = 0; i < 7; i++) S.link('#n' + i, '#g' + i, { dir: 'v', gap: 6, head: 14 });
+ // BLOCK loop on the clips gate: down, around, back into the same gate
+ const g = S.rect('#g4'), b = g.y + g.h + 8;
+ S.curve([[g.cx + 30, b], [g.cx + 96, b + 46], [g.cx, b + 86], [g.cx - 96, b + 46], [g.cx - 30, b + 2]],
+ { accent: true, arrow: true, head: 16 });
+ const fix = document.getElementById('fix');
+ fix.style.left = (g.cx - 128 - fix.offsetWidth - S.rect('.loop').x) + 'px';
+});
+</script>
+</body>
diff --git a/docs/runtimes.md b/docs/runtimes.md
index 142e817..3c6e808 100644
--- a/docs/runtimes.md
+++ b/docs/runtimes.md
@@ -1,6 +1,6 @@
# Runtime installation and invocation
-[한국어 README](../README.md) | [English README](../README.en.md)
+[한국어 README](../README.ko.md) | [English README](../README.md)
The source of truth is `skills/motion-video-production/`. Its `SKILL.md`, references, templates, harness, scripts, and engines are shared by all runtimes. The engines (`engines/remotion/`, `engines/hyperframes/`) live inside the skill folder so that installers that copy only the skill still ship them; they contain this repository's code plus pinned `package.json` and `package-lock.json`, not the third-party packages themselves. The repository does not include model API adapters, service credentials, or media generation connectors.
diff --git a/skills/motion-video-production/references/assets/ref-pipeline.png b/skills/motion-video-production/references/assets/ref-pipeline.png
index 214045a..f9da870 100644
Binary files a/skills/motion-video-production/references/assets/ref-pipeline.png and b/skills/motion-video-production/references/assets/ref-pipeline.png differ