Skip to content

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(workflow): resolve page carriers before resource preparation

hugohe34c065e3fcae6
diff --git a/docs/rules/prompt-style.md b/docs/rules/prompt-style.md
index 6287e4dd..0ef3fade 100644
--- a/docs/rules/prompt-style.md
+++ b/docs/rules/prompt-style.md
@@ -102,8 +102,8 @@ Constraint strength and decision ownership are independent. Preserve this chain
| Layer | Owns |
|---|---|
| User / initial materials | Supplied facts/assets, desired outcome, exclusions, and permission boundaries remain authoritative |
-| Strategist / plan + preparation | Assess material sufficiency; trigger permitted topic research and retain its research/provenance pair without expanding adopted webpage URLs; decide the approved content, resources, keys, identity anchors, and exact page roster; recommend high-level composition, visual focus, and continuity as Reference when useful, without selecting a local authoring capability or element geometry; materialize the planned project-local inventory or record an explicit `Needs-Manual` dependency before execution. For icons, prepare a curated project pool with broad semantic fit rather than assigning files to pages |
-| Executor / realization | Use only prepared project-local assets; preserve approved content, resources, and identity anchors; realize them through geometry, composition, hierarchy, and treatment. Discover and invoke local deterministic authoring capabilities without an upstream capability selection. Consider each field explicitly labeled `suggestion` or Reference, then adopt, adapt, or decline it while preserving its semantic job and every binding constraint. For icons, the complete `<project>/icons/` pool is prepared material; `icons.inventory` is a curated bundled-pool index, not a page-use plan or whitelist, and Executor chooses prepared icons per page without a coverage quota. Sparse local font/color garnish is allowed only while non-structural and non-recurring |
+| Strategist / plan + preparation | Assess material sufficiency; trigger permitted topic research and retain its research/provenance pair without expanding adopted webpage URLs; decide the approved content, resources, keys, identity anchors, and exact page roster. During that roster composition, resolve each page's semantic carrier mix—background, text/lettering, native-geometry/relationship jobs, imagery/symbols, and data carriers—in one pass before deriving external-resource rows. Recommend high-level composition, visual focus, and continuity as Reference when useful, without selecting a local authoring capability or element geometry; materialize the planned project-local inventory or record an explicit `Needs-Manual` dependency before execution. For icons, prepare a curated project pool with broad semantic fit rather than assigning files to pages |
+| Executor / realization | Use only prepared project-local assets; preserve approved content, resources, and identity anchors; realize each page by resolving the actual carrier combination, geometry, composition, hierarchy, and treatment together before coordinates. Discover and invoke local deterministic authoring capabilities without an upstream capability selection. Consider each field explicitly labeled `suggestion` or Reference, then adopt, adapt, or decline it while preserving its semantic job and every binding constraint. For icons, the complete `<project>/icons/` pool is prepared material; `icons.inventory` is a curated bundled-pool index, not a page-use plan or whitelist, and Executor chooses prepared icons per page without a coverage quota. Sparse local font/color garnish is allowed only while non-structural and non-recurring |
**Hard rule — capability knowledge precedes selection**: physical file
boundaries do not imply runtime lazy-loading. A role loads the complete decision
diff --git a/skills/ppt-master/references/executor-base.md b/skills/ppt-master/references/executor-base.md
index 1f1e95a3..74850b4b 100644
--- a/skills/ppt-master/references/executor-base.md
+++ b/skills/ppt-master/references/executor-base.md
@@ -164,7 +164,7 @@ Before drawing each page, look up its entry in `page_rhythm` (key format `P<NN>`
- **Main-agent ownership**: SVG generation must run in the main agent (not sub-agents) — pages share upstream context for cross-page visual continuity
- **Generation rhythm**: P01 → first-page gate → uninterrupted remaining pages → final gate, in one context without batches or mid-run checker calls.
- **Fact provenance**: when a §IX page lists `Fact IDs`, resolve each ID from `sources/*.facts.json` and keep the claim/value unchanged. Render a compact source footnote using the source name and a short URL/domain when space permits; when speaker notes are enabled, state the attribution naturally there too. When §IX says `Data class: scenario`, place a visible localized `Scenario data` / `情景数据` label adjacent to the affected KPI/chart and, when notes are enabled, state naturally there that the number is illustrative. Never attach an external fact ID to scenario data or let an unlabeled invented KPI look factual.
-- **Default — compose compatible carriers by page job (may use any suitable subset)**: background paint, native shapes, editable text, prepared photos/scenes, transparent illustration slices, decorative lettering, icons, and visualizations may share one page. Use only prepared resources; choose their combination, visual weight, and z-order from the page message and hierarchy. The resolved style controls treatment and emphasis, never carrier eligibility, image source, or the complete native construction vocabulary.
+- **Mandatory — resolve the page carrier mix before coordinates**: decide background paint/field, editable text and optional lettering, native geometry/lines, prepared photos/scenes/illustration/icon assets, and applicable visualizations in one page-level composition decision. Use any suitable subset; omitting a carrier remains valid. Do not finish a text/container layout and then treat the other families as optional decoration. Use only prepared external resources, preserve every binding resource job and constraint, and choose the actual combination, visual weight, z-order, and local native construction from the page message and hierarchy. The resolved style controls treatment and emphasis, never carrier eligibility, image source, or the complete native construction vocabulary.
- **Default — stage each page with the style's composition geometry (may override when another page-fit move is stronger)**: an SVG page is a canvas, not a DOM. Resolve the page-scale move from `spec_lock.md`: a preset uses that selected style's §1 `Composition geometry`; `custom` executes `visual_style_behavior` first, then uses §1 geometry only from exact `visual_style_references` that the behavior assigns a shape or composition job. Other bases contribute only their assigned job, and an unreferenced novel custom follows its behavior alone. Treat every listed move as generative vocabulary rather than a finite menu, then apply [`native-shape-authoring.md`](./native-shape-authoring.md) §2.1's shared exact-fit geometry gate.
- **Default — consider the planned motif direction (may override when another coherent expression better serves the deck)**: when §III `Theme` recommends a cross-page motif or element family, decide whether it earns a continuity job. If adopted, keep its reuse coherent while varying scale, crop, density, position, and content interaction by page role; otherwise adapt or decline it and establish a more fitting style-consistent expression. An explicit user/template motif remains binding.
- **Inherited containers**: preserve meaningful template frames; restyle radius, fill, stroke, and depth from the active Design Spec and `spec_lock.md`. Selected Chart/Table reference adaptation is owned by [`executor-visualization.md`](./executor-visualization.md); preview effects never override project styling or structural roles.
diff --git a/skills/ppt-master/references/strategist-image.md b/skills/ppt-master/references/strategist-image.md
index 6d86b9ed..55971665 100644
--- a/skills/ppt-master/references/strategist-image.md
+++ b/skills/ppt-master/references/strategist-image.md
@@ -10,7 +10,7 @@ Always-on Stage-2 rendering-candidate extension plus confirmed image elaboration
## 1. Proposed and Confirmed Image Plan
-Before Stage 2, construct rendering candidates independently of the proposed source set. After confirmation, map the confirmed source set through [`strategist.md`](./strategist.md) §h and honor explicit `image_notes` roles; this module never adds a source. The confirmed non-`none` set is an allowed acquisition boundary, not coverage: use a suitable subset and leave irrelevant sources unused. Explicit must-use sources, assets, or page roles remain required. Asset inventory and judgment determine unconfirmed count, subject, placement, and composition without substituting an unconfirmed source.
+Before Stage 2, construct rendering candidates independently of the proposed source set. After confirmation, use this module within [`strategist.md`](./strategist.md)'s one-pass page carrier planning: run its eligibility and fit decisions inside that pass, then plan and route only the resulting image, lettering, and illustrated-icon jobs; map the confirmed source set through §h and honor explicit `image_notes` roles. This module never reopens the complete carrier mix as a separate pass, materializes a file, or adds a source. The confirmed non-`none` set is an allowed acquisition boundary, not coverage: use a suitable subset and leave irrelevant sources unused. Explicit must-use sources, assets, or page roles remain required. Asset inventory and judgment determine unconfirmed count, subject, placement, and composition without substituting an unconfirmed source.
For illustration, confirmed `none` stops and explicit user intent wins. Otherwise the locked visual style's `Illus.` propensity (`core` / `supportive` / `sparse`) tunes centrality and recurrence after the per-page composition scan; it never restricts eligible page types, element scale, or carrier combinations. When illustration is active, prefer one coherent family that can serve the actual page jobs, including recurring title/corner chrome, dominant anchors, supporting figures, and accents. A compact icon cue does not discharge a scene, subject, or visual-weight job that a photo or illustration family would serve.
diff --git a/skills/ppt-master/references/strategist.md b/skills/ppt-master/references/strategist.md
index 9bcc5a80..78fd0ce7 100644
--- a/skills/ppt-master/references/strategist.md
+++ b/skills/ppt-master/references/strategist.md
@@ -355,12 +355,21 @@ no-AI or editable-only requirements win. Execution follows
The module owns AI rendering alternatives, acquisition paths, resource rows, prompt depth, page roles, and placement intent.
-### Presentation Capability & Visualization Selection (Non-blocking — Strategist recommends, no user confirmation needed)
-
-**Per-page capability review**: Before §IX, consider this menu without a usage
-quota. Use existing fields for semantic intent; omit unused lines and
-implementation parameters. Executor may adapt/decline a `Motion suggestion`
-while preserving content and intent; explicit user/template requirements bind.
+### Page Carrier and Capability Planning (Non-blocking — Strategist recommends, no user confirmation needed)
+
+**Mandatory — one-pass page carrier planning**: During the same §IX roster
+composition, resolve each page's complete semantic carrier mix—background
+field, editable text and optional lettering, native-geometry/relationship jobs,
+photos/scenes/illustrations/icons, and applicable visualizations—before
+deriving §VIII resource rows. Decide the primary, structural, and supporting
+jobs together; do not finish a text/container layout and then treat the other
+families as optional decoration. Use existing §VI/§VIII/§IX fields: keep the
+ordinary icon basis and prepared-pool plan in §VI, and add an image, lettering,
+or illustrated-icon resource to §VIII only when the page mix assigns it a
+plausible job. This creates no new field or candidate inventory; omitting any
+carrier remains valid after the same review. Macro composition recommendations
+remain Reference; planned resource identities/jobs and explicit user/template
+requirements retain their existing authority.
**Hard rule — native construction stays downstream**: record the page's
semantic relationships, prepared resource roles, and any useful macro
@@ -407,12 +416,12 @@ Classify by information model, never source PowerPoint object type:
**Mandatory — relationship handoff**: keep every qualitative relationship in §IX free prose; never serialize grammar atoms, coordinates, or named models. Executor makes the per-page Structure decision at runtime.
-**Mandatory — complete Chart/Table capability review**: Before §IX, compare
-every page's information model against every `Pick` / `Skip` rule in the two
-already-loaded live registries. The registries expose the possibility space;
-they are neither usage quotas nor whitelists. Skip custom objects and
-qualitative composition. Retain `no-template-match` when no registered
-reference fits.
+**Mandatory — complete Chart/Table capability review**: During the same §IX
+roster composition, compare every page's information model against every
+`Pick` / `Skip` rule in the two already-loaded live registries. The registries
+expose the possibility space; they are neither usage quotas nor whitelists.
+Skip custom objects and qualitative composition. Retain `no-template-match`
+when no registered reference fits.
**Selection**:
diff --git a/skills/ppt-master/workflows/generate-pptx.md b/skills/ppt-master/workflows/generate-pptx.md
index cde903a4..cca2d70e 100644
--- a/skills/ppt-master/workflows/generate-pptx.md
+++ b/skills/ppt-master/workflows/generate-pptx.md
@@ -510,7 +510,7 @@ state and §X records its source/verbatim policy. After Gate 2, before Step 5 or
split handoff, write the exact segments once to `notes/total.md`; split them only
in Step 7.1. This is frozen production input, not a third planning artifact.
-**✅ Internal checkpoint — Phase deliverables complete**: facts read; confirmation consumed once; final Stage-2 production fields resolved (generation mode, refine-spec, proactive choices, and conditional AI path); mathematical content recorded where applicable; Design Spec passed Gate 1; enabled refinement approved; lock derived from it; split handling resolved; communication and every §IX `Audience move` validated. Do not print this checklist; auto-proceed.
+**✅ Internal checkpoint — Phase deliverables complete**: facts read; confirmation consumed once; final Stage-2 production fields resolved (generation mode, refine-spec, proactive choices, and conditional AI path); mathematical content recorded where applicable; every §IX page resolved its one-pass carrier mix and §VIII contains only assigned external image-resource jobs; Design Spec passed Gate 1; enabled refinement approved; lock derived from it; split handling resolved; communication and every §IX `Audience move` validated. Do not print this checklist; auto-proceed.
---
@@ -518,7 +518,7 @@ in Step 7.1. This is frozen production input, not a third planning artifact.
🚧 **GATE**: Step 4 complete; `<project_path>/design_spec.md` and `<project_path>/spec_lock.md` both exist. If either required artifact is missing, stop before any acquisition or generation and follow [`failure-recovery.md`](governance/failure-recovery.md) §3.
-> **Trigger**: At least one row in the resource list has `Acquire Via: ai`, `web`, and/or `slice`, or any row is a pending prepared derivative declared by `Reference: Derived from <canonical bare filename>; treatment=...`. A prepared-user-only plan skips this step only when it has no derivative to materialize; `placeholder` rows alone do not trigger it. A permitted but unused image source creates no row and does not trigger acquisition. If §VIII omits a source, asset, or page role that `image_notes` explicitly requires, the Design Spec is incomplete; return to Step 4 Gate 1, repair it from the retained final state, and re-author the affected lock anchors from context. Do not reopen `result.json` during this check.
+> **Trigger**: §VIII is Step 4's committed external image-resource result, not a candidate inventory. At least one row has `Acquire Via: ai`, `web`, and/or `slice`, or one row is a pending prepared derivative declared by `Reference: Derived from <canonical bare filename>; treatment=...`. A prepared-user-only plan skips this step only when it has no derivative to materialize; `placeholder` rows alone do not trigger it. A permitted but unused image source creates no row and does not trigger acquisition. If §VIII omits a source, asset, or page role that `image_notes` explicitly requires, the Design Spec is incomplete; return to Step 4 Gate 1, repair it from the retained final state, and re-author the affected lock anchors from context. Do not reopen `result.json` during this check.
**Failure recovery**: stop/continue behavior for AI/web/slice/image-readiness failures is defined in [`workflows/governance/failure-recovery.md`](governance/failure-recovery.md). This Step keeps the acquisition procedure.
diff --git a/skills/ppt-master/workflows/profiles/quick-generate.md b/skills/ppt-master/workflows/profiles/quick-generate.md
index 7a6d3a1c..7c80e0b3 100644
--- a/skills/ppt-master/workflows/profiles/quick-generate.md
+++ b/skills/ppt-master/workflows/profiles/quick-generate.md
@@ -332,29 +332,44 @@ meaningful pause—chapter transition, standalone emphasis, or SCQA bridge—and
must stand alone. Create no artifact, checkpoint, lock, or second
authoring/review pass.
-**Mandatory — capability scan, not a coverage quota**: for every page, consider
-the complete carrier menu once and choose only the forms that communicate its
-content best. A decision to use none of a carrier is valid; skipping the scan
-because Quick is expected to be faster is not.
-
-**Reference — carriers compose, not compete**: Any page may combine a suitable subset of background paint, native shapes, editable text, photos/scenes, transparent illustration elements, decorative lettering, icons, and visualizations. Outside explicit requirements, no carrier is mandatory or mutually exclusive. The resolved style controls treatment, visual weight, and recurrence; it never decides carrier eligibility, image source, or the complete native construction vocabulary. A compact icon cue does not discharge a scene, subject, or visual-weight job that a photo or illustration family would serve.
+**Mandatory — one-pass page carrier resolution, not a coverage quota**: During
+the same transient-roster resolution and before resource preparation or
+coordinates, decide each page's complete mix of background, editable text and
+optional lettering, native geometry and lines, photos/scenes,
+illustrations/icons, and applicable visualizations. Decide their primary,
+structural, and supporting jobs together; do not finish a text/container layout
+and then treat the other families as optional decoration. Only selected image,
+lettering, or illustrated-icon jobs with plausible page roles create image
+resources; ordinary SVG/emoji icons retain their curated-pool boundary.
+Omitting any carrier is valid after this review; Quick speed, resolved style,
+or easier syntax never skips it.
+
+**Reference — carriers compose, not compete**: Use any suitable subset from the resolved mix; outside explicit requirements, no carrier is mandatory or mutually exclusive. The resolved style controls treatment, visual weight, and recurrence; it never decides carrier eligibility, image source, or the complete native construction vocabulary. A compact icon cue does not discharge a scene, subject, or visual-weight job that a photo or illustration family would serve.
**Hard rule**: Credentials do not decide image need or the initial carrier plan. Do not inspect backend configuration or probe a provider before planning. Web acquisition retains zero-config providers; actual AI generation capability is resolved only during resource preparation, where the declared Quick no-AI replan below owns automated exhaustion.
**Default — visual grounding before a zero-image deck (may override when the user forbids images or charts / native SVG fully carry the visual burden)**: When the audience must recognize, experience, compare, or choose an externally verifiable subject, place, product, or setting, plan supplied/extracted or web images. Prepare AI imagery proactively where invented or deliberately stylized expression materially improves a planned visual job; this may be a complete image or transparent elements composed with other page carriers. This is a semantic decision, not an image-count quota.
-**Default — prepare a composable illustration family when it strengthens the deck (may omit when no page benefits)**: Resolve the family before SVG authoring. Elements may repeat unchanged as title/corner chrome or vary as dominant anchors, supporting figures, and accents on any suitable page. Batch compatible elements through Illustration Sheets, split only for geometry/detail/quality conflicts, and keep final page composition in SVG under [`image-generator.md`](../../references/image-generator.md) §4.3.
-
-**Default — consider AI illustrated icons when they strengthen compact semantic
-cues**: When the user has not forbidden AI, prepare useful cues as transparent
-slices under `images/`. Leave grouping, count, and coexistence with SVG icons
-to the page and deck fit under [`image-generator.md`](../../references/image-generator.md)
-§4.3; apply no coverage quota and never treat the slices as SVG inventory.
-
-**Mandatory — proactive AI decorative lettering**: When the user has not
-forbidden AI, scan the frozen roster for display strings
-anywhere in the deck. Exactly two questions decide eligibility: is that wording
-stable, and would an artistic treatment communicate better than native type?
+**Mandatory — materialize a selected composable illustration family**: When
+the carrier resolution selects one, resolve the family before SVG authoring.
+Elements may repeat unchanged as title/corner chrome or vary as dominant
+anchors, supporting figures, and accents on any suitable page. Batch compatible
+elements through Illustration Sheets, split only for geometry/detail/quality
+conflicts, and keep final page composition in SVG under
+[`image-generator.md`](../../references/image-generator.md) §4.3.
+
+**Mandatory — materialize selected AI illustrated-icon jobs**: When the carrier
+resolution selects them and the user has not forbidden AI, prepare useful cues
+as transparent slices under `images/`. Leave grouping, count, and coexistence
+with SVG icons to the page and deck fit under
+[`image-generator.md`](../../references/image-generator.md) §4.3; apply no
+coverage quota and never treat the slices as SVG inventory.
+
+**Mandatory — proactive AI decorative lettering**: During that same one-pass
+carrier resolution, when the user has not forbidden AI, scan the frozen roster
+for display strings anywhere in the deck. Exactly two questions decide
+eligibility: is that wording stable, and would an artistic treatment
+communicate better than native type?
Page role, string length, line count, and kind of noun never filter candidates —
a cover hook, chapter word, place or product name, dish or exhibit name, year,
hero number, pull quote, or recurring motif word all qualify when both answers
@@ -400,21 +415,21 @@ generation capability is resolved during resource preparation, not eligibility.
This carrier menu does not satisfy or replace the per-page Structure decision in §3.
-**Mandatory — per-image source decision, never inherited from the resolved style**: Outside Image to PPTX, whose closed page surface owns its reconstruction assets, decide each page image's source separately — supplied/extracted, web, AI, or slice. Prefer a supplied/extracted asset that already carries authority; use web when an externally verifiable subject must appear as itself; use AI when invented or deliberately stylized expression matters more than documentary identity. Mixed sources across one deck are normal.
+**Mandatory — per-image source decision, never inherited from the resolved style**: During that same carrier resolution, outside Image to PPTX whose closed page surface owns its reconstruction assets, decide each selected page image's source separately — supplied/extracted, web, AI, or slice. Prefer a supplied/extracted asset that already carries authority; use web when an externally verifiable subject must appear as itself; use AI when invented or deliberately stylized expression matters more than documentary identity. Mixed sources across one deck are normal.
Resolving one visual style, `Illus.` propensity, or generated-image rendering resolves how imagery **looks**; it resolves the source for no page. A named place, building, product, artwork, person, or other externally verifiable subject stays a web/supplied candidate no matter how illustrative the deck looks. When such a subject is deliberately not shown as itself, state that choice and its reason in the final report rather than leaving it implicit.
-**Mandatory — complete Chart/Table capability review**: Compare every page's
-information model against every `Pick` / `Skip` rule in the two already-loaded
-live registries. The registries expose the possibility space; they are neither
-usage quotas nor whitelists. Do not select a catalog reference for qualitative
-shape composition. Choose at most one primary Chart/Table `family/key` for a
-page, validate it with `visualization_recall.py validate`, and keep its short
-purpose only in active context. Retain `no-template-match` when none fits. The
-reference remains flexible: it does not lock final type, geometry, style, or
-native output. Describe an embedded child Chart/Table and every qualitative
-relationship in the page's active decision rather than selecting another
-primary reference.
+**Mandatory — complete Chart/Table capability review**: During that same
+carrier resolution, compare every page's information model against every
+`Pick` / `Skip` rule in the two already-loaded live registries. The registries
+expose the possibility space; they are neither usage quotas nor whitelists. Do
+not select a catalog reference for qualitative shape composition. Choose at
+most one primary Chart/Table `family/key` for a page, validate it with
+`visualization_recall.py validate`, and keep its short purpose only in active
+context. Retain `no-template-match` when none fits. The reference remains
+flexible: it does not lock final type, geometry, style, or native output.
+Describe an embedded child Chart/Table and every qualitative relationship in
+the page's active decision rather than selecting another primary reference.
Actual information models determine the loaded execution branches. Give every independent
Chart/Table a page-local semantic `kebab-case` object key; keep its
`<object-key>=yes|no` native-ready decision and any promoted chart-verification