From 5ca3a275f94acc0eba488fe2ad6889948f3bdbeb Mon Sep 17 00:00:00 2001 From: Dotta Date: Mon, 20 Apr 2026 09:38:31 -0500 Subject: [PATCH] Fix approval-gated seed agent flows Co-Authored-By: Paperclip --- tests/e2e/signoff-policy.spec.ts | 13 ++++++++++--- ui/src/components/OnboardingWizard.tsx | 13 ++++++++++++- 2 files changed, 22 insertions(+), 4 deletions(-) diff --git a/tests/e2e/signoff-policy.spec.ts b/tests/e2e/signoff-policy.spec.ts index a2cde2c385c..eab54a36761 100644 --- a/tests/e2e/signoff-policy.spec.ts +++ b/tests/e2e/signoff-policy.spec.ts @@ -163,9 +163,9 @@ async function setupCompany(boardRequest: APIRequestContext): Promise { - const agentRes = await boardRequest.post(`${BASE_URL}/api/companies/${companyId}/agents`, { + const agentRes = await boardRequest.post(`${BASE_URL}/api/companies/${companyId}/agent-hires`, { data: { name, role, @@ -178,7 +178,14 @@ async function setupCompany(boardRequest: APIRequestContext): Promise