Files
ajarbot/agent.py
Jordan Ramos 6eafd758c9 Fix spawn_sub_agent() bug - add missing registration and return
- Add sub_agent_manager.register_sub_agent() call when agent_id provided
- Add missing return statement (method was returning None)
- Fixes watchdog tracking for when delegation is implemented

Bug found during investigation of why watchdog didn't engage during
parallel task test. Root cause was no MCP tool for delegation, but
this bug would have prevented tracking even if delegation worked.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-03-01 10:46:43 -07:00

32 KiB