Skip to content

Commit 6635116

Browse files
committed
feat(agent-workspace): add activity result previews
1 parent 6fddc18 commit 6635116

11 files changed

Lines changed: 428 additions & 58 deletions

docs/diataxis/en/explanation/agent-conversation-focus-mode-plan.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -463,10 +463,11 @@ It is conversation-product hardening on top of the shipped shell.
463463
`M8.25` now adds active-atom continuity notes and path-target diagnostics so focus/path drift is explicit instead of implicit.
464464
`M8.26` now adds capability-taxonomy summary cards and latest study-action feedback so the current atom reads like a result surface instead of only a button cluster.
465465
`M8.27` now adds recent current-atom result history so the rail preserves the last successful actions across turns instead of resetting to a blank continuity surface.
466+
`M8.28` now adds localized result-detail previews inside that recent-activity history so the rail preserves what those actions produced, not just that they happened.
466467

467468
Priority order:
468469

469-
1. result-detail previews and history drill-down on top of the shipped current-atom recent-activity card,
470+
1. history drill-down and continuity-driven follow-up affordances on top of the shipped preview-enabled current-atom recent-activity card,
470471
2. only then deeper personalization work,
471472
3. markdown-reader improvements only when they clearly compound the same study loop.
472473

docs/diataxis/en/explanation/development-progress-dashboard.md

Lines changed: 22 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ Current top priority is not feature-count expansion.
1818
Current top priority is **conversation-product hardening on top of the already-green backend baseline**:
1919

2020
- keep backend sufficiency as a standing decision gate rather than an active execution lane,
21-
- keep closing the correction/product/operator gap exposed after `M8.20-M8.27`,
22-
- treat `M8.23` as the operator-visibility baseline for conversation-memory/correction actions, `M8.24` as the active-atom action-surface baseline, `M8.25` as the active-atom pane-state continuity baseline, `M8.26` as the active-atom study-loop summary baseline, and `M8.27` as the active-atom recent-result continuity baseline,
23-
- move the remaining near-term budget into richer current-atom result previews and continuity affordances instead of reopening backend scope,
21+
- keep closing the correction/product/operator gap exposed after `M8.20-M8.28`,
22+
- treat `M8.23` as the operator-visibility baseline for conversation-memory/correction actions, `M8.24` as the active-atom action-surface baseline, `M8.25` as the active-atom pane-state continuity baseline, `M8.26` as the active-atom study-loop summary baseline, `M8.27` as the active-atom recent-result continuity baseline, and `M8.28` as the active-atom result-preview baseline,
23+
- move the remaining near-term budget into history drill-down and continuity affordances instead of reopening backend scope,
2424
- keep remote `main` CI interpretation evidence-based: the latest fully completed `main` workflow set is green, and new pushes should be treated as pending until their workflow set finishes.
2525

2626
## Current Mainline Snapshot (2026-04-21 M8.18)
@@ -206,6 +206,23 @@ Execution anchor:
206206
- cross-turn same-atom recent-history continuity,
207207
- EN/ZH re-render coverage for the new history heading, count metric, and zero-state copy.
208208

209+
## Latest Mainline Increment (2026-04-21 M8.28 Active-Atom Result Detail Previews)
210+
211+
- Upgraded the recent-activity card from a label-only history list to a preview-bearing result surface:
212+
- successful current-atom history entries now carry structured preview payloads for the result phase,
213+
- the rail now renders localized detail lines for shipped result surfaces such as learning-path, study-session, memory-policy, and tutor-message actions,
214+
- preview text stays render-time localized instead of storing language-locked strings inside diagnostics.
215+
- Kept the slice frontend-bounded:
216+
- no backend route, API contract, or persistence model changed,
217+
- preview data is derived from capability execution results already returned to the runtime and stored only in the bounded diagnostics event ring.
218+
- Closed the next usability gap after `M8.27`:
219+
- the operator no longer has to infer what a recent action produced from the action label alone,
220+
- language rerenders now preserve recent-activity meaning instead of degrading preview text into stale language-specific strings.
221+
- Expanded regression coverage for:
222+
- structured preview rendering in cross-turn current-atom history,
223+
- diagnostics snapshot coverage for stored preview payloads,
224+
- EN/ZH re-render coverage for localized preview text.
225+
209226
## Latest Mainline Increment (2026-04-14 M1 Baseline)
210227

211228
- Added first `AgentConversationAPI` contract surface:
@@ -1309,8 +1326,8 @@ Note: foundation-lane gates now exist on `main`; keep them in the normal verific
13091326

13101327
1. Treat backend sufficiency as closed-by-default while the gate remains green; do not reopen heavier backend work without new measured pressure.
13111328
2. Treat remote `main` CI as evidence-bound to the latest fully completed workflow set; only reopen CI-triage narrative when a fresh failing run exists.
1312-
3. Make the next planning round about post-`M8.27` bounded conversation-product hardening:
1313-
- result-detail previews and history drill-down on top of the shipped current-atom recent-activity card before deeper personalization work,
1329+
3. Make the next planning round about post-`M8.28` bounded conversation-product hardening:
1330+
- history drill-down and continuity-driven follow-up affordances on top of the shipped preview-enabled current-atom recent-activity card before deeper personalization work,
13141331
- only then deeper personalization work,
13151332
- markdown-reader improvements only when they compound the same study loop.
13161333
4. Treat notification-threshold governance as closed after `M7.29`; do not plan `M7.30+` unless a materially new operator requirement appears.

docs/diataxis/en/explanation/local-backend-sufficiency-and-escalation-plan.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -247,8 +247,8 @@ Recommended next product order:
247247
- extend explicit conversation memory APIs beyond the current snapshot/read/managed-key inspection and note/correction/eviction surface,
248248
- the minimum correction / feedback closure is now integrated through explicit next-step guidance on missing managed state,
249249
- operator-facing visibility for conversation-memory and correction actions is now integrated through persisted diagnostics summary/index counts,
250-
- stronger agent action surfaces around focus mode and learning path are now integrated through the active-atom quick-action rail, toolbar routing, continuity notes/path-target diagnostics, capability-taxonomy summary cards, and the recent-activity history card,
251-
- next prioritize result-detail previews and history drill-down on top of the shipped current-atom recent-activity card before deeper personalization work.
250+
- stronger agent action surfaces around focus mode and learning path are now integrated through the active-atom quick-action rail, toolbar routing, continuity notes/path-target diagnostics, capability-taxonomy summary cards, the recent-activity history card, and localized result-detail previews on that history surface,
251+
- next prioritize history drill-down and continuity-driven follow-up affordances on top of the shipped preview-enabled current-atom recent-activity card before deeper personalization work.
252252
2. markdown-reader improvement:
253253
- only when it clearly compounds knowledge review or focus-mode study loops.
254254

docs/diataxis/zh/explanation/agent-conversation-focus-mode-plan.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -451,10 +451,11 @@
451451
`M8.25` 现在又补上当前 atom continuity note 与 path-target diagnostics,让 focus/path drift 从隐式状态变成显式提示。
452452
`M8.26` 现在又补上 capability-taxonomy summary card 与最近 study-action 反馈,让当前 atom 更像结果面,而不只是动作按钮堆叠。
453453
`M8.27` 现在又补上当前 atom recent result history,让 rail 在跨轮次时保留最近成功动作,而不是重新退回空白 continuity surface。
454+
`M8.28` 现在又在这条 recent-activity history 里补上本地化 result-detail preview,让 rail 保留的不只是“发生过什么动作”,还包括“动作产出了什么”。
454455

455456
优先顺序:
456457

457-
1. 围绕已落地的 current-atom recent-activity card 继续补 result-detail preview 与 history drill-down
458+
1. 围绕已落地且带 preview 的 current-atom recent-activity card 继续补 history drill-down 与 continuity-driven follow-up affordance
458459
2. 之后才进入更深的 personalization 工作,
459460
3. Markdown 阅读器提升只有在能明确复利同一学习闭环时才进入前列。
460461

docs/diataxis/zh/explanation/development-progress-dashboard.md

Lines changed: 22 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@
1818
当前重心是 **建立在已转绿 backend 基线之上的 conversation-product 加固**
1919

2020
- 让 backend sufficiency 继续作为常驻 decision gate,而不是继续占用主动执行预算,
21-
- 持续收口 `M8.20-M8.27` 之后暴露出的 correction / product / operator 缺口,
22-
-`M8.23` 视作 conversation-memory / correction action 的 operator-visibility 基线,将 `M8.24` 视作当前 atom action-surface 基线,将 `M8.25` 视作当前 atom pane-state continuity 基线,将 `M8.26` 视作当前 atom study-loop summary 基线,并将 `M8.27` 视作当前 atom recent-result continuity 基线,
23-
- 把剩余近端预算转向更丰富的当前 atom result preview 与 continuity affordance,而不是重开 backend 范围,
21+
- 持续收口 `M8.20-M8.28` 之后暴露出的 correction / product / operator 缺口,
22+
-`M8.23` 视作 conversation-memory / correction action 的 operator-visibility 基线,将 `M8.24` 视作当前 atom action-surface 基线,将 `M8.25` 视作当前 atom pane-state continuity 基线,将 `M8.26` 视作当前 atom study-loop summary 基线, `M8.27` 视作当前 atom recent-result continuity 基线,并将 `M8.28` 视作当前 atom result-preview 基线,
23+
- 把剩余近端预算转向 history drill-down 与 continuity affordance,而不是重开 backend 范围,
2424
- 远端 `main` CI 解释继续基于代码事实:最近一组已完整结束的主线工作流为绿色,新推送在整组工作流结束前只应视为 pending。
2525

2626
## 当前主线快照(2026-04-21 M8.18)
@@ -206,6 +206,23 @@
206206
- 同一 atom 跨轮次 recent-history continuity,
207207
- EN/ZH 对新 history heading、计数 metric 与空状态文案的重渲覆盖。
208208

209+
## 主线最新增量(2026-04-21 M8.28 当前 Atom Result Detail Previews)
210+
211+
- 已把 recent-activity card 从“只显示动作标签的历史列表”升级为带结果预览的 result surface:
212+
- 当前 atom 的成功历史事件现在会携带结构化 preview payload,
213+
- rail 现在会为 learning-path、study-session、memory-policy、tutor-message 等已落地主面结果渲染本地化 detail line,
214+
- preview 文本改为在渲染期本地化,而不是把语言锁死在 diagnostics 事件里。
215+
- 范围继续保持在前端层:
216+
- 没有新增 backend route、API contract 或持久化模型,
217+
- preview 数据只来自 runtime 已经拿到的 capability execution result,并保存在有界 diagnostics event ring 中。
218+
- 已收口 `M8.27` 之后的下一个可用性缺口:
219+
- 用户不再需要只靠动作标签猜最近一次动作到底产出了什么,
220+
- 语言切换后,recent-activity preview 也会随之重渲,不会残留旧语言文本。
221+
- 回归覆盖同步扩展到:
222+
- 跨轮次当前 atom history 中的结构化 preview 渲染,
223+
- diagnostics snapshot 中 preview payload 的可见性,
224+
- EN/ZH 对 preview 文本的重渲覆盖。
225+
209226
## 主线最新增量(2026-04-14 M1 基线)
210227

211228
- 已新增第一版 `AgentConversationAPI` 合同面:
@@ -1312,8 +1329,8 @@ npm test -- src/learning/KnowledgeLearningPlatform.persistence.test.ts --runInBa
13121329

13131330
1. backend sufficiency 在 gate 继续为绿时默认视为已收口;没有新的 measured pressure 前,不重开更重 backend 工作。
13141331
2. 远端 `main` CI 继续以最近一组已完整结束的工作流为事实依据;只有出现新的失败 run,才重开 CI-triage 叙事。
1315-
3. 下一轮 planning 应只讨论 post-`M8.27` 的有界 conversation-product 加固:
1316-
- 围绕已落地 current-atom recent-activity card 继续补 result-detail preview 与 history drill-down,再进入更深 personalization,
1332+
3. 下一轮 planning 应只讨论 post-`M8.28` 的有界 conversation-product 加固:
1333+
- 围绕已落地且带 preview 的 current-atom recent-activity card 继续补 history drill-down 与 continuity-driven follow-up affordance,再进入更深 personalization,
13171334
- 之后才进入更深的 personalization 工作,
13181335
- Markdown 阅读器提升只有在能复利同一学习闭环时才进入前列。
13191336
4. notification-threshold 治理链路继续视为在 `M7.29` 后已收口;没有新的强运维需求前,不再规划 `M7.30+`

docs/diataxis/zh/explanation/local-backend-sufficiency-and-escalation-plan.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -246,8 +246,8 @@
246246
- 在当前 snapshot/read/托管 key 检查与 note/correction/eviction 能力之上继续扩展显式 conversation memory API,
247247
- 最小 correction / feedback 收口已经通过“缺失托管状态 -> 显式下一步提示”集成到主线,
248248
- conversation-memory / correction action 的 operator-facing visibility 已经通过持久化 diagnostics summary / index 计数集成到主线,
249-
- 围绕 focus mode 与 learning path 的更强 agent action surface 已经通过当前 atom quick-action rail、toolbar routing、continuity note / path-target diagnostics、capability-taxonomy summary card,以及 recent-activity history card 集成到主线,
250-
- 下一步是在更深 personalization 之前,优先围绕已落地的 current-atom recent-activity card 继续补 result-detail preview 与 history drill-down
249+
- 围绕 focus mode 与 learning path 的更强 agent action surface 已经通过当前 atom quick-action rail、toolbar routing、continuity note / path-target diagnostics、capability-taxonomy summary cardrecent-activity history card,以及这张卡上的本地化 result-detail preview 集成到主线,
250+
- 下一步是在更深 personalization 之前,优先围绕已落地且带 preview 的 current-atom recent-activity card 继续补 history drill-down 与 continuity-driven follow-up affordance
251251
2. markdown reader 提升:
252252
- 只有在它能明确加强知识 review 或 focus-mode 学习闭环时,再提升优先级。
253253

0 commit comments

Comments
 (0)