Extract document-session save-version helper

This commit is contained in:
2026-06-15 22:13:13 +02:00
parent 02552c9a12
commit aaf55dd797
4 changed files with 62 additions and 9 deletions

View File

@@ -1524,6 +1524,42 @@ Completed Task Log:
| --- | --- | ---: | --- | --- |
| 2026-06-15 | ADP-040 | no score movement | `powershell -ExecutionPolicy Bypass -File scripts\\automation\\quiet-validate.ps1 -BuildTargets pano_cli,pp_app_core_document_session_tests -TestRegex "pp_app_core_document_session|pano_cli_plan_document_session_prompt"` | `be8dee8d` |
### ADP-041 - Extract Document-Session Save-Version Helper
Status: Done
Score: no score movement
Debt: `DEBT-0042`
Scope: `src/legacy_document_session_services.cpp` only
Closeout: `be8dee8d`
Goal:
Reduce the inline retained Save Version execution surface by extracting the
version-save body from `LegacyDocumentVersionSaveServices::save_document_version()`
into a focused helper while preserving current behavior.
Done Checks:
- The retained Save Version execution no longer lives inline in
`LegacyDocumentVersionSaveServices::save_document_version()`.
- The retained version-save path now routes through a focused helper in
`src/legacy_document_session_services.cpp`.
- `DEBT-0042` and the roadmap note the reduced remaining document-session
bridge surface.
Validation:
```powershell
powershell -ExecutionPolicy Bypass -File scripts\\automation\\quiet-validate.ps1 -BuildTargets pano_cli,pp_app_core_document_session_tests -TestRegex "pp_app_core_document_session|pano_cli_plan_document_session_prompt"
```
Completed Task Log:
| Date | Task | Score | Validation | Commit |
| --- | --- | ---: | --- | --- |
| 2026-06-15 | ADP-041 | no score movement | `powershell -ExecutionPolicy Bypass -File scripts\\automation\\quiet-validate.ps1 -BuildTargets pano_cli,pp_app_core_document_session_tests -TestRegex "pp_app_core_document_session|pano_cli_plan_document_session_prompt"` | `be8dee8d` |
### RND-001 - Make Pure Equirectangular Export The Primary Success Path
Status: Done