From 32db9f62f1c7ebab3f548dad63e9d1461b23d4bc Mon Sep 17 00:00:00 2001 From: Mikkel Georgsen Date: Wed, 1 Apr 2026 00:14:39 +0200 Subject: [PATCH] feat(08-02): add Generalist agent creation to onboarding wizard - Third agentsApi.create() call with role: "general", name: "Generalist" - metadata: { pendingSkillGroups: ["Creative"] } records Phase 11 intent - Updated description text: mentions all 3 agents (PM, engineer, generalist) - Placed BEFORE queryClient.invalidateQueries for clean ordering --- ui/src/components/NexusOnboardingWizard.tsx | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/ui/src/components/NexusOnboardingWizard.tsx b/ui/src/components/NexusOnboardingWizard.tsx index 310663bf..b674387c 100644 --- a/ui/src/components/NexusOnboardingWizard.tsx +++ b/ui/src/components/NexusOnboardingWizard.tsx @@ -108,6 +108,16 @@ export function OnboardingWizard() { runtimeConfig, }); + // Step 4: Create Generalist agent (non-code work: copy, research, docs) + await agentsApi.create(company.id, { + name: "Generalist", + role: "general", + adapterType: "claude_local", + adapterConfig, + runtimeConfig, + metadata: { pendingSkillGroups: ["Creative"] }, + }); + queryClient.invalidateQueries({ queryKey: queryKeys.agents.list(company.id), }); @@ -145,7 +155,7 @@ export function OnboardingWizard() {

Choose a project root directory. {VOCAB.appName} will set up a{" "} - {VOCAB.ceo.toLowerCase()} and engineer to start working. + {VOCAB.ceo.toLowerCase()}, engineer, and generalist to start working.