Skip to content

Commit 2d2923b

Browse files
committed
feat(agent-workspace): refresh history follow-up ranking
1 parent 4a79fdc commit 2d2923b

8 files changed

Lines changed: 272 additions & 40 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
@@ -466,10 +466,11 @@ It is conversation-product hardening on top of the shipped shell.
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.
468468
`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.
469+
`M8.31` now makes those follow-up suggestions continuity-aware, so older history entries skip already-completed recent steps when a fresher deterministic action exists.
469470

470471
Priority order:
471472

472-
1. deeper continuity suggestion quality on top of the shipped follow-up-enabled current-atom recent-activity card,
473+
1. continuity rationale and secondary alternatives on top of the shipped freshness-aware current-atom recent-activity card,
473474
2. only then deeper personalization work,
474475
3. markdown-reader improvements only when they clearly compound the same study loop.
475476

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

Lines changed: 16 additions & 16 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.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,
21+
- keep closing the correction/product/operator gap exposed after `M8.20-M8.31`,
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, `M8.30` as the active-atom history follow-up baseline, and `M8.31` as the active-atom history freshness-ranking baseline,
23+
- keep the remaining near-term budget on continuity rationale and alternative 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,21 +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.30 Active-Atom History Follow-Up Affordance)
226+
## Latest Mainline Increment (2026-04-21 M8.31 Active-Atom History Freshness Ranking)
227227

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.
228+
- Upgraded expanded recent-activity follow-up suggestions from static ranking into continuity-aware ranking:
229+
- each expanded current-atom history item now checks whether its preferred follow-up already happened in a more recent history entry,
230+
- when a fresher deterministic alternative exists, the rail skips the already-completed step and promotes the next bounded action instead,
231+
- when no fresher alternative exists, the rail still falls back to the best valid deterministic follow-up instead of dropping the affordance.
232232
- Kept the slice frontend-bounded:
233233
- 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.
234+
- freshness ranking lives only inside the agent-workspace runtime and reuses the bounded recent-history list plus the existing point capabilities and fallback actions.
235+
- Closed the next continuity-quality gap after `M8.30`:
236+
- older history items no longer suggest a step that already appears later in the same bounded continuity chain when a fresher deterministic action is available,
237+
- the history card now reads more like a real sequence of remaining next steps instead of a static action lookup.
238238
- Expanded regression coverage for:
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.
239+
- older build-session history entries skipping stale `Recap` suggestions in favor of `Follow Up`,
240+
- freshness-aware follow-up execution flowing back into the same bounded recent-history card.
241241

242242
## Latest Mainline Increment (2026-04-14 M1 Baseline)
243243

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

13431343
1. Treat backend sufficiency as closed-by-default while the gate remains green; do not reopen heavier backend work without new measured pressure.
13441344
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.
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,
1345+
3. Make the next planning round about post-`M8.31` bounded conversation-product hardening:
1346+
- continuity rationale and secondary alternatives on top of the shipped freshness-aware current-atom recent-activity card before deeper personalization work,
13471347
- only then deeper personalization work,
13481348
- markdown-reader improvements only when they compound the same study loop.
13491349
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, 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.
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, deterministic history follow-up affordances, and continuity-aware freshness ranking for those affordances,
251+
- next prioritize continuity rationale and secondary alternatives on top of the shipped freshness-aware 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
@@ -454,10 +454,11 @@
454454
`M8.28` 现在又在这条 recent-activity history 里补上本地化 result-detail preview,让 rail 保留的不只是“发生过什么动作”,还包括“动作产出了什么”。
455455
`M8.29` 现在又补上可展开的 history drill-down,让 rail 不离开当前 atom surface 也能检查事件元数据。
456456
`M8.30` 现在又在展开的 history item 内补上确定性的 follow-up affordance,让 rail 在同一块 active-atom surface 内就能建议下一个有界动作。
457+
`M8.31` 现在又让这条 follow-up suggestion 具备 continuity-aware freshness:只要存在更新鲜的确定性动作,较旧 history item 就会跳过已经完成过的近期步骤。
457458

458459
优先顺序:
459460

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

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

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

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

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

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
228+
- 已把展开后的 recent-activity follow-up suggestion 从静态排序继续升级为 continuity-aware ranking
229+
- 每条展开中的当前 atom history item 现在都会检查它的首选 follow-up 是否已经在更近的一条 history entry 中发生过
230+
- 如果存在更新鲜的确定性替代动作,rail 会跳过这个已经完成的步骤,改为推荐下一个有界动作
231+
- 如果没有更新鲜的替代动作,rail 仍会回退到最合适的确定性 follow-up,而不是直接丢掉这条 affordance
232232
- 范围继续保持在前端层:
233233
- 没有新增 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 都会保持稳定,不会丢失当前上下文
234+
- freshness ranking 完全驻留在 agent-workspace runtime 内,只复用有界 recent-history 列表、已有 point capabilities 与 fallback actions。
235+
- 已收口 `M8.30` 之后的下一个 continuity-quality 缺口:
236+
- 对于更旧的 history item,只要存在更新鲜的确定性动作,界面就不会再推荐那种已经在后续 history 里出现过的步骤
237+
- history card 更接近“剩余下一步序列”,而不再只是静态动作映射表
238238
- 回归覆盖同步扩展到:
239-
- recap history item 暴露确定性的 `Build Session` follow-up,并通过共享 runtime action path 执行
240-
- EN/ZH 对 history follow-up 标签与按钮的重渲 continuity
239+
- 更旧的 build-session history item 会跳过陈旧的 `Recap` 建议,改推 `Follow Up`
240+
- freshness-aware follow-up 执行后,会继续回流到同一张 bounded recent-history card
241241

242242
## 主线最新增量(2026-04-14 M1 基线)
243243

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

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

0 commit comments

Comments
 (0)