Skip to content

Commit 15c1fb8

Browse files
committed
docs(governance): close m7.3 readiness and anti-overclaim chain
1 parent 5bb3b8c commit 15c1fb8

9 files changed

Lines changed: 239 additions & 0 deletions

docs/brainstorms/2026-04-16-mainline-ci-stabilization-and-m7-direction-requirements.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,25 @@ Deliverables:
175175
- documented mainline preconditions for graphdb/ANN re-entry.
176176
- explicit non-goal statement preventing branch-only claims from entering mainline progress sections.
177177

178+
#### M7.3 Progress Note (2026-04-16)
179+
180+
- [Done] published bilingual foundation re-entry checklist pages:
181+
- `docs/diataxis/en/explanation/foundation-reentry-readiness-checklist.md`
182+
- `docs/diataxis/zh/explanation/foundation-reentry-readiness-checklist.md`
183+
- [Done] landed anti-overclaim language and status taxonomy:
184+
- canonical status words: `Planned` / `In Progress` / `Integrated`,
185+
- explicit forbidden-claim examples for pre-integration foundation updates.
186+
- [Done] bound checklist to executable Go/No-Go gates:
187+
- `npm test -- src/knowledge.api.contract.test.ts --runInBand`
188+
- `npm test -- src/learning/KnowledgeLearningPlatform.test.ts --runInBand`
189+
- `npm test -- src/learning/KnowledgeLearningPlatform.persistence.test.ts --runInBand`
190+
- `npm run test:agent-workspace:contracts`
191+
- `npm run docs:diataxis:check && npm run docs:site:build`
192+
- [Done] updated docs visibility chain for stable discovery:
193+
- `mkdocs.yml` nav entries (EN/ZH),
194+
- `docs/diataxis-map.json` mapping,
195+
- EN/ZH dashboard and roadmap references.
196+
178197
## Success Criteria
179198

180199
- CI failure mode that previously blocked the three agent-workspace suites is eliminated on mainline.

docs/diataxis-map.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,18 @@
194194
"diataxis": "docs/diataxis/zh/explanation/knowledge-mastery-evolution-roadmap.md"
195195
}
196196
},
197+
{
198+
"id": "foundation-reentry-readiness-checklist",
199+
"category": "explanation",
200+
"en": {
201+
"canonical": ["docs/brainstorms/2026-04-16-mainline-ci-stabilization-and-m7-direction-requirements.md", "src/learning/store.ts", "src/learning/KnowledgeLearningPlatform.ts", "src/knowledge.api.contract.test.ts", ".github/workflows/migration-gates.yml"],
202+
"diataxis": "docs/diataxis/en/explanation/foundation-reentry-readiness-checklist.md"
203+
},
204+
"zh": {
205+
"canonical": ["docs/brainstorms/2026-04-16-mainline-ci-stabilization-and-m7-direction-requirements.md", "src/learning/store.ts", "src/learning/KnowledgeLearningPlatform.ts", "src/knowledge.api.contract.test.ts", ".github/workflows/migration-gates.yml"],
206+
"diataxis": "docs/diataxis/zh/explanation/foundation-reentry-readiness-checklist.md"
207+
}
208+
},
197209
{
198210
"id": "development-progress-dashboard",
199211
"category": "explanation",

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

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -269,6 +269,20 @@ Execution anchor:
269269
- Verification evidence:
270270
- `npm test -- src/agent_workspace.runtime.behavior.test.ts --runInBand`
271271

272+
## Latest Mainline Increment (2026-04-16 M7.3 Foundation Re-entry Readiness Lane)
273+
274+
- Added a bilingual foundation re-entry checklist page:
275+
- `docs/diataxis/en/explanation/foundation-reentry-readiness-checklist.md`
276+
- `docs/diataxis/zh/explanation/foundation-reentry-readiness-checklist.md`
277+
- Added explicit anti-overclaim status language (`Planned` / `In Progress` / `Integrated`) and forbidden-claim examples for foundation lane updates.
278+
- Added Go/No-Go gate matrix tied to executable checks:
279+
- `npm test -- src/knowledge.api.contract.test.ts --runInBand`
280+
- `npm test -- src/learning/KnowledgeLearningPlatform.test.ts --runInBand`
281+
- `npm test -- src/learning/KnowledgeLearningPlatform.persistence.test.ts --runInBand`
282+
- `npm run test:agent-workspace:contracts`
283+
- `npm run docs:diataxis:check && npm run docs:site:build`
284+
- Updated docs navigation and Diataxis map for stable web visibility.
285+
272286
## Mainline vs Working-Branch Snapshot (2026-04-14)
273287

274288
| Capability Slice | Working Branch (`feat/learning-multi-tutor-adapter`) | Mainline (`origin/main`) | Integration Status |
@@ -369,6 +383,7 @@ Note: do not list foundation-lane gates as baseline until the corresponding modu
369383
## Related Pages
370384

371385
- [Knowledge Mastery Evolution Roadmap](./knowledge-mastery-evolution-roadmap.md)
386+
- [Foundation Re-entry Readiness Checklist](./foundation-reentry-readiness-checklist.md)
372387
- [Agent Conversation + Focus Mode Delivery Plan](./agent-conversation-focus-mode-plan.md)
373388
- [DeepTutor Reuse Assessment](./deeptutor-reuse-assessment.md)
374389
- [MemOS Reuse Assessment](./memos-reuse-assessment.md)
Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
1+
# Explanation: Foundation Re-entry Readiness Checklist
2+
3+
This page defines the **Go/No-Go contract** for re-entering the foundation lane (graph persistence depth + retrieval backend depth) after M7 interaction-lane stabilization.
4+
5+
## Objective
6+
7+
Prevent branch-only assumptions from being promoted to mainline facts.
8+
Foundation work may proceed only when code, tests, CI, and docs all satisfy the same evidence threshold.
9+
10+
## Mainline Baseline (2026-04-16)
11+
12+
- Mainline persistence baseline remains file-backed snapshot storage:
13+
- `src/learning/store.ts`
14+
- Mainline learning/runtime contract currently centers on:
15+
- `src/learning/api.ts`
16+
- `src/learning/types.ts`
17+
- `src/learning/KnowledgeLearningPlatform.ts`
18+
- `src/server.ts`
19+
- Active interaction lane is stable and CI-protected:
20+
- `src/agent_workspace.contract.parity.test.ts`
21+
- `src/agent_workspace.runtime.behavior.test.ts`
22+
- `.github/workflows/migration-gates.yml`
23+
24+
Implication:
25+
26+
- foundation re-entry is allowed,
27+
- foundation overclaim is not allowed.
28+
29+
## Re-entry Gate Matrix
30+
31+
All gates below must pass before calling foundation lane "active on mainline".
32+
33+
| Gate Class | Required Evidence | Mandatory Check |
34+
|---|---|---|
35+
| Contract gate | New/changed foundation capability is represented in `src/learning/types.ts` and `src/learning/api.ts` without undocumented behavior | `npm test -- src/knowledge.api.contract.test.ts --runInBand` |
36+
| Core behavior gate | Learning core behavior remains valid under foundation change | `npm test -- src/learning/KnowledgeLearningPlatform.test.ts --runInBand` |
37+
| Persistence safety gate | Snapshot restore/save behavior remains deterministic | `npm test -- src/learning/KnowledgeLearningPlatform.persistence.test.ts --runInBand` |
38+
| Interaction non-regression gate | L4 interaction lane remains stable after foundation code touches | `npm run test:agent-workspace:contracts` |
39+
| CI gate | Migration matrix remains green on mainline after merge | `.github/workflows/migration-gates.yml` run status on `main` |
40+
| Documentation gate | EN/ZH progress dashboard and this checklist updated with exact status language | `npm run docs:diataxis:check && npm run docs:site:build` |
41+
42+
## Non-overclaim Policy
43+
44+
Use these status words consistently:
45+
46+
- `Planned`: no mainline code evidence yet.
47+
- `In Progress`: mainline code exists but one or more mandatory gates still failing or missing.
48+
- `Integrated`: all mandatory gates passing on mainline CI.
49+
50+
Forbidden statements before integration:
51+
52+
- "GraphDB lane completed"
53+
- "Vector backend production-ready"
54+
- "Foundation closure done"
55+
56+
Allowed statements before integration:
57+
58+
- "Foundation lane design finalized"
59+
- "Foundation lane prototype exists"
60+
- "Foundation lane staged for mainline integration"
61+
62+
## Decision Checklist (Operator View)
63+
64+
Mark each as `Yes` before declaring re-entry complete:
65+
66+
1. Mainline diff is scoped to foundation changes and bounded migration impact.
67+
2. Contract gate and core behavior gate both pass locally.
68+
3. Persistence safety gate passes locally with no snapshot compatibility regression.
69+
4. Interaction non-regression gate passes locally.
70+
5. Docs gate passes locally and EN/ZH pages reflect exact status.
71+
6. Post-push `Migration Gates` run on `main` is green.
72+
73+
If any answer is `No`, decision is `No-Go`.
74+
75+
## Mandatory Deliverables for M7.3 Closure
76+
77+
- This checklist published in EN/ZH Diataxis explanation pages.
78+
- Progress dashboards include explicit reference to this checklist.
79+
- Brainstorm baseline (`2026-04-16 mainline CI stabilization and M7 direction`) includes M7.3 progress note and anti-overclaim guardrails.
80+
81+
## Related Pages
82+
83+
- [Development Progress Dashboard](./development-progress-dashboard.md)
84+
- [Knowledge Mastery Evolution Roadmap](./knowledge-mastery-evolution-roadmap.md)
85+
- [Mainline CI Stabilization and M7 Direction Requirements](../../../brainstorms/2026-04-16-mainline-ci-stabilization-and-m7-direction-requirements.md)

docs/diataxis/en/explanation/knowledge-mastery-evolution-roadmap.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,10 @@ This requires:
7171
## Progress Tracking Entry
7272

7373
- [Development Progress Dashboard](./development-progress-dashboard.md)
74+
- [Foundation Re-entry Readiness Checklist](./foundation-reentry-readiness-checklist.md)
7475

7576
Use this page as the execution view (layer matrix, debug runbook, and priority backlog).
77+
Use the readiness checklist as the mandatory Go/No-Go gate before marking foundation lane active on mainline.
7678

7779
## Canonical Plan and Baseline Sources
7880

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

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -269,6 +269,22 @@
269269
- 验证证据:
270270
- `npm test -- src/agent_workspace.runtime.behavior.test.ts --runInBand`
271271

272+
## 主线最新增量(2026-04-16 M7.3 Foundation 回归就绪链路)
273+
274+
- 已新增中英双语 Foundation 回归就绪检查清单:
275+
- `docs/diataxis/en/explanation/foundation-reentry-readiness-checklist.md`
276+
- `docs/diataxis/zh/explanation/foundation-reentry-readiness-checklist.md`
277+
- 已明确防超前宣称状态词与约束:
278+
- 状态词固定为 `Planned` / `In Progress` / `Integrated`
279+
- 明确禁止将分支原型描述为主线已集成事实。
280+
- 已新增 Go/No-Go 门禁矩阵并绑定可执行检查:
281+
- `npm test -- src/knowledge.api.contract.test.ts --runInBand`
282+
- `npm test -- src/learning/KnowledgeLearningPlatform.test.ts --runInBand`
283+
- `npm test -- src/learning/KnowledgeLearningPlatform.persistence.test.ts --runInBand`
284+
- `npm run test:agent-workspace:contracts`
285+
- `npm run docs:diataxis:check && npm run docs:site:build`
286+
- 已同步导航与 Diataxis 映射,保证文档页面稳定可访问。
287+
272288
## 主线 vs 工作分支快照(2026-04-14)
273289

274290
| 能力切片 | 工作分支(`feat/learning-multi-tutor-adapter`| 主线(`origin/main`| 集成状态 |
@@ -369,6 +385,7 @@ npm test -- src/learning/KnowledgeLearningPlatform.persistence.test.ts --runInBa
369385
## 关联页面
370386

371387
- [知识彻底掌握演进路线图](./knowledge-mastery-evolution-roadmap.md)
388+
- [Foundation 回归就绪检查清单](./foundation-reentry-readiness-checklist.md)
372389
- [Agent 对话 + Focus Mode 交付方案](./agent-conversation-focus-mode-plan.md)
373390
- [DeepTutor 复用评估](./deeptutor-reuse-assessment.md)
374391
- [MemOS 复用评估](./memos-reuse-assessment.md)
Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
1+
# 解释:Foundation 回归就绪检查清单
2+
3+
本页定义 M7 交互链路稳定化后,foundation lane(图存储深度 + 检索后端深度)回归时的 **Go/No-Go 契约**
4+
5+
## 目标
6+
7+
避免把分支假设升级为主线事实。
8+
只有当代码、测试、CI、文档同时满足同一证据阈值时,foundation lane 才能进入主线“已集成”状态。
9+
10+
## 主线基线现实(2026-04-16)
11+
12+
- 主线持久化基线仍是 file-backed snapshot:
13+
- `src/learning/store.ts`
14+
- 主线学习/运行时契约核心仍是:
15+
- `src/learning/api.ts`
16+
- `src/learning/types.ts`
17+
- `src/learning/KnowledgeLearningPlatform.ts`
18+
- `src/server.ts`
19+
- 当前交互链路已稳定并受 CI 保护:
20+
- `src/agent_workspace.contract.parity.test.ts`
21+
- `src/agent_workspace.runtime.behavior.test.ts`
22+
- `.github/workflows/migration-gates.yml`
23+
24+
结论:
25+
26+
- 可以回归 foundation lane,
27+
- 不能超前宣称 foundation 已闭环。
28+
29+
## 回归门禁矩阵
30+
31+
以下门禁全部通过后,才能将 foundation lane 标记为“主线已激活”。
32+
33+
| 门禁类别 | 必要证据 | 强制检查 |
34+
|---|---|---|
35+
| 契约门禁 | foundation 新增/变更能力必须在 `src/learning/types.ts``src/learning/api.ts` 中显式表达,且行为文档化 | `npm test -- src/knowledge.api.contract.test.ts --runInBand` |
36+
| 核心行为门禁 | foundation 变更后学习核心行为保持正确 | `npm test -- src/learning/KnowledgeLearningPlatform.test.ts --runInBand` |
37+
| 持久化安全门禁 | snapshot 恢复/保存语义保持确定性 | `npm test -- src/learning/KnowledgeLearningPlatform.persistence.test.ts --runInBand` |
38+
| 交互无回归门禁 | foundation 触点变更后 L4 交互链路仍稳定 | `npm run test:agent-workspace:contracts` |
39+
| CI 门禁 | 合并后主线 migration 矩阵全绿 | `.github/workflows/migration-gates.yml``main` 的运行结果 |
40+
| 文档门禁 | EN/ZH 进度看板与本清单同步更新,状态语言一致 | `npm run docs:diataxis:check && npm run docs:site:build` |
41+
42+
## 防超前宣称策略
43+
44+
状态词统一使用:
45+
46+
- `Planned`:主线尚无代码证据。
47+
- `In Progress`:主线已有代码,但一个或多个强制门禁仍未通过或缺失。
48+
- `Integrated`:全部强制门禁通过,且主线 CI 已验证。
49+
50+
以下表述在未集成前禁止出现:
51+
52+
- “GraphDB lane completed”
53+
- “Vector backend production-ready”
54+
- “Foundation closure done”
55+
56+
以下表述在未集成前允许出现:
57+
58+
- “Foundation lane design finalized”
59+
- “Foundation lane prototype exists”
60+
- “Foundation lane staged for mainline integration”
61+
62+
## 决策检查清单(执行视角)
63+
64+
下列项全部为 `Yes` 才能判定回归完成:
65+
66+
1. 主线差异集中在 foundation 变更,迁移影响边界清晰。
67+
2. 契约门禁与核心行为门禁本地通过。
68+
3. 持久化安全门禁本地通过,且无 snapshot 兼容性回归。
69+
4. 交互无回归门禁本地通过。
70+
5. 文档门禁本地通过,且 EN/ZH 状态描述一致。
71+
6. 推送后 `main``Migration Gates` 全绿。
72+
73+
任一项为 `No`,决策即为 `No-Go`
74+
75+
## M7.3 必要交付
76+
77+
- 本清单在 Diataxis EN/ZH explanation 双语页面可访问。
78+
- 进度看板已显式引用本清单。
79+
- `2026-04-16` 主线方向文档已补 M7.3 进展与防超前宣称规则。
80+
81+
## 关联页面
82+
83+
- [开发进度看板](./development-progress-dashboard.md)
84+
- [知识彻底掌握演进路线图](./knowledge-mastery-evolution-roadmap.md)
85+
- [2026-04-16 主线 CI 稳定化与 M7 方向要求](../../../brainstorms/2026-04-16-mainline-ci-stabilization-and-m7-direction-requirements.md)

docs/diataxis/zh/explanation/knowledge-mastery-evolution-roadmap.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,10 @@
7070
## 进度跟踪入口
7171

7272
- [开发进度看板](./development-progress-dashboard.md)
73+
- [Foundation 回归就绪检查清单](./foundation-reentry-readiness-checklist.md)
7374

7475
该页面提供执行视角:分层矩阵、调试 Runbook、优先级待办。
76+
在将 foundation lane 标记为主线激活前,必须先通过该回归就绪清单的 Go/No-Go 门禁。
7577

7678
## 权威计划与基线来源
7779

mkdocs.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ nav:
7474
- Startup Node Update Acceleration Plan: diataxis/en/explanation/startup-node-update-acceleration-plan.md
7575
- Knowledge Mastery Evolution Roadmap: diataxis/en/explanation/knowledge-mastery-evolution-roadmap.md
7676
- Development Progress Dashboard: diataxis/en/explanation/development-progress-dashboard.md
77+
- Foundation Re-entry Readiness Checklist: diataxis/en/explanation/foundation-reentry-readiness-checklist.md
7778
- Agent Conversation + Focus Mode Delivery Plan: diataxis/en/explanation/agent-conversation-focus-mode-plan.md
7879
- DeepTutor Reuse Assessment: diataxis/en/explanation/deeptutor-reuse-assessment.md
7980
- MemOS Reuse Assessment: diataxis/en/explanation/memos-reuse-assessment.md
@@ -101,6 +102,7 @@ nav:
101102
- 启动节点更新提速方案: diataxis/zh/explanation/startup-node-update-acceleration-plan.md
102103
- 知识彻底掌握演进路线图: diataxis/zh/explanation/knowledge-mastery-evolution-roadmap.md
103104
- 开发进度看板: diataxis/zh/explanation/development-progress-dashboard.md
105+
- Foundation 回归就绪检查清单: diataxis/zh/explanation/foundation-reentry-readiness-checklist.md
104106
- Agent 对话与 Focus Mode 交付方案: diataxis/zh/explanation/agent-conversation-focus-mode-plan.md
105107
- DeepTutor 复用评估: diataxis/zh/explanation/deeptutor-reuse-assessment.md
106108
- MemOS 复用评估: diataxis/zh/explanation/memos-reuse-assessment.md

0 commit comments

Comments
 (0)