comic-blueprint-author
Phase-1 (S7 of the comic-author suite) — turn ONE locked panel_spec into a deterministic content-SVG blueprint that becomes the bake condition (reference #1 of the agent mcp__codex__codex sidecar bake), by WRITING A PYTHON GENERATOR (never raw SVG in chat — LLMs botch coordinates). The HEADLINE comic-pivot rule: the image bakes NO bubbles at all — draw only characters + scene + leave negative-space SAFE ZONES; HTML/CSS owns the entire bubble. Every panel gets a content_svg (a figure OR a layout blueprint); a baked figure-panel must declare expected_literals verbatim. Single-source collision check is mandatory. Gated by comic-cross-layer-gate --gate blueprint. Use when the storyboard is locked and you need each panel's deterministic generation condition; do NOT use to bake the panel (that is comic-director) or to write the verdict-stamp/curve assets (that is comic-asset-ref-generator).
wanshuiyin · 已有静态检查记录
安装与使用
运行命令前先阅读来源与依赖说明。复制命令不会自动安装或执行。
npx skills add wanshuiyin/ARIS-Movie-Director --skill comic-blueprint-author技能说明
name: comic-blueprint-author description: "Phase-1 (S7 of the comic-author suite) — turn ONE locked panel_spec into a deterministic content-SVG blueprint that becomes the bake condition (reference #1 of the agent mcp__codex__codex sidecar bake), by WRITING A PYTHON GENERATOR (never raw SVG in chat — LLMs botch coordinates). The HEADLINE comic-pivot rule: the image bakes NO bubbles at all — draw only characters + scene + leave negative-space SAFE ZONES; HTML/CSS owns the entire bubble. Every panel gets a content_svg (a figure OR a layout blueprint); a baked figure-panel must declare expected_literals verbatim. Single-source collision check is mandatory. Gated by comic-cross-layer-gate --gate blueprint. Use when the storyboard is locked and you need each panel's deterministic generation condition; do NOT use to bake the panel (that is comic-director) or to write the verdict-stamp/curve assets (that is comic-asset-ref-generator)."
comic-blueprint-author — one panel_spec → a deterministic content-SVG blueprint (S7)
The per-panel condition author of the comic-author Phase-1 suite. It sits
between the storyboard (comic-storyboard-creator) and the bake
(comic-director): for ONE locked panel_spec it produces ONE deterministic
content_svg — the answer-key composition image the bake conditions on. Concretely (the live seam,
run_comic.py + pickup_image.build_bake_prompt): the engine renders the SVG to a PNG via headless Chrome,
and the agent-side mcp__codex__codex sidecar bake embeds that render as the FIRST of exactly two
absolute-path reference images written literally into the bake prompt (ref #1 = the blueprint render,
ref #2 = the canonical identity sheet — the mcp schema has NO -i image param, so paths ride in the text),
sandbox: workspace-write, and the returned PNG is verified by pickup_image.py --out-existing.
Unlike video, the panel IS the deliverable — there is no i2v start-frame residue, no motion, no temporal
chaining. The whole job is to LOCK what the panel must contain (numbers, layout, where the empty bubble
real-estate lives) so the image model has a precise composition to finalize and the blueprint gate has a
ground truth to diff against. You author this by writing a Python generator script — mirroring
examples/comic_m3_audit/gen/asset_lib.py +
gen_*_blueprints.py — because hand-writing raw SVG coordinates in chat is exactly how LLMs botch a figure
(misplaced rects, off-canvas text, collisions). The script is the artifact; the SVG is its deterministic,
re-runnable output.
locked panel_spec ─▶ ⓪ PREFLIGHT (assert refs status=locked + output_ref present; build input_refs; non-empty)
▼
① TEXT-MODE BIFURCATION (baked → expected_literals verbatim · scene/no-numbers → html)
▼
② WRITE A PYTHON GENERATOR (import only from asset_lib · palette pinned to ui_tokens)
│ draws characters+scene+figures · leaves negative-space SAFE ZONES · NO bubbles
▼
③ EMIT content_svg + run check_asset_collisions.py (single-source, mandatory)
│ + zero-text assert for no-text panels (constellation etc.)
▼
④ WRITE the blueprint node (content_svg, expected_literals, safe_zones, html_bubbles,
│ crop, negative_space_policy, generator_script, file_sha256)
▼
⑤a PRE-GATE FAN-OUT (raster→PNG · CC render/lint ‖ Codex xhigh ‖ Gemini → write
│ review:* nodes + `reviews` edges → blueprint ·never call the gate cold·)
▼
⑤b comic-cross-layer-gate <blueprint_id> --gate blueprint (FUSES the reviews)
│ refs_present≥4 ∧ spatial_correctness≥4 ∧ blueprint_renders≥4 (+ text_preservation
│ if baked) → approve · safezone_quality<3 → fallback(→HTML) · MAX_REGEN=3
│ hard veto: image-bubble text · content_svg:null
verdict? ─ revise ─▶ ② (fix the generator, re-emit) ─ fallback ─▶ route text→HTML, re-emit
│ approve ─▶ gate flips status=locked
Constants
- AUTHORING MEDIUM = a Python generator script, not raw SVG. One
gen_<panel>_blueprints.pyper panel (or per beat-group), importing the single-source builders fromasset_lib.py. Never paste SVG coordinates into chat and never hand-edit the emitted.svg— re-run the script. - PALETTE PINNED to
comic.jsonui_tokens(and the per-character hexes inART_BIBLE.md§1 / §0.5), imported as constants fromasset_lib(VOID,BOARD,INK,GREEN,AMBER,RED, …) so the film never grows two visual dialects. - THE IMAGE BAKES NO BUBBLES — see the Headline rule below. The blueprint draws characters + scene +
diegetic figures and leaves the bubble real-estate EMPTY (low-detail safe zones).
html_bubbles[]live in the JSON view only. - NODE =
blueprint— read the upstreampanel_specnode; write ablueprintnode (blueprint:<slug>). - GATE =
comic-cross-layer-gate <blueprint_id> --gate blueprint— the SOLE gate authority; verdicts{approve, revise, fallback}, ADVANCE iffrefs_present ≥ 4 ∧ spatial_correctness ≥ 4 ∧ blueprint_renders ≥ 4(+text_preservation ≥ 4when baked text),safezone_quality < 3 → fallback, capMAX_BLUEPRINT_REGEN = 3(see EXACT gate). The gate is a score-FUSER — you must FIRST fan out the reviewers (Claude render/lint ‖ Codex atxhigh(no model pin — the CLI