| … | … | @@ -5598,11 +5611,12 @@ const makeOrchestrator = Effect.fn("orchestrationV2.Orchestrator.layer")(functio | |
| 5603 | 5617 | : {}), | |
| 5604 | 5618 | queuePosition: | |
| 5605 | - | goalStopRunId !== undefined | |
| 5619 | + | goalStopRunId !== undefined || redispatchedSteer | |
🟠High orchestration-v2/Orchestrator.ts:5619
A later refused steer runs before an earlier one: every redispatched steer gets queuePosition: 1, and stopRunForQueuedCommand moves the earlier queued steer behind it. Preserve submission order within the redispatched-steer group while keeping that group ahead of ordinary queued messages.
🚀 Reply "fix it for me" or copy this AI Prompt for your agent:
| 1 | In file @apps/server/src/orchestration-v2/Orchestrator.ts around line 5619: |
| 2 | |
| 3 | A later refused steer runs before an earlier one: every redispatched steer gets `queuePosition: 1`, and `stopRunForQueuedCommand` moves the earlier queued steer behind it. Preserve submission order within the redispatched-steer group while keeping that group ahead of ordinary queued messages. |