feat: promote knowledge document-role candidate (C2→A2) #67
No files matched your search
@@ -0,0 +1,55 @@
|
||||
# Knowledge 文档角色晋升(A2 候选)
|
||||
|
||||
Date: 2026-11-30.
|
||||
Root candidate: `codex/promote-knowledge-role`.
|
||||
Component: `marqdo-knowledge` C2 `90d5d3d2fb11f598c898ed536b86e6d064d0b878`
|
||||
(PR #16, issue #14 P2).
|
||||
|
||||
## 1. 晋升内容
|
||||
|
||||
| 组件 | 旧 gitlink | 新 gitlink |
|
||||
|---|---|---|
|
||||
| knowledge | `ff6dad4bc2336ff4fee8316d0557d41af4fcff2f` | `90d5d3d2fb11f598c898ed536b86e6d064d0b878` |
|
||||
|
||||
C2 证据:
|
||||
|
||||
- query hit 新增 additive `role`:`entry`/`index`/`log`/`document`/`concept`,
|
||||
只从公开路径约定推导;不新增元数据语法、不额外读源文件、不建第二索引。
|
||||
- `spec/knowledge.md` §3.1.1/§4.1、`docs/STATUS.md`、真实 compile/query 测试
|
||||
覆盖四类 role。
|
||||
- 本地:fmt/clippy、workspace **141 passed**、query 13 passed。
|
||||
- 平台 Woodpecker:PR pipeline #45 success(push lane 只对 master)。
|
||||
- 组件证据:`docs/evidence/2026-11-30-document-role.md`。
|
||||
|
||||
## 2. 根候选校验
|
||||
|
||||
```text
|
||||
python3 scripts/check-layout.py
|
||||
python3 scripts/check-layout.py --checkouts
|
||||
python3 scripts/check-repo-conventions.py
|
||||
bash scripts/integration.sh
|
||||
```
|
||||
|
||||
本候选树实测(Linux x86_64 / glibc 2.43):
|
||||
|
||||
```text
|
||||
python3 scripts/check-layout.py PASS
|
||||
python3 scripts/check-layout.py --checkouts PASS
|
||||
python3 scripts/check-repo-conventions.py PASS
|
||||
bash scripts/integration.sh → 第 1 次 FAIL(web-design 测试
|
||||
detects_a_changed_source_digest_during_one_load 得到 web.engine.cli_missing,
|
||||
与本次 knowledge gitlink 变更无关;日志 .build/integration-knowledgerole.log)
|
||||
bash scripts/integration.sh → 第 2 次 PASS
|
||||
smoke: verified stdlib 0.3.0 tree=sha256:4e47b0ff… files=18
|
||||
PASS: ecosystem candidate (single CLI/Worker/Bundle artifact, consumers green)
|
||||
```
|
||||
|
||||
第 1 次失败按环境/测试瞬时故障如实记录,重跑 PASS;未在本提交中修改 web-design
|
||||
或 CLI 来“修复”该偶发。平台 CI 以根 PR 为准。
|
||||
|
||||
## 3. 边界
|
||||
|
||||
- 只更新 knowledge gitlink + 本文档;catalog/entry/其他组件不变;未创建 release。
|
||||
- role 是导航信息,不是执行/权威性声明;`nature` 仍 `unspecified`。
|
||||
- 检索质量首轮指标(#14 P3)与 `marqdo#55 §15` 冷启动联调仍为后续。
|
||||
- macOS/Windows、rc.6 官方归档消费仍 UNVERIFIED。
|
||||
+1
-1
Submodule tools/knowledge updated: ff6dad4bc2...90d5d3d2fb.
Reference in new issue
Block a user