Extract document-session workflow prompt helper

This commit is contained in:
2026-06-15 22:06:21 +02:00
parent eaa8a2fced
commit c37451e959
4 changed files with 72 additions and 18 deletions

View File

@@ -1452,6 +1452,42 @@ Completed Task Log:
| --- | --- | ---: | --- | --- |
| 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"` | `93846763` |
### ADP-039 - Extract Document-Session Workflow Prompt Helper
Status: Done
Score: no score movement
Debt: `DEBT-0040`
Scope: `src/legacy_document_session_services.cpp` only
Closeout: `93846763`
Goal:
Reduce the inline retained save-before-continue workflow prompt surface by
extracting the button wiring from `prompt_save_before_continue()` into a
focused helper while preserving current behavior.
Done Checks:
- The retained save-before-continue workflow prompt wiring no longer lives
inline in `prompt_save_before_continue()`.
- The retained workflow prompt path now routes through a focused helper in
`src/legacy_document_session_services.cpp`.
- `DEBT-0040` 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-039 | 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"` | `93846763` |
### RND-001 - Make Pure Equirectangular Export The Primary Success Path
Status: Done