Calibrate planning task creation against the current composer

Retain the zero-model UI setup failure and create tasks through the real composer response. Remove random chat-fixture prefix collisions.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
DottaandPaperclip committed 2026-10-05 21:07:03 -05:00
1 parent 370e51d110
commit 8538cfce4c
7 files changed
+115 -7

No files matched your search

@@ -1080,6 +1080,7 @@ describeEmbeddedPostgres("chat channel control-plane integration", () => {
.where(and(inArray(chatConversations.companyId, companyIds), inArray(chatConversations.state, ["active", "waiting"])));
}
let fixtureCompanySequence = 0;
async function seedCompany() {
const companyId = randomUUID();
fixtureCompanies.add(companyId);
@@ -1088,7 +1089,7 @@ describeEmbeddedPostgres("chat channel control-plane integration", () => {
await db.insert(companies).values({
id: companyId,
name: `Chat Test ${companyId.slice(0, 8)}`,
issuePrefix: `C${companyId.replaceAll("-", "").slice(0, 7).toUpperCase()}`,
issuePrefix: `C${(++fixtureCompanySequence).toString(36).padStart(7, "0").toUpperCase()}`,
requireBoardApprovalForNewAgents: false,
});
const now = new Date();