Generic selectors for workflow overlays #4578
markuswondrak
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Workflow overlays currently target steps by explicit ID. This requires repeating the same edit for every matching step when a cross-cutting behavior is needed.
Would generic overlay selectors be a relevant feature?
Potential requirements:
• Select multiple existing steps by attributes such as type (gate, command) or other predicates.
• Apply insert_before, insert_after, replace, or remove to every match.
• Preserve deterministic ordering and unique step IDs.
• Define behavior for nested steps and steps introduced by other overlays.
• Keep existing ID-based anchors and overlay precedence unchanged.
Example use case: attach the same step after every gate without enumerating each gate ID.
All reactions