diff --git a/tools/validate-agent-schema.js b/tools/validate-agent-schema.js index b351f8ec..409bd551 100644 --- a/tools/validate-agent-schema.js +++ b/tools/validate-agent-schema.js @@ -28,7 +28,7 @@ async function main(customProjectRoot) { const project_root = customProjectRoot || path.join(__dirname, '..'); // Find all agent files - const agentFiles = await glob('src/{core,modules/*}/agents/*.agent.yaml', { + const agentFiles = await glob('src/{core,bmm/*}/agents/**/*.agent.yaml', { cwd: project_root, absolute: true, });