Carry current lifecycle services into Copilot qualification

Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
DottaandPaperclip committed 2026-10-09 11:50:12 -05:00
commit 71cbdda23f
200 files changed
+14307 -6935

No files matched your search

+2 -1
View File
@@ -1308,10 +1308,11 @@ export async function quarantineSeededWorktreeExecutionState(
.update(agents)
.set({
runtimeConfig: normalized.runtimeConfig,
status: nextStatus,
updatedAt: new Date(),
})
.where(eq(agents.id, agent.id));
if (nextStatus !== agent.status) await tx.update(agents).set({ status: "idle", updatedAt: new Date() })
.where(and(eq(agents.id, agent.id), eq(agents.lifecycleState, "ready")));
}
}