diff --git a/components/activity-dock.tsx b/components/activity-dock.tsx index b89df03..b65a351 100644 --- a/components/activity-dock.tsx +++ b/components/activity-dock.tsx @@ -329,7 +329,7 @@ function ActivityBlobRow({ : blob.jobKind === "visual" ? "Figure maker" : blob.jobKind === "graph-context" - ? "Knowledge context" + ? "Graph context" : "Sub-agent"; return (
= { 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 '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(" { const html = renderToStaticMarkup( , ); - assert.ok(html.includes("Knowledge context { // The readout: "tok" abbreviated, but the FULL number (owner, 2026-09-15: // no k-rounding — 1024 reads as 1024). assert.ok(html.includes("1024 tok"), "the readout shows the default budget, not 0 — default is ON"); - assert.ok(html.includes("Knowledge context"), "the control is labeled"); + assert.ok(html.includes("Graph context"), "the control is labeled"); // Absent settings render the default — never 'off'. assert.ok(!html.includes(">off<")); });