diff --git a/agents/graph-analyst.md b/agents/graph-analyst.md index fa77435..61d6a62 100644 --- a/agents/graph-analyst.md +++ b/agents/graph-analyst.md @@ -23,14 +23,12 @@ meta: Context: User wants to query session events using the graph user: 'Find all tool errors in my last session using the graph' assistant: 'I will use graph-analyst to run a Cypher query for tool error events — it checks server availability first and falls back to session-navigator if the server is unreachable.' - Graph-powered session event queries go to this agent. It handles server availability automatically. Context: User needs to trace a delegation tree user: 'Show me the full delegation tree for my last recipe run' assistant: 'I will delegate to graph-analyst to trace the parent-child session chain and map the delegation tree using Cypher graph traversal.' - delegation tree tracing across many sessions benefits from graph traversal rather than scanning JSONL files. model_role: [reasoning, general] diff --git a/agents/session-navigator.md b/agents/session-navigator.md index b020718..102d204 100644 --- a/agents/session-navigator.md +++ b/agents/session-navigator.md @@ -18,7 +18,6 @@ meta: Context: Graph analyst delegating because server is unreachable user: [graph-analyst delegates] 'Find tool errors in session abc123 — graph server is unreachable. Workspace: my-project' assistant: 'I will scope search to workspace my-project. I will first resolve CONTEXT_INTELLIGENCE_ROOT="${AMPLIFIER_CONTEXT_INTELLIGENCE_BASE_PATH:-$HOME/.amplifier/projects}", then look in "$CONTEXT_INTELLIGENCE_ROOT"/my-project/sessions/ first, then filter by workspace field if needed. I will search for tool errors using safe jq extraction patterns.' - session-navigator receives workspace from graph-analyst and uses it to scope all directory lookups and field filters. External callers should never invoke session-navigator directly. model_role: general