Part of the Agent migration epic (roadmap: August). Owner: Jack.
Goal
Make the tutor genuinely graph-aware: graph-grounded retrieval for the tutor system prompt plus a tool-use loop for on-the-fly graph updates.
Scope
- Graph-grounded retrieval feeding
build_system_prompt (backend/routes/learn.py:239) — pull the relevant subgraph for the topic/course instead of dumping the whole graph. - Tool-use loop so the tutor reads/writes graph state mid-turn via tools.
Coordination
Acceptance
- Tutor prompt is scoped to a retrieved subgraph, not the full graph.
- The tutor can update mastery/concepts mid-conversation via tools, reflected in the graph.
Part of the Agent migration epic (roadmap: August). Owner: Jack.
Goal
Make the tutor genuinely graph-aware: graph-grounded retrieval for the tutor system prompt plus a tool-use loop for on-the-fly graph updates.
Scope
build_system_prompt(backend/routes/learn.py:239) — pull the relevant subgraph for the topic/course instead of dumping the whole graph.Coordination
Acceptance