diff --git a/server/src/services/default-agent-instructions.ts b/server/src/services/default-agent-instructions.ts index 4278d833..be8c9768 100644 --- a/server/src/services/default-agent-instructions.ts +++ b/server/src/services/default-agent-instructions.ts @@ -3,6 +3,8 @@ import fs from "node:fs/promises"; const DEFAULT_AGENT_BUNDLE_FILES = { default: ["AGENTS.md"], ceo: ["AGENTS.md", "HEARTBEAT.md", "SOUL.md", "TOOLS.md"], + pm: ["AGENTS.md", "HEARTBEAT.md", "SOUL.md", "TOOLS.md"], // [nexus] + engineer: ["AGENTS.md", "HEARTBEAT.md", "SOUL.md", "TOOLS.md"], // [nexus] } as const; type DefaultAgentBundleRole = keyof typeof DEFAULT_AGENT_BUNDLE_FILES; @@ -23,5 +25,8 @@ export async function loadDefaultAgentInstructionsBundle(role: DefaultAgentBundl } export function resolveDefaultAgentInstructionsBundleRole(role: string): DefaultAgentBundleRole { - return role === "ceo" ? "ceo" : "default"; + if (role === "ceo") return "ceo"; + if (role === "pm") return "pm"; // [nexus] + if (role === "engineer") return "engineer"; // [nexus] + return "default"; }