Integration Points
Recovery Hook Enhancement
Update /opt/mcp-servers/shared/hooks/session_start_hook.py to call recall.load:
def get_recall_context(ai_id, event_type):
# Determine scope based on event
if event_type == 'compact':
scope = 'full' # Need full context after compact
elif is_agent_terminal():
scope = 'task'
else:
scope = 'minimal'
# Call recall
result = gateway.run([{server:'recall', tool:'load', args:{ai_id, scope}}])
return result
/ops Skill
New skill for ops manager onboarding: 1. Load recall with scope='full' 2. Check for active AI Groups 3. If group found, rejoin as ops 4. Present context summary and pending work
/agent Skill Enhancement
Update existing agent skill: 1. Load recall with scope='task' and task_context from ops message 2. Join specified group 3. Wait for instructions
Gateway Registration
Add to gateway server list in /opt/mcp-servers/gateway/mcp_gateway_server.py