Skip to content

Commit 5b6ab3a

Browse files
committed
feat(learning): measure rebuild and recovery sufficiency pressure
1 parent cd67781 commit 5b6ab3a

11 files changed

Lines changed: 521 additions & 63 deletions

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,8 @@ Execution anchor:
5858
- Upgraded the first real measured observation path:
5959
- runtime query traffic now promotes sufficiency query-latency observation from `policy_default` to `measured`,
6060
- the warm-query threshold now carries `observedValue` when runtime telemetry exists,
61-
- docs/verifier output now expose query observation mode and latest persistence event timestamps.
61+
- full-corpus ingest and store reload now promote rebuild/recovery duration observations to `measured`,
62+
- docs/verifier output now expose query/rebuild/recovery observation mode and latest persistence event timestamps.
6263
- Locked the current architectural posture to an evidence-first rule:
6364
- local sqlite + deterministic ANN remains the default backend baseline,
6465
- heavier backend work now needs explicit escalation triggers,
@@ -68,7 +69,7 @@ Execution anchor:
6869
- `mkdocs.yml`
6970
- EN/ZH Diataxis overview progress entry points.
7071
- Changed the next bounded backend-governance slice:
71-
- extend measurement beyond query latency into rebuild/recovery duration capture rather than redoing initial route/report wiring.
72+
- keep repeated device-level measurement honest and move the next default budget into product/memory/operator work unless a measured trigger fires.
7273

7374
## Latest Mainline Increment (2026-04-14 M1 Baseline)
7475

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

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,9 @@ This decision is no longer prose-only.
3636

3737
Important limitation:
3838

39-
- top-level evidence mode is still `policy_default`, but query-latency observation now upgrades to `measured` when runtime query history exists.
39+
- top-level evidence mode is still often `policy_default` or `observed_event`,
40+
- query-latency observation upgrades to `measured` when runtime query history exists,
41+
- rebuild/recovery observations now also upgrade to `measured` when the runtime executes a full-corpus ingest or store reload.
4042

4143
That means the next backend-governance step is **measurement hardening**, not backend replacement.
4244

@@ -221,11 +223,11 @@ Delivered so the dashboard and this page consume the same decision language:
221223
The remaining bounded slice is not "add the first report."
222224
That is done.
223225

224-
The remaining slice is:
226+
The remaining slice is now narrower:
225227

226-
- replace the remaining `policy_default` thresholds with measured capture where feasible,
227-
- extend measurement beyond query latency into rebuild / recovery duration fields,
228-
- keep escalation tied to measured pressure instead of architectural anxiety.
228+
- keep collecting repeated rebuild / recovery samples on a reference device instead of falling back to architecture speculation,
229+
- use measured overruns, not roadmap inertia, to trigger backend escalation,
230+
- move the next engineering budget into product/memory/operator work while the sufficiency report stays green.
229231

230232
## Recommended Next Lane
231233

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,8 @@
5858
- 已补上第一条真实 measured observation 路径:
5959
- 运行时 query 流量会把 sufficiency query-latency observation 从 `policy_default` 升级为 `measured`
6060
- warm-query threshold 在存在运行时 telemetry 时会携带 `observedValue`
61-
- docs/verifier 输出现在会暴露 query observation mode 与最近 persistence event 时间戳。
61+
- full-corpus ingest 与 store reload 现在也会把 rebuild/recovery duration observation 升级为 `measured`
62+
- docs/verifier 输出现在会暴露 query/rebuild/recovery observation mode 与最近 persistence event 时间戳。
6263
- 已把当前架构姿态锁定为证据优先规则:
6364
- local sqlite + 确定性 ANN 继续作为默认 backend baseline,
6465
- 更重 backend 工作必须提供显式 escalation trigger,
@@ -68,7 +69,7 @@
6869
- `mkdocs.yml`
6970
- EN/ZH Diataxis overview 的进度入口。
7071
- 已更新下一段有界 backend governance 切片:
71-
- 把测量范围从 query latency 继续扩展到 rebuild/recovery duration,而不是重复补第一版 route/report
72+
- 保持设备级测量诚实,把默认预算转向 product / memory / operator 工作,除非 measured trigger 真实触发
7273

7374
## 主线最新增量(2026-04-14 M1 基线)
7475

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

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,9 @@
3636

3737
当前限制:
3838

39-
- 顶层 evidence mode 仍然是 `policy_default`,但 query-latency observation 已可在运行时产生查询历史后升级为 `measured`
39+
- 顶层 evidence mode 仍然经常停留在 `policy_default``observed_event`
40+
- query-latency observation 已可在运行时产生查询历史后升级为 `measured`
41+
- rebuild / recovery observation 也已经能在运行时执行 full-corpus ingest 或 store reload 后升级为 `measured`
4042

4143
所以,下一步 backend governance 工作应是**测量加固**,不是 backend replacement。
4244

@@ -220,11 +222,11 @@
220222
剩余的有界切片已经不是“补第一版报告”。
221223
这一步已经完成。
222224

223-
剩余切片是
225+
剩余切片已经进一步收窄为
224226

225-
- 在剩余维度上继续用测量采集替换 `policy_default` 阈值
226-
- 把测量范围从 query latency 扩展到 rebuild / recovery duration 字段
227-
- 保证升级依然由测量压力驱动,而不是由架构焦虑驱动
227+
- 在参考设备上持续积累 rebuild / recovery 样本,而不是退回到架构猜测
228+
- 只让 measured overrun 触发 backend escalation,而不是被旧路线图惯性牵引
229+
- 当 sufficiency report 仍为绿色时,把默认工程预算继续投向 product / memory / operator 工作
228230

229231
## 推荐下一条主线
230232

0 commit comments

Comments
 (0)