movie-pipeline
End-to-end Pipeline A in ONE slash-command — turn a fuzzy story idea into a cross-model-audited, image-based movie + a clickable viewer. Chains comic-author (Phase 1 — intent→style→outline draft→provisional storyboard→assets→final locks→blueprints→prompts→comic.json) → the zero-credit p0_proof spending gate (agent fan-out + run_p0_proof.py mints the digest-bound certificate) → comic-director (Phase 2/3 — the agent-sidecar bake spiral, page by page → HTML viewer). Two hard HUMAN gates (intent + outline) pause for approval; everything else is agent-driven + cross-model gated. This is the slash-command entry, like ARIS's /research-pipeline — an AGENT workflow, NOT a shell binary. Use when the user says "/movie-pipeline '…'", "做个电影/漫画 end-to-end", "from this idea make the whole movie", "long-horizon image-based movie generation".
wanshuiyin · 已有静态检查记录
安装与使用
运行命令前先阅读来源与依赖说明。复制命令不会自动安装或执行。
npx skills add wanshuiyin/ARIS-Movie-Director --skill movie-pipeline技能说明
name: movie-pipeline description: End-to-end Pipeline A in ONE slash-command — turn a fuzzy story idea into a cross-model-audited, image-based movie + a clickable viewer. Chains comic-author (Phase 1 — intent→style→outline draft→provisional storyboard→assets→final locks→blueprints→prompts→comic.json) → the zero-credit p0_proof spending gate (agent fan-out + run_p0_proof.py mints the digest-bound certificate) → comic-director (Phase 2/3 — the agent-sidecar bake spiral, page by page → HTML viewer). Two hard HUMAN gates (intent + outline) pause for approval; everything else is agent-driven + cross-model gated. This is the slash-command entry, like ARIS's /research-pipeline — an AGENT workflow, NOT a shell binary. Use when the user says "/movie-pipeline '…'", "做个电影/漫画 end-to-end", "from this idea make the whole movie", "long-horizon image-based movie generation".
movie-pipeline — Pipeline A, end-to-end (one slash-command)
1 · Scope
The whole of Figure 1 as ONE agent workflow: a fuzzy idea → a cross-model-audited, image-based movie + a
clickable viewer. /movie-pipeline "«your fuzzy idea»" — and your coding agent (Claude, Codex, …) drives the
chain below, pausing only at the two human story gates. "One command" = one slash-command an agent RUNS —
not a deterministic shell binary (the /research-pipeline paradigm): it needs a coding-agent runtime, it is
non-deterministic, and a skipped step is safe because each layer consumes the prior locked artifact — a
missed step leaves the next gate's input unresolved and it fails closed, never ships something wrong.
2 · Who does what (roles / boundary)
| Actor | Does | Never does |
|---|---|---|
| Human | approves intent + outline; adjudicates needs_human/flagged panels | per-panel retries (the spiral's job) |
| Agent (Claude runtime) | authors Phase 1; runs the P0 fan-out reviews; services the bake sidecar; iterates pages | acquits its own layer (author family can't self-acquit) |
mcp__codex__codex sidecar | the ONLY real bake primitive (Codex native image tool) | judge its own output |
| Deterministic CLIs | run_p0_proof.py (mints the P0 cert), run_comic.py (orchestrates; verdict math is deterministic; gates shell the codex/gemini CLIs), validate_wiki.py, build_comic.py | bake (that's delegated to the agent sidecar) |
| CI | --dry-run + validate_wiki + build_comic re-render + tests/ (see §11) | bake, or acquit quality |
3 · Phase contract
| Phase | Entry artifact | Exit artifact | Consumer | Gate |
|---|---|---|---|---|
| 1 author | fuzzy idea | schema-valid comic.json + locked wiki nodes | P0 gate | per-layer cross-model --gate + 2 human gates |
| P0 proof | compiled comic.json | digest-bound decision:p0_proof_* node | run_comic.py preflight | run_p0_proof.py quorum (§6) |
| 2 bake | comic.json + current P0 cert | KEEP'd panels, wiki trace, updated comic.json | assembly / viewer | panel_gate + assembly_gate |
| 3 ship | shippable run report | outputs/index.html | human | --finalize viewer build rc=0 (exit 4 on fail) |
4 · New-project bootstrap
Copy the author-node shapes from examples/comic_min_author/; the full
reference run (198-node trace) is examples/comic_m3_audit/. Give the
project a movie.project.json with identity_ref — run_comic.py reads the canonical identity ref from it
(fallback: assets/duo_canonical_ref_v001.png). Prereqs: codex + gemini CLIs + headless Chrome
($ARIS_CHROME > macOS app path > PATH). python3 cli/preflight.py checks the reviewer/render CLIs ONLY —
it does NOT verify the mcp__codex__codex sidecar tool or an agent runtime, which the real bake needs.
5 · Phase 1 — author the source of truth (comic-author)
The DAG (each arrow is a cross-model --gate; two steps are HUMAN):
- intent (HUMAN gate) → style lock → OUTLINE_DRAFT_VALID — the outline gate validates
NARRATIVE + CONTINUITY + safety only; it does not require referenced assets to be locked, it requires
every referenced
asset_idto be declared with a complete, generatable request. - outline approval (HUMAN gate) → provisional storyboard (structural pass; may reference draft
assets) →
consolidated_asset_requests. - asset generation + review → assets LOCKED → OUTLINE_FINAL_LOCK (cheap re-check: the locked assets still match the approved outline) → storyboard FINAL asset-resolution validation.
- blueprints — the hard locked-asset barrier sits HERE, before blueprint authoring → prompts →
schema-valid
comic.json.
This staged order is the contract: it replaces the old single-stage deadlock (an outline gate demanding locked assets that depend on a storyboard that depends on a locked outline). Draft-then-final-lock is how the cycle is broken; the asset barrier never moves past the blueprint boundary.
6 · P0 spending gate — zero PANEL credit before proof
Scope, honestly: the P0 cert gates the Phase-2/3 PANEL bakes (every metered run_comic.py run). It
cannot gate Phase 1: the raster ASSET refs (S4) are also paid sidecar bakes and land before any P0 cert
exists (assets must lock before comic.json compiles). Those pre-P0 spends are gated instead by the
cross-model comic-asset-review-loop + the single-source collision
gate.
Three-step handoff (never conflate them):
- Agent fan-out (
comic-cross-layer-gate--gate p0_proof— an agent skill, not a binary): ≥2 cross-model reviews of the compiledcomic.json+ machinery, each written as a JSON file{family: "openai"|"google", verdict, blockers: [], comic_sha}. - Deterministic mint —
run_p0_proof.pyverifies and mints; it never runs a reviewer itself:python3 skills/comic-cross-layer-gate/scripts/run_p0