Priority: P2
Problem. We have draft/stable versioning, but promoting a new stable version mid-run isn't explicitly pinned, so a long run could observe a version change underneath it.
Approach. Snapshot the agent version id on the run at start and pin execution to it (builds on the durable-execution persisted state). Mostly a guarantee + test given existing versioning.
Acceptance. Promote a new stable version while a run is in flight → that run finishes on its original version; new runs pick up the new one.
Part of #169
Priority: P2
Problem. We have draft/stable versioning, but promoting a new stable version mid-run isn't explicitly pinned, so a long run could observe a version change underneath it.
Approach. Snapshot the agent version id on the run at start and pin execution to it (builds on the durable-execution persisted state). Mostly a guarantee + test given existing versioning.
Acceptance. Promote a new stable version while a run is in flight → that run finishes on its original version; new runs pick up the new one.
Part of #169