You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/diataxis/en/explanation/development-progress-dashboard.md
+8-5Lines changed: 8 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,9 @@ The key result is that the current code has moved further than the old plan word
17
17
- a dedicated evidence pane now carries grounding inspection plus durable `knowledge_run` and `flashcard_batch` inspection,
18
18
- grouped conversation knowledge points now retain relation-path and temporal-validity signals,
19
19
- the composer now materializes an explicit `graphContext`,
20
-
- and that `graphContext` now survives through conversation trace, snapshot persistence, and workspace export.
20
+
- that `graphContext` now survives through conversation trace, snapshot persistence, and workspace export,
21
+
- the grounding inspector now renders that persisted `graphContext` as structured graph evidence,
22
+
- and grounding inspectability is now normalized per turn so later turns without grounding payload do not keep stale evidence-pane state alive.
21
23
22
24
At the same time, the product surface is still behind the intended final behavior:
23
25
@@ -35,20 +37,21 @@ Code-vs-plan reconciliation for this slice:
35
37
| Right-pane evidence reading | Graph focus reuses the shared markdown runtime and highlights matched spans in rendered source markdown. | Implemented baseline |
36
38
| Answer area contraction to a single targeted answer |`agent_workspace.js` now keeps the full conversation result in runtime state while only rendering user-facing answer blocks (`structured_answer`, `main_markdown`, `html_artifact`) in the main chat surface. | Implemented current slice |
37
39
| Hide developer-heavy evidence from the primary hit list |`workspace_panes.js` no longer renders inline knowledge previews or visible typed capability buttons in the left-side hit list; those flows now route into graph focus or the dedicated evidence pane. | Implemented current slice |
38
-
| Durable evidence/claim inspector |`workspace_panes.js` now exposes a dedicated evidence pane for grounding metadata, `knowledge_run`, `knowledge_run_history`, `knowledge_run_compare`, and `flashcard_batch`; `agent_workspace.js` wires the API status strip into grounding inspection. | Implemented current slice |
39
-
| DAG-native answer planning |`AgentConversationKnowledgePoint` now carries grouped `relationPath`, `relationKinds`, `relationPathAtomIds`, and `temporalValidity`; `conversationComposer.ts` now materializes an explicit `graphContext`; `KnowledgeLearningPlatform.ts` and `WorkspaceExportBundle.ts` now preserve it through trace, persistence, and export surfaces. | Implemented partial slice |
40
+
| Durable evidence/claim inspector |`workspace_panes.js` now exposes a dedicated evidence pane for grounding metadata, `knowledge_run`, `knowledge_run_history`, `knowledge_run_compare`, and `flashcard_batch`; `agent_workspace.js` wires the API status strip into grounding inspection and normalizes per-turn inspectability so stale grounding is cleared on later turns without evidence payloads. | Implemented broader current slice |
41
+
| DAG-native answer planning |`AgentConversationKnowledgePoint` now carries grouped `relationPath`, `relationKinds`, `relationPathAtomIds`, and `temporalValidity`; `conversationComposer.ts` now materializes an explicit `graphContext`; `KnowledgeLearningPlatform.ts` and `WorkspaceExportBundle.ts` now preserve it through trace, persistence, and export surfaces; `workspace_panes.js` now renders that persisted `graphContext` in the evidence pane as a structured graph explanation surface. | Implemented broader partial slice |
40
42
41
43
Immediate next direction from this point:
42
44
43
-
1. Extend the new DAG-aware conversation slice into a dedicated graph-conditioned context-assembly layer instead of relying on grouped relation hints and a thin `graphContext` alone.
44
-
2.Preserve the new primary answer / right-pane-first interaction contract while growing the evidence pane and `graphContext` toward a broader durable evidence ledger and graph explanation surface.
45
+
1. Extend the new DAG-aware conversation slice into a dedicated graph-conditioned context-assembly layer instead of relying on grouped relation hints and the current thin `graphContext` alone.
46
+
2.Build on the new evidence-pane graph projection by adding richer predecessor/successor/path semantics and temporal replacement handling without expanding the primary chat transcript.
45
47
3. Continue ownership reduction across `src/server.ts`, `KnowledgeLearningPlatform.ts`, `agent_workspace.js`, and `workspace_panes.js`.
46
48
47
49
Verification for the current code-backed alignment:
48
50
49
51
-`npm.cmd exec -- tsc --noEmit`
50
52
-`node --check src/frontend/agent_workspace.js`
51
53
-`node --check src/frontend/workspace_panes.js`
54
+
-`npm.cmd exec -- jest src/agent_workspace.frontend.test.ts src/agent_workspace.locale.contract.test.ts --runInBand --no-cache`
Copy file name to clipboardExpand all lines: docs/solutions/knowledge-workspace-dag-alignment-2026-06-10.md
+12-2Lines changed: 12 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -128,6 +128,8 @@ Implemented evidence:
128
128
- Graph-focus can render original markdown and highlight matched evidence.
129
129
-`agent_workspace.js` no longer auto-expands the first knowledge preview and keeps the full conversation result plus grounding summary in runtime getters for follow-up flows.
130
130
- the conversation API status strip now opens a grounding inspector in the evidence pane.
131
+
- the grounding inspector now renders persisted `trace.graphContext` as structured graph evidence instead of only aggregate scope/citation counters.
132
+
- grounding inspectability is now derived from the current-turn normalized payload, so a later turn with no grounding payload clears stale evidence-pane state instead of reusing older turn grounding.
131
133
-`knowledge_run`, `knowledge_run_history`, `knowledge_run_compare`, and `flashcard_batch` inspections now open in the evidence pane instead of appending new primary chat cards.
132
134
133
135
Progress call:
@@ -181,13 +183,19 @@ What the current slice now adds:
181
183
- add graph-aware next-action guidance when prerequisite chains or temporal validity warnings are present.
182
184
-`KnowledgeLearningPlatform.ts` now persists and restores that `graphContext` across conversation turn history and snapshot reload.
183
185
-`WorkspaceExportBundle.ts` now carries `graphContext` through workspace export/runtime turn serialization.
186
+
-`workspace_panes.js` now projects that persisted `graphContext` into the evidence pane as a structured graph explanation surface:
187
+
- anchor identity
188
+
- relation kinds and relation summaries
189
+
- supporting titles and atom ids
190
+
- temporal-validity status and warning reasons
191
+
-`agent_workspace.js` now normalizes grounding payload construction in one place and clears stale grounding state when a later turn returns no grounding payload.
184
192
185
193
What is still missing:
186
194
187
195
- a dedicated graph-conditioned context assembly layer between retrieval and answer synthesis,
188
196
- richer use of predecessor/successor chains beyond grouped relation summaries,
189
197
- answer-time use of temporal replacement / supersession beyond warning text,
190
-
- frontend/runtime use of the persisted `graphContext`as a durable graph explanation surface rather than markdown-only guidance.
198
+
-broader frontend/runtime reuse of the persisted `graphContext`beyond the current evidence-pane projection.
191
199
192
200
Progress call:
193
201
@@ -204,7 +212,7 @@ Progress call:
204
212
| Durable learning/review loop | Implemented through workflow artifacts, knowledge runs, review follow-up, flashcard batch persistence, and a pane-backed evidence inspector for durable artifact inspection | Implemented current slice | Still lacks a broader durable evidence ledger and challenge-loop product surface |
205
213
| File-first scoped knowledge hits | Implemented and now routed directly into graph focus from file-only entries | Implemented current slice | Graph-focus and evidence-pane cohesion now matters more than entry-point cleanup |
206
214
| Hide developer-heavy evidence from the main user-facing answer | Implemented in the primary chat and hit-list surfaces, with grounding and durable artifact inspection moved into a dedicated evidence pane | Implemented current slice | Secondary surfaces still share large frontend owners |
207
-
| Use current DAG as a first-class answer-planning substrate |`AgentConversationKnowledgePoint` now carries grouped `relationPath` / `relationKinds` / `relationPathAtomIds` / `temporalValidity`; `conversationComposer.ts` now materializes an explicit `graphContext`; `KnowledgeLearningPlatform.ts` and `WorkspaceExportBundle.ts` now preserve it through trace/persistence/export surfaces| Implemented partial slice | Missing a dedicated graph-conditioned context assembly layer and richer downstream use of the graph context |
215
+
| Use current DAG as a first-class answer-planning substrate |`AgentConversationKnowledgePoint` now carries grouped `relationPath` / `relationKinds` / `relationPathAtomIds` / `temporalValidity`; `conversationComposer.ts` now materializes an explicit `graphContext`; `KnowledgeLearningPlatform.ts` and `WorkspaceExportBundle.ts` now preserve it through trace/persistence/export surfaces; `workspace_panes.js` now exposes that `graphContext` in the evidence pane as a structured graph explanation surface | Implemented broader partial slice | Missing a dedicated graph-conditioned context assembly layer and richer downstream use of the graph context |
208
216
| Ownership reduction in runtime and frontend hosts | Not complete | Behind target |`server.ts`, `KnowledgeLearningPlatform.ts`, `agent_workspace.js`, and `workspace_panes.js` still own too much |
209
217
210
218
### Current Risks
@@ -296,6 +304,8 @@ Shipped characteristics:
296
304
- grouped conversation knowledge points now retain `relationPath`, `relationKinds`, `relationPathAtomIds`, and `temporalValidity`,
297
305
- structured answer overview/explanation/next-actions now use those grouped DAG signals additively,
298
306
- the resulting `graphContext` now survives through conversation trace, snapshot persistence, and workspace export.
307
+
- the evidence pane now renders that `graphContext` directly for user inspection,
308
+
- grounding-pane state now clears cleanly when a later turn has no grounding payload.
0 commit comments