Turn any script into viral, multi-style animated stickman videos for Faceless YouTube Channels. Automate visuals, voiceover, captions & SFX. 100% Free & Open-Source.
JavaScript agent-skills-managerai-animation-generatorai-video-productionautomated-videocodex-skillscontent-creationcreator-toolsfaceless-youtubegeminigenerative-aillmopen-sourcestickmanstickman-charactersstoryboardingstorytellingtext-to-videovideo-generationyoutube-automation
fix(a5): recommend character references and restore approved anatomy (#65)
CrazyKaomei0992e09fb32a
diff --git a/skills/directing-stickman-videos/SKILL.md b/skills/directing-stickman-videos/SKILL.mdindex 2ea43cf..77f2879 100644--- a/skills/directing-stickman-videos/SKILL.md+++ b/skills/directing-stickman-videos/SKILL.md@@ -24,7 +24,7 @@ Use one shared guide in the user's requested or current conversation language, fRead [first-use and stage guidance](references/getting-started.md) at installation handoff or first use; apply it in both modes. After verifying an installation you perform, show a plain-language quick-start immediately; otherwise on first invocation. Explain outputs, uses, tools, workflow, copyable requests and relevant public GitHub style/sample catalogs with selection by code. Reuse known choices. At substantive stage completions or blockers, distinguish assistant work from user choices; state completed outputs, missing items and the concrete next action. Do not add mandatory approval gates or repeat the welcome every turn.-For optional A character references, follow **Optional A character references** in that guide; keep validated prompts and voice rules unchanged.+For A5, follow **A5 proactive character guidance** in that guide before planning. Other A references follow **Optional A character references**; keep voice rules unchanged.## A · Director@@ -46,7 +46,7 @@ Require these before planning:- `Style 2B (Cinematic Story)`: full-color narrative environments, cinematic lighting & depth- `Style 3 (Prehistoric Hand-Drawn / Dark Comedy)`: expressive white filled heads, black stick limbs, animal-hide costumes and earthy prehistoric settings; story-specific casting- `Style 4 (Cozy Storytelling / 治愈故事风)`: expressive minimalist white-filled characters with dark stick limbs in full-color 2D cartoon environments; varied story locations and cinematic shot changes- - `Style 5 (Historical Cartoon / 历史卡通风)`: white-filled round heads, simple black oval eyes and thin black stick limbs in era-specific costume, with cel shading and full-color painterly historical settings+ - `Style 5 (Historical Cartoon / 历史卡通风)`: white heads with connected short white necks, expressive faces, black stick limbs and compact fingerless palms, period dress and cel-shaded historical settingsIf aspect ratio or visual style is missing, ask for all missing items in one concise message and stop. If duration is omitted, default to 60 seconds (6 clips). If a user provides a duration not divisible by 10, round to the nearest 10-second multiple. If a user specifies only light or dark theme, default to Style 1. Never select an aspect ratio or style silently. Do not re-ask choices already supplied.diff --git a/skills/directing-stickman-videos/references/getting-started.md b/skills/directing-stickman-videos/references/getting-started.mdindex 4751c04..b59a1ae 100644--- a/skills/directing-stickman-videos/references/getting-started.md+++ b/skills/directing-stickman-videos/references/getting-started.md@@ -127,6 +127,18 @@ At prompt handoff, explain that the user attaches the approved character image(sKeep the original validated prompt templates, full style/cast anchors and frozen voice blocks as required by the selected A style. References supplement those prompts, not replace, shorten or globally rewrite them. Personalize only within that style's allowed choices, not by changing a fixed character anchor; do not import B's TTS rules or add a generic character-description block to all A prompts.+### A5 proactive character guidance++When A5 / Style 5 / Historical Cartoon is selected, proactively give this recommendation before planning, even if the user has not asked about consistency. Use the conversation language; do not hide it in a FAQ or wait for a failed generation. For example:++> A5 建议先生成并确认人物三视图(正面、侧面、背面),再做视频。在支持参考图的视频工具里,生成每段视频时,都把已确认的角色参考图和该段完整分镜提示词一起提交。只靠文字提示词,人物一致性通常不够稳定;参考图有助于保持形象,但仍需检查实际结果。已有满意的角色图可以直接复用。++Explain that this is recommended, not a new mandatory setup or approval gate. If the user prefers text-only or skips character design, briefly acknowledge the consistency limitation and continue the existing Director workflow. Once this choice is known, do not repeatedly ask or repeat the warning at every clip. Suggest three views again only for a new character or a material design change.++When accepted, include the reference plan in Phase A. Help design story-specific characters using `historical-cartoon.md`; confirm front, side and back views with the user before final clip-prompt handoff. Reuse suitable approved character images instead of regenerating them. Inspect the actual sheet for a connected short white neck, balanced proportions, approved face/hair/costume and compact black fingerless palms in all three views; writing these features in a prompt does not prove they appeared.++At handoff, name which approved reference file(s) to attach to each clip and retain the full standalone style, cast, action and voice instructions. A reference is an additional image input, not a replacement for the prompt or permission to change A5's drawing rules. Check the chosen model/mode actually supports character-reference images; do not assume that accepting a first-frame image is the same as supporting a multi-view reference sheet, or force a multi-panel sheet to become the opening shot. Offer a supported reference workflow or the text-only path with its limitation. Do not claim guaranteed identity or stable text-to-video: recent cross-country text-only trials still showed missing hair and disconnected heads despite explicit prompt constraints.+## B · Autopilot handoffsRead [Autopilot](autopilot.md), its [runtime configuration](autopilot-runtime.md) and the selected B-style reference before production.diff --git a/skills/directing-stickman-videos/references/historical-cartoon.md b/skills/directing-stickman-videos/references/historical-cartoon.mdindex fb7c80f..d99b4bd 100644--- a/skills/directing-stickman-videos/references/historical-cartoon.md+++ b/skills/directing-stickman-videos/references/historical-cartoon.md@@ -2,6 +2,8 @@Historical explainers, daily life, civilization stories and comic historical shorts, using expressive stick figures in colorful historical worlds.+On A5 selection, read **A5 proactive character guidance** in [first-use guidance](getting-started.md). Recommend confirmed front/side/back character views before video, then attach approved references with the complete prompt for every clip in a supporting tool. Users can knowingly choose text-only; references help but do not guarantee consistency.+Visual concept and Roman era-pack contribution: [Lawal Ridwan / @leksautomate](https://github.com/leksautomate), via [History Stickman](https://github.com/kaomei/stickman-video-director/pull/41). Adapted to this project's Style 5 with owner-directed cross-era trials. The contributor's PR numbering is not the published style number.## Fixed drawing grammar@@ -9,11 +11,20 @@ Visual concept and Roman era-pack contribution: [Lawal Ridwan / @leksautomate](hRepeat this anchor verbatim in every standalone prompt:```text-Polished 2D cel-shaded cartoon animation with thick clean black outlines and soft metallic shading. Stick-figure characters with smooth white filled round heads, simple black oval eyes, expressive brows and mouths, no nose, and thin black stick limbs, in the described costume. Exactly two arms and two legs, each shown only in its current pose. Clean, sunlit, painterly landscapes.+CHARACTER: A 2D cartoon man with a round white head and a short, sturdy white neck growing naturally from his clothed shoulders and supporting his jaw. The white head and neck form one continuous filled silhouette. The lower jaw flows directly into the short white neck; the bottom of that neck enters the tunic neckline. The visible connection is white, with black outlines only along its two sides. Keep this white connection visible during walking, turns, tilts and camera cuts. Use balanced adult stickman proportions rather than a big-headed chibi: the complete standing figure is roughly four head-heights tall, the round head is visibly narrower than the clothed shoulder span, the torso is slightly longer than the head, and the thin black legs provide a natural lower-body length. The exposed neck is short, about one tenth of the head diameter tall. Thin black arms and legs, exactly two of each. Polished 2D cel-shaded historical cartoon, clean thick black outlines, softly shaded period clothing, and sunlit painterly surroundings.+FACE: An appealing, expressive storybook-cartoon face on the round white head. Two solid black vertical oval eyes; character-specific eyebrows, nose and mouth defined in the cast card, not a universal template face. Subtle cheek shading gives the face warmth without realistic skin texture. Expressions react to the action while the eye shape, nose shape, face proportions and identity remain unchanged. Hair and facial hair, when present in the cast, have a few clearly shaped locks and soft cel shading, not flat featureless patches. Keep this readable cartoon richness, not a blank symbolic face, photorealism or detailed irises.+PALMS: Each thin black wrist ends in one compact, solid black rounded oval palm with a subtle integrated thumb bump. Use the same palm-to-head proportion in both hands and all shots: total palm silhouette about 18% of head diameter long and 10% wide, including the thumb bump. It is visibly wider than the wrist, neither a wrist-tip dot nor an enlarged glove. No separate fingers, finger lines or white fill. The empty indicating gesture keeps this compact silhouette; change the arm angle instead of spreading or enlarging the palm.+EXPOSED LIMBS: Every uncovered arm, forearm, wrist and shin is one slender solid black stroke. Face and short neck use white fill; the limbs use solid black strokes. Preserve the character proportions and costume colors throughout.```Keep white head fill, head/body proportions, outline weight and black stick limbs fixed within a story. Open eyes are simple solid black ovals without iris/pupil detail; a blink or closed-eye expression does not redesign the eyes. Cloth, leather and metal can have soft shading and small highlights. Backgrounds are full-color painted landscapes or architecture, not empty white canvases, paper textures, ink wash, photorealistic people or glossy 3D characters. Approved night/interior lighting changes illumination, not drawing grammar. Costume may cover limbs without changing their underlying black line design.+Use this owner-selected baseline rather than stacking earlier experimental anatomy recipes. Resolve character gender/age and garment wording once in Phase A when the story requires a different cast; freeze the resulting full anchor across clips. Preserve the continuous white jaw–short-neck–garment connection in every view, not direct head-to-collar contact or a floating head. Do not treat a background-colored gap or an exposed chest panel as a neck. Hair, beard and collar may overlap but must not conceal a detached head. Keep the approved compact neck and adult proportions; do not copy one reference character's hair or costume to unrelated eras. This connection rule is A5-only. The baseline is a design target, not evidence of reliable text-only generation.++Freeze an individual face, not one national template: choose era-appropriate hair, eyebrows and expressions for the particular role without implying everyone from that country looks alike. A nose can be one short shallow black curve on the white face, smaller than half an eye's height; keep it flat, not a projecting bridge or skin-colored blob. Expressions can change with the story while identity stays fixed. If the cast calls for hair, name it explicitly and check that it is actually visible; a bald output fails that cast even when the prompt mentions hair.++The thin-black-limb rule includes exposed arm and leg segments, not sleeves or footwear. Hands use the owner's rounded black palm silhouette: a compact mitten-shaped palm visibly wider than the wrist, with one small rounded side thumb lobe and one undivided rounded finger mass. This is a single solid silhouette, not an anatomical hand, a tiny circular end cap or a white glove. No individual fingers, branching digit strokes, finger separations, digit lines or nails. Each palm attaches continuously to its thin black wrist. Show a grip through contact or overlap between the palm and the prop, supported by the arm pose; show release by moving the palm away. An empty raised hand retains this same compact silhouette without spreading fingers. Sleeves retain the approved fabric silhouette and color. Grips, releases and gestures may change pose, but keep hand scale and shape consistent across shots; avoid oversized black fists or glove-like blobs. Fixed hand design means consistent rendering, not frozen poses or permanently clenched fists. This clarification is A5-only; it does not change any A1–A4 or B-style anatomy rules.+## Phase A: era and castUse the existing proposal and approval workflow. Include a compact era pack:@@ -28,14 +39,14 @@ Use the existing proposal and approval workflow. Include a compact era pack:For a different era, draft and confirm a new pack rather than borrowing Roman armor or symbols. Adapt Egyptian, Chinese, Japanese or other clothing and buildings while preserving the drawing grammar. Do not make one Roman soldier a universal cast for all stories.-For each recurring role, write a complete story-specific cast card: role/age range, head/body proportions, face and eye shape, hair/beard or explicit absence, headwear, clothing layers and silhouette, limb treatment, footwear and distinguishing accessory. Give recurring roles at least two visible non-color differences. Resolve concrete features instead of writing only “a soldier” or “a princess.” Freeze each approved card and repeat its **full description** in every standalone prompt where the role appears; never substitute “same character,” an ellipsis or a name alone. A crowd can use one uniform group description, with named foreground characters separately identified.+For each recurring role, write a complete story-specific cast card: role/age range, head/body proportions, continuous white jaw–short-neck–garment connection and any beard/collar overlap, face and eye shape, hair/beard or explicit absence, headwear, clothing layers and silhouette, limb treatment, black mitten-palm design with integrated thumb lobe and wrist-to-sleeve attachment, footwear and distinguishing accessory. Give recurring roles at least two visible non-color differences. Resolve concrete features instead of writing only “a soldier” or “a princess.” Freeze each approved card and repeat its **full description** in every standalone prompt where the role appears; never substitute “same character,” an ellipsis or a name alone. A crowd can use one uniform group description, with named foreground characters separately identified.Keep appearance separate from action: a spade's shape belongs in its prop description; who holds it, in which hand, and whether it touches the ground belong in opening/action/ending states. Do not make all props permanently held or all characters permanently front-facing merely to prevent drift.### Roman era pack- **Place:** Roman Republic/Empire, Mediterranean roads, camps, towns and countryside; specify the period needed by the topic.-- **Soldier:** bronze-gold helmet with black horsehair crest, grey chainmail, red tunic, brown segmented leather skirt, thin black limbs and a short sword. Include a red shield with a gold icon only when the scene needs it. Officers can use a distinct crest or cape, frozen in their own cast cards.+- **Soldier:** bronze-gold helmet with black horsehair crest, grey chainmail, red tunic, brown segmented leather skirt, thin black exposed limbs, small solid black mitten-shaped palms continuously attached to the wrists, one subtle integrated thumb lobe, no individual fingers, finger separations, white fills or gloves, and a short sword. Include a red shield with a gold icon only when the scene needs it. Officers can use a distinct crest or cape, frozen in their own cast cards.- **Civilian:** cream tunic or toga with a story-specific accessory; approve the complete card rather than treating all civilians as soldiers without helmets.- **Settings:** green hills, cypress trees, dusty roads, wooden palisades and camp ditches; Forum, harbor or market architecture when relevant.- **Palette:** Roman red, bronze gold, steel grey, grass green, sky blue, earthy tan.@@ -46,7 +57,7 @@ Keep appearance separate from action: a spade's shape belongs in its prop descriEach prompt contains:-1. Approved duration/ratio and technical targets.+1. Approved duration/ratio and technical targets. Explicitly call it a `stickman animated video`, not just an `animated video`; use the actual supported resolution rather than claiming a requested target was delivered.2. Full drawing-style anchor, era palette and segment setting.3. Full cast cards for every visible recurring role, plus relevant prop designs/counts.4. Opening layout, held items, hand/owner and screen direction.@@ -64,11 +75,13 @@ Keep one current pose per limb. Give prop transfers a clear release, travel andPreserve complete approved style, cast and voice blocks; there is no style-specific character-count cap. Remove conflicting or redundant wording rather than stripping identity details. If an interface rejects the length, report its actual limit before changing approved content.```text-NO VISIBLE TEXT, LETTERS, NUMBERS, SUBTITLES, LOGOS OR WATERMARKS (blank paper or abstract brush strokes only), NO SPEECH BUBBLES, NO BLOOD OR GORE, NO PHOTOREALISTIC FACES, NO 3D CGI, NO PAPER TEXTURE, NO EXTRA LIMBS, NO FUSED OR DUPLICATE HEADS, NO COSTUME CHANGES, NO EXTRA CHARACTERS.+NO VISIBLE TEXT, LETTERS, NUMBERS, SUBTITLES, LOGOS OR WATERMARKS (blank paper or abstract brush strokes only), NO SPEECH BUBBLES, NO BLOOD OR GORE, NO PHOTOREALISTIC FACES, NO 3D CGI, NO PAPER TEXTURE, NO EXTRA LIMBS, NO FUSED OR DUPLICATE HEADS, NO COSTUME CHANGES, NO EXTRA CHARACTERS, NO INDIVIDUAL FINGERS, NO FINGER SEPARATIONS, NO WHITE HANDS OR GLOVES, NO FLOATING HEAD, NO BACKGROUND GAP BETWEEN HEAD AND NECKLINE.```-Keep negatives compatible with the approved cast: do not ban simple faces, historical clothing or chosen hair/beards. Reference images remain optional when requested and supported; the Roman test used pure text-to-video.+Keep negatives compatible with the approved cast: do not ban expressive faces, the chosen nose, historical clothing or chosen hair/beards. Proactively recommend references as above, rather than offering them only when asked. When chosen, include a separate per-clip attachment list of the approved character reference file(s); keep the full prompt intact. Never claim an attachment was submitted unless it actually was.## Review-Before delivery, compare repeated style/cast/voice blocks and all adjacent prop states. When generation is authorized, inspect actual footage for head fill, eye design, costume silhouette, limbs, prop counts and action joins; listen separately for narrator consistency. Record prompt compliance separately from observed output. Localize changes to Style 5; do not rewrite Styles 1–4.+At the intended delivery size, check the actual continuous white jaw–short-neck–garment connection, including walking, turns, tilts and camera cuts. A background-colored gap fails even if an earlier prompt or review called the connection natural. Check neck length against the approved reference, not a long white neck or chest panel. Preserve approved head shape and proportions. The owner reference defines the target, not cross-clip stability.++Before delivery, compare repeated style/cast/voice blocks and all adjacent prop states. When generation is authorized, inspect actual footage for head fill, eye design, costume silhouette, limbs, compact black mitten palms and continuous wrist attachment during walking, grips, releases and empty-hand gestures, prop counts and action joins; listen separately for narrator consistency. Check that palms have one subtle rounded thumb lobe, without separate fingers, white fill or gloves, and do not grow into large fists. Record prompt compliance separately from observed output, and state sampling coverage rather than claiming frame-by-frame certification. Earlier round-tip or exposed-neck tests do not validate this revised silhouette; retain their failures as historical observations, not overall stability passes. Localize changes to Style 5; do not rewrite Styles 1–4.diff --git a/skills/directing-stickman-videos/references/omni-flash-prompt-contract.md b/skills/directing-stickman-videos/references/omni-flash-prompt-contract.mdindex bc94024..18fcdae 100644--- a/skills/directing-stickman-videos/references/omni-flash-prompt-contract.md+++ b/skills/directing-stickman-videos/references/omni-flash-prompt-contract.md@@ -6,7 +6,7 @@ Style 3 (Prehistoric Hand-Drawn / Dark Comedy): read `prehistoric-dark-comedy.mdStyle 4 (Cozy Storytelling / 治愈故事风): read `cozy-storytelling.md`. Repeat full character and voice anchors, but give each segment its approved new setting. Describe each scene opening as a recognizable new location, then connect action/prop/screen direction or a named time cut. Do not repeat one global room layout, inherit Style 1's no-face/filled-body bans, or require hand-drawn/paper aesthetics. Keep movable-object appearance separate from initial positions and timed state changes.-Style 5 (Historical Cartoon / 历史卡通风): read `historical-cartoon.md` for its standalone prompt order and overrides. Repeat the full frozen drawing anchor, visible cast cards, approved era pack and complete `voice-continuity.md` voice block in every clip. Keep solid oval eyes and black stick limbs, with historical costume and colored painterly scenery. Do not inherit Style 1's hollow-head/no-face/no-clothes contract or generic piano, three-color, four-device and no-idle requirements. Follow its era score, physical beats and planned cuts; do not shorten approved anchors to meet an arbitrary character budget.+Style 5 (Historical Cartoon / 历史卡通风): read `historical-cartoon.md` for its standalone prompt order and overrides. Repeat the full frozen drawing anchor, visible cast cards, approved era pack and complete `voice-continuity.md` voice block in every clip. Keep connected short white necks, expressive individual faces, solid oval eyes, thin black exposed limbs and small solid black mitten-shaped palms continuous with the wrists, one subtle integrated thumb lobe, no individual fingers, finger separations, white fills or gloves, with historical costume and colored painterly scenery. Do not inherit Style 1's hollow-head/no-face/no-clothes contract or generic piano, three-color, four-device and no-idle requirements. Follow its era score, physical beats and planned cuts; do not shorten approved anchors to meet an arbitrary character budget.## Production package orderdiff --git a/skills/directing-stickman-videos/references/style-catalog.md b/skills/directing-stickman-videos/references/style-catalog.mdindex 19a988a..9b7b644 100644--- a/skills/directing-stickman-videos/references/style-catalog.md+++ b/skills/directing-stickman-videos/references/style-catalog.md@@ -13,7 +13,7 @@ This catalog defines the supported visual styles for `directing-stickman-videos`| **Style 2B** | Modern Beanie - Cinematic Story (彩色故事风) | Full-color narrative environments, cinematic lighting & depth (warm room, dusk, desert, summit) | Emotional storytelling, personal growth, motivational journeys, narrative hooks | Same red beanie & yellow t-shirt figure staged inside rich environmental lighting || **Style 3** | Prehistoric Hand-Drawn / Dark Comedy (史前手绘 / 黑色幽默) | Earthy prehistoric environments, warm fire accents, subtle paper texture | Satirical stories, visual analogies, ironic callbacks | White filled heads, expressive cartoon faces, black stick limbs, variable story-specific cast || **Style 4** | Cozy Storytelling (治愈故事风) | Full-color 2D cartoon locations, gentle atmospheric light, varied cinematic shots | Relatable life stories, emotional growth, educational storytelling | White filled round head and slim torso, dark stick limbs, simple expressive face |-| **Style 5** | Historical Cartoon (历史卡通风) | Full-color painterly historical settings, clean cel shading, era-specific wardrobe and props | History explainers, historical daily life, civilization stories and historical comedy | White filled round heads, simple black oval eyes, thick outlines and thin black stick limbs |+| **Style 5** | Historical Cartoon (历史卡通风) | Full-color painterly historical settings, clean cel shading, era-specific wardrobe and props | History explainers, historical daily life, civilization stories and historical comedy | White filled round heads with connected short white necks, expressive individual faces, solid black oval eyes, thin black exposed limbs and small solid black mitten-shaped palms continuous with the wrists, one subtle integrated thumb lobe, no individual fingers, finger separations, white fills or gloves |For Style 3 read `prehistoric-dark-comedy.md`. It overrides this catalog's generic motion and piano rules. Fix the drawing grammar across stories, not one universal face; fix each approved character within a story.diff --git a/tests/reports/a5-reference-guidance-local.md b/tests/reports/a5-reference-guidance-local.mdnew file mode 100644index 0000000..8843c9d--- /dev/null+++ b/tests/reports/a5-reference-guidance-local.md@@ -0,0 +1,27 @@+# A5 character-reference guidance — local maintenance check++Date: 2026-10-25. Scope: existing `directing-stickman-videos`, A5 only. No new generation, paid calls, global installation or publication in this update.++## Changes++- Route A5 selection to a proactive three-view recommendation before planning, in the conversation language.+- Recommend confirmed front/side/back views, reuse approved images, and attach approved reference files alongside each complete clip prompt in a supporting model/mode.+- Keep text-only available without a new mandatory gate or repeated questions. References supplement prompts and are not a guarantee.+- Replace the superseded no-exposed-neck/no-nose recipe with the exact four character blocks from the owner's selected prompt: connected short white neck, adult proportions, rich individual face, compact black fingerless palms and black exposed limbs. Do not promote failed V31 collar experiments as a stable production solution.+- Keep A1–A4, B production and shared voice rules unchanged.++## Checks++PASS: `verify-first-use-guidance.py`, `verify-historical-cartoon.py`, `verify-ab-preservation.py`, `verify-b-common-quality.py`, `verify-voice-continuity.py`, `verify-cozy-storytelling.py`, and `git diff --check`.++PASS: exact comparison of CHARACTER/FACE/PALMS/EXPOSED LIMBS to the owner-supplied source. Anchor SHA-256: `f7f8161688c3c17a4379eaf5e4d64d7c0888f7e4b94ef59b7beb3dcafc785a8e`.++Root entry remains 13,997 bytes. Static checks verify instructions and scope, not model behavior or generated-video quality. Three new A5 conversational acceptance cases are authored but not model-run.++The generic Qiaomu package validator did not pass: this legacy package lacks its required `README.md`, `agents/interface.yaml` and `manifest.json` layout. No unrelated package migration was performed. The generic quick validator could not run under the current Python because PyYAML is absent; no dependencies were installed solely for that check.++## Evidence boundary++Design advantage: proactive reference guidance addresses the user's workflow concern. Missing evidence: fresh-host conversational run, a new reference-conditioned video batch, and clean-install verification for this revision. Recent text-only tests still included France head/neck disconnection and Egypt missing required hair; neither the revised prompt nor three-view guidance proves stable video generation.++This is a local source update only. Remote GitHub and any separately installed copy remain unchanged.diff --git a/tests/scenarios/first-use-guidance.md b/tests/scenarios/first-use-guidance.mdindex f1a764a..b5c6a1b 100644--- a/tests/scenarios/first-use-guidance.md+++ b/tests/scenarios/first-use-guidance.md@@ -17,6 +17,9 @@ Use the current installed Skill and score observable replies/actions, not exact| First invocation: “把这篇文章做成 5 分钟 16:9 的 YouTube 宣传视频,用 B1,英文 Sadaltager。” Source text is attached. | Acknowledge Autopilot, reuse all supplied choices, explain/check the next actual configuration needs. | Asking A/B, ratio, source or voice again; starting paid generation before authorization. || Director brief: “A3,16:9,30s,主题是人类第一次找工作。” | Proceed to the Director proposal; end with the current-proposal approval gate and explain that final prompts come next. | Requiring FFmpeg/API setup; producing final prompts before approval; showing the full welcome again. || Director brief: “A3,16:9,30s,主题是人类第一次找工作;不用定制角色。” | Use the ordinary Director proposal/approval/prompt sequence, with the selected style's existing casting rules. | Blocking on three-view images or adding a mandatory character-reference approval. |+| Director brief: “A5,16:9,30s,讲古埃及抄写员。” No reference request. | Proactively recommend confirmed front/side/back character views and attaching the approved reference with every complete clip prompt; explain weaker text-only consistency, then continue planning without a new mandatory gate. | Waiting until drift occurs; silently generating references or paid video; claiming three views guarantee consistency. |+| A5 user: “不用三视图,先给纯文字方案。” | Acknowledge the limitation once and continue the existing proposal/approval workflow without further reference questions for this design. | Blocking on a sheet; repeatedly asking; claiming text-only is stable. |+| A5 user already has approved front/side/back character references. | Reuse the images after checking style compatibility; name per-clip attachment files at prompt handoff and retain full style/cast/action/voice blocks. Verify the selected mode's character-reference support. | Regenerating approved images; replacing prompts with “按参考图”; forcing the sheet into a first-frame-only mode or claiming unsubmitted attachments were used. || Director user: “我想让这条片子的人物更一致,也有自己的特色,A3,16:9,30s。先帮我确认角色。” | Explain front/side/back views in plain language, propose style-compatible character choices in Phase A and confirm chosen references before final prompts. Reuse suitable approved images; explain separate image attachment for every clip in a supporting tool while retaining validated prompt/voice blocks. | Treating three views as a guarantee; changing fixed style anatomy/voice rules; replacing prompts with “same as reference”; requiring new generation despite suitable approved references. || Director user has an incompatible reference, or the selected tool has no reference-image input. | Explain the specific style conflict or verified tool limitation, and offer compatible options without silently changing the selected style. Keep the original text-prompt route available; follow the existing proposal-revision gate for global design changes. | Promising reference support without checking; silently recasting a fixed character or forcing another tool. || Autopilot doctor reports Node/canvas/fonts ready but FFmpeg/FFprobe absent. No image/TTS service is selected. | Separate ready vs missing checks, name the missing components and smallest platform-appropriate fix; ask for service choice without dumping commands/logs. Script preparation may continue. | “Everything ready”; raw “doctor failed” with no next step; forcing a Gemini API key. |diff --git a/tests/verify-ab-preservation.py b/tests/verify-ab-preservation.pyindex bba8c19..7506da7 100644--- a/tests/verify-ab-preservation.py+++ b/tests/verify-ab-preservation.py@@ -1,8 +1,9 @@#!/usr/bin/env python3-"""Byte-level A1-A5 preservation during the independent B runtime correction.+"""Pre-B byte baseline, with owner-directed A5 hand and neck clarifications.This checks preserved instructions, not provider-backed visual/audio quality.The voice reference baseline includes the pre-existing local A-only scope notice.+Only the explicit A5 changes below are allowed; A1–A4 remain byte-identical."""import hashlibfrom pathlib import Path@@ -18,10 +19,46 @@ expected = {"omni-flash-prompt-contract.md": "2ef4527750d10c20274f89f86cca9d6483430cef489722c4afb9893ae1d8fbe5","examples.md": "c183e159304eb6dc12f9ad0b06f037a3f880282bc0b75bf06a2863705ddf00f4"}-entry = (skill / "SKILL.md").read_bytes()+# Exact owner-directed A5 baseline revision (2026-10-25). Normalize only+# these three A5 summary lines to the pre-B baseline; all other bytes stay frozen.+a5_summary_refinements = {+ "SKILL.md": [+ " - `Style 5 (Historical Cartoon / 历史卡通风)`: white-filled round heads, simple black oval eyes and thin black stick limbs in era-specific costume, with cel shading and full-color painterly historical settings",+ " - `Style 5 (Historical Cartoon / 历史卡通风)`: white heads with connected short white necks, expressive faces, black stick limbs and compact fingerless palms, period dress and cel-shaded historical settings"+ ],+ "style-catalog.md": [+ "| **Style 5** | Historical Cartoon (历史卡通风) | Full-color painterly historical settings, clean cel shading, era-specific wardrobe and props | History explainers, historical daily life, civilization stories and historical comedy | White filled round heads, simple black oval eyes, thick outlines and thin black stick limbs |",+ "| **Style 5** | Historical Cartoon (历史卡通风) | Full-color painterly historical settings, clean cel shading, era-specific wardrobe and props | History explainers, historical daily life, civilization stories and historical comedy | White filled round heads with connected short white necks, expressive individual faces, solid black oval eyes, thin black exposed limbs and small solid black mitten-shaped palms continuous with the wrists, one subtle integrated thumb lobe, no individual fingers, finger separations, white fills or gloves |"+ ],+ "omni-flash-prompt-contract.md": [+ "Style 5 (Historical Cartoon / 历史卡通风): read `historical-cartoon.md` for its standalone prompt order and overrides. Repeat the full frozen drawing anchor, visible cast cards, approved era pack and complete `voice-continuity.md` voice block in every clip. Keep solid oval eyes and black stick limbs, with historical costume and colored painterly scenery. Do not inherit Style 1's hollow-head/no-face/no-clothes contract or generic piano, three-color, four-device and no-idle requirements. Follow its era score, physical beats and planned cuts; do not shorten approved anchors to meet an arbitrary character budget.",+ "Style 5 (Historical Cartoon / 历史卡通风): read `historical-cartoon.md` for its standalone prompt order and overrides. Repeat the full frozen drawing anchor, visible cast cards, approved era pack and complete `voice-continuity.md` voice block in every clip. Keep connected short white necks, expressive individual faces, solid oval eyes, thin black exposed limbs and small solid black mitten-shaped palms continuous with the wrists, one subtle integrated thumb lobe, no individual fingers, finger separations, white fills or gloves, with historical costume and colored painterly scenery. Do not inherit Style 1's hollow-head/no-face/no-clothes contract or generic piano, three-color, four-device and no-idle requirements. Follow its era score, physical beats and planned cuts; do not shorten approved anchors to meet an arbitrary character budget."+ ]+}+++def pre_b_bytes(name, content):+ if name in a5_summary_refinements:+ old, new = (text.encode() for text in a5_summary_refinements[name])+ assert content.count(new) == 1, f"Missing exact A5 refinement: {name}"+ content = content.replace(new, old, 1)+ return content+++# The dedicated A5 reference has its own exact approved patch fingerprint.+# Do not refresh the shared-file baseline or weaken A1–A4/voice comparisons.+# 2026-10-25 owner-selected rich-face/short-white-neck baseline and proactive+# three-view guidance. This fingerprint is scope evidence, not visual approval.+a5_contact_mitten_reference_sha256 = "a8b885d327ed1177e3316d6082c7048923cedaaaa7d070635e58d11c3a2ff785"++entry = pre_b_bytes("SKILL.md", (skill / "SKILL.md").read_bytes())director = b"## A \xc2\xb7 Director\n" + entry.split(b"## A \xc2\xb7 Director\n", 1)[1]assert hashlib.sha256(director).hexdigest() == "f710612be73c952fb130d891b0650388ec5ae89469cae95eda8e147eec18b73e", "A Director contract changed"for name, digest in expected.items():- assert hashlib.sha256((skill / "references" / name).read_bytes()).hexdigest() == digest, f"A reference changed: {name}"-print("A1-A5 Director body, style references, prompts and voice rules are byte-identical to the pre-B-correction baseline.")+ content = (skill / "references" / name).read_bytes()+ if name == "historical-cartoon.md":+ assert hashlib.sha256(content).hexdigest() == a5_contact_mitten_reference_sha256, "Unreviewed A5 reference change"+ else:+ assert hashlib.sha256(pre_b_bytes(name, content)).hexdigest() == digest, f"A reference changed: {name}"+print("A1–A4, shared prompts and voice retain the pre-B bytes; only exact A5 baseline refinements are allowed.")print("No live generation or visual-quality guarantee is implied.")diff --git a/tests/verify-first-use-guidance.py b/tests/verify-first-use-guidance.pyindex 4d823b6..3613743 100644--- a/tests/verify-first-use-guidance.py+++ b/tests/verify-first-use-guidance.py@@ -18,8 +18,13 @@ for source in (skill / "SKILL.md", guide):if not target.startswith(("https://", "http://")):assert (source.parent / target).is_file(), f"Broken reference: {source}: {target}"-# Keep the existing Director production contract byte-for-byte unchanged.+# Normalize only the exact owner-directed A5 baseline summary; preserve every other+# Director byte and the original baseline digest.legacy = "## A · Director\n" + entry.split("## A · Director\n", 1)[1]+original_a5 = " - `Style 5 (Historical Cartoon / 历史卡通风)`: white-filled round heads, simple black oval eyes and thin black stick limbs in era-specific costume, with cel shading and full-color painterly historical settings"+revised_a5 = " - `Style 5 (Historical Cartoon / 历史卡通风)`: white heads with connected short white necks, expressive faces, black stick limbs and compact fingerless palms, period dress and cel-shaded historical settings"+assert legacy.count(revised_a5) == 1, "Missing exact owner-directed A5 baseline summary"+legacy = legacy.replace(revised_a5, original_a5, 1)assert hashlib.sha256(legacy.encode()).hexdigest() == "f710612be73c952fb130d891b0650388ec5ae89469cae95eda8e147eec18b73e"assert len(entry.encode()) <= 14000, "Keep the new workflow detail in references"frontmatter = entry.split("---\n", 2)[1]@@ -78,7 +83,7 @@ assert not re.search(r"\b(?:Director|Autopilot)\b|自动成片", welcome)assert "A 模式的旁白和声音设计沿用原有规则" in welcomeassert "稳定男声默认" not in welcome, "Do not misstate A's source-appropriate voice selection"-# Optional A references are reachable without changing the frozen Director body.+# Optional A references remain reachable without any additional Director changes.reference_heading = "Optional A character references"assert reference_heading in entrya_reference = guide_text.split(f"### {reference_heading}\n", 1)[1].split("## B · Autopilot handoffs", 1)[0]@@ -89,6 +94,16 @@ for requirement in ("not a new setup requirement", "front, side and back views",assert requirement in a_reference, requirementassert "按需确认人物三视图" in welcome and "三视图(正面、侧面、背面)" in welcome+# A5 recommends references proactively, while preserving a non-blocking text route.+assert "A5 proactive character guidance" in entry+a5_reference = guide_text.split("### A5 proactive character guidance\n", 1)[1].split("## B · Autopilot handoffs", 1)[0]+for requirement in ("before planning", "even if the user has not asked", "正面、侧面、背面",+ "每段视频", "完整分镜提示词一起提交", "not a new mandatory setup",+ "prefers text-only", "do not repeatedly ask", "Reuse suitable approved",+ "additional image input", "not a replacement", "first-frame image",+ "not claim guaranteed identity", "missing hair and disconnected heads"):+ assert requirement in a5_reference, requirement+# Per-style defaults stay inside one installation; B1 is not all of B.autopilot = (skill / "references/autopilot.md").read_text()b1 = (skill / "references/b1-minimal-handdrawn.md").read_text()@@ -99,7 +114,7 @@ assert "caption font/size/placement" in autopilotassert "B1 defaults, not requirements for other B styles" in b1assert "Google Gemini **Bodi**" in b1 and "original **Sadaltager** recording" in b1assert "without added style/direction instructions" in b1-print("First-use reference wiring, single-Skill identity and unchanged Director contract passed.")+print("First-use wiring, proactive A5 reference guidance and single-Skill identity passed; other Director bytes preserved.")print("Independent B-style settings, defaults precedence and unchanged demo-voice policy passed.")print("Eight-language catalog destinations, shared anchors and English fallback instruction checks passed.")print("Static checks only; fresh-host conversational acceptance remains a separate test.")diff --git a/tests/verify-historical-cartoon.py b/tests/verify-historical-cartoon.pyindex 7287d2d..a535177 100644--- a/tests/verify-historical-cartoon.py+++ b/tests/verify-historical-cartoon.py@@ -6,27 +6,85 @@ import hashlibroot = Path(__file__).resolve().parents[1]skill = root / "skills/directing-stickman-videos"ref = (skill / "references/historical-cartoon.md").read_text()-anchor = (- "Polished 2D cel-shaded cartoon animation with thick clean black outlines and soft metallic shading. "- "Stick-figure characters with smooth white filled round heads, simple black oval eyes, expressive brows and mouths, "- "no nose, and thin black stick limbs, in the described costume. Exactly two arms and two legs, each shown only in its "- "current pose. Clean, sunlit, painterly landscapes."-)-assert anchor in ref, "Preserve the contributor's complete drawing anchor"+anchor = ref.split("```text\n", 1)[1].split("```", 1)[0]+# Exact CHARACTER/FACE/PALMS/EXPOSED LIMBS from the owner-selected prompt.+# Fingerprint verifies source preservation, not reliable generated anatomy.+assert hashlib.sha256(anchor.encode()).hexdigest() == "f7f8161688c3c17a4379eaf5e4d64d7c0888f7e4b94ef59b7beb3dcafc785a8e"for token in ("https://github.com/leksautomate", "/pull/41","repeat its **full description**", "two visible non-color differences","no style-specific character-count cap", "voice-continuity.md","default when no other voice is requested", "opening/action/ending states","Backgrounds are full-color", "do not rewrite Styles 1–4",+ "black mitten-palm design with integrated thumb lobe and wrist-to-sleeve attachment",+ "not sleeves or footwear", "Grips, releases and gestures may change pose",+ "This clarification is A5-only",+ "compact black mitten palms and continuous wrist attachment during walking, grips, releases and empty-hand gestures",+ "no individual fingers, finger separations, white fills or gloves",+ "contact or overlap between the palm and the prop",+ "without spreading fingers",+ "NO INDIVIDUAL FINGERS, NO FINGER SEPARATIONS, NO WHITE HANDS OR GLOVES",+ "not frozen poses or permanently clenched fists",+ "Earlier round-tip or exposed-neck tests do not validate this revised silhouette",+ "short, sturdy white neck", "one continuous filled silhouette",+ "about one tenth of the head diameter", "roughly four head-heights tall",+ "character-specific eyebrows, nose and mouth", "18% of head diameter long and 10% wide",+ "stickman animated video", "smaller than half an eye's height",+ "On A5 selection", "front/side/back", "every clip in a supporting tool",+ "Users can knowingly choose text-only", "not evidence of reliable text-only generation",+ "rather than offering them only when asked", "separate per-clip attachment list",+ "This connection rule is A5-only",+ "continuous white jaw–short-neck–garment connection and any beard/collar overlap",+ "A background-colored gap fails",+ "The owner reference defines the target, not cross-clip stability",+ "not overall stability passes",):assert token in ref, token+for obsolete in (+ "Small white-filled, black-outlined cartoon hands attach naturally",+ "Hands are small simplified white-filled shapes",+ "small white-filled black-outlined hands connected at the wrists",+ "with minimal finger strokes or curved grips",+ "A few short finger strokes can indicate an open hand",+ "A short thin black neck line connects the base of each head to the neckline",+ "with the same thin black line treatment as the exposed limbs",+ "A short white-filled, black-outlined neck smoothly connects the base of each head to the neckline",+ "Show a clearly visible short white neck",+ "one-eighth of the head diameter",+ "must not conceal the entire white connection",+ "Do not use a black stick neck, fuse the head into the shoulders or lengthen the neck",+ "mark the neck check failed or unverified rather than passed",+ "The head joins the clothed body naturally at the neckline; no separately visible neck is required.",+ "Hands are small solid black round or oval tips",+ "NO THUMBS",+ "The base of the head may meet or overlap the garment neckline directly",+ "a short collar connection or fully concealed neck is acceptable",+ "No separate neck is exposed", "no nose, and thin black stick limbs",+ "The lower edge of the white round head physically touches",+ "about 1.5-2 wrist-stroke widths", "Keep palm length below one sixth",+ "Reference images remain optional when requested and supported",+):+ assert obsolete not in ref, f"Obsolete A5 anatomy instruction: {obsolete}"for filename in ("SKILL.md", "references/style-catalog.md","references/storyboard-template.md", "references/omni-flash-prompt-contract.md",):assert "historical-cartoon.md" in (skill / filename).read_text(), filename+for filename in (+ "SKILL.md", "references/style-catalog.md", "references/omni-flash-prompt-contract.md",+):+ text = (skill / filename).read_text()+ a5_line = next(line for line in text.splitlines() if "Style 5" in line)+ if filename == "SKILL.md":+ assert "compact fingerless palms" in a5_line, filename+ assert "connected short white necks" in a5_line, filename+ else:+ assert "small solid black mitten-shaped palms continuous with the wrists" in a5_line, filename+ assert "one subtle integrated thumb lobe, no individual fingers, finger separations, white fills or gloves" in a5_line, filename+ assert "connected short white necks" in a5_line, filename+ assert "white-filled black-outlined cartoon hands" not in a5_line, filename+# Existing specialist contracts must not be rewritten for this addition.baseline = {"prehistoric-dark-comedy.md": "1a3a58a22b392cc087a0aa645b3f8478a3136e7e7f35d086ddb588ac091df860",