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
feat(checker,prompts): replace the first-page gate with a P05 early gate shared by both routes
hugohe3ab6f8f559ee7
diff --git a/docs/faq.md b/docs/faq.mdindex 67544953..6357fd89 100644--- a/docs/faq.md+++ b/docs/faq.md@@ -367,7 +367,7 @@ scaffolding; structured Quick retains installed per-Master source Themes whenavailable and infers Master title/body size defaults from semantic slotcarriers. It does not promise the samedesign decisions or wall-clock time as Default because it has no confirmed-design contract, first-page calibration, or resumable decision history.+design contract or resumable decision history.## Q: Will long decks blow out the context window in one shot?diff --git a/docs/roadmap.md b/docs/roadmap.mdindex 7302435e..af00b3f1 100644--- a/docs/roadmap.md+++ b/docs/roadmap.md@@ -170,8 +170,9 @@ In the cost / speed / quality triangle this project picks **quality**. ~20 minutWill do: indirect improvements via prompt slimming / cache hit rate.Explicit `quick-generate` is a user-selected workflow shortcut: it skips-Strategist, confirmation, and the first-page gate, then authors SVG, runs one-lockless final quality gate, and exports the final PPTX. Because the whole+Strategist and confirmation, then authors SVG, runs the shared mid-roster+early gate on rosters of seven or more pages plus one lockless final quality+gate, and exports the final PPTX. Because the wholeplanning phase no longer happens — the Strategist reference load, the`design_spec.md` / `spec_lock.md` artifacts, and the staged confirmation roundtrip — its token cost disappears with it, while per-page SVG authoring is@@ -180,9 +181,9 @@ capabilities and the shared SVG/resource blocking standards. It does not runSpec Lock alignment checks or derive a current-project Theme from a lock. FlatQuick keeps converter-default Theme scaffolding; structured Quick retainsinstalled per-Master source Themes when available and infers Master title/body-size defaults from semantic slot carriers. Without a confirmed design contract, first-page-calibration, or resumable decision history it does not promise the same design-decisions or wall-clock time as Default.+size defaults from semantic slot carriers. Without a confirmed design contract+or resumable decision history it does not promise the same design decisions or+wall-clock time as Default.The default Generate pipeline continues to prefer quality over speed.diff --git a/docs/technical-design.md b/docs/technical-design.mdindex 0fc5cd41..6ce4ec98 100644--- a/docs/technical-design.md+++ b/docs/technical-design.md@@ -62,9 +62,9 @@ base plus subject or foreground layers. Multiple non-overlapping objects withpadded bounding boxes may share one generated plate, then be separated intoindependent objects through grid slicing or SVG bounding-box crops. Awhole-slide screenshot skin remains forbidden. Quick bypasses separate-planning/confirmation, the first-page gate, and preview finalization; source-understanding and resource preparation still run as needed, and one lockless-final quality gate remains. Exactly one runtime procedure is loaded.+planning/confirmation and preview finalization; source understanding and+resource preparation still run as needed, and the early gate on long rosters+plus one lockless final quality gate remain. Exactly one runtime procedure is loaded.Create Template has its own workspace lifecycle, while Edit Native PPTX importsan existing deck into a source-preserving round-trip workspace; the route tablelater in this document covers all three top-level routes.@@ -93,9 +93,9 @@ User Input (PDF/DOCX/XLSX/PPTX/URL/Markdown/topic text)↓[Executor]├── Live preview starts and stays available during generation- ├── Generate P01 → svg_quality_checker.py --stage first-page --json- ├── Use P01 as a method sample to classify the complete issue set; fix every blocking error and selected advisory warnings- ├── Generate P02 through the final page continuously → svg_output/ (one page gate per first-exercised `not-exercised` item; no other checker calls in between)+ ├── Generate P01 through P05 → svg_quality_checker.py --stage early --json (rosters of six or fewer pages skip this gate)+ ├── Use the authored pages as a method sample to classify the complete issue set; fix every blocking error and selected advisory warnings+ ├── Generate the remaining pages continuously → svg_output/ (no checker calls in between)├── [Quality Check] svg_quality_checker.py --stage final --json (mandatory — 0 errors; warnings are non-blocking)└── [Speaker notes, conditional] effective Speaker Notes outcome enabled → complete notes/total.md↓@@ -220,7 +220,7 @@ Post-processing scripts convert supported SVG vector elements to DrawingML. Text`quick-generate` retains the source-understanding and resource-preparation workneeded by the deck, but skips the separate Strategist planning/confirmation-phase, first-page gate, and `finalize_svg.py`. The current agent follows every+phase and `finalize_svg.py`. The current agent follows everyexplicit user requirement and makes the remaining content, page, visual, andresource decisions automatically in one active context. It resolves a mode andvisual style, considers the complete carrier menu—images, transparent@@ -561,7 +561,7 @@ Generate routing selects one runtime authority before loading its procedure: [`wGlobal stop/continue policy is authoritative in [`failure-recovery.md`](../skills/ppt-master/workflows/governance/failure-recovery.md); its concrete recovery matrix and resume pointers currently cover Generate PPTX. This section does not duplicate those rules.-Three boundaries are especially important to the architecture. First, page SVGs must be hand-authored by the current main agent, one page at a time; writing a Python/Node/shell generator to emit pages is prohibited because the resulting deck loses cross-page judgment and visual continuity. Second, default-pipeline cadence is `P01 → first-page gate → remaining pages (one page gate per first-exercised not-exercised item) → final gate`. P01 is a method sample: execution emits a `gate-signal`, then carries resolved method rules into later pages; no page batch interrupts P02 through the final page, and the only mid-run checker call is the first-exercise page gate. `quick-generate` retains serial hand-authoring and uses P01 as its visual-system calibration baseline, skips the first-page gate, and runs one lockless final gate after the complete roster exists. Third, routing is deterministic: raw PPTX template requests, beautify-profile requests, Edit Native PPTX requests, custom-animation stages, live-preview stages, and other registered triggers are not turned into open-ended user route questions when the repository already defines the boundary.+Three boundaries are especially important to the architecture. First, page SVGs must be hand-authored by the current main agent, one page at a time; writing a Python/Node/shell generator to emit pages is prohibited because the resulting deck loses cross-page judgment and visual continuity. Second, pipeline cadence is `P01–P05 → early gate (skipped on rosters of six or fewer pages) → remaining pages → final gate`. The first five pages are a method sample: execution emits a `gate-signal`, then carries resolved method rules into later pages; no page batch or mid-run checker call interrupts the remaining pages, and every checker invocation follows a gate point or one consolidated repair pass. `quick-generate` retains serial hand-authoring, uses P01 as its visual-system calibration baseline, shares the same early gate on rosters of seven or more pages, and runs one lockless final gate after the complete roster exists. Third, routing is deterministic: raw PPTX template requests, beautify-profile requests, Edit Native PPTX requests, custom-animation stages, live-preview stages, and other registered triggers are not turned into open-ended user route questions when the repository already defines the boundary.In the default pipeline, the Role Switching Protocol (mandated read of `references/<role>.md` before mode change) serves two reinforcing purposes: forcing fresh role instructions into context overrides drift from the previous mode, and the visible marker in the conversation transcript creates an audit trail so the user can see when the agent moved between modes — critical when reviewing why a particular decision was made.@@ -699,7 +699,7 @@ The architectural reasons worth knowing here:**Why placed before post-processing, not after.** Post-processing rewrites SVG (icon embedding, image inlining), which would mask source-level violations. Reading `svg_output/` directly catches the Executor's actual output, before any cleanup that might paper over a bug.-**Why the default pipeline has first-page and final checks.** The P01 gate treats the first page as a method sample: it separates method-level, page-local, and not-yet-exercised capabilities, reviews the complete issue set, then fixes every blocking error and selected advisory warnings in one consolidated loop. After it passes, P02 through the final page are generated continuously; the first page that exercises a listed `not-exercised` item runs one page gate, and only the final gate inspects the complete authored set before release. The first calibrates method, while the second verifies the whole deck, so neither substitutes for the other.+**Why the pipeline has early and final checks.** The early gate treats the first five pages as a method sample: it separates method-level, page-local, and not-yet-exercised capabilities, reviews the complete issue set, then fixes every blocking error and selected advisory warnings in one consolidated loop; rosters of six or fewer pages skip it and go straight to the final gate. After it passes, the remaining pages are generated continuously without checker calls, and only the final gate inspects the complete authored set before release. The first calibrates method, while the second verifies the whole deck, so neither substitutes for the other.**Severity model: errors block, warnings do not, and there is intentionally no auto-fix.** Severity is determined by whether the input maps deterministically and legally, not merely by whether it uses the recommended spelling:diff --git a/docs/zh/faq.md b/docs/zh/faq.mdindex 5975067f..f65f2d1b 100644--- a/docs/zh/faq.md+++ b/docs/zh/faq.md@@ -314,7 +314,7 @@ python3 skills/ppt-master/scripts/svg_to_pptx.py <project> -a auto --animation-t原生图表 / 表格替换、讲稿、动效、旁白和诊断等普通导出能力仍可按需使用;讲稿、自定义对象动画和旁白默认关闭,Agent 可在用户要求或 deck 确有需要时自动启用,不会打开确认流程。使用默认输出路径时会生成普通 postflight 报告,并把 `svg_output/` 备份到 `backup/`;显式指定输出路径时沿用普通流程不创建备份的行为。页数本身既不会自动触发,也不会阻止快速生成。-Quick 省略独立规划阶段,但仓库没有文档化的测量或保证表明它会降低多少 token;逐页 SVG 创作仍然存在。Quick 保留同一套页面级视觉与资源创作能力,以及共享的 SVG / 资源阻塞标准;它不运行 Spec Lock 对齐检查,也不从 lock 派生当前项目 Theme。Flat Quick 保留转换器默认 Theme 脚手架;structured Quick 在工作区提供时保留逐 Master 源 Theme,并从语义 slot carrier 推导 Master 标题/正文字号默认值。由于没有已确认的设计契约、首屏校准或可恢复的决策历史,它不承诺与 Default 作出相同设计,也不承诺具体耗时。+Quick 省略独立规划阶段,但仓库没有文档化的测量或保证表明它会降低多少 token;逐页 SVG 创作仍然存在。Quick 保留同一套页面级视觉与资源创作能力,以及共享的 SVG / 资源阻塞标准;它不运行 Spec Lock 对齐检查,也不从 lock 派生当前项目 Theme。Flat Quick 保留转换器默认 Theme 脚手架;structured Quick 在工作区提供时保留逐 Master 源 Theme,并从语义 slot carrier 推导 Master 标题/正文字号默认值。由于没有已确认的设计契约或可恢复的决策历史,它不承诺与 Default 作出相同设计,也不承诺具体耗时。## Q: 长 PPT 一次生成会不会上下文爆掉?diff --git a/docs/zh/roadmap.md b/docs/zh/roadmap.mdindex d7ac8b08..37d2a4f5 100644--- a/docs/zh/roadmap.md+++ b/docs/zh/roadmap.md@@ -169,7 +169,7 @@ Generate PPTX 路线围绕完全可控的新形状、文字与版式创作。结会做:通过 prompt 精简 / 缓存命中率提升带来的间接改善。-显式 `quick-generate` 是用户主动选择的工作流短路:它跳过 Strategist、确认和首屏 gate,随后创作 SVG、运行一次无锁最终质量门,再导出最终 PPTX。由于整个规划阶段不再发生——Strategist 系 reference 的加载、`design_spec.md` / `spec_lock.md` 的写入、分步确认往返——这部分 token 开销随之消失,而逐页 SVG 创作的开销不变。它保留同一套页面级视觉与资源创作能力,以及共享的 SVG / 资源阻塞标准;它不运行 Spec Lock 对齐检查,也不从 lock 派生当前项目 Theme。Flat Quick 保留转换器默认 Theme 脚手架;structured Quick 在工作区提供时保留逐 Master 源 Theme,并从语义 slot carrier 推导 Master 标题/正文字号默认值。由于没有已确认的设计契约、首屏校准或可恢复的决策历史,它不承诺与 Default 作出相同设计,也不承诺具体耗时。+显式 `quick-generate` 是用户主动选择的工作流短路:它跳过 Strategist 和确认,随后创作 SVG,在 7 页及以上 roster 上运行共用的 early gate,再运行一次无锁最终质量门并导出最终 PPTX。由于整个规划阶段不再发生——Strategist 系 reference 的加载、`design_spec.md` / `spec_lock.md` 的写入、分步确认往返——这部分 token 开销随之消失,而逐页 SVG 创作的开销不变。它保留同一套页面级视觉与资源创作能力,以及共享的 SVG / 资源阻塞标准;它不运行 Spec Lock 对齐检查,也不从 lock 派生当前项目 Theme。Flat Quick 保留转换器默认 Theme 脚手架;structured Quick 在工作区提供时保留逐 Master 源 Theme,并从语义 slot carrier 推导 Master 标题/正文字号默认值。由于没有已确认的设计契约或可恢复的决策历史,它不承诺与 Default 作出相同设计,也不承诺具体耗时。默认 Generate 流程仍坚持质量优先。diff --git a/docs/zh/technical-design.md b/docs/zh/technical-design.mdindex 3ddba7e0..c4e477cc 100644--- a/docs/zh/technical-design.md+++ b/docs/zh/technical-design.md@@ -40,7 +40,7 @@ PPT Master 不以“任意 SVG 都能转成 PPTX”为目标。`svg_output/` 使## Generate PPTX 路线架构-下图描述 Generate PPTX 的默认生命周期。`beautify-pptx` fidelity profile 默认使用该生命周期;同一请求明确要求快速模式时,则改用 `quick-generate`。图片还原为 PPTX 是 Generate 内另一个 fidelity profile:它当前要求 Codex 并始终直接启用 `quick-generate`,因此不进入 Default 运行时,也不需要用户另行说明“快速模式”。其他 Agent host 尚未适配该 profile,不对其行为作支持或承诺。图片还原为 PPTX 把每个规范化页面画面映射为一张幻灯片,以可见像素为表面真值,并原生还原普通文字。低清 Logo、图标、徽标或其他身份图形可由 Codex 根据参考图重建,但必须锁定身份、轮廓、比例、颜色和字标,禁止换成仅仅相似的替代物。照片和插画场景至少拆成干净背景层与人物 / 前景层。多个带 padding 包围盒且互不重叠的对象可共用一次生成 plate,再通过 grid slice 或 SVG bbox crop 拆成独立对象。整页截图 skin 始终禁止。Quick 会绕过独立规划 / 确认、首屏 gate 与预览终稿化;来源理解和资源准备仍按需运行,一次无锁最终质量门始终保留。每次只加载一份运行时流程。Create Template 有独立的工作区生命周期;Edit Native PPTX 则把既有 deck 导入保留来源的 round-trip 工作区。本文后续路线表会覆盖全部三条顶层路线。+下图描述 Generate PPTX 的默认生命周期。`beautify-pptx` fidelity profile 默认使用该生命周期;同一请求明确要求快速模式时,则改用 `quick-generate`。图片还原为 PPTX 是 Generate 内另一个 fidelity profile:它当前要求 Codex 并始终直接启用 `quick-generate`,因此不进入 Default 运行时,也不需要用户另行说明“快速模式”。其他 Agent host 尚未适配该 profile,不对其行为作支持或承诺。图片还原为 PPTX 把每个规范化页面画面映射为一张幻灯片,以可见像素为表面真值,并原生还原普通文字。低清 Logo、图标、徽标或其他身份图形可由 Codex 根据参考图重建,但必须锁定身份、轮廓、比例、颜色和字标,禁止换成仅仅相似的替代物。照片和插画场景至少拆成干净背景层与人物 / 前景层。多个带 padding 包围盒且互不重叠的对象可共用一次生成 plate,再通过 grid slice 或 SVG bbox crop 拆成独立对象。整页截图 skin 始终禁止。Quick 会绕过独立规划 / 确认与预览终稿化;来源理解和资源准备仍按需运行,长 roster 上的 early gate 与一次无锁最终质量门始终保留。每次只加载一份运行时流程。Create Template 有独立的工作区生命周期;Edit Native PPTX 则把既有 deck 导入保留来源的 round-trip 工作区。本文后续路线表会覆盖全部三条顶层路线。```用户输入 (PDF/DOCX/XLSX/PPTX/URL/Markdown/主题文本)@@ -66,9 +66,9 @@ PPT Master 不以“任意 SVG 都能转成 PPTX”为目标。`svg_output/` 使↓[Executor] 执行师├── 生成开始前启动 live preview,并在生成期间保持可用- ├── 先生成 P01 → svg_quality_checker.py --stage first-page --json- ├── 把 P01 作为方法样本分类完整 issue set;消除全部 blocking error,并处理选定的 advisory warning- ├── P02 至末页连续生成项目规范化 SVG 页面 → svg_output/(中途不再运行 checker)+ ├── 先生成 P01 至 P05 → svg_quality_checker.py --stage early --json(计划 roster 不超过 6 页时跳过此门)+ ├── 把已生成页面作为方法样本分类完整 issue set;消除全部 blocking error,并处理选定的 advisory warning+ ├── 其余页面连续生成项目规范化 SVG 页面 → svg_output/(中途不再运行 checker)├── [Quality Check] svg_quality_checker.py --stage final --json(强制通过,0 错误;warning 非阻塞)└── [讲稿,条件触发] Speaker Notes 有效结果为开启 → 完整讲稿 notes/total.md↓@@ -188,7 +188,7 @@ Executor 角色逐页生成演示文稿的视觉内容,输出为 SVG 文件。**第三阶段:工程化转换**后处理脚本将受支持的 SVG 向量元素转换为 DrawingML。文本和向量形状会保持为 PowerPoint 原生对象——可点击、可编辑、可改样式;位图资源则复制为 PPT picture media,而不是把整页压平成一张图片。-`quick-generate` 保留 deck 所需的来源理解与资源准备,但跳过独立的 Strategist 规划 / 确认阶段、首屏 gate 与 `finalize_svg.py`。当前 Agent 照做用户明确提出的要求,并在一次有效上下文中自动完成其余的内容、页结构、mode、visual style 与资源决策;图片、透明插图 / 艺术字资源、图标、定性 Structure、原生形状、图表 / 表格、公式和纯字体 / 几何都进入同一轮载体判断,每页可以组合其中任意合适的子集。随后仍按共享 SVG 规范创作,执行已选能力所需的准备,通过一次无锁最终质量门,并使用同一个 DrawingML 转换器与 postflight。它不写替代计划或可续接的设计历史;上下文丢失后重新运行 Quick。+`quick-generate` 保留 deck 所需的来源理解与资源准备,但跳过独立的 Strategist 规划 / 确认阶段与 `finalize_svg.py`。当前 Agent 照做用户明确提出的要求,并在一次有效上下文中自动完成其余的内容、页结构、mode、visual style 与资源决策;图片、透明插图 / 艺术字资源、图标、定性 Structure、原生形状、图表 / 表格、公式和纯字体 / 几何都进入同一轮载体判断,每页可以组合其中任意合适的子集。随后仍按共享 SVG 规范创作,执行已选能力所需的准备,通过一次无锁最终质量门,并使用同一个 DrawingML 转换器与 postflight。它不写替代计划或可续接的设计历史;上下文丢失后重新运行 Quick。---@@ -472,7 +472,7 @@ Generate 路由会在加载流程前选定一份运行时权威:[`workflows/ge全路由通用的停止 / 继续规则以 [`failure-recovery.md`](../../skills/ppt-master/workflows/governance/failure-recovery.md) 为准;其中具体故障矩阵与续跑入口目前覆盖 Generate PPTX。本节不复制这些规则。-其中三条边界尤其关键。第一,页面 SVG 必须由当前主代理逐页手写;禁止写 Python / Node / shell 生成器批量吐 SVG,因为这种输出会丢失跨页判断和视觉连续性。第二,默认流程节奏是 `P01 → first-page gate → 不间断生成其余页面 → final gate`。P01 是方法样本:执行者先输出 `gate-signal`,再把已解决的方法规则带入后续页面;P02 到末页之间不分批,也不插入 checker。`quick-generate` 仍串行手写并以 P01 为视觉锚点,跳过首屏 gate,并在完整 roster 生成后运行一次无锁 final gate。第三,路由是确定性的:原生 PPTX 模板、beautify、Edit Native PPTX、自定义动画、live preview 等触发条件已经在仓库里定义清楚时,不再额外抛给用户一个开放式路线选择题。+其中三条边界尤其关键。第一,页面 SVG 必须由当前主代理逐页手写;禁止写 Python / Node / shell 生成器批量吐 SVG,因为这种输出会丢失跨页判断和视觉连续性。第二,流程节奏是 `P01–P05 → early gate(roster 不超过 6 页时跳过)→ 不间断生成其余页面 → final gate`。前五页是方法样本:执行者先输出 `gate-signal`,再把已解决的方法规则带入后续页面;其余页面之间不分批,也不插入 checker,每次 checker 调用都必须紧跟一个 gate 点或一轮合并修复。`quick-generate` 仍串行手写并以 P01 为视觉锚点,在 7 页及以上 roster 上共用同一道 early gate,并在完整 roster 生成后运行一次无锁 final gate。第三,路由是确定性的:原生 PPTX 模板、beautify、Edit Native PPTX、自定义动画、live preview 等触发条件已经在仓库里定义清楚时,不再额外抛给用户一个开放式路线选择题。默认流程的角色切换协议(切换模式前必须 `read_file references/<role>.md`)有两个互相支撑的作用:把新鲜的角色指令载入上下文,覆盖前一模式的漂移;对话 transcript 中的可见标记构成审计轨迹,让用户能看到 agent 何时切换了模式——回看一个具体决策为什么这样做时,这条线索很关键。@@ -596,7 +596,7 @@ SVG 与 DrawingML 的表达模型并不等价,因此主编译路径不把“**为什么放在后处理之前,而不是之后。** 后处理会重写 SVG(图标嵌入、图片内联),会掩盖源级别违规。直接读 `svg_output/` 抓的是 Executor 的实际输出,先于任何可能掩盖 bug 的清理动作。-**为什么默认流程有 first-page 与 final 两道检查。** P01 gate 把第一张页面当作方法样本:先区分 method-level、page-local 与未覆盖能力,完整审阅该轮 issue set,再在合并修复循环中消除全部 blocking error,并处理选定的 advisory warning。通过后,P02 到末页连续生成且不插入 checker;final gate 才对完整作者源做发布前检查。前者校准方法,后者验证全集,不能互相替代。+**为什么流程有 early 与 final 两道检查。** early gate 把前五张页面当作方法样本:先区分 method-level、page-local 与未覆盖能力,完整审阅该轮 issue set,再在合并修复循环中消除全部 blocking error,并处理选定的 advisory warning;roster 不超过 6 页时跳过它、直接进 final gate。通过后,其余页面连续生成且不插入 checker;final gate 才对完整作者源做发布前检查。前者校准方法,后者验证全集,不能互相替代。**严重性模型:error 阻塞、warning 不阻塞,且有意没有 auto-fix。** 严重性不按“是否符合推荐写法”划分,而按“能否确定、合法地映射”划分:diff --git a/skills/ppt-master/references/executor-base.md b/skills/ppt-master/references/executor-base.mdindex 197d806c..f9ec11e9 100644--- a/skills/ppt-master/references/executor-base.md+++ b/skills/ppt-master/references/executor-base.md@@ -209,7 +209,7 @@ Mechanical repetition comes from reusing one carrier and topology without a page- **Mandatory — per-page module line**: before drawing each page, write one line `P<NN> modules: core[, structure][, native-shape][, effects][, image][, native-data][, chart | table | formula | link | web-image]` naming the triggered modules the page uses; a module the pre-P01 sweep did not read is read completely before that page's first SVG line, and a page whose carrier mix uses a module's capability without naming it is a defect the carrier receipt exposes.- **Phased generation** (recommended):1. **Visual Construction Phase**: generate all pages sequentially, applying every triggered branch while drawing. **MUST embed one object-scoped plot-area marker** per §IX-named or Quick-promoted value-driven chart object ([`executor-chart.md`](./executor-chart.md) §2); calibration follows in [`verify-charts`](../workflows/stages/verify-charts.md). Write every `<object-key>=yes` native marker plus JSON metadata atomically ([`native-data-interface.md`](./native-data-interface.md) §2) and stamp its baseline before the page's gate — `python3 ${SKILL_DIR}/scripts/stamp_native_fallbacks.py <project_path>/svg_output/<page>.svg --write`, rerun after any visible edit inside the marker group. **Reach for native presets** per §3.0 as you draw, decided by the object's intent, never by scanning finished paths; several presets for one page go through one `preset_shape_svg.py render-batch --input -` round (gradient/pattern paint stays ordinary SVG; a justified §6.4 shadow/glow stays on the helper-authored shape).- 2. **Quality gates**: owned by the route — [`generate-pptx.md`](../workflows/generate-pptx.md) Step 6 (first-page, final, carrier receipt) or [`quick-generate.md`](../workflows/profiles/quick-generate.md) §4 (one lockless final check). Run each checker unfiltered, review the complete issue set, fix every error plus selected warnings in one consolidated pass, verify once; never check between individual fixes, never `cat` a passing report, never defer errors past `finalize_svg.py` (it rewrites SVG and masks violations). Every `warning` is advisory.+ 2. **Quality gates**: owned by the route — [`generate-pptx.md`](../workflows/generate-pptx.md) Step 6 (early, final, carrier receipt) or [`quick-generate.md`](../workflows/profiles/quick-generate.md) §3–4 (the same early gate on rosters of seven or more pages, one lockless final check). Run each checker unfiltered, review the complete issue set, fix every error plus selected warnings in one consolidated pass, verify once; never check between individual fixes, never `cat` a passing report, never defer errors past `finalize_svg.py` (it rewrites SVG and masks violations). Every checker invocation follows one of two events — a gate point whose covered pages all exist, or the end of one consolidated repair pass; a run with neither predecessor is a pacing violation, and validating an authoring pattern early is not a reason (the same issues surface identically at the gate and are fixed in the same consolidated pass). Every `warning` is advisory.3. **Logic Construction Phase (conditional)**: after the gates pass, generate speaker notes for narrative continuity only when the effective Speaker Notes outcome is enabled.### 3.0 Native Shape Selectiondiff --git a/skills/ppt-master/references/native-formula.md b/skills/ppt-master/references/native-formula.mdindex 1c9cbd17..f75616b6 100644--- a/skills/ppt-master/references/native-formula.md+++ b/skills/ppt-master/references/native-formula.md@@ -67,4 +67,4 @@ Formula handling is not a user-confirmed policy, image resource, manifest, or `s**Hard rule — repair LaTeX upstream**: unsupported source or an invalid marker blocks the page. Rewrite within the profile without changing the planned mathematics, or return it to the content owner. Never substitute a PNG, flatten structural math into ordinary text, hand-write OMML, or leave raw LaTeX visible.-**Validation**: the first-page/final SVG checker validates every marker, compiles its LaTeX, and applies the shared native-height envelope to page/module text bounds; native export repeats validation and uses that envelope for the generated text frame. Output is standard editable Office Math for PowerPoint 2010+; WPS, Keynote, and LibreOffice receive no embedded fallback and are outside the rendering/editability contract.+**Validation**: the early/final SVG checker validates every marker, compiles its LaTeX, and applies the shared native-height envelope to page/module text bounds; native export repeats validation and uses that envelope for the generated text frame. Output is standard editable Office Math for PowerPoint 2010+; WPS, Keynote, and LibreOffice receive no embedded fallback and are outside the rendering/editability contract.diff --git a/skills/ppt-master/scripts/docs/svg-pipeline.md b/skills/ppt-master/scripts/docs/svg-pipeline.mdindex 3c550a25..84c1309a 100644--- a/skills/ppt-master/scripts/docs/svg-pipeline.md+++ b/skills/ppt-master/scripts/docs/svg-pipeline.md@@ -1033,7 +1033,7 @@ Validate SVG technical compliance.python3 scripts/svg_quality_checker.py projects/project/svg_output/01_cover.svgpython3 scripts/svg_quality_checker.py projects/project/svg_outputpython3 scripts/svg_quality_checker.py projects/project-python3 scripts/svg_quality_checker.py projects/project --stage first-page+python3 scripts/svg_quality_checker.py projects/project --stage earlypython3 scripts/svg_quality_checker.py projects/project --stage final --jsonpython3 scripts/svg_quality_checker.py projects/project --canonical-authoring --stage final --jsonpython3 scripts/svg_quality_checker.py projects/project --format ppt169@@ -1053,10 +1053,13 @@ Checks include:Warnings are advisory: they require no modification or acknowledgement and donot affect the command's zero exit status. Only errors block the quality gate.-`--stage first-page` resolves only the first authored SVG and permits an incomplete-future page roster. `--stage final` checks the complete project. With `--json`,-the final stage writes `validation/svg_quality_report.json`, while the first-page-stage writes `validation/svg_quality_first_page_report.json` so it cannot overwrite+`--stage early` checks every authored SVG so far, each under the partial-roster+rules, and permits an incomplete future page roster — this is the mid-roster+gate command. `--stage first-page` resolves only the first authored SVG with+the same permissions. `--stage final` checks the complete project. With+`--json`, the final stage writes `validation/svg_quality_report.json`, while+the early and first-page stages write `validation/svg_quality_early_report.json`+and `validation/svg_quality_first_page_report.json` so they cannot overwritethe release gate (or use `--json-output`). The report separatesrelease failures (`blocking`), changed/new advisories (`introduced`),prototype-identical diagnostics (`inherited`), and source-conversion lossesdiff --git a/skills/ppt-master/scripts/svg_quality/checker.py b/skills/ppt-master/scripts/svg_quality/checker.pyindex 3340c075..3cd159d2 100644--- a/skills/ppt-master/scripts/svg_quality/checker.py+++ b/skills/ppt-master/scripts/svg_quality/checker.py@@ -1167,6 +1167,7 @@ class SVGQualityChecker:self._animation_issues: List[Tuple[str, str]] = []self._illustration_issues: List[Tuple[str, str, str]] = []self._communication_trace_issues: List[Tuple[str, str]] = []+ self._communication_traced_projects: set[Path] = set()self._pptx_structure_issues: List[Tuple[str, str]] = []self._has_incomplete_page_roster = Falseself._active_slide_count: int | None = None@@ -6897,10 +6898,12 @@ class SVGQualityChecker:and validate_communication_trace is not None):project_path = self._resolve_project_path(dir_path)- self._communication_trace_issues.extend(- ('error', message)- for message in validate_communication_trace(project_path)- )+ if project_path not in self._communication_traced_projects:+ self._communication_traced_projects.add(project_path)+ self._communication_trace_issues.extend(+ ('error', message)+ for message in validate_communication_trace(project_path)+ )return self.resultsdef _check_pptx_structure_contract(diff --git a/skills/ppt-master/scripts/svg_quality/cli.py b/skills/ppt-master/scripts/svg_quality/cli.pyindex 427689f2..e07d792c 100644--- a/skills/ppt-master/scripts/svg_quality/cli.py+++ b/skills/ppt-master/scripts/svg_quality/cli.py@@ -32,6 +32,15 @@ def _first_page_target(target: str) -> str:return str(svg_files[0]) if svg_files else target+def _early_targets(target: str) -> list[Path]:+ """Resolve a project/directory target to every authored SVG page so far."""+ path = Path(target)+ if path.is_file():+ return [path]+ svg_root = path / "svg_output" if (path / "svg_output").is_dir() else path+ return discover_slide_svgs(svg_root) if svg_root.is_dir() else []++def _page_target(target: str, page: str) -> str:"""Resolve one requested page while keeping it inside ``svg_output/``."""target_path = Path(target).resolve()@@ -86,6 +95,7 @@ def _default_json_report_path(report_name = {"final": "svg_quality_report.json","first-page": "svg_quality_first_page_report.json",+ "early": "svg_quality_early_report.json","page": "svg_quality_page_report.json",}[stage]if (@@ -114,9 +124,11 @@ def print_usage() -> None:print(" python3 scripts/svg_quality_checker.py templates/decks/中国电信/templates --template-mode")print("\nOptions:")print(" --format <ppt169|ppt43|...> Expected canvas format")- print(" --stage <first-page|page|final>")- print(" first-page checks only the first authored SVG;")- print(" page checks only --page with the same partial")+ print(" --stage <early|first-page|page|final>")+ print(" early checks every authored SVG so far, each")+ print(" under the partial structure rules (the mid-roster")+ print(" gate); first-page checks only the first authored")+ print(" SVG; page checks only --page with the same partial")print(" structure rules; final (default) requires the")print(" complete declared page roster.")print(" --page <basename|path> Required with --stage page; must resolve under")@@ -193,10 +205,10 @@ def main() -> None:if "--stage" in sys.argv:idx = sys.argv.index("--stage")if idx + 1 >= len(sys.argv) or sys.argv[idx + 1].startswith("--"):- print("[ERROR] --stage requires first-page, page, or final")+ print("[ERROR] --stage requires early, first-page, page, or final")sys.exit(1)stage = sys.argv[idx + 1]- if stage not in {"first-page", "page", "final"}:+ if stage not in {"early", "first-page", "page", "final"}:print(f"[ERROR] Unsupported quality-check stage: {stage}")sys.exit(1)if "--page" in sys.argv:@@ -241,24 +253,31 @@ def main() -> None:else:if roundtrip:checker.check_roundtrip_workspace(target)- elif stage == "first-page":- check_target = _first_page_target(target)- elif stage == "page":- try:- check_target = _page_target(target, page or "")- except ValueError as exc:- print(f"[ERROR] {exc}")+ elif stage == "early":+ early_files = _early_targets(target)+ if not early_files:+ print("[ERROR] --stage early found no authored SVG pages")sys.exit(1)+ for svg_file in early_files:+ checker.check_directory(str(svg_file), expected_format)else:- check_target = target- if not roundtrip:+ if stage == "first-page":+ check_target = _first_page_target(target)+ elif stage == "page":+ try:+ check_target = _page_target(target, page or "")+ except ValueError as exc:+ print(f"[ERROR] {exc}")+ sys.exit(1)+ else:+ check_target = targetchecker.check_directory(check_target, expected_format)if not roundtrip and stage == "final" and Path(target).is_dir():if checker._has_incomplete_page_roster:print("[TIP] This final-stage run found an incomplete page roster. "- "During serial authoring, use --stage first-page for the first-page "+ "During serial authoring, use --stage early for the mid-roster ""gate; keep --stage final for the complete deck.")diff --git a/skills/ppt-master/workflows/generate-pptx.md b/skills/ppt-master/workflows/generate-pptx.mdindex b082a862..de8c2bc8 100644--- a/skills/ppt-master/workflows/generate-pptx.md+++ b/skills/ppt-master/workflows/generate-pptx.md@@ -13,7 +13,7 @@ description: Default Generate PPTX authority for source intake, planning, SVG au**Generate-specific execution discipline**:- The current main agent hand-writes every SVG page; never delegate page generation or run a generator over `svg_output/`. `preset_shape_svg.py` and `shape_boolean_svg.py` provide only their stdout fragments after the agent chooses role, operands, paint, and z-order.-- SVG cadence: P01 → first-page gate → remaining pages → final gate. No batches, no other mid-run checker calls.+- SVG cadence: P01–P05 → early gate (a planned roster of six or fewer pages skips it) → remaining pages → final gate. No batches, no other mid-run checker calls; every checker invocation follows a gate point whose covered pages all exist or the end of one consolidated repair pass.- Gate checklists are internal: on success continue with at most one compact status line; on failure report only the blocking items and required recovery.**SVG page-design boundary**: `svg_output/` is the complete page-design source — every visible element of the exported slide is in the page SVG or referenced by it; templates, `design_spec.md`, and `spec_lock.md` never supply content at export ([`shared-standards-core.md`](../references/shared-standards-core.md) §4.0). Export compiles only the selected route's explicit structure contract (`flat` Slide-local; `structured` Master/Layout/Slide parts) and never infers structure. `svg_final/` is an optional preview release export never reads. Notes, animations, narration, and Edit Native PPTX stay outside this closure.@@ -241,20 +241,20 @@ python3 ${SKILL_DIR}/scripts/svg_editor/server.py <project_path> --live --daemonDefault first free port from `6060` (`--port N` binds strictly); read the URL from output or `<project_path>/live_preview/lock.json` and report it — or the launch failure — before the first SVG. It is a side process: never wait for it or for user confirmation, and keep it running until the user clicks **Exit preview** or asks in chat. Do not read or apply submitted annotations during generation; that window opens after Step 7 ([`live-preview.md`](stages/live-preview.md), which also describes staged direct edits).-> ⚠️ **Main-agent only**: SVG generation stays in the current main agent — page design depends on full upstream context. Cadence: P01 → first-page gate → remaining pages → final gate, in one context, no batches or other mid-run checker calls; reload under Context validity above after context invalidation.+> ⚠️ **Main-agent only**: SVG generation stays in the current main agent — page design depends on full upstream context. Cadence: P01–P05 → early gate (a planned roster of six or fewer pages skips it) → remaining pages → final gate, in one context, no batches or other mid-run checker calls; reload under Context validity above after context invalidation.**Visual Construction Phase**: generate pages sequentially into `<project_path>/svg_output/`. Each SVG carries the slide's complete visible design (a JSON-first Chart/Table is the sole exception: inline JSON authoritative, visible subtree an approximate preview). Native shapes follow [`native-shape-authoring.md`](../references/native-shape-authoring.md), loaded at the first contour beyond basic primitives while the preset vocabulary is read before page one: independent atoms first, Merge Shapes only when contour semantics require it, freeform last. `mirror|layout` pages start from the complete `page_layouts` SVG and preserve inherited visuals, root identity, atoms, and slots (strict keeps the contract; `layout` may reflow carrier text inside unchanged slot bounds; adaptive uses a Strategist-declared Layout; a required atom or slot change returns upstream, and Executor never edits `spec_lock.md`); `style`, free-design, and brand-only pages are flat per `executor-base.md` and [`semantic-svg.md`](../references/semantic-svg.md).**Motion-ready image composition**: only when an explicit user motion instruction, an enabled Custom Animations outcome in §I, or an existing `animations.json` activates custom motion, evaluate §IX `Motion suggestion` rows and author any in-slide image states or cross-slide continuity now under [`executor-image.md`](../references/executor-image.md), each revealable or continuing Slide-local unit in a descriptive direct-root `<g id>`. Effects, pairing, order, and timing stay in the custom stage after the final gate; a suggestion alone activates nothing; deterministic Morph needs the continuing object as a direct-root group on both pages.-**First-page gate (Mandatory)** — after the first SVG, before page 2:+**Early gate (Mandatory)** — after the fifth SVG, before page 6; a planned roster of six or fewer pages skips this gate and goes straight to the final gate:```bashpython3 ${SKILL_DIR}/scripts/svg_quality_checker.py <project_path> \- --canonical-authoring --stage first-page --json+ --canonical-authoring --stage early --json```-Run unfiltered, review the complete P01 issue set, fix every blocking error plus selected warnings in one consolidated pass, verify once; a still-failing verification is the next batch. If terminal output is truncated, read only the issue arrays from `validation/svg_quality_first_page_report.json`. The gate validates the method, not just the page — emit one line before editing:+The stage checks every authored page so far under the partial-roster rules. Run unfiltered, review the complete issue set, fix every blocking error plus selected warnings in one consolidated pass, verify once; a still-failing verification is the next batch. If terminal output is truncated, read only the issue arrays from `validation/svg_quality_early_report.json`. The gate validates the method, not just the pages — emit one line before editing:```gate-signal: method=<rule resolved, or none> | page-local=<count> | not-exercised=<list>@@ -262,11 +262,11 @@ gate-signal: method=<rule resolved, or none> | page-local=<count> | not-exercise| Signal | Reading ||---|---|-| Two or more issues share a category and direction | Method-level bias — resolve to the authoritative rule before P02 (for text extents: correct the per-role calibration table — rerun `python3 ${SKILL_DIR}/scripts/text_measure.py calibrate <project_path> --outline` or add the missing `--role` — then every later page estimates by that arithmetic and measures nothing); a correction fitted to the observed offset patches only this sample |-| One isolated issue tied to this page's structure | Page-local — fix and continue |-| A recurring element appears for the first time (furniture, caption format, section numbering, accent discipline) | It will be copied to every later page — confirm its semantics now |+| Two or more issues share a category and direction — on one page or across pages | Method-level bias — resolve to the authoritative rule before P06 (for text extents: correct the per-role calibration table — rerun `python3 ${SKILL_DIR}/scripts/text_measure.py calibrate <project_path> --outline` or add the missing `--role` — then every later page estimates by that arithmetic and measures nothing); a correction fitted to the observed offset patches only this sample |+| One isolated issue tied to a single page's structure | Page-local — fix and continue |+| A recurring element (furniture, caption format, section numbering, accent discipline) drifts between its occurrences or is still unsettled | It will be copied to every later page — settle its semantics now |-`not-exercised` names what P01 could not test (a cover typically omits multi-line text, columns, charts, captions, data objects); carry each resolved rule forward as arithmetic. Every later page runs without checker calls; a listed item first exercised later is held to the carried-forward rule and caught by the final gate.+`not-exercised` names what P01–P05 could not test (five pages usually exercise multi-line text, columns, and captions; charts, tables, or other data objects may still be pending); carry each resolved rule forward as arithmetic. Every later page runs without checker calls; a listed item first exercised later is held to the carried-forward rule and caught by the final gate.**Quality Check Gate (Mandatory)** — only after every planned SVG exists, before annotations and speaker notes:@@ -332,6 +332,7 @@ Append `--native-charts-and-tables` only for an explicit editable Chart/Table de## ✅ Generate PPTX Complete- [x] Image readiness gate passed+- [x] Every checker invocation followed a gate point (early after P05 on a roster of seven or more pages, final after the complete roster) or one consolidated repair pass — never a page in progress or an individual fix- [x] Carrier receipt compared with the retained page decisions; contradictions repaired without treating counts as quotas- [x] Notes split when enabled; disabled exports used `--no-notes`- [x] `svg_final/` preview builtdiff --git a/skills/ppt-master/workflows/profiles/beautify-pptx.md b/skills/ppt-master/workflows/profiles/beautify-pptx.mdindex 5306a8a9..1ac4a000 100644--- a/skills/ppt-master/workflows/profiles/beautify-pptx.md+++ b/skills/ppt-master/workflows/profiles/beautify-pptx.md@@ -136,7 +136,7 @@ Run Step 4's confirmation orchestration unchanged. In the UI branch read `confir## 6. Author + Export-**Quick**: follow [`quick-generate.md`](./quick-generate.md) §3–4 with the inventory as the exact roster and frozen-content contract; keep source order, hand-author every page, run the lockless final checker, export with `--quick-generate`; no Confirm UI, Design Spec, lock, first-page gate, or `finalize_svg.py`. **Long-deck review cadence (may adapt)**: after about five pages or at a section boundary, reread only the inventory summary/current-page views and cross-page anchors — no checker, no gate — and send one `authored/total` status per batch.+**Quick**: follow [`quick-generate.md`](./quick-generate.md) §3–4 with the inventory as the exact roster and frozen-content contract; keep source order, hand-author every page, run Quick's checker gates (early on rosters of seven or more pages, lockless final), export with `--quick-generate`; no Confirm UI, Design Spec, lock, or `finalize_svg.py`. **Long-deck review cadence (may adapt)**: after about five pages or at a section boundary, reread only the inventory summary/current-page views and cross-page anchors — a reread, not an extra checker call — and send one `authored/total` status per batch.**Default**: run [`generate-pptx`](../generate-pptx.md) Steps 6–7. The Executor re-lays-out each page from the lock's semantic anchors plus page/source/template context (page-local colors, gradients, effects, and export-safe faces need no lock rows), regenerates charts/tables as native SVG from the extracted data, and re-lays-out the source pictures. Step 7 owns the serial post-processing commands, gates, and artifacts.diff --git a/skills/ppt-master/workflows/profiles/image-to-pptx.md b/skills/ppt-master/workflows/profiles/image-to-pptx.mdindex f19da0b9..32661630 100644--- a/skills/ppt-master/workflows/profiles/image-to-pptx.md+++ b/skills/ppt-master/workflows/profiles/image-to-pptx.md@@ -10,7 +10,7 @@ description: Quick-only Generate profile for reconstructing one or more source i**Support boundary — Codex required**: documented and validated for Codex only, because it depends on Codex's native reference-image generation/editing and direct inspection of every derived layer. Other hosts may happen to work; the repository makes no compatibility claim and defines no alternate host or generic image-backend fallback.-**Hard rule — Quick only**: always load [`quick-generate.md`](./quick-generate.md), never `generate-pptx.md`, without the user saying "Quick"; skip Strategist, Confirm UI, template selection, Design Spec, lock, and the Default first-page gate. The main agent decides the reconstruction, prepares all resources, hand-authors SVG, runs the lockless final checker, and exports.+**Hard rule — Quick only**: always load [`quick-generate.md`](./quick-generate.md), never `generate-pptx.md`, without the user saying "Quick"; skip Strategist, Confirm UI, template selection, Design Spec, lock, and the Default gate cadence. The main agent decides the reconstruction, prepares all resources, hand-authors SVG, runs Quick's checker gates, and exports.**Hard rule — source surface, not template application**: stay in Quick free design; never install or apply a Brand/Style/Layout/Deck workspace — it would compete with the canonical page geometry. A reusable-system request routes to Create Template.diff --git a/skills/ppt-master/workflows/profiles/quick-generate.md b/skills/ppt-master/workflows/profiles/quick-generate.mdindex 11bc363d..3819234d 100644--- a/skills/ppt-master/workflows/profiles/quick-generate.md+++ b/skills/ppt-master/workflows/profiles/quick-generate.md@@ -24,7 +24,7 @@ description: One-pass Generate profile for agent-decided preparation, direct SVG| Resources | Prepare every project-local image, icon, and provenance/manifest artifact before its SVG; author formula markers and hyperlink anchors directly in the SVG; sound waits for §4 || Planning artifacts | No root `design_spec.md`, `spec_lock.md`, confirmation payload, or substitute plan; installed `templates/design_spec.<kind>.<id>.md` files stay template input || Traceability | Resource manifests, checker reports, postflight, and the bounded command audit may remain; none records design reasoning or forms a resumable history |-| Delivery | Hand-author the roster, run one lockless final checker, skip `finalize_svg.py`, export with `--quick-generate` |+| Delivery | Hand-author the roster, run the §3 early gate on rosters of seven or more pages plus one lockless final checker, skip `finalize_svg.py`, export with `--quick-generate` |Artifact roles follow [`artifact-ownership.md`](../../references/artifact-ownership.md); Quick changes the planning handoff, not those roles.@@ -161,7 +161,7 @@ This menu never satisfies the per-page Structure decision in §3.Read the execution core together, never file by file: [`shared-standards-core.md`](../../references/shared-standards-core.md), [`executor-base.md`](../../references/executor-base.md), [`semantic-svg.md`](../../references/semantic-svg.md), and [`preset-shape-vocabulary.md`](../../references/preset-shape-vocabulary.md) (complete, before P01); then evaluate `executor-base.md`'s routing triggers once over the frozen roster before P01 and read every triggered module in the same batch — [`executor-structure.md`](../../references/executor-structure.md) + [`topology-assembly.md`](../../references/topology-assembly.md) for any `Structure = yes` page, [`native-shape-authoring.md`](../../references/native-shape-authoring.md) for any contour beyond basic primitives, [`svg-effects.md`](../../references/svg-effects.md) for any visual job beyond the everyday block — each recorded in the module line of the pages that use it; a page that reaches a capability the sweep did not foresee reads its module at that moment, before its first SVG line; installed Layout/Deck structure adds [`pptx-structure-interface.md`](../../references/pptx-structure-interface.md). Keep the selected mode/style files: a custom applies one basis under its behavior, synthesizes several by their contributions, or follows the behavior alone. When any image exists, read the complete `Any image` row of `executor-base.md`'s routing table — [`executor-image.md`](../../references/executor-image.md), [`image-layout-spec.md`](../../references/image-layout-spec.md), [`image-layout-patterns.md`](../../references/image-layout-patterns.md), and [`svg-image-embedding.md`](../../references/svg-image-embedding.md) — once before the first affected page (plus [`executor-web-image.md`](../../references/executor-web-image.md) for a `Sourced` image); reread anything only after a known file change or context invalidation.-`executor-base.md` binds Quick exactly as it binds Default except its `Default only` items — the persisted-plan handoff in §2 / §2.1 and the export hand-off in §6 — which Quick's transient §2 anchors, single final checker, and export below own; the Default gate cadence lives in `generate-pptx.md` Step 6 and does not apply. Conditional authorities load on its routing table (Chart/Table branches, native data, formula, hyperlink); Chart/Table reference and final information model are independent signals, and selection never makes an object native-ready. Explicit user/template requirements and the resolved style override compatible aesthetic defaults, never technical boundaries, carrier eligibility, or native capability discovery.+`executor-base.md` binds Quick exactly as it binds Default except its `Default only` items — the persisted-plan handoff in §2 / §2.1 and the export hand-off in §6 — which Quick's transient §2 anchors, own checker gates, and export below own; the Default gate cadence lives in `generate-pptx.md` Step 6 and does not apply. Conditional authorities load on its routing table (Chart/Table branches, native data, formula, hyperlink); Chart/Table reference and final information model are independent signals, and selection never makes an object native-ready. Explicit user/template requirements and the resolved style override compatible aesthetic defaults, never technical boundaries, carrier eligibility, or native capability discovery.**Mandatory — per-image-page composition**: for every page with images, after content and communication move but before geometry, apply `executor-image.md`'s image-integration decision once, keeping role, direction source, parent contour, slot/rhythm system, image/shape action, and continuity in context only; a deliberate plain or equal-grid result is valid when it communicates better. Image to PPTX replaces this and the page-geometry decision for its canonical frame: preserve source geometry, restore text natively, keep source-graphic identity through the prepared asset, and use the registered layer/plate stack; run the ordinary decisions only for additional non-source content.@@ -177,7 +177,7 @@ Read the execution core together, never file by file: [`shared-standards-core.md**Typography**: name a concrete target-installed/approved family under `shared-standards-core.md` §4.1, never a lock or the host's fonts. Before P01 run `python3 ${SKILL_DIR}/scripts/text_measure.py calibrate <project_path> --role <name>:<family>:<size>` for every recurring role (one command, repeatable `--role`) and keep its table — CJK and Latin ≈ chars per 100 px per role, the checker's own estimator with wrapping headroom — in context; every later page sizes zones from that per-font arithmetic — write the sentence first, fit the zone to it, and never trim wording to satisfy an estimate; calibrate again only for a role or size never calibrated, and `wrap` only a genuinely long paragraph.-**Generation pacing**: hand-write the roster in order — P01 calibrates visual identity and cover expression, the first ordinary content page calibrates content geometry and carrier integration, neither becomes a reusable template — with no first-page checker or confirmation stop. A resolved motif follows its reuse mode (exact repetition for deliberate chrome, adaptive variation of scale, crop, density, position, or interaction otherwise). After every page exists, run the one final checker below; use other stages only when their capability is needed.+**Generation pacing**: hand-write the roster in order — P01 calibrates visual identity and cover expression, the first ordinary content page calibrates content geometry and carrier integration, neither becomes a reusable template — with no confirmation stop. A resolved motif follows its reuse mode (exact repetition for deliberate chrome, adaptive variation of scale, crop, density, position, or interaction otherwise). When the planned roster has seven or more pages, run the §4 final-check command with `--stage early` after P05 and before P06, review its complete issue set, fix every error plus selected warnings in one consolidated pass, and verify once; six or fewer pages skip the early gate. After every page exists, run the one final checker below; every checker invocation follows a gate point (early or final, all covered pages written) or one consolidated repair pass — never a page in progress or an individual fix, and validating an authoring pattern early is not a reason. Use other stages only when their capability is needed.**Hard rule — direct page authoring stays with the main agent**: write every page SVG in the active context; never delegate page generation or run a generator that writes slide files (fragment-only helpers remain allowed after the agent chooses role, operands, paint, and z-order). Resource, inspection, checker, verification, and export tools are unrestricted. This is not a resume protocol: if the context is lost before delivery, start a clean Quick run.@@ -219,6 +219,7 @@ python3 ${SKILL_DIR}/scripts/svg_to_pptx.py <project_path> --quick-generate --no- [x] Image need was decided independently of credentials; every image decided its own source, every `slice_names` output exists after an exit-0 strict-alpha run, and every exhausted AI job was replanned under the no-AI rule with its disclosure retained- [x] Every selected formula and hyperlink uses its checker-valid native form- [x] The frozen Template Application paragraph was applied, every installed Layout/Deck SVG was read, and structure matches the installed capability (flat vs explicit all-page structured)+- [x] The early gate ran once after P05 on a roster of seven or more pages (or a shorter roster skipped it), and every checker invocation followed a gate point or one consolidated repair pass- [x] The carrier receipt was compared with the retained page jobs and contradictions repaired; the lockless final report passes and matches the current SVGs- [x] Enabled notes were validated/generated and split; enabled custom motion ran through its owning stage- [x] One native PPTX exists under `exports/` or the explicit output path; no Strategist, confirmation, root Design Spec, or lock artifact was created