- A sealed history re-check that can't be scheduled yet (the image's own
pass still pending, or the pending set full) is kept due and scheduled
when a pending image finishes, instead of being dropped.
- History matches a file through ComfyUI's spelling of its output folder
first, then with both sides resolved, so a symlinked or junction output
folder still attributes the scan's resolved paths; waiting files are
keyed by their resolved path.
- The scan makes its batch history lookup only when a file needs it.
- set_current_prompt pushes to the queue last, so marking a failed
execution never adds a second queue slot.
- A keyless image outside the output folder doesn't take a waiting slot.