diff --git a/src/bmm/workflows/document-project/instructions.md b/src/bmm/workflows/document-project/instructions.md index f04f2aa89..44caa6e45 100644 --- a/src/bmm/workflows/document-project/instructions.md +++ b/src/bmm/workflows/document-project/instructions.md @@ -113,6 +113,7 @@ Your choice [1/2/3]: Set resume_mode = true Set workflow_mode = {{mode}} + Set subworkflow_success = false Load findings summaries from state file Load cached project_type_id(s) from state file @@ -125,10 +126,27 @@ Your choice [1/2/3]: Read fully and follow: {installed_path}/workflows/deep-dive-instructions.md with resume context + Set subworkflow_success = true only if delegated workflow completed without HALT/error + + Sub-workflow failed or was aborted during resume deep-dive mode. Exiting without marking completion. + Exit workflow + + After sub-workflow completes, continue to Step 4 Read fully and follow: {installed_path}/workflows/full-scan-instructions.md with resume context + Set subworkflow_success = true only if delegated workflow completed without HALT/error + + Sub-workflow failed or was aborted during resume full-scan mode. Exiting without marking completion. + Exit workflow + + After sub-workflow completes, continue to Step 4 + + + + Invalid resume workflow mode '{{workflow_mode}}'. Exiting without marking completion. + Exit workflow @@ -220,6 +238,11 @@ Your choice [1/2/3]: + + Resume flow did not complete a delegated sub-workflow successfully. Exiting without completion update. + Exit workflow + + Attempt status update in {{status_file_path}}: - Mark workflow `document-project` as completed