-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathspawn_focused_bob.py
More file actions
executable file
·35 lines (24 loc) · 969 Bytes
/
spawn_focused_bob.py
File metadata and controls
executable file
·35 lines (24 loc) · 969 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#!/usr/bin/env python3
"""
Spawn a focused instance of Bob for specific tasks
"""
import asyncio
import sys
from pathlib import Path
sys.path.insert(0, str(Path(__file__).parent))
from src.orchestrator.worker_templates import spawn_worker
async def main():
"""Spawn Bob focused on WebUI development"""
print("🤖 Spawning Bob (WebUI Focus)...\n")
# Spawn myself with WebUI focus
task_data = await spawn_worker("webui_developer")
print(f"✅ I'm now working on WebUI improvements in parallel!")
print(f" Task ID: {task_data['task_id']}")
print(f" Thread ID: {task_data['thread_id']}")
print(f"\nI'll be working on:")
for obj in task_data['description'].split('Objectives:\n')[1].split('\n\nWorker Type:')[0].strip().split('\n'):
if obj.strip():
print(f" {obj}")
print("\nWhile this instance continues research and learning!")
if __name__ == "__main__":
asyncio.run(main())