From c4b6e958bd0f1846de69e1201de3beb7d649d297 Mon Sep 17 00:00:00 2001 From: ShotaroKataoka Date: Sat, 1 Aug 2026 14:24:01 +0900 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20config(run-python-unified-semant?= =?UTF-8?q?ics):=20release=20as=20v0.5.2=20=E2=80=94=20v0.5.1=20tag=20was?= =?UTF-8?q?=20already=20published?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The v0.5.1 tag + GitHub Release were published on 2026-07-31 (f670a141), before the run_python work landed. Rewriting a public tag breaks reproducibility (fetched tags don't auto-update), so this release keeps the published v0.5.1 as-is and ships the new work as v0.5.2: - Restore the [0.5.1] section to exactly what the published tag contains (verified byte-identical) with its original 07-31 date - New [0.5.2] section: run_python persistence semantics + superseded artifact cleanup - Bump __version__ to 0.5.2 SPEC: 20260801-1122_run-python-unified-semantics Progress: release renumbered to v0.5.2 Next: merge → tag v0.5.2 --- CHANGELOG.md | 35 ++++++++++++++++++++++------------- sdpm/sdpm/__init__.py | 2 +- 2 files changed, 23 insertions(+), 14 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bfcdf404..94381bfb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,7 +10,26 @@ Entries before v0.5.0 were written retroactively as summaries. ## [Unreleased] -## [0.5.1] - 2026-08-01 +## [0.5.2] - 2026-08-01 + +### Changed + +- **`run_python` persistence semantics unified**: file writes now always + persist — the `save` flag is deprecated and ignored (silent data loss when + omitting `save=True` on Cloud is no longer possible). The deck's PPTX + artifact refreshes automatically whenever the deck changes; + `measure_slides` remains the trigger for the expensive verification pass + (render, text overflow measurement, previews). Cloud sandbox write-back is + now diff-based (changed/new files only), preventing a stale sandbox copy + from overwriting newer S3 writes + +### Fixed + +- Cloud: superseded PPTX artifacts are now deleted after each refresh — the + automatic artifact refresh no longer accumulates orphaned objects in S3 + (`update_deck` returns previous values via `UPDATED_OLD`) + +## [0.5.1] - 2026-07-31 ### Added @@ -23,9 +42,6 @@ Entries before v0.5.0 were written retroactively as summaries. ### Fixed -- Cloud: superseded PPTX artifacts are now deleted after each refresh — the - automatic artifact refresh no longer accumulates orphaned objects in S3 - (`update_deck` returns previous values via `UPDATED_OLD`) - **Cloud agent output-token limit**: model profiles now set an explicit `max_tokens` (Claude 32768, others 8192) — Bedrock's small default truncated long single-call outputs (e.g. writing `specs/brief.md` from a long article) @@ -35,14 +51,6 @@ Entries before v0.5.0 were written retroactively as summaries. ### Changed -- **`run_python` persistence semantics unified**: file writes now always - persist — the `save` flag is deprecated and ignored (silent data loss when - omitting `save=True` on Cloud is no longer possible). The deck's PPTX - artifact refreshes automatically whenever the deck changes; - `measure_slides` remains the trigger for the expensive verification pass - (render, text overflow measurement, previews). Cloud sandbox write-back is - now diff-based (changed/new files only), preventing a stale sandbox copy - from overwriting newer S3 writes - **L4 agent personas unified**: the cloud agent (Strands) now fetches mode behavior from `personas/*.md` through the same `start_presentation(mode=...)` port as every other client, instead of carrying its own copies in @@ -118,7 +126,8 @@ decks and cloud data keep working. See the - Initial release: spec-driven slide generation (Engine json ↔ pptx, CLI, local/remote MCP servers, Strands Agent, React Web UI, CDK stacks) -[Unreleased]: https://github.com/aws-samples/sample-spec-driven-presentation-maker/compare/v0.5.1...HEAD +[Unreleased]: https://github.com/aws-samples/sample-spec-driven-presentation-maker/compare/v0.5.2...HEAD +[0.5.2]: https://github.com/aws-samples/sample-spec-driven-presentation-maker/compare/v0.5.1...v0.5.2 [0.5.1]: https://github.com/aws-samples/sample-spec-driven-presentation-maker/compare/v0.5.0...v0.5.1 [0.5.0]: https://github.com/aws-samples/sample-spec-driven-presentation-maker/compare/v0.4.0...v0.5.0 [0.4.0]: https://github.com/aws-samples/sample-spec-driven-presentation-maker/compare/v0.3.8...v0.4.0 diff --git a/sdpm/sdpm/__init__.py b/sdpm/sdpm/__init__.py index 16bedec1..6fef2eb3 100644 --- a/sdpm/sdpm/__init__.py +++ b/sdpm/sdpm/__init__.py @@ -2,4 +2,4 @@ # SPDX-License-Identifier: MIT-0 """sdpm - Generate PowerPoint from JSON using template.""" -__version__ = "0.5.1" +__version__ = "0.5.2"