Extract document-session overwrite prompt helper

This commit is contained in:
2026-06-15 22:02:39 +02:00
parent 21b529aac5
commit 9384676367
4 changed files with 64 additions and 12 deletions

View File

@@ -1418,6 +1418,40 @@ Completed Task Log:
| --- | --- | ---: | --- | --- |
| 2026-06-15 | ADP-037 | no score movement | `powershell -ExecutionPolicy Bypass -File scripts\\automation\\quiet-validate.ps1 -BuildTargets pano_cli -TestRegex "pp_app_core_document_route|pp_app_core_document_session"` | `16111e09` |
### ADP-038 - Extract Document-Session Overwrite Prompt Helper
Status: Done
Score: no score movement
Debt: `DEBT-0040`, `DEBT-0041`, `DEBT-0042`
Scope: `src/legacy_document_session_services.cpp` only
Goal:
Reduce the inline retained document-session overwrite-prompt surface by
extracting the shared OK wiring from the new-document and save-file overwrite
prompts into a focused helper while preserving current behavior.
Done Checks:
- The retained document-session overwrite-prompt OK wiring no longer lives
inline in the new-document and save-file prompt methods.
- The retained document-session overwrite-prompt path now routes through a
focused helper in `src/legacy_document_session_services.cpp`.
- `DEBT-0040`, `DEBT-0041`, `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-038 | 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"` | `16111e09` |
### RND-001 - Make Pure Equirectangular Export The Primary Success Path
Status: Done