Extracts every step identifier referenced via steps.<stepId> or payload.steps.<stepId> inside
a loop step condition in a single linear O(n) pass (with string literals stripped first).
Used at validation time to reject forward references (step[0] reading steps.step2.ok),
self-references, and typos in steps.<prevId> before the loop executes.
Extracts every step identifier referenced via
steps.<stepId>orpayload.steps.<stepId>inside a loop step condition in a single linearO(n)pass (with string literals stripped first).Used at validation time to reject forward references (
step[0]readingsteps.step2.ok), self-references, and typos insteps.<prevId>before the loop executes.