flow-finish-recording
Finalize an in-progress flow recording, save the recorded steps as a YAML flow file, and return a summary with the execution path and prerequisites.
Instructions
Finish recording the flow named by name + project_root, leaving recordings under any other key untouched. Returns { message, path, executionPrerequisite, steps, summary, flowFile, savedTo } - a summary of all recorded steps plus the final YAML. Use when you have added all desired steps and want to finalize the flow file. Fails if that flow has no recording in progress.
A warning flow-add-step raised on a recorded await-ui-element is repeated in summary as a warning: line of its own, right below the step it judges, and message counts them by kind. A warning is repeated only while the step it judges is still identifiable by its number: hand-editing the .yaml during the recording moves the steps, so those warnings are DROPPED rather than pinned on whichever step inherited the number, and message says how many were dropped. A step that carries a cross-tree warning was re-probed against the runner's tree: read it before converting that wait to await:/assert:, which is what the verdict is about and what this moment is for. A step that recorded a wait which did not pass was never probed at all, and its own warning names the CAUSE, because only one of them judges the condition: an unmet wait was read and found false, and it stops the run at replay; a wait whose tree source could not be read, or one that was cancelled, observed nothing and leaves the condition UNKNOWN rather than known-bad. Read those before replaying.
You can still edit the .yaml file directly afterwards to remove or reorder steps.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name of the flow being recorded — the one passed to flow-start-recording. | |
| project_root | Yes | Absolute path to the project root of the flow being recorded — the same value passed to flow-start-recording. Together with `name` it identifies which recording to finish. |