AI turns documents or topics into real, native PowerPoint decks—with native shapes, transitions and animations, data-backed charts and tables on demand, audio narration from speaker notes, and support for your own .pptx templates. · by Hugo He
docs(animations): teach deterministic Morph object pairing
hugohe3c6d9a05e5c39
diff --git a/skills/ppt-master/references/animations.md b/skills/ppt-master/references/animations.mdindex 04a504a0..6c1f6553 100644--- a/skills/ppt-master/references/animations.md+++ b/skills/ppt-master/references/animations.md@@ -1,8 +1,9 @@# Page Transitions & Per-Element AnimationsExecution contract for generated-PPTX **page transitions** and **per-element-object animations**. This file owns defaults, sidecar semantics, anchor-selection, validation, and package read-back.+object animations**, including deterministic Morph object pairing. This file+owns defaults, sidecar semantics, anchor selection, validation, and package+read-back.## Capability Menu — Open Here@@ -13,19 +14,19 @@ before the page plan is frozen, not only when a deck is already exported.| What the deck needs | Reach for | Decided at ||---|---|---|| Reveal content in step with the narration | Per-element object animation — `-a auto` deck-wide, or an `animations.json` sidecar for specific order, effects, timing, and triggers | Post-processing; §2, §4, [`customize-animations`](../workflows/stages/customize-animations.md) |-| A continuous action — slide-in, flip, camera push-in, progressive reveal, camera pan | **Morph: author the action as two static pages plus `-t morph`.** There is no keyframe timeline anywhere in this pipeline; the difference between two ordinary editable slides *is* the animation | **Page authoring (Step 6)** — §3.1 |+| A continuous action — slide-in, flip, camera push-in, progressive reveal, camera pan | **Morph: author the action as two static pages, then select Morph and add explicit pairs when identity must be deterministic.** There is no keyframe timeline anywhere in this pipeline; the difference between two ordinary editable slides *is* the animation | **Page authoring (Step 6), then motion post-processing** — §2.1, §3.1 || A static full-bleed page that should stop looking frozen | One slow `path_*` motion on the background group only, `with-previous`, 4–10 s | Post-processing; §4.1, one sidecar entry || Carousel, counting numerals, parallax depth, click-to-reveal flip card | Four recurring recipes assembled from the mechanisms above | §4.2 — the carousel and odometer both need paired pages || Kiosk or unattended playback | `--auto-advance <seconds>`, optionally with `-t none` | Export; §3 || Nothing should move | `-t none`, and leave per-element animation at its default `none` | Export; §1 |-**Hard rule — morph is an authoring decision, not an export flag**: `-t morph`-tweens only objects it can match across consecutive slides, and matching is by-object identity — same image filename, same group `id`, unchanged container-dimensions. A deck that reaches export without paired pages cannot gain morph-motion by adding the flag; it degrades silently to a cross-fade. Resolve this-while `svg_output/` is still being authored, or accept that the sequence stays-static.+**Hard rule — Morph geometry is an authoring decision; pairing is a later+execution decision**: export cannot invent the two visible endpoint states.+Author both consecutive pages while `svg_output/` is still being built. For+deterministic identity, expose each endpoint as a compatible direct-root group+and declare the pair in `animations.json` (§2.1); the source and destination ids+and geometry may differ. `-t morph` without explicit pairs leaves matching to+PowerPoint's heuristic and is not proof that the intended objects will tween.**Reference — not a constraint**: per-element animation stays off by default(§1). Auto-firing element builds on every page are an unsolicited "AI deck"@@ -151,6 +152,73 @@ inherit the resolved slide duration, timing modifiers, after-effect, and sound.never inherited; omitted `order`/`delay` use exporter defaults. New authoringwrites complete slide blocks.+### 2.1 Deterministic Morph Object Pairing++When one semantic object continues across two adjacent slides, the destination+slide may declare explicit forced-Morph pairs. This is separate from `groups`:+Morph owns cross-slide identity, while `groups` owns Animation Pane rows.+The generated names follow Microsoft's+[forced object-matching convention](https://support.microsoft.com/en-us/powerpoint/morph-transition-tips-and-tricks).++```json+{+ "version": 1,+ "defaults": {+ "transition": { "effect": "fade", "duration": 0.4 },+ "animation": { "effect": "none", "duration": 0.4, "stagger": 0.5, "trigger": "after-previous" }+ },+ "slides": {+ "01_overview": {+ "transition": { "effect": "fade", "duration": 0.4 },+ "animation": { "effect": "none", "duration": 0.4, "stagger": 0.5, "trigger": "after-previous" }+ },+ "02_detail": {+ "transition": {+ "effect": "morph",+ "effect_options": { "morph_by": "object" },+ "duration": 0.8+ },+ "animation": { "effect": "none", "duration": 0.4, "stagger": 0.5, "trigger": "after-previous" },+ "morph": {+ "from": "01_overview",+ "pairs": {+ "hero-image": {+ "from": "hero-overview",+ "to": "hero-detail"+ }+ }+ }+ }+ }+}+```++- `morph` belongs to the destination slide. `morph.from` must be the+ immediately preceding SVG stem in export order.+- `animation_config.py scaffold` never guesses cross-slide identity. Add pairs+ from the semantic motion plan after inspecting the final direct-root ids.+- Each `pairs` key is a stable identity; its `from` and `to` values are unique+ direct-root `<g id>` values on the source and destination slides. Supply the+ key without `!!`; export writes the PowerPoint Selection Pane name+ `!!<key>` on both objects.+- A destination with explicit pairs must explicitly set `effect: morph`.+ `morph_by` may be omitted for its `object` default or set to `object`;+ `word`/`character` are rejected. A CLI transition override that changes the+ resolved effect fails export.+- A middle slide may continue the same object into another Morph transition,+ but the same group must retain the same key. One key cannot name two objects+ on one slide, and one object cannot carry two keys. Every `!!` key shared by+ two adjacent Morph pages must be declared in that destination's `pairs`;+ undeclared forced matches are rejected.+- Explicit pairing can coexist with in-slide object animation and remains+ active when `-a none` disables Animation Pane rows. `--no-animations`+ disables the sidecar and all page/object motion.+- The exporter resolves both group ids to final Slide-local PowerPoint shapes,+ writes names only after Master/Layout processing, then reopens the package+ and verifies adjacency, Morph by object, one name per slide, and matching+ OOXML object types. Missing, structural, moved, ambiguous, or mismatched+ targets fail instead of falling back to automatic Morph matching.+---## 3. Page Transitions@@ -200,7 +268,7 @@ Flags:### 3.1 Morph — author an action as the difference between two pages-Morph tweens objects it can match across consecutive slides. That makes it a general mechanism, not just a transition: **any continuous action can be authored as two static pages plus `-t morph`**, with no keyframe timeline anywhere. Duplicate the page, change one property on one object, and PowerPoint interpolates the rest.+Morph tweens objects it can match across consecutive slides. That makes it a general mechanism, not just a transition: **any continuous action can be authored as two static pages plus a Morph transition**, with no keyframe timeline anywhere. Duplicate the page, change one property on one object, and PowerPoint interpolates the rest. Use §2.1 explicit pairs when the match must be deterministic.| Change between the two pages | Reads as ||---|---|@@ -212,11 +280,22 @@ Morph tweens objects it can match across consecutive slides. That makes it a genChain three or more pages to build a sequence — extend, hold, retract — where each page is still an ordinary editable slide.-**Hard rule — matching is by object identity**: keep the same image filename, the same group `id`, and container dimensions that do not change between the pages. Rename the file or resize the frame and morph silently degrades to a cross-fade with none of the motion. This is the most common reason a morph sequence "does nothing".+**Hard rule — matching needs compatible object identity, not identical SVG+geometry**: for generated decks, prefer §2.1 deterministic pairs. The source+and destination direct-root group ids may differ, and position, size, crop, or+other visible state is expected to change; both endpoints must still resolve to+one compatible top-level PowerPoint object kind. Automatic Morph without pairs+is heuristic and may cross-fade instead of tweening.-**Give text somewhere to come from.** Morph tweens objects present on both pages; text that only exists on the second page can only fade in. The standard fix, used in essentially every morph-driven deck: place the *next* page's copy on the current page just outside the canvas (below), and the *previous* page's copy just outside the opposite edge (above). Each block then slides through the frame instead of blinking, and the deck reads as one continuous surface being scrolled. Objects parked outside the canvas are not rendered but must still exist on both pages with the same identity.+**Give text somewhere to come from.** Morph tweens objects present on both pages; text that only exists on the second page can only fade in. The standard fix is to place the *next* page's copy on the current page just outside the canvas (below), and the *previous* page's copy just outside the opposite edge (above). Each block then slides through the frame instead of blinking, and the deck reads as one continuous surface being scrolled. Objects parked outside the canvas are not rendered but must still exist on both pages and be explicitly paired when deterministic identity matters.-**When morph refuses to match**: PowerPoint pairs objects of the same kind first, so two different shape types, or a shape and a picture, will cross-fade instead of tweening. Authored decks force the pairing by giving both objects an identical custom shape name. The exporter does read a per-object name — `data-pptx-shape-name` on the wrapper — but that attribute is currently specified as **importer metadata** for mirror/preserve packages ([`svg-effects.md`](./svg-effects.md) §6.6), not as an authoring control for generated pages. Until that contract is widened, keep morph pairs the same object kind with matching geometry and `id`, and do not introduce the attribute on generated pages to force a match.+**When Morph refuses to match**: PowerPoint pairs compatible object kinds; a+shape and a picture will cross-fade instead of tweening. For generated pages,+declare the identity through the destination slide's `morph` block (§2.1).+The exporter writes the shared `!!<key>` name after structure processing and+reads the package back. Do not author `data-pptx-shape-name` for this purpose;+that attribute remains importer metadata for mirror/preserve packages+([`svg-effects.md`](./svg-effects.md) §6.6).**Not supported — Slide Zoom / Summary Zoom.** Click-to-jump navigation built on PowerPoint's Zoom objects (the "click a portrait, zoom into that section" pattern) has no exporter path. Build click-driven navigation with `trigger_shape` on ordinary object animations instead, or with plain hyperlinks.@@ -308,7 +387,7 @@ It pairs naturally with a fixed foreground: with image-layout-patterns `#90`, thFour combinations that recur constantly in authored decks. Each is built frommechanisms already defined above — none needs a new capability.-**Carousel** (morph, §3.1) — hold a fixed row of card frames and rotate the *content* through them: on each page every image advances one position, so the card at centre changes while the frames stay put. Morph then slides the images between frames and the row appears to scroll. Requires identical frame geometry and `id`s on every page; only the image assignments change. Scales to any number of images with one page each.+**Carousel** (Morph, §2.1 and §3.1) — hold a fixed row of card frames and rotate the *content* through them: on each page every image advances one position, so the card at centre changes while the frames stay put. Explicitly pair each moving content unit across adjacent pages; the fixed frames stay static and need no pair. Scales to any number of images with one page each.**Odometer / counting numerals** (morph or motion path) — build a vertical strip of digits 0–9 and show one through a fixed window: a masked opening, or a background-filled rectangle above and below ([`image-layout-patterns.md`](./image-layout-patterns.md) `#95`). Shift the strip so the target digit lands in the window, then either morph between two pages or run a `path_up` motion on the strip. Give each digit column a 0.1 s stagger so they settle in sequence rather than in lockstep.@@ -357,6 +436,9 @@ Generated export reads each slide's timing tree back and checks row count/order,trigger, trigger shape, shape target, preset class, resolved effect tuple, native behaviorsignature, duration, and timeline offset. Package validation then checks roottiming placement, unique and valid `p:cTn` ids, and every `p:spTgt` reference.+Deterministic Morph additionally checks the final adjacent slide parts for the+requested `!!` names, one-to-one uniqueness, compatible object types, and a+real Morph-by-object transition on the destination.The writer does not emit `p:bldP` for groups or pictures. Direct-PPTX preservemode tolerates unchanged legacy group/picture `p:bldP` rows from earlier PPTMaster exports; new generated packages remain strict.diff --git a/skills/ppt-master/references/executor-base.md b/skills/ppt-master/references/executor-base.mdindex f7850482..cbe1e5aa 100644--- a/skills/ppt-master/references/executor-base.md+++ b/skills/ppt-master/references/executor-base.md@@ -40,7 +40,7 @@ Always-loaded Executor authority for flat SVG page authoring and behavior shared**Hard rule — discovery does not expand compatibility**: Follow `svg-effects.md` syntax and fallbacks; unsupported blur, blend, mask, dense texture, or skew remains baked/alternative-only.-**Default — resolve cross-page motion here, while pages are still being authored (may override when the deck has no continuous action to express)**: object animation and page transitions are post-processing decisions, but morph is not. It tweens only objects it can match across consecutive slides — same image filename, same group `id`, unchanged container dimensions — so a sequence that should read as one continuous action (slide-in, flip, camera push-in, progressive reveal, camera pan) must be authored as paired pages in `svg_output/` now. A deck that reaches export without them cannot gain the motion by adding a flag; it degrades silently to a cross-fade. Adding pages is a §IX roster change and returns to Strategist for Design Spec repair first.+**Default — resolve cross-page geometry here, while pages are still being authored (may override when the deck has no continuous action to express)**: object effects, page transitions, and Morph pair keys are post-processing decisions, but the two visible endpoint states are not. A sequence that should read as one continuous action (slide-in, flip, camera push-in, progressive reveal, camera pan) must be authored as consecutive pages in `svg_output/` now. Give each continuing endpoint a compatible direct-root group; source and destination ids or geometry may differ because the later motion stage can bind them explicitly through `animations.json`. A deck that reaches export without both states cannot gain the motion by adding a flag. Adding pages is a §IX roster change and returns to Strategist for Design Spec repair first.---diff --git a/skills/ppt-master/references/executor-image.md b/skills/ppt-master/references/executor-image.mdindex 0696bdd6..eda760f5 100644--- a/skills/ppt-master/references/executor-image.md+++ b/skills/ppt-master/references/executor-image.md@@ -25,7 +25,7 @@ Handle images by their status in the Design Spec's Image Resource List. Status e**Reference — preferred pattern, flexible realization**: Read [`image-layout-patterns.md`](./image-layout-patterns.md) once when this branch loads, then resolve every primary/modifier id in each active §VIII/lock row so the Strategist's recommendation is understood. Use it as a strong starting point, but adapt its geometry or choose another catalog/ordinary composition when the actual page can communicate better. Preserve the resource role, file/source, must-use status, crop policy, content, and explicit user/template constraints; a pattern-only change needs no upstream rewrite. Avoid generic left/right repetition.-**Reference — motion-ready image layering, not a constraint**: When the Executor adopts a §IX `Motion suggestion`, or an explicit user requirement calls for focus, comparison, evidence, or reveal order, decide during main SVG authoring whether the fully revealed composition benefits from separate visible semantic units. Useful splits include a stable image field plus annotation/hotspot groups, base and comparison images, a full view plus same-source crop/lens, atmosphere plus evidence, or a static field plus cutout foreground. For ordinary Slide-local content, keep stable framing/background static and wrap each independently revealable unit in a descriptive direct-root `<g id>`. Structured atoms/slots keep their declared boundaries and may serve as units only as-is. If existing legal units or a page transition already carry the communication job, add nothing. Effects, order, and timing belong to the later motion stage.+**Reference — motion-ready image layering, not a constraint**: When the Executor adopts a §IX `Motion suggestion`, or an explicit user requirement calls for focus, comparison, evidence, reveal order, or cross-page continuation, decide during main SVG authoring whether the fully revealed composition benefits from separate visible semantic units. Useful splits include a stable image field plus annotation/hotspot groups, base and comparison images, a full view plus same-source crop/lens, atmosphere plus evidence, or a static field plus cutout foreground. For ordinary Slide-local content, keep stable framing/background static and wrap each independently revealable or cross-page continuing unit in a descriptive direct-root `<g id>`. Structured atoms/slots keep their declared boundaries and may serve as units only as-is. If existing legal units or a page transition already carry the communication job, add nothing. Effects, pairing, order, and timing belong to the later motion stage.**Hard rule — visible-layer timing**: Any crop, lens, scrim, comparison, evidence, or annotation layer required by an adopted motion plan MUST already exist in the final SVG without violating structural contracts. The later stage may regroup ordinary Slide-local content visual-equivalently, but cannot invent or modify missing visible content. If no legal existing unit can serve a non-binding suggestion, simplify it to available units, a page transition, or `none`; an explicit requirement that cannot be represented follows failure recovery.diff --git a/skills/ppt-master/references/strategist.md b/skills/ppt-master/references/strategist.mdindex a25d8737..05ced6a6 100644--- a/skills/ppt-master/references/strategist.md+++ b/skills/ppt-master/references/strategist.md@@ -285,7 +285,7 @@ and intent; explicit user/template requirements remain binding.|---|---|---|| Image composition | Image-as-canvas plus native overlay, editorial crop, collage, cutout, or independently meaningful focus / comparison / evidence units carry the page better than an adjacent rectangle | Propose a permitted image source; when selected, load [`strategist-image.md`](./strategist-image.md), record each resource's exact catalog §VIII `Layout pattern`, and describe the page-level image/overlay relationship in §IX `Layout` / `Images` || Native shape / Merge Shapes | A literal Office symbol, a stock bent/curved relationship contour, or a compound silhouette, negative-space cutout, overlap-only region, or meaningful fragmentation strengthens the visual idea | Add an optional §IX `Native shape suggestion` with the semantic result plus a candidate preset/Connector family or Boolean operation/operands |-| Page transition | A section/state change, spatial continuity, or recorded/self-running flow benefits from motion between pages | Add an optional §IX `Motion suggestion` describing the communication job; leave effect and timing to Executor |+| Page transition | A section/state change, spatial continuity, recorded/self-running flow, or the same semantic object changing position, scale, crop, or state across adjacent pages benefits from motion | Add an optional §IX `Motion suggestion` describing the communication job and any continuing object's start/end semantic states; leave effect, ids, pairing names, and timing to Executor || Object animation | Progressive reveal clarifies sequence, causality, comparison, hierarchy, narration order, full-view → detail, atmosphere → evidence, or hotspot/annotation order | Add an optional §IX `Motion suggestion` describing semantic units/order and any visible image-state relationship; leave group ids, effect, and timing to Executor |Review planned pages through two lenses:diff --git a/skills/ppt-master/scripts/docs/pptx-transitions.md b/skills/ppt-master/scripts/docs/pptx-transitions.mdindex 349ee8dc..1beeec7d 100644--- a/skills/ppt-master/scripts/docs/pptx-transitions.md+++ b/skills/ppt-master/scripts/docs/pptx-transitions.md@@ -202,6 +202,30 @@ failure rather than a silent downgrade.- An extension counts as successful only when the primary Choice contains therequested effect. A fallback alone is not success.+### 3.2 Deterministic Morph Identity++The generated route may add an explicit `slides.<destination>.morph` block to+bind direct-root SVG groups across adjacent slides. The sidecar stable key is+lowered to the same top-level `p:cNvPr@name="!!<key>"` on both final+Slide-local objects. This does not create an Animation Pane row and does not+change either object's numeric shape id.++The full plan is resolved before any SVG conversion so a source group named by+the following slide remains a stable top-level target. Names are written only+after flat/structured/preserve processing has finished; structured slide-shape+roster expectations are then refreshed. Package read-back requires:++- the declared source to be the immediately preceding public slide;+- exactly one `!!<key>` object on each side;+- the same OOXML object container type on both sides;+- Morph by object on the destination; and+- no structural target, same-slide name collision, group/key conflict, or+ undeclared shared `!!` name on a Morph edge.++Morph without an explicit pair block retains PowerPoint's automatic matching+behavior. Explicit pairing is generated-route authoring; direct-PPTX routes+continue to preserve existing object names and transition XML.+---## 4. Route Mapping@@ -270,6 +294,8 @@ Reject:- booleans passed as numeric API values;- multiple logical transition carriers;- unresolved MCE Requires or Ignorable prefixes.+- invalid forced-Morph adjacency, identity uniqueness, object type, or+ destination effect.Read-back must report the canonical native effect and complete effectiveoptions, while keeping the primary Choice child separate from the fallback. Itdiff --git a/skills/ppt-master/scripts/prompt_audit_manifest.json b/skills/ppt-master/scripts/prompt_audit_manifest.jsonindex 184a771a..82dc777c 100644--- a/skills/ppt-master/scripts/prompt_audit_manifest.json+++ b/skills/ppt-master/scripts/prompt_audit_manifest.json@@ -12,7 +12,7 @@"skills/ppt-master/templates/schemas/*.json"],"exclude": [],- "max_tokens": 370000+ "max_tokens": 371100},"file_budgets": {"AGENTS.md": 2350,@@ -33,7 +33,7 @@"skills/ppt-master/references/strategist-template.md": 2100,"skills/ppt-master/templates/design_spec_reference.md": 3125,"skills/ppt-master/templates/spec_lock_reference.md": 2350,- "skills/ppt-master/workflows/generate-pptx.md": 12700,+ "skills/ppt-master/workflows/generate-pptx.md": 12900,"skills/ppt-master/workflows/stages/apply-template-workspace.md": 1800},"load_sets": {@@ -322,7 +322,7 @@"stage.generate.executor.notes"],"files": [],- "max_tokens": 84500+ "max_tokens": 84550},"route.generate.flat-ai-two-types": {"description": "Generate-PPTX context with AI images, representative multi-source custom rendering, and two local types.",@@ -335,7 +335,7 @@"stage.generate.image.ai-two-types"],"files": [],- "max_tokens": 125600+ "max_tokens": 125650},"route.generate.flat-in-hand-image": {"description": "Generate-PPTX context with provided, placeholder, or formula images and no acquisition role.",@@ -347,7 +347,7 @@"stage.generate.executor.notes"],"files": [],- "max_tokens": 98875+ "max_tokens": 98950},"route.generate.flat-web-image": {"description": "Generate-PPTX context with web image acquisition.",@@ -360,7 +360,7 @@"stage.generate.image.web"],"files": [],- "max_tokens": 106125+ "max_tokens": 106200},"route.enhance-native-pptx.audio": {"description": "Enhance Native PPTX with the shared narration-audio stage.",@@ -380,7 +380,7 @@"profile.generate.beautify-pptx"],"files": [],- "max_tokens": 91400+ "max_tokens": 91450},"route.generate.flat-no-image-chart": {"description": "Default flat Generate-PPTX path with chart authoring, native-data replacement, and verification.",@@ -393,7 +393,7 @@"stage.generate.verify-charts"],"files": [],- "max_tokens": 108825+ "max_tokens": 108900},"route.generate.brand-flat-no-image": {"description": "Brand-preset flat Generate-PPTX path without image acquisition.",@@ -405,7 +405,7 @@"stage.generate.template.brand"],"files": [],- "max_tokens": 91500+ "max_tokens": 91550},"route.generate.deck-structured-no-image": {"description": "Deck-preset structured Generate-PPTX path without image acquisition.",@@ -417,7 +417,7 @@"stage.generate.template.deck"],"files": [],- "max_tokens": 101450+ "max_tokens": 101500},"route.generate.layout-structured-no-image": {"description": "Layout-preset structured Generate-PPTX path without image acquisition.",@@ -429,7 +429,7 @@"stage.generate.template.layout"],"files": [],- "max_tokens": 101900+ "max_tokens": 101950},"route.generate.topic-only-flat-no-image": {"description": "Topic research followed by the default flat no-image Generate-PPTX path.",@@ -439,7 +439,7 @@"route.generate.flat-no-image"],"files": [],- "max_tokens": 85900+ "max_tokens": 85950},"stage.generate.executor.flat": {"description": "Incremental flat Executor core with representative multi-source custom mode/style execution.",@@ -549,7 +549,7 @@"stage.generate.executor.image"],"files": [],- "max_tokens": 60525+ "max_tokens": 60550},"stage.generate.topic-research": {"description": "Gap-targeted factual intake stage.",@@ -619,7 +619,7 @@"skills/ppt-master/scripts/docs/pptx-transitions.md","skills/ppt-master/scripts/docs/svg-pipeline.md"],- "max_tokens": 23050+ "max_tokens": 24450},"stage.generate.video-motion-plan": {"description": "Conditional resolved animation-to-video handoff contract.",@@ -635,7 +635,7 @@"files": ["skills/ppt-master/references/animations.md"],- "max_tokens": 4500+ "max_tokens": 5050},"stage.shared.generate-audio": {"description": "Shared narration-audio stage.",@@ -685,7 +685,7 @@"stage.generate.strategist.template"],"files": [],- "max_tokens": 61500+ "max_tokens": 61550},"route.generate.planning-template-ai": {"description": "Explicit template workspace plus confirmed AI-image planning.",@@ -695,7 +695,7 @@"route.generate.planning-ai"],"files": [],- "max_tokens": 74200+ "max_tokens": 74250},"stage.generate.executor.chart": {"description": "Conditional chart/table page execution rules.",diff --git a/skills/ppt-master/workflows/generate-pptx.md b/skills/ppt-master/workflows/generate-pptx.mdindex d51d340f..285de13d 100644--- a/skills/ppt-master/workflows/generate-pptx.md+++ b/skills/ppt-master/workflows/generate-pptx.md@@ -388,7 +388,7 @@ python3 ${SKILL_DIR}/scripts/svg_editor/server.py <project_path> --live --daemonEach completed SVG MUST be a standalone, complete representation of that slide's visible design. Template SVGs and locked planning artifacts may guide construction, but export must not reach back to them to add visible objects omitted from `svg_output/`. Speaker notes, animation, narration, transitions, and direct native-PPTX workflows remain separately owned artifacts/capabilities. Treat §IX `Native shape suggestion` as a candidate, not a command: inspect the actual page construction, then choose the highest-level faithful construction in this order — editable basic primitive, exact Office preset, Merge Shapes Boolean result, and only then a necessary freeform. Load and apply [`native-shape-authoring.md`](../references/native-shape-authoring.md) before materializing an adopted native treatment. Diagram relationships follow the same Shape-first order; do not infer a preset from contour similarity.-**Motion-ready image composition**: When an adopted §IX `Motion suggestion` or explicit user requirement depends on distinct in-slide image states, author those visible states now under [`executor-image.md`](../references/executor-image.md). Give each independently revealable ordinary Slide-local unit a descriptive direct-root `<g id>`; structured atoms/slots retain their declared boundaries and are targetable only when that contract permits. Do not defer required visible content or reshape structure for the later stage. This is SVG preparation, not early animation authoring: effects, order, and timing remain in the conditional custom stage after notes. A page-transition-only suggestion requires no extra SVG layer.+**Motion-ready image composition**: When an adopted §IX `Motion suggestion` or explicit user requirement depends on distinct in-slide image states or cross-slide image continuity, author those visible states now under [`executor-image.md`](../references/executor-image.md). Give each independently revealable or continuing ordinary Slide-local unit a descriptive direct-root `<g id>`; structured atoms/slots retain their declared boundaries and are targetable only when that contract permits. Do not defer required visible content or reshape structure for the later stage. This is SVG preparation, not early animation authoring: effects, pairing, order, and timing remain in the conditional custom stage after notes. A page-transition-only suggestion requires no extra visible layer; deterministic Morph still needs the continuing object as a direct-root group on both pages.`template_reuse_scope: mirror|layout` pages MUST start from the complete `page_layouts` SVG, keep inherited visible objects, and preserve root Master/Layout identity plus stable atoms/slots. Strict preserves that reusable contract; under `layout`, the once-loaded Design Spec's `Template Application` may still authorize carrier text/tspan reflow inside unchanged slot bounds. Adaptive uses the current or new Layout key/name already declared by Strategist. If construction proves that fixed atoms or slot topology/bounds must change, stop and return upstream for Strategist to repair the owning plan and lock, validate and read back the affected fragments, then resume; Executor never mutates `spec_lock.md`. `mirror` changes only visible text values while preserving text/tspan topology and attributes. `style` follows the flat paragraph below without structure metadata.diff --git a/skills/ppt-master/workflows/stages/customize-animations.md b/skills/ppt-master/workflows/stages/customize-animations.mdindex 145d71ca..c8e30a58 100644--- a/skills/ppt-master/workflows/stages/customize-animations.md+++ b/skills/ppt-master/workflows/stages/customize-animations.md@@ -78,14 +78,15 @@ author motion merely to expose a capability.----## 2. Rebuild Semantic Animation Groups When Needed, Then List IDs+## 2. Rebuild Semantic Motion Groups When Needed, Then List IDs-**Mandatory when object animation is in scope — content-first grouping audit**:+**Mandatory when object-targeted motion is in scope — content-first grouping audit**:inspect every slide's visible content against its communication job and speakerflow before treating any top-level `<g>` as an animation anchor. Existinggroups are implementation evidence only. Keep a current group unchanged onlyafter confirming that it already represents exactly one audience-facing reveal-unit. A transition-only plan skips regrouping and group listing.+unit or one continuing Morph object. Only a page-transition plan without+explicit Morph pairs skips regrouping and group listing.| Content condition | Required grouping action ||---|---|@@ -93,6 +94,7 @@ unit. A transition-only plan skips regrouping and group listing.| One reveal unit is scattered across groups or root primitives | Merge or wrap its background, icon, label, value, and supporting text into one direct-root group || A connector or arrow explains entry into a node or stage | Reveal it with the relationship or target unit that makes the connection intelligible || A hero visual, overview graphic, takeaway, or warning has its own communication role | Give it its own semantic group |+| The same semantic object continues across adjacent Morph pages | Isolate each endpoint as one direct-root group and keep both endpoints as compatible object kinds || Several atoms express one inseparable idea | Keep them together; do not animate the atoms separately || Page chrome, structural layers, or static framing | Preserve their structure and exclude them from ordinary animation targets |@@ -162,6 +164,7 @@ Do not read the full scaffold unless it is needed as an editing starting point.| Layer | Config path | Use ||---|---|---|| Page transition | `defaults.transition` or `slides.<slide>.transition` | Control how one slide enters from the previous slide |+| Deterministic Morph pair | `slides.<destination>.morph` | Bind one real source group to one real destination group when semantic identity continues across adjacent slides || Page animation defaults | `defaults.animation` or `slides.<slide>.animation` | Control the default object-animation behavior for animated groups on a slide || Object overrides | `slides.<slide>.groups.<group_id>` | Control order, effect, delay, or duration for a real SVG group |@@ -209,6 +212,13 @@ Runbefore authoring Effect Options. Never infer that one effect accepts anothereffect's direction, shape, pattern, or boolean fields.+For a cross-slide object continuation that must not depend on PowerPoint's+automatic matching, put one explicit `morph` block on the destination slide.+Its `from` slide must be the immediately preceding exported SVG; each stable+pair key binds one source direct-root group id to one destination direct-root+group id. The exporter supplies PowerPoint's `!!` prefix. Use Morph by object;+word/character Morph does not accept this object-pair contract.+### 3.2 Supported In-Slide AnimationsUse the 203 canonical PowerPoint-native keys: 53 `entrance_*`, 33@@ -284,6 +294,8 @@ the deck-wide values copied into every complete new slide block.| `transition.effect` | Slide-specific page transition effect || `transition.effect_options` | Effect-specific native PowerPoint options; requires an explicit slide-specific `transition.effect` || `transition.duration` | Slide-specific page transition duration |+| `morph.from` | Immediately preceding SVG stem for an explicit deterministic Morph transition |+| `morph.pairs.<key>.from` / `.to` | Unique source/destination direct-root group ids that receive the shared PowerPoint name `!!<key>` || `animation.effect` | Slide-specific default object animation effect || `animation.duration` | Slide-specific default object schedule duration || `animation.stagger` | Slide-specific delay between object animation rows |@@ -344,6 +356,10 @@ groups appear only when they diverge**:the defaults. `03_market` lists only divergent groups. Structural chrome staysomitted unless a marker-free legacy name needs an explicitly reviewed override.+Use the complete two-slide deterministic Morph example in+[`animations.md`](../../references/animations.md) §2.1; do not copy the source+group into the destination slide's `groups` block merely to establish identity.+**Forbidden — SVG pollution**: do not add `data-*` animation attributes to SVG files. Animation customization belongs in `animations.json`.---@@ -372,6 +388,10 @@ non-finite, or out-of-range timing parameters; non-positive durations; negativedelay/stagger; invalid order; missing slides/groups; and structural-layertargets fail validation. Transition validation remains strict. None of thesefailures substitutes a fallback effect or silently drops a requested target.+Deterministic Morph also rejects non-adjacent source slides, missing or+ambiguous direct-root groups, conflicting or undeclared shared keys, non-object+Morph, and any target that does not remain one compatible Slide-local object+after structure processing.Generate Step 7 export reads back row order, trigger, target, resolved effect,duration, offset, timing placement, IDs, and shape references. Narration