Skip to content

Commit 7bcfc8c

Browse files
committed
feat: promote operator continuity summaries
1 parent 057ce3e commit 7bcfc8c

11 files changed

Lines changed: 412 additions & 41 deletions

docs/brainstorms/2026-04-21-mainline-reconciliation-after-m8-46-operator-continuity-summary-requirements.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ topic: mainline-reconciliation-after-m8-46-operator-continuity-summary
55

66
# Mainline Reconciliation After M8.46 Operator Continuity Summary Requirements
77

8+
> Status note (2026-04-21): `M8.47` has now shipped on `main`. This document remains the pre-implementation narrowing pass and is superseded by [Mainline Reconciliation After M8.47 Operator Consumer Requirements](./2026-04-21-mainline-reconciliation-after-m8-47-operator-consumer-requirements.md).
9+
810
## Problem Frame
911

1012
`main` no longer has an active remote-CI failure story.
@@ -25,7 +27,7 @@ The concrete seam is now between two already-landed surfaces:
2527
The stale part of the current document chain is not that it points at the wrong lane.
2628
It is that it still describes the next lane too generically and therefore hides the sharpest architecture seam now visible in code.
2729

28-
This document supersedes the earlier 2026-04-21 reconciliation items as the current source-of-truth item for post-`M8.46` direction.
30+
This document captured the pre-`M8.47` source-of-truth item for post-`M8.46` direction.
2931

3032
## Verified Mainline Reality (2026-04-21)
3133

Lines changed: 93 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,93 @@
1+
---
2+
date: 2026-04-21
3+
topic: mainline-reconciliation-after-m8-47-operator-consumer
4+
---
5+
6+
# Mainline Reconciliation After M8.47 Operator Consumer Requirements
7+
8+
## Problem Frame
9+
10+
`M8.47` is no longer a planned seam.
11+
It now ships on `main` as the bounded operator-summary promotion step:
12+
13+
- persisted diagnostics report metadata now keeps a compact managed-memory continuity digest,
14+
- index / latest / read-by-id routes now expose that same compact summary without full-report joins,
15+
- triage top-report and history payloads now carry the compact continuity summary as supporting context,
16+
- replay-risk ranking still remains the same replay-rate / failure-driven policy.
17+
18+
That changes the next architecture question.
19+
The active gap is no longer "how to make continuity digest reachable."
20+
The active gap is "which operator consumer should use the newly normalized continuity summary first, and how do we keep that use bounded."
21+
22+
## Verified Mainline Reality (2026-04-21)
23+
24+
- Current server summary normalization now preserves:
25+
- continuity breadth via `atomCount`,
26+
- continuity totals via `readCount` and `transitionCount`,
27+
- continuity change-shape via `resolvedKeyCounts` and `persistentKeyCounts`,
28+
- latest-transition context via `latestTransition.atomId`, `kind`, `newerAt`, and `olderAt`.
29+
- This continuity digest now survives:
30+
- report creation metadata,
31+
- persisted diagnostics index entries,
32+
- `GET /api/knowledge/operator/agent-workspace-diagnostics/latest`,
33+
- `GET /api/knowledge/operator/agent-workspace-diagnostics/triage`,
34+
- `GET /api/knowledge/operator/agent-workspace-diagnostics/triage/history`.
35+
- The next operator decision layer still does **not** consume that digest for triage ranking or runbook-action prioritization.
36+
- Backend sufficiency remains green and dormant-by-default.
37+
- Remote `main` CI was green before this slice; fresh pushes should again be judged only by their own finished workflow set.
38+
39+
## Critical Findings
40+
41+
1. `M8.47` closed the data-availability seam.
42+
New operator consumers no longer need snapshot-only coupling or full-report reads just to inspect continuity breadth/freshness.
43+
44+
2. Another pure transport increment would be low leverage.
45+
The compact summary now already reaches the cheapest operator fast paths.
46+
47+
3. The sharpest remaining seam is consumer logic, not payload shape.
48+
Triage still ranks and escalates without using the continuity digest it now exposes.
49+
50+
4. Broader personalization or markdown-reader expansion would still jump the queue.
51+
They do not compound the newly normalized operator summary as directly as continuity-aware triage consumption does.
52+
53+
## Requirements
54+
55+
**Truth Refresh**
56+
- R1. This document becomes the new current source-of-truth item for post-`M8.47` direction.
57+
- R2. Current-facing docs must describe `M8.47` as shipped operator-summary promotion, not as pending work.
58+
59+
**Next-Lane Narrowing**
60+
- R3. Current-facing docs must define `M8.48` as bounded continuity-aware operator-consumer work on top of the shipped compact summary.
61+
- R4. `M8.48` must stay inside existing persisted summary fields:
62+
- `atomCount`,
63+
- `readCount`,
64+
- `transitionCount`,
65+
- `resolvedKeyCounts`,
66+
- `persistentKeyCounts`,
67+
- `latestTransition`.
68+
- R5. Current-facing docs must frame the first `M8.48` consumer as **triage/runbook consumption**, not as a new persistence model, richer report UI, or broader personalization layer.
69+
- R6. Ranking and runbook changes must remain bounded to already-normalized summary fields; no full-report joins become required again.
70+
71+
**Scope Control**
72+
- R7. Do not reopen backend-escalation or CI-repair narration unless fresh evidence appears.
73+
- R8. Do not move markdown-reader work ahead of `M8.48` unless it compounds the same operator/study loop more directly.
74+
- R9. Do not skip directly to large operator dashboards before continuity-aware triage/runbook consumption proves value.
75+
76+
## Success Criteria
77+
78+
- this document is listed first under `docs/brainstorms/index.md`,
79+
- EN/ZH current-facing docs describe `M8.47` as shipped,
80+
- EN/ZH current-facing docs describe `M8.48` as bounded continuity-aware triage/runbook consumption,
81+
- docs verification passes,
82+
- `main` stays clean after verification.
83+
84+
## Scope Boundaries
85+
86+
- This document does not reopen backend sufficiency work.
87+
- This document does not add a new diagnostics persistence model.
88+
- This document does not require a new frontend page or a larger report browser.
89+
- This document does not claim that triage ranking is already continuity-aware.
90+
91+
## Next Steps
92+
93+
-> `/ce:plan` for `post-M8.47 continuity-aware operator triage consumer`, keeping `M8.48` bounded to runbook/triage consumption on top of the already normalized summary.

docs/brainstorms/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ This page tracks active and archived brainstorming outputs used before implement
44

55
## Current
66

7+
- [2026-04-21 Mainline Reconciliation After M8.47 Operator Consumer Requirements](2026-04-21-mainline-reconciliation-after-m8-47-operator-consumer-requirements.md)
78
- [2026-04-21 Mainline Reconciliation After M8.46 Operator Continuity Summary Requirements](2026-04-21-mainline-reconciliation-after-m8-46-operator-continuity-summary-requirements.md)
89
- [2026-04-21 Mainline Progress Reconciliation After M8.33 Requirements](2026-04-21-mainline-progress-reconciliation-after-m8-33-requirements.md)
910
- [2026-04-21 Mainline Conversation-Product Hardening After M8.21 Requirements](2026-04-21-mainline-conversation-product-hardening-after-m8-21-requirements.md)

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -482,15 +482,17 @@ It is conversation-product hardening on top of the shipped shell.
482482
`M8.44` now preserves mixed latest-pair rollups on that same card and diagnostics snapshot, so the newest managed-state pair can say that one key recovered while another gap still persists instead of collapsing into a single-direction story.
483483
`M8.45` now preserves the same continuity rollup block on `managedConversationIndex`, so operator-facing reports can consume the current-atom continuity story without snapshot-only coupling.
484484
`M8.46` now preserves continuity breadth (`atomIds` / `atomCount`) and latest-transition freshness (`newerAt` / `olderAt`) on that same summary surface, so future pane/report actions can stay on bounded continuity payloads instead of rejoining raw capability events.
485+
`M8.47` now promotes that compact continuity digest into server-readable diagnostics metadata plus triage/history fast paths, so operator consumers no longer need snapshot-only coupling or full-report joins to read continuity breadth, totals, and latest-transition context.
485486

486487
Priority order:
487488

488-
1. promote the `M8.46` continuity digest into server-readable operator report summaries first, so index/triage consumers can read continuity breadth, totals, and latest-transition freshness without full-report joins,
489-
2. expand broader operator rollups only after that summary-promotion step is in place,
489+
1. make `M8.48` about continuity-aware triage/runbook consumption first, so the newly normalized summary affects operator decisions before any broader dashboard work,
490+
2. expand broader operator rollups only after that consumer-logic step is in place,
490491
3. keep markdown-reader improvements secondary unless they clearly compound the same study loop.
491492

492493
## Related Pages
493494

495+
- [Mainline Reconciliation After M8.47 Operator Consumer Requirements](../../../brainstorms/2026-04-21-mainline-reconciliation-after-m8-47-operator-consumer-requirements.md)
494496
- [Mainline Reconciliation After M8.46 Operator Continuity Summary Requirements](../../../brainstorms/2026-04-21-mainline-reconciliation-after-m8-46-operator-continuity-summary-requirements.md)
495497
- [Mainline Progress Reconciliation After M8.33 Requirements](../../../brainstorms/2026-04-21-mainline-progress-reconciliation-after-m8-33-requirements.md)
496498
- [Development Progress Dashboard](./development-progress-dashboard.md)

0 commit comments

Comments
 (0)