github hugohe3/ppt-master v6.0.0

6 hours ago

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 in references/; enforced grammar, importer behavior, and tool procedure moved to scripts/docs/svg-contract.md, svg_editor.md, narration.md, template-tools.md, and a sidecar field reference in pptx-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, and scrim now live in executor-base.md and are usable without loading svg-effects.md. The Strategist keeps contrast/concord font pairings, PPT-safe faces, and industry color anchors.
  • Sizes (tiktoken o200k_base, audited by prompt_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 (a custom direction without references reads none). executor-structure.md + topology-assembly.md, native-shape-authoring.md, and svg-effects.md load the first time a page needs them, on the triggers named in the routing table, and each page reports a P<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, and create-template.md state their exact field grammar (finite x/y vs ≥1 EMU sizes, zero-based idx, camelCase read aliases, P + at least two digits page keys, Hans/Hant/Jpan/Hang script tags, display-name provenance).
  • docs/technical-design.md and 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.

Don't miss a new ppt-master release

NewReleases is sending notifications on new releases.