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: Interface Document.md
+20Lines changed: 20 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -62,6 +62,26 @@ Audit flow:
62
62
-`assistantBlocks` are no longer only transport wrappers around the same legacy answer string. Current Tauri-capable clients should expect intent-aware overview / explanation / evidence / memory / action sections while still honoring `assistantMessage` as the compatibility fallback.
63
63
- Compatibility rule: new response fields must remain additive and optional; Godot/mobile paths must continue to use PNG-first materialized render artifacts instead of requiring direct SVG import.
64
64
65
+
## 0.2B Knowledge Workspace and DAG Alignment Addendum (2026-06-10)
66
+
67
+
- The Knowledge Workspace runtime now includes durable workflow-artifact paths for `flashcard_batch` and `knowledge_run`, exposed through `/api/knowledge/workflow-artifacts` and `/api/knowledge/workflow-artifacts/review-follow-up`.
68
+
- Runtime compatibility remains additive:
69
+
-`assistantMessage` stays valid,
70
+
-`answer`, `assistantBlocks`, `knowledgeRun`, grouped `knowledgePoints`, citations, memory actions, and trace coexist with legacy clients.
71
+
- The codebase already contains a real DAG-backed learning substrate:
72
+
-`KnowledgeAtom`
73
+
-`RelationEdge`
74
+
-`TemporalEdge`
75
+
- path queries
76
+
- prerequisite-driven mastery/session flows
77
+
-`KnowledgeQueryItem.relationPath`
78
+
- Current architecture reading:
79
+
- graph-backed retrieval and learning-path/session logic are implemented,
80
+
- graph-native answer planning is not yet complete because retrieval and answer synthesis still lack a dedicated graph-conditioned context-assembly layer.
81
+
- Current product-surface reading:
82
+
- grouped file-first knowledge hits and right-pane source highlighting are implemented,
83
+
- the visible answer area still needs future contraction so targeted answers lead and supporting blocks move to secondary surfaces.
Copy file name to clipboardExpand all lines: README.md
+16-14Lines changed: 16 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,16 +27,16 @@ Unlike traditional "network" views that show a messy web of links, NoteConnectio
27
27
28
28
---
29
29
30
-
## Current Mainline Architecture Status (2026-06-06)
30
+
## Current Mainline Architecture Status (2026-06-10)
31
31
32
32
- The current `main` branch has code-backed scoped retrieval, grounded conversation, durable resource/index/workspace/session/memory/export substrate, explicit export profiles, and PNG-first Godot/mobile render materialization.
33
-
- The Knowledge Workspace is no longer only a thin chat shell over the global folder selector: it now has an in-pane scope switcher, a compact `/api/knowledge/conversation` status strip, grouped knowledge-point hits rendered as file-first entries, matched-span rendering in the focus pane, and explicit recovered-source visibility when `planner_scope_recovery` is used.
34
-
-graphdb/sqlite and ANN/external connector paths are operational baselines, not production-closed release claims. Release closure still depends on repeated soak evidence, workload thresholds, recall/latency calibration, and strict rollout proof.
35
-
-`npm run verify:foundation:release-evidence` now audits the latest sqlite soak and ANN release-gate JSON reports for freshness and passing gates before current-host evidence is used as release context; `npm run verify:foundation:release-evidence:strict` additionally requires repeated fresh valid history reports, is exposed in foundation readiness as `foundation_release_evidence_history`, and now passes on the current Windows host with sqlite `3/3` and ANN `3/3`. `npm run verify:foundation:release-evidence:multi-host` is now available when a release window needs at least two host keys per component, but current Windows-host evidence remains single-host.
36
-
-Backward compatibility is preserved through additive response evolution: `assistantBlocks` can carry richer Tauri agent replies while legacy `assistantMessage` remains valid.
37
-
-Tauri agent replies are now materially richer than the old plain-text path: the backend emits intent-aware overview / explanation / evidence summary / memory notice / next-action sections, while still preserving the old `assistantMessage` field for legacy clients.
38
-
- The current architecture pressure is ownership reduction: `src/server.ts`, `src/learning/KnowledgeLearningPlatform.ts`, and large frontend host files remain the next simplification targets.
39
-
- Current code-vs-plan details are tracked in [Architecture Progress Alignment and Mainline Plan (2026-06-06)](docs/solutions/architecture-progress-alignment-2026-06-06.md) and [Development Progress Dashboard](docs/diataxis/en/explanation/development-progress-dashboard.md).
33
+
- The Knowledge Workspace now includes an in-pane scope switcher, a compact `/api/knowledge/conversation` status strip, grouped file-first knowledge hits, source-markdown rendering with matched-span highlighting in the focus pane, and durable workflow artifacts for `flashcard_batch` and `knowledge_run`.
34
+
-Agent conversation runtime is no longer limited to one flat string: `answer`, `assistantBlocks`, `knowledgeRun`, grouped knowledge points, citations, memory actions, and trace are all present while legacy `assistantMessage` remains valid.
35
+
-The current DAG-backed learning substrate is real: `KnowledgeAtom`, `RelationEdge`, `TemporalEdge`, path queries, mastery-path/session logic, and `KnowledgeQueryItem.relationPath` already exist. The remaining gap is not “having a graph,” but letting answer planning consume it through a dedicated graph-conditioned context layer.
36
+
-graphdb/sqlite and ANN/external connector paths remain operational baselines, not production-closed claims. Release closure still depends on repeated soak evidence, workload thresholds, recall/latency calibration, strict rollout proof, and multi-host evidence.
37
+
-`npm run verify:foundation:release-evidence` audits the latest sqlite soak and ANN release-gate reports for freshness and passing gates before host evidence is used as release context; `npm run verify:foundation:release-evidence:strict` requires repeated fresh valid history and is exposed in foundation readiness as `foundation_release_evidence_history`; `npm run verify:foundation:release-evidence:multi-host` is available for release windows that require host diversity.
38
+
- The current architecture pressure remains ownership reduction: `src/server.ts`, `src/learning/KnowledgeLearningPlatform.ts`, `src/frontend/agent_workspace.js`, and `src/frontend/workspace_panes.js`remain the main simplification targets.
39
+
- Current code-vs-plan details are tracked in [Knowledge Workspace and DAG Alignment Plan (2026-06-10)](docs/solutions/knowledge-workspace-dag-alignment-2026-06-10.md), [Architecture Progress Alignment and Mainline Plan (2026-06-06)](docs/solutions/architecture-progress-alignment-2026-06-06.md), and the[Development Progress Dashboard](docs/diataxis/en/explanation/development-progress-dashboard.md).
40
40
41
41
---
42
42
@@ -1017,14 +1017,16 @@ For optimal performance with "GPU Optimised Rendering", especially on AMD RDNA c
-`npm run verify:foundation:release-evidence` 现在会在当前宿主证据被作为 release context 前审计最新 sqlite soak 与 ANN release-gate JSON 报告的新鲜度和通过状态;`npm run verify:foundation:release-evidence:strict` 还会要求多份新鲜有效历史报告,已通过 `foundation_release_evidence_history` 暴露到 foundation readiness,并且当前 Windows 宿主已达到 sqlite `3/3` 与 ANN `3/3` 通过状态。当 release window 需要每个组件至少覆盖两个 host key 时,可以使用 `npm run verify:foundation:release-evidence:multi-host`,但当前 Windows 宿主证据仍是单宿主证据。
Copy file name to clipboardExpand all lines: TODO.md
+34Lines changed: 34 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,37 @@
1
+
# 2026-06-10 v1.7.0 - Knowledge Workspace and DAG Alignment TODO
2
+
3
+
## English Document
4
+
5
+
### Objective
6
+
Keep the root TODO aligned with the 2026-06-10 Knowledge Workspace and DAG code-vs-plan reconciliation on `main`.
7
+
8
+
### Current Status
9
+
-[x] A new mainline alignment note for this slice now exists at `docs/solutions/knowledge-workspace-dag-alignment-2026-06-10.md`.
10
+
-[x] The current codebase already supports structured grounded conversation, grouped knowledge points, durable `flashcard_batch` / `knowledge_run` artifacts, and workflow-artifact review follow-up.
11
+
-[x] The current codebase already has a real DAG-backed learning substrate: `KnowledgeAtom`, `RelationEdge`, `TemporalEdge`, path queries, and mastery/session graph logic are implemented.
12
+
-[~] The visible answer area is still richer than the intended final product surface. The primary answer still needs contraction so users see the targeted answer first and supporting blocks move to secondary surfaces.
13
+
-[~] Knowledge-hit interaction is file-first, but still not fully right-pane-first. Left-side preview/action behavior should converge on the right pane as the canonical reading surface.
14
+
-[ ] Add a graph-conditioned context-assembly layer between retrieval and answer synthesis so the current DAG becomes a first-class answer-planning substrate rather than only a retrieval-side aid.
15
+
-[ ] Continue ownership reduction in `src/server.ts`, `src/learning/KnowledgeLearningPlatform.ts`, `src/frontend/agent_workspace.js`, and `src/frontend/workspace_panes.js`.
16
+
-[ ] Keep `assistantMessage` compatibility while evolving richer optional `assistantBlocks` and durable artifact inspection surfaces.
17
+
18
+
## 中文文档
19
+
20
+
### 目标
21
+
让根目录 TODO 与 `main` 上 2026-06-10 的“知识工作区 + DAG 对齐”代码 / 方案结论保持一致。
0 commit comments