Skip to content

Commit 4a79fdc

Browse files
committed
feat(agent-workspace): add history follow-up affordances
1 parent 40d27d4 commit 4a79fdc

11 files changed

Lines changed: 180 additions & 45 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
@@ -465,10 +465,11 @@ It is conversation-product hardening on top of the shipped shell.
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.
466466
`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.
467467
`M8.29` now adds expandable history drill-down so the rail can reveal event metadata without leaving the active-atom surface.
468+
`M8.30` now adds deterministic follow-up affordances inside expanded history items so the rail can suggest the next bounded action without leaving that same active-atom surface.
468469

469470
Priority order:
470471

471-
1. continuity-driven follow-up affordances on top of the shipped drill-down-enabled current-atom recent-activity card,
472+
1. deeper continuity suggestion quality on top of the shipped follow-up-enabled current-atom recent-activity card,
472473
2. only then deeper personalization work,
473474
3. markdown-reader improvements only when they clearly compound the same study loop.
474475

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

Lines changed: 17 additions & 18 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.29`,
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, `M8.28` as the active-atom result-preview baseline, and `M8.29` as the active-atom history-drill-down baseline,
23-
- move the remaining near-term budget into continuity follow-up affordances instead of reopening backend scope,
21+
- keep closing the correction/product/operator gap exposed after `M8.20-M8.30`,
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, `M8.28` as the active-atom result-preview baseline, `M8.29` as the active-atom history-drill-down baseline, and `M8.30` as the active-atom history follow-up baseline,
23+
- keep the remaining near-term budget on deeper continuity suggestions 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)
@@ -223,22 +223,21 @@ Execution anchor:
223223
- diagnostics snapshot coverage for stored preview payloads,
224224
- EN/ZH re-render coverage for localized preview text.
225225

226-
## Latest Mainline Increment (2026-04-21 M8.29 Active-Atom History Drill-Down)
226+
## Latest Mainline Increment (2026-04-21 M8.30 Active-Atom History Follow-Up Affordance)
227227

228-
- Upgraded the recent-activity card from a preview list into an inspectable history surface:
229-
- each recent current-atom result now exposes a details toggle,
230-
- drill-down reveals event timestamp, operation id, result surface id, and measured duration,
231-
- the expanded event stays pinned through runtime re-renders such as language changes.
228+
- Upgraded expanded recent-activity history entries from passive inspection into a bounded next-step surface:
229+
- each expanded current-atom history item now resolves one deterministic follow-up action,
230+
- follow-up ranking prefers existing point capabilities and only falls back to Focus / Learning Path when no richer capability is available,
231+
- clicking the suggested action reuses the same point-action execution path, so the new result flows back into the same bounded recent-history card.
232232
- Kept the slice frontend-bounded:
233-
- no backend route, API contract, or persistence model changed,
234-
- drill-down state lives only inside the agent-workspace runtime and reuses the bounded diagnostics event ring.
235-
- Closed the next inspectability gap after `M8.28`:
236-
- operators can now inspect how a recent action was executed without leaving the active-atom rail,
237-
- localized rerenders keep both preview text and expanded drill-down labels consistent instead of collapsing the inspection context.
233+
- no backend route, API contract, persistence model, or capability schema changed,
234+
- follow-up resolution lives only inside the agent-workspace runtime and reuses the already available point capabilities plus fallback actions.
235+
- Closed the next continuity gap after `M8.29`:
236+
- operators no longer have to inspect history and then manually scan the rail for the most likely next action,
237+
- localized rerenders keep both the expanded history metadata and the follow-up affordance pinned through language changes.
238238
- Expanded regression coverage for:
239-
- recent-history details toggles on the active-atom rail,
240-
- expanded metadata rendering for current-atom history entries,
241-
- EN/ZH rerender continuity while a history entry remains expanded.
239+
- recap-history entries surfacing a deterministic `Build Session` follow-up and executing it through the shared runtime action path,
240+
- EN/ZH rerender continuity for expanded history follow-up labels and buttons.
242241

243242
## Latest Mainline Increment (2026-04-14 M1 Baseline)
244243

@@ -1343,8 +1342,8 @@ Note: foundation-lane gates now exist on `main`; keep them in the normal verific
13431342

13441343
1. Treat backend sufficiency as closed-by-default while the gate remains green; do not reopen heavier backend work without new measured pressure.
13451344
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.
1346-
3. Make the next planning round about post-`M8.29` bounded conversation-product hardening:
1347-
- continuity-driven follow-up affordances on top of the shipped drill-down-enabled current-atom recent-activity card before deeper personalization work,
1345+
3. Make the next planning round about post-`M8.30` bounded conversation-product hardening:
1346+
- deeper continuity suggestion quality on top of the shipped follow-up-enabled current-atom recent-activity card before deeper personalization work,
13481347
- only then deeper personalization work,
13491348
- markdown-reader improvements only when they compound the same study loop.
13501349
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, the recent-activity history card, localized result-detail previews on that history surface, and expandable history drill-down,
251-
- next prioritize continuity-driven follow-up affordances on top of the shipped drill-down-enabled 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, localized result-detail previews on that history surface, expandable history drill-down, and deterministic history follow-up affordances,
251+
- next prioritize deeper continuity suggestion quality on top of the shipped follow-up-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
@@ -453,10 +453,11 @@
453453
`M8.27` 现在又补上当前 atom recent result history,让 rail 在跨轮次时保留最近成功动作,而不是重新退回空白 continuity surface。
454454
`M8.28` 现在又在这条 recent-activity history 里补上本地化 result-detail preview,让 rail 保留的不只是“发生过什么动作”,还包括“动作产出了什么”。
455455
`M8.29` 现在又补上可展开的 history drill-down,让 rail 不离开当前 atom surface 也能检查事件元数据。
456+
`M8.30` 现在又在展开的 history item 内补上确定性的 follow-up affordance,让 rail 在同一块 active-atom surface 内就能建议下一个有界动作。
456457

457458
优先顺序:
458459

459-
1. 围绕已落地且支持 drill-down 的 current-atom recent-activity card 继续补 continuity-driven follow-up affordance
460+
1. 围绕已落地且已带 follow-up affordance 的 current-atom recent-activity card 继续补更深的 continuity suggestion quality
460461
2. 之后才进入更深的 personalization 工作,
461462
3. Markdown 阅读器提升只有在能明确复利同一学习闭环时才进入前列。
462463

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

Lines changed: 17 additions & 18 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.29` 之后暴露出的 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 基线,并将 `M8.29` 视作当前 atom history-drill-down 基线,
23-
- 把剩余近端预算转向 continuity follow-up affordance,而不是重开 backend 范围,
21+
- 持续收口 `M8.20-M8.30` 之后暴露出的 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 基线, `M8.29` 视作当前 atom history-drill-down 基线,并将 `M8.30` 视作当前 atom history follow-up 基线,
23+
- 把剩余近端预算继续压在更深的 continuity suggestion 上,而不是重开 backend 范围,
2424
- 远端 `main` CI 解释继续基于代码事实:最近一组已完整结束的主线工作流为绿色,新推送在整组工作流结束前只应视为 pending。
2525

2626
## 当前主线快照(2026-04-21 M8.18)
@@ -223,22 +223,21 @@
223223
- diagnostics snapshot 中 preview payload 的可见性,
224224
- EN/ZH 对 preview 文本的重渲覆盖。
225225

226-
## 主线最新增量(2026-04-21 M8.29 当前 Atom History Drill-Down
226+
## 主线最新增量(2026-04-21 M8.30 当前 Atom History Follow-Up Affordance
227227

228-
- 已把 recent-activity card 从 preview 列表继续升级为可检查的 history surface:
229-
- 每条当前 atom recent result 现在都带有 details toggle
230-
- drill-down 会暴露事件时间、operation id、result surface id,以及测得的 duration
231-
- 运行时重渲(例如语言切换)后,展开中的 history item 仍会保持展开
228+
- 已把展开后的 recent-activity history item 从“只可检查”继续升级为“带下一步建议”的 bounded surface:
229+
- 每条展开中的当前 atom history item 现在都会解析出一个确定性的 follow-up action
230+
- follow-up 排序优先复用当前 point 已有 capability,只有没有更合适动作时才退回到 Focus / Learning Path
231+
- 点击建议动作会继续复用同一条 point-action 执行链路,因此新结果会直接回流到同一张 recent-history card
232232
- 范围继续保持在前端层:
233-
- 没有新增 backend route、API contract 或持久化模型
234-
- drill-down state 只存在于 agent-workspace runtime,并继续复用有界 diagnostics event ring
235-
- 已收口 `M8.28` 之后的下一个可检查性缺口
236-
- 用户现在无需离开 active-atom rail,也能检查最近动作是如何执行的
237-
- 语言切换时,preview 与 drill-down 标签都会保持一致,不会丢失当前检查上下文
233+
- 没有新增 backend route、API contract、持久化模型或 capability schema
234+
- follow-up 解析完全驻留在 agent-workspace runtime 内,只复用已有 point capabilities 与 fallback actions
235+
- 已收口 `M8.29` 之后的下一个 continuity 缺口
236+
- 用户不再需要先展开 history,再手动扫描整条 rail 去判断下一个最可能动作
237+
- 语言切换时,展开中的 history metadata 与 follow-up affordance 都会保持稳定,不会丢失当前上下文
238238
- 回归覆盖同步扩展到:
239-
- active-atom rail 上 recent-history details toggle,
240-
- 当前 atom history entry 的展开元数据渲染,
241-
- history entry 展开状态下的 EN/ZH 重渲 continuity。
239+
- recap history item 暴露确定性的 `Build Session` follow-up,并通过共享 runtime action path 执行,
240+
- EN/ZH 对 history follow-up 标签与按钮的重渲 continuity。
242241

243242
## 主线最新增量(2026-04-14 M1 基线)
244243

@@ -1346,8 +1345,8 @@ npm test -- src/learning/KnowledgeLearningPlatform.persistence.test.ts --runInBa
13461345

13471346
1. backend sufficiency 在 gate 继续为绿时默认视为已收口;没有新的 measured pressure 前,不重开更重 backend 工作。
13481347
2. 远端 `main` CI 继续以最近一组已完整结束的工作流为事实依据;只有出现新的失败 run,才重开 CI-triage 叙事。
1349-
3. 下一轮 planning 应只讨论 post-`M8.29` 的有界 conversation-product 加固:
1350-
- 围绕已落地且支持 drill-down 的 current-atom recent-activity card 继续补 continuity-driven follow-up affordance,再进入更深 personalization,
1348+
3. 下一轮 planning 应只讨论 post-`M8.30` 的有界 conversation-product 加固:
1349+
- 围绕已落地且已带 follow-up affordance 的 current-atom recent-activity card 继续补更深的 continuity suggestion quality,再进入更深 personalization,
13511350
- 之后才进入更深的 personalization 工作,
13521351
- Markdown 阅读器提升只有在能复利同一学习闭环时才进入前列。
13531352
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、这张卡上的本地化 result-detail preview,以及可展开的 history drill-down 集成到主线,
250-
- 下一步是在更深 personalization 之前,优先围绕已落地且支持 drill-down 的 current-atom recent-activity card 继续补 continuity-driven follow-up affordance
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、这张卡上的本地化 result-detail preview、可展开的 history drill-down,以及确定性的 history follow-up affordance 集成到主线,
250+
- 下一步是在更深 personalization 之前,优先围绕已落地且已带 follow-up affordance 的 current-atom recent-activity card 继续补更深的 continuity suggestion quality
251251
2. markdown reader 提升:
252252
- 只有在它能明确加强知识 review 或 focus-mode 学习闭环时,再提升优先级。
253253

0 commit comments

Comments
 (0)