= {
visual: "Figure agent",
// The injection is server-initiated — it has no tool part, so never a
// dispatch card. The entry exists only for the exhaustive record.
- "graph-context": "Knowledge context",
+ "graph-context": "Graph context",
};
export function DispatchCard({ toolCallId, kind }: { toolCallId: string; kind: JobKind }) {
diff --git a/components/graph-context-control.tsx b/components/graph-context-control.tsx
index 27a99cd..a63ac64 100644
--- a/components/graph-context-control.tsx
+++ b/components/graph-context-control.tsx
@@ -45,7 +45,7 @@ export function GraphContextControl({
return (
- Knowledge context
+ Graph context
diff --git a/tests/render-activity-dock.test.tsx b/tests/render-activity-dock.test.tsx
index 2ea77b9..15892d4 100644
--- a/tests/render-activity-dock.test.tsx
+++ b/tests/render-activity-dock.test.tsx
@@ -152,14 +152,14 @@ describe("activity section render", () => {
assert.match(html, /activity-total-cost[^>]*>—);
});
- it("renders a graph-context job as 'Knowledge context' — the dock's fourth kind", () => {
+ it("renders a graph-context job as 'Graph context' — the dock's fourth kind", () => {
const html = renderToStaticMarkup(
,
);
assert.match(html, /data-testid="activity-blob-job"/);
- assert.match(html, /Knowledge context/);
+ assert.match(html, /Graph context/);
assert.match(html, /selecting propositions/);
assert.match(html, /data-testid="activity-abort"/, "END kills the injection like any job");
});
diff --git a/tests/render-graph-context-marker.test.tsx b/tests/render-graph-context-marker.test.tsx
index 4125828..8bc75d1 100644
--- a/tests/render-graph-context-marker.test.tsx
+++ b/tests/render-graph-context-marker.test.tsx
@@ -27,7 +27,7 @@ function markerMessage(): TeacherUIMessage {
describe("GraphContextMarker", () => {
it("renders the quiet summary line with token + proposition counts", () => {
const html = renderToStaticMarkup();
- assert.ok(html.includes("Knowledge context — ~537"));
+ assert.ok(html.includes("Graph context — ~537"));
assert.ok(html.includes("3 propositions"));
assert.ok(html.includes('data-testid="graph-context"'));
assert.ok(html.includes("