@@ -15,27 +15,69 @@ Under an Upgrading section, the bullets after **Local installs (`sdpm update`).*
1515
1616### Added
1717
18- - ** Speaker notes policy** (` deck.json ` ` "notesMode" ` ). ` "keep" ` (the default, unchanged
19- behaviour) writes each slide's ` notes ` as speaker notes; ` "strip" ` leaves them out of the
20- .pptx; ` "export" ` leaves them out and writes them to ` <output stem>.notes.md ` next to the
21- .pptx (one ` ## pageNN — title ` section per slide, ` {{...}} ` styling removed), returned as
22- ` notes_path ` by ` generate_pptx ` . A deck handed to an audience no longer carries the
23- presenter's script, which imported slides often bring along in their original notes. The
24- slide files keep their ` notes ` , so composing and ` check_specs ` are unchanged; an invalid
25- value is a ` check_specs ` error and stops the build. Partial builds (` iso.pptx ` ) write no
26- notes file; a full build in ` keep ` or ` strip ` mode deletes a notes file left by an earlier
27- ` export ` build. PPTX decks only. On the AWS stack the remote ` generate_pptx ` uploads the
28- notes beside the deck (` pptx/<deckId>/<build>.notes.md ` , deck record ` notesS3Key ` ) and
29- returns ` notesS3Key ` and a signed ` notesUrl ` .
18+ - ** Speaker notes destination** (` deck.json ` ` "speakerNotes" ` , #666 ). ` "pptx" ` (the
19+ default, unchanged behaviour) writes each slide's ` notes ` as speaker notes; ` "markdown" `
20+ leaves them out of the .pptx and writes them to ` <output stem>.notes.md ` beside it (one
21+ ` ## pageNN — title ` section per slide, ` {{...}} ` styling removed), returned as ` notes_path `
22+ by ` generate_pptx ` . A deck handed to an audience no longer carries the presenter's script,
23+ which imported slides often bring along in their original notes. The slide files keep their
24+ ` notes ` , so composing is unchanged; an invalid value is a ` check_specs ` error and stops the
25+ build. Partial builds (` iso.pptx ` ) write no notes file; a full ` "pptx" ` build deletes a
26+ notes file left by an earlier ` "markdown" ` build. PPTX decks only. On the AWS stack the
27+ remote ` generate_pptx ` uploads the notes beside the deck (` pptx/<deckId>/<build>.notes.md ` ,
28+ deck record ` notesS3Key ` ) and returns ` notesS3Key ` and a signed ` notesUrl ` ; the rebuild
29+ after ` run_python ` uploads them and updates ` notesS3Key ` the same way.
30+ - ** Download PPTX with or without speaker notes** (Web UI, both modes). The deck list "⋯"
31+ menu has two download items, with speaker notes and without speaker notes; on the AWS
32+ stack the deck view's PPTX button opens a menu with the same two choices (the local
33+ "Open PPTX" button is unchanged). "With speaker notes" is unavailable for a deck built with ` speakerNotes: "markdown" ` ,
34+ whose stored .pptx holds no notes. The copy without notes is made from the stored .pptx
35+ without a rebuild (` sdpm.engine.notes.strip_speaker_notes ` ): ` GET /decks/{id}/pptx?notes=without `
36+ on the AWS stack, which keeps it beside the build as ` pptx/<deckId>/<build>.nonotes.pptx `
37+ for later downloads, and ` GET /api/decks/{id}/pptx?notes=without ` locally. Deck list items
38+ and the deck detail carry ` speakerNotes ` (` "pptx" ` | ` "markdown" ` ) for the stored .pptx.
39+ - ** ` deck-json-spec ` guide.** Every ` deck.json ` field of PPTX and HTML decks in one list:
40+ required or optional, default, who writes it and which format it affects.
41+ ` start_presentation ` returns it as ` static.deck_spec ` , and the AWS stack's agent puts it in
42+ the orchestrator's system prompt; ` slide-json-spec ` and ` slide-html-spec ` point to it.
3043- ** Area charts** (` chartType: "area" ` , #620 ). An area chart takes the same categories and
3144 series as a bar chart; ` stacked: true ` stacks the areas, and series ` color ` , ` valueAxis ` ,
3245 ` categoryAxis ` , ` style ` , ` legend ` and ` dataLabels ` work as for ` bar ` . ` pptx_to_json `
3346 reads an area or stacked area chart back as ` area ` , so an edited one is rebuilt from its
3447 JSON; a 100% stacked area chart still keeps its ` _chartXml ` . New ` chart-area ` guide.
3548 Local mode and the AWS stack (SdpmRuntime).
49+ - ** Context size report** (#679 ). ` scripts/context_size.py ` measures the text each session
50+ puts in front of the model: server instructions, tool definitions, prompts, ` start_* `
51+ payloads, guides, bundled styles, the agent system prompts and the text the agent inserts,
52+ and client wiring text, per item and per role bundle (at start, and with the guides the role
53+ names), in chars, bytes and approximate tokens (tiktoken ` o200k_base ` ). Contributor files
54+ (AGENTS.md, steering) get a table of their own, and the report lists what it does not
55+ measure. CI writes the table, with +/- against the base commit, to the ` python ` job
56+ summary. Report only; nothing fails on size. Development only.
3657
3758### Fixed
3859
60+ - ** A textbox border keeps its ` lineOpacity ` ** (#667 ). The textbox builder ignored
61+ ` lineOpacity ` , so a translucent border came out fully opaque, and a PPTX → JSON → PPTX
62+ round trip lost the opacity ` pptx_to_json ` had read. It now writes the border alpha as
63+ shapes do. Local mode and the AWS stack (SdpmRuntime).
64+
65+ - ** Charts keep theme styling when ` valueAxis ` or ` categoryAxis ` is set.** Setting either
66+ no longer drops theme styling of the axis tick labels, axis lines and title. Only a chart
67+ read back from a PPTX keeps the styling it came with; JSON written by hand or by an agent
68+ (e.g. a radar chart that sets only the scoring scale) now gets the themed tick-label
69+ size, colour and font. Local mode and the AWS stack (SdpmRuntime). (#630 )
70+
71+ - ** Built PPTX decks carry a document title and language.** The PPTX title (` dc:title ` )
72+ came from ` deck.json ` ` title ` , or, without one, from the first slide's title placeholder.
73+ The orchestrator did not write ` title ` , and a cover drawn with elements keeps no title
74+ placeholder, so many decks had no document title. The orchestrator now writes ` title `
75+ (as the cover states it) and ` language ` into ` deck.json ` with the outline, and
76+ ` check_specs ` warns when a PPTX deck has no ` title ` (a warning; it does not stop the
77+ build). Translation now translates ` title ` along with the slides (` translate_extract.py `
78+ puts it in the dictionary, ` translate_apply.py ` writes it back) and sets the variant's
79+ ` language ` to ` --target-lang ` . Existing decks are unchanged until their ` deck.json ` gets a
80+ ` title ` . Local mode and the AWS stack (SdpmRuntime, SdpmData).
3981- ** Moving between Decks, Styles and Templates no longer flashes the screen.** The rail and
4082 the logo were plain links, so every move reloaded the page: the whole screen was drawn
4183 again, the text showed in English for a moment before the chosen language, and the Cloud
@@ -47,6 +89,11 @@ Under an Upgrading section, the bullets after **Local installs (`sdpm update`).*
4789 axis, plot area or chart space, out of schema order. PowerPoint accepts that, but strict
4890 readers and validators can reject the file. It is now inserted at its schema position.
4991 Local mode and the AWS stack (SdpmRuntime).
92+ - ** Bar chart gap width and overlap follow the OOXML schema order** (#665 ). A bar chart's
93+ ` c:gapWidth ` and ` c:overlap ` were appended after its axis IDs, out of schema order, for
94+ clustered and stacked bars. PowerPoint accepts that, but strict readers and validators can
95+ reject the file. They are now inserted before the axis IDs; their values are unchanged.
96+ Local mode and the AWS stack (SdpmRuntime).
5097- ** A shape's ` paragraphs ` take the documented ` list ` key** (#586 ). ` list: {"type": "disc"} `
5198 was ignored on shapes, so the paragraph had no bullet; it now makes a bullet, and a
5299 numbered ` type ` and ` level ` work as in a textbox. ` bullet ` still works as before. Local
@@ -96,6 +143,14 @@ bundle. Charts gain a radar type, and `deploy.sh` checks who owns its source buc
96143 The Claude Desktop bundle (` sdpm.mcpb ` ) now carries it as its icon. Web UI
97144 (` deploy_webui.sh ` ) and the next release's bundle.
98145
146+ ### Removed
147+
148+ - ** Dead layout routing code.** The ` _spread_overlapping_bends ` pass and the bend-spreading
149+ helpers only it used (` _resolve_crossing_search ` , ` _separate_close_bends ` ,
150+ ` _align_same_source_bends ` , ` _separate_close_horizontal_segments ` , ` _apply_bend_shift_* ` ,
151+ ` _update_bend_x ` , ` _min_bend_separation ` , ` _find_first_crossing ` ) are gone from
152+ ` sdpm.engine.layout ` . Nothing called them, so generated layouts are unchanged.
153+
99154### Security
100155
101156- ** deploy.sh: the source bucket is account-scoped and its owner is checked.** ` deploy.sh `
@@ -186,6 +241,10 @@ its data directories, and XML from outside the repository goes through one expli
186241
187242### Added
188243
244+ - ** Font-size token check covers inline directives.** ` {{22pt:text}} ` , ` {{bold,18pt:text}} ` and
245+ ` {{24pt,link:URL:text}} ` are now checked against the style's ` --fs-* ` tokens like ` fontSize `
246+ fields, nested ones like ` {{bold:{{22pt:text}}}} ` included, and reported with an ` :inline `
247+ location (part of #135 ).
189248- ** A writing guide for Japanese decks (` writing-ja ` ).** For a Japanese deck the
190249 orchestrator reads it before writing the outline, and composers read it before writing any
191250 slide text in every pass, in both PPTX and HTML. It says how headlines, bullets, diagram labels and speaker notes are
0 commit comments