Resolve every AIPromptRun ID produced by the given agent runs, via their prompt-run-bearing steps.
Callers that already hold the step rows should use PromptRunIdsFromSteps directly rather than
re-reading them. Callers that are about to DELETE the steps must call this FIRST — deleting the
steps destroys the only path to the prompt runs.
Resolve every AIPromptRun ID produced by the given agent runs, via their prompt-run-bearing steps.
Callers that already hold the step rows should use
PromptRunIdsFromStepsdirectly rather than re-reading them. Callers that are about to DELETE the steps must call this FIRST — deleting the steps destroys the only path to the prompt runs.