Important
Focus change. As capabilities landed release after release, the prompt corpus grew from 63K tokens (v2.5) to 188K (v2.13) to 345K (v5.1). This release slims it to 233K and moves execution-side modules behind triggers. The next phase is prompt optimization driven by continuous deck-generation testing. Create Template and Edit Native PPTX are paused — both keep working and receive bug fixes, but no new capability is planned for them until the prompts are where they should be.
Prompts
- Every prompt file rewritten contract-first, then craft. Each file states the minimal form the model must write, then the design judgment; anything the SVG standard already enforces is no longer restated. Section numbers are stable, so cross-references from earlier notes still resolve.
- Three content kinds, one owner each (
docs/rules/prompt-layers.md). Craft and the minimal contract stay inreferences/; enforced grammar, importer behavior, and tool procedure moved toscripts/docs/—svg-contract.md,svg_editor.md,narration.md,template-tools.md, and a sidecar field reference inpptx-animations.md. - Aesthetic defaults and everyday effects are back in the Executor core. The 60-30-10 proportion, 4.5:1 contrast, hue count by encoding, single light source, felt-not-seen alpha, one weight tool per container, dash presets, and the XML for
softShadow,titleGlow,field, andscrimnow live inexecutor-base.mdand are usable without loadingsvg-effects.md. The Strategist keeps contrast/concord font pairings, PPT-safe faces, and industry color anchors. - Sizes (tiktoken
o200k_base, audited byprompt_audit.py): corpus 345K → 233K; Default planning bundle 117K → 82K; Quick 129K → 78K; resident Executor core 70K → 33K; Create Deck 76K → 43K.
Workflow
- Planning reads everything; execution loads on triggers. The Executor's resident core is
executor-base.md,shared-standards-core.md,semantic-svg.md, the complete preset vocabulary, and the confirmed mode / visual-style catalog file (acustomdirection without references reads none).executor-structure.md+topology-assembly.md,native-shape-authoring.md, andsvg-effects.mdload the first time a page needs them, on the triggers named in the routing table, and each page reports aP<NN> modules:line. - Text width is calibrated once, then estimated. One representative line per role is measured before P01; every later page sizes its zones by that per-font arithmetic, writes the sentence first and fits the zone to it, and never trims wording to satisfy an estimate.
- Font delivery target is stated where the Strategist reads it. Faces default to Windows Microsoft PowerPoint unless the user or template names another target; the authoring host's installed fonts never select a face, and PingFang SC / Heiti SC / Songti SC are preview aliases, not named faces.
Contracts and docs
native-data-interface.md,spec_lock_reference.md,beautify-pptx.md, andcreate-template.mdstate their exact field grammar (finitex/yvs≥1 EMUsizes, zero-basedidx, camelCase read aliases,P+ at least two digits page keys,Hans/Hant/Jpan/Hangscript tags, display-name provenance).docs/technical-design.mdand the compatibility router describe the trigger-loaded modules.
What's next
Repeated deck generation on the slimmed prompts, and prompt changes driven by what those decks show. Template creation and native-editable PPTX editing stay in maintenance until then.
No CLI flag, file format, or export behavior changed in this release.