Repository navigation
Description
maintainer · os-bob · session_012dn2AecKpLaYkUtNRiqtby
Filing gate: ③ maintainer-directed (topic parent). Source: maintainer. Key words (maintainer, 2026-11-24, this session): 「先立专题 ① 记录范围 AI 问询 ;⑤ 应用技能进入应用内 AI ,M0 那几项知识服务缺陷 也立专题,目前开发的策略是按专题派」「这几个专题任务用fable 审核之后立卡」「专题 ② 知识检索平台化 也一起立」. Reviewed by an independent Fable pass before filing.
Batch-of: 4 epics filed together on 2026-11-24 (this one, 「知识检索平台化」, 「记录范围 AI 问询」, cloud 「应用技能进入应用内 AI」).
维护者速读
- 做什么:修知识服务里已发布行为的缺陷。知识源声明了索引条件(比如只索引现行版本),但记录变更时不看它,失效记录还能被搜到;回收站恢复的记录不会重新进索引;全量重建一次把整张表读进内存;按权限过滤后不补,能看的记录少的人搜不到;命中结果的标题只认名为 title 的字段;嵌入时所有文本一次发出去,不分批。
- 不做:新的接口、知识源写成元数据、切分、向量存储、按记录返回(在「知识检索平台化」专题里)。
- 需要你做的:无。
Children
| Milestone | Child | Blocked-by | Lane |
|---|---|---|---|
| M0 | 1. (filed below) event sync honours the source where; a restored record re-enters the index |
#36650 | server |
| M0 | 2. (filed below) reindexSource pages instead of one unbounded read |
1 | server |
| M0 | 3. (filed below) search refills after the permission filter | #36839 | server |
| M0 | 4. (filed below) hit title from the object's display field | 1, #36839 | server |
| M0 | 5. (filed below) embedder-openai sends every input in one request |
none | plugins |
| later | 6. sync-failure counts per source — row only: filed once a named reader exists (the reconcile work in 「知识检索平台化」 is the expected one) | — | — |
All five touch service-knowledge or embedder-openai; 1–4 touch the same file as #36650 (PR #36823) and #36839, hence the edges.
Rulings that bound every child
- No new adapter-contract members (list, drop, capabilities, typed filters) here; they wait for the knowledge-platform ADR. A child that finds it needs one stops and says so on the card.
- The count of hits removed by the permission filter is never returned to the caller; logs only.
aiExposedstays enforced at the tool layer (mcp: no knowledge tool is served, so an app'saiExposedknowledge sources are unreachable over MCP, and every skill that bindssearch_knowledgeis silently withheld fromprompts/list#36650), not inIKnowledgeService.search.IKnowledgeService.searchkeeps its public signature and return type.
Done when
All children closed; service-knowledge and embedder-openai tests cover each fix.
Related, not children: #36650 and PR #36823 (MCP knowledge tool, same file), #36839 (in flight, same function), #33933 (knowledge settings only where the service is mounted; the 2026-11-15 ruling that knowledge is not a focus is superseded by the maintainer's 2026-11-24 words above — that card's own change stays valid).
Reader: the server lane for service-knowledge; the plugins lane for child 5.
Dedupe: knowledge where event sync is:open 4 (none on this mechanism) · handleRecordUpsert 4 (all closed: #20573, #4672, #20288, #14646) · reindexSource 3 (all closed) · knowledge search permission filter topK 1 (#36839, different mechanism) · embedder-openai 159 / embedder batch 117 (none open on this).
Activity
where, and a restored record never re-enters the index #36991titlefield #36994os-bob commentedon Nov 24, 2026
maintainer · os-bob · session_012dn2AecKpLaYkUtNRiqtby
Children filed: 1 → #36991 · 2 → #36992 · 3 → #36993 · 4 → #36994 · 5 → #36995. Row 6 stays a row.
Generated by Claude Code
os-bob commentedon Nov 24, 2026
maintainer · os-bob · session_012dn2AecKpLaYkUtNRiqtby
Moved to the next phase. Maintainer, 2026-11-24: 「知识服务正确性 很多也是和 knowdege 相关的呀,应该可以放到下一阶段」「第一阶段我需要实现不依赖knowledge 服务的情况下, 选中一份制度问 AI, 和不选中制度直接问」.
Phase 1 (asking about a selected policy, and asking without selecting one) uses no knowledge service; this epic is scheduled together with #37000. Priority p2 → p3; the children stay filed but are not dispatched in phase 1.
Generated by Claude Code
where, and a restored record never re-enters the index #36991titlefield #36994os-bob commentedon Nov 24, 2026
maintainer · os-bob · session_012dn2AecKpLaYkUtNRiqtby
Merged into #37000 — maintainer 2026-11-24: 「合并,按四阶段改,先立第一阶段的卡」. All five children moved under #37000: #36991, #36992, #36995 are its phase 1 (now p2); #36993, #36994 and the sync-failure row are its phase 4. Closing this epic; nothing is lost.
Generated by Claude Code