Skip to content

Commit 5f4d332

Browse files
committed
feat(agent-workspace): roll up managed memory continuity
1 parent 09d6723 commit 5f4d332

10 files changed

Lines changed: 408 additions & 24 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
@@ -475,10 +475,11 @@ It is conversation-product hardening on top of the shipped shell.
475475
`M8.37` now adds stability signals on top of that explanation surface, so repeated hold streaks are readable from badges and confidence copy without reading the full stability paragraph.
476476
`M8.38` now personalizes those expanded-history follow-up recommendations around missing managed-memory note/correction state, so the next step, rationale, and confidence copy all point directly at the still-missing managed key instead of stopping at generic continuity ranking.
477477
`M8.39` now personalizes adjacent managed-memory drift/stability explanations, so expanded history items also explain when a newer managed-state read resolved a previously missing key or confirmed that the same missing key still persists across the continuity window.
478+
`M8.40` now adds compact managed-memory continuity rollups on the Recent Activity card and diagnostics snapshot, so operators can read recovered-vs-persistent managed gaps without re-scanning each managed-memory history item.
478479

479480
Priority order:
480481

481-
1. deepen personalization on top of the shipped primary/secondary/drift/stability explanation surface, stability signals, managed-memory gap targeting, and managed-memory continuity transitions,
482+
1. deepen personalization or compact operator rollups on top of the shipped primary/secondary/drift/stability explanation surface, stability signals, managed-memory gap targeting, managed-memory continuity transitions, and managed-memory continuity rollups,
482483
2. expand broader operator rollups only when they clearly compound the same current-atom continuity loop,
483484
3. keep markdown-reader improvements secondary unless they clearly compound the same study loop.
484485

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

Lines changed: 25 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ It explicitly separates branch-level implementation status from mainline integra
66
## Scope
77

88
- Focus area: local-first knowledge mastery platform (ingest, retrieval, learning path, tutor, memory, governance).
9-
- Time window: `v1.7.0` through the 2026-04-21 foundation-integration checkpoint, the 2026-04-21 UTC CI review cycle, and the post-`M8.39` reconciliation pass.
9+
- Time window: `v1.7.0` through the 2026-04-21 foundation-integration checkpoint, the 2026-04-21 UTC CI review cycle, and the post-`M8.40` reconciliation pass.
1010
- Evidence rule: every progress claim must map to:
1111
- contract layer (`src/learning/api.ts`, `src/learning/types.ts`),
1212
- route/runtime layer (`src/server.ts`),
@@ -18,12 +18,12 @@ 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.39`,
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, `M8.31` as the active-atom history freshness-ranking baseline, `M8.32` as the active-atom history rationale/alternative baseline, `M8.33` as the active-atom history confidence-signal baseline, `M8.34` as the primary-vs-secondary tradeoff explanation baseline, `M8.35` as the adjacent-history drift explanation baseline, `M8.36` as the adjacent-history stability explanation baseline, `M8.37` as the adjacent-history stability-signal baseline, `M8.38` as the managed-memory gap follow-up baseline, and `M8.39` as the managed-memory continuity-transition baseline,
21+
- keep closing the correction/product/operator gap exposed after `M8.20-M8.40`,
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, `M8.31` as the active-atom history freshness-ranking baseline, `M8.32` as the active-atom history rationale/alternative baseline, `M8.33` as the active-atom history confidence-signal baseline, `M8.34` as the primary-vs-secondary tradeoff explanation baseline, `M8.35` as the adjacent-history drift explanation baseline, `M8.36` as the adjacent-history stability explanation baseline, `M8.37` as the adjacent-history stability-signal baseline, `M8.38` as the managed-memory gap follow-up baseline, `M8.39` as the managed-memory continuity-transition baseline, and `M8.40` as the managed-memory continuity-rollup baseline,
2323
- keep the remaining near-term budget on deeper personalization and operator rollup quality now that the continuity-explanation gap is closed on the active history surface,
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

26-
## Current Mainline Snapshot (2026-04-21 Baseline Split: Foundation M8.18 / Conversation M8.39)
26+
## Current Mainline Snapshot (2026-04-21 Baseline Split: Foundation M8.18 / Conversation M8.40)
2727

2828
- Foundation baseline on `main` is currently:
2929
- status `integrated`
@@ -37,12 +37,12 @@ Current top priority is **conversation-product hardening on top of the already-g
3737
- Historical increment sections below remain chronological archive entries.
3838
- When a historical section says `in_progress` / `no-go`, read it as past checkpoint truth rather than current repo state.
3939

40-
## Reconciliation Notes (2026-04-21 Post-M8.39)
40+
## Reconciliation Notes (2026-04-21 Post-M8.40)
4141

4242
- The active mainline question is no longer whether backend sufficiency work should continue.
4343
That lane is closed-by-default while its gate stays green.
44-
- The active mainline question is also no longer whether tradeoff, drift, stability explanation, stability signaling, and managed-memory continuity targeting should be added.
45-
`M8.34`, `M8.35`, `M8.36`, `M8.37`, `M8.38`, and `M8.39` now ship that continuity-explanation layer on the expanded history decision surface.
44+
- The active mainline question is also no longer whether tradeoff, drift, stability explanation, stability signaling, managed-memory continuity targeting, and compact continuity rollups should be added.
45+
`M8.34`, `M8.35`, `M8.36`, `M8.37`, `M8.38`, `M8.39`, and `M8.40` now ship that continuity-explanation layer on the expanded history decision surface.
4646
- The next gap is no longer local explanation opacity.
4747
The remaining product question is how much deeper personalization and operator rollup value should sit on top of this now-readable current-atom history surface.
4848
- Remote `main` CI is currently green on the latest push.
@@ -235,6 +235,22 @@ Execution anchor:
235235
- diagnostics snapshot coverage for stored preview payloads,
236236
- EN/ZH re-render coverage for localized preview text.
237237

238+
## Latest Mainline Increment (2026-04-21 M8.40 Active-Atom Managed-Memory Continuity Rollups)
239+
240+
- Extended the current-atom history surface and diagnostics snapshot with compact managed-memory continuity rollups:
241+
- the Recent Activity card now summarizes how many managed-memory reads participated in the local continuity window,
242+
- the same card now reports which managed keys were resolved vs persisted across adjacent managed-state reads,
243+
- diagnostics snapshots now export the same continuity counts so operator-facing reports do not need to reconstruct them from raw events.
244+
- Kept the slice frontend-bounded:
245+
- no backend route, API contract, persistence model, or capability schema changed,
246+
- rollups reuse the already-recorded managed-memory capability events and bounded per-atom history window.
247+
- Closed the next post-`M8.39` operator-rollup gap:
248+
- operators no longer have to scan each expanded managed-memory history item to estimate how many gaps recovered vs persisted,
249+
- exported diagnostics now preserve the same compact continuity story that the active-atom card surfaces locally.
250+
- Expanded regression coverage for:
251+
- Recent Activity card managed-memory continuity summary lines,
252+
- diagnostics snapshot/export continuity counts for resolved vs persistent managed keys.
253+
238254
## Latest Mainline Increment (2026-04-21 M8.39 Active-Atom Managed-Memory Continuity Explanations)
239255

240256
- Extended the expanded history continuity surface with managed-memory transition-specific explanation:
@@ -1470,8 +1486,8 @@ Note: foundation-lane gates now exist on `main`; keep them in the normal verific
14701486

14711487
1. Treat backend sufficiency as closed-by-default while the gate remains green; do not reopen heavier backend work without new measured pressure.
14721488
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.
1473-
3. Make the next planning round about post-`M8.39` bounded conversation-product compounding:
1474-
- deepen personalization on top of the now-readable primary/secondary/drift/stability explanation surface, stability signals, managed-memory gap follow-up, and managed-memory continuity transitions,
1489+
3. Make the next planning round about post-`M8.40` bounded conversation-product compounding:
1490+
- deepen personalization or operator rollup quality only on top of the now-readable primary/secondary/drift/stability explanation surface, stability signals, managed-memory gap follow-up, managed-memory continuity transitions, and managed-memory continuity rollups,
14751491
- add broader operator rollup/reporting only when it compounds the same current-atom continuity loop,
14761492
- keep markdown-reader improvements secondary unless they strengthen the same study loop.
14771493
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
@@ -248,8 +248,8 @@ Recommended next product order:
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,
250250
- 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, continuity-aware freshness ranking for those affordances, and bounded rationale/secondary-alternative rendering,
251-
- `M8.34` primary-vs-secondary tradeoff explanation, `M8.35` adjacent-history drift explanation, `M8.36` adjacent-history stability explanation, `M8.37` adjacent-history stability signals, `M8.38` managed-memory gap follow-up personalization, and `M8.39` managed-memory continuity transition explanation are now integrated on top of the shipped signal-enabled current-atom recent-activity card,
252-
- next only deepen personalization or broader operator rollups when they clearly compound that same readable current-atom continuity loop, especially when they keep missing managed-state targeting and transition explanation explicit.
251+
- `M8.34` primary-vs-secondary tradeoff explanation, `M8.35` adjacent-history drift explanation, `M8.36` adjacent-history stability explanation, `M8.37` adjacent-history stability signals, `M8.38` managed-memory gap follow-up personalization, `M8.39` managed-memory continuity transition explanation, and `M8.40` managed-memory continuity rollups are now integrated on top of the shipped signal-enabled current-atom recent-activity card,
252+
- next only deepen personalization or broader operator rollups when they clearly compound that same readable current-atom continuity loop, especially when they keep missing managed-state targeting, transition explanation, and continuity rollups explicit.
253253
2. markdown-reader improvement:
254254
- only when it clearly compounds knowledge review or focus-mode study loops.
255255

docs/diataxis/zh/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 @@
463463
`M8.37` 现在又在这层 explanation surface 之上补上 stability signal,让连续 hold 的 next step 可以直接从 badge 与 confidence copy 读出来,而不必读完整段 stability 文案。
464464
`M8.38` 现在又围绕缺失的 managed-memory note / correction state 个性化这些展开 history follow-up recommendation,让下一步、rationale 与 confidence copy 都直接指向仍然缺失的托管 key,而不是停留在通用 continuity ranking。
465465
`M8.39` 现在又把相邻 managed-memory drift / stability explanation 个性化,让展开后的 history item 还能直接说明:更新的 managed-state read 是已经恢复了某个缺失 key,还是仍在同一 continuity window 内持续缺少这个 key。
466+
`M8.40` 现在又把 compact managed-memory continuity rollup 补到 Recent Activity card 与 diagnostics snapshot 上,让操作者无需逐条重扫 managed-memory history item,也能读出 gap 的恢复与持续情况。
466467

467468
优先顺序:
468469

469-
1. 在当前已落地的 primary/secondary/drift/stability explanation surface、stability signal、managed-memory gap targeting 与 managed-memory continuity transition 之上继续加深 personalization,
470+
1. 在当前已落地的 primary/secondary/drift/stability explanation surface、stability signal、managed-memory gap targeting、managed-memory continuity transition 与 managed-memory continuity rollup 之上继续加深 personalization 或 compact operator rollup
470471
2. 只有当更宽的 operator rollup 能明确复利同一 current-atom continuity loop 时才继续扩展,
471472
3. Markdown 阅读器提升继续保持次优先级,除非它能明确加强同一学习闭环。
472473

0 commit comments

Comments
 (0)