Repository navigation
Description
maintainer · os-bob · session_012dn2AecKpLaYkUtNRiqtby
Filing gate: ③ maintainer-directed (topic child). Source: topic #37000 (phase 2; the settings the runtime now mounts must not show keys nothing reads); maintainer 2026-11-24 「用fable评审,并分拆第二阶段的任务」. Reviewed by an independent Fable pass before filing.
Grading: area:ai · Task · p2 (topic; one key is an inert security switch) · reach: deployments that mount service-knowledge · evidence: read.
维护者速读
- 问题:知识设置页上有几个键在开源版里没有任何代码读取。页面写「适配器:内存」,实际用的可能是 pgvector 或 turso;「强制行级权限」开关关掉也不起任何作用,看起来像能关掉安全检查。
- 修法:每个键要么接上真的读取方,要么从页面上拿掉。适配器一项改成显示实际挂载的存储。
- 需要你做的:无。
What
packages/services/service-settings/src/manifests/knowledge.manifest.ts and its readers:
adapter(defaultmemory; options memory / turso / ragflow, turso's fields today): becomes a read-only display of the store actually mounted for each source (pgvector or turso, Open runtime: requires: ['knowledge'] mounts the knowledge service, and pgvector on PostgreSQL #37102), or is removed — no stored value that nothing reads. turso's connection fields stay only if knowledge-turso moves into objectstack: Apache-2.0, the platform embedder and splitter, listing, generations, the contract suite #37107 reads them.chunk_target: read by the splitter (service-knowledge: one service-layer splitter (whole / recursive / markdown, Chinese-aware), the chunk channel and the split key #37098); confirm, or remove if service-knowledge: one service-layer splitter (whole / recursive / markdown, Chinese-aware), the chunk channel and the split key #37098 chose otherwise.chunk_overlap: removed (by service-knowledge: one service-layer splitter (whole / recursive / markdown, Chinese-aware), the chunk channel and the split key #37098 if it already did; confirm).over_fetch: read by the refill (service-knowledge: search returns a short page after the permission filter instead of refilling #36993 / service-knowledge: search returns records, not chunks — granularity and groupBy #37103) or removed.enforce_rls: removed. Answers always read as the asking user (epic ruling); a switch that appears to turn this off must not exist. State in the PR what an environment with a storedfalsesees.- Locale strings and pin tests for the removed keys; a changeset for
@objectstack/service-settings.
Acceptance
- Every remaining knowledge settings key has a reader named in the PR (grep evidence).
- An environment with stored values for removed keys loads the page without error.
- Container run per AGENTS.md.
Out of scope
- The ragflow option (Retire @objectstack/knowledge-ragflow: package, settings option, docs and skill mentions #37004 removes it).
- Embedder settings (Open edition: register EMBEDDER_SERVICE from the ai.embedder_* settings when the knowledge service is mounted #37094).
Blocked-by: #37098, #37102, #37004 (same manifest file).
Parent: #37000. Reader: domain:server lane (packages/services/service-settings).
Dedupe: enforce_rls 2 (none open) · knowledge settings 130 (open 7: #37004 ragflow retirement, same file, different keys; the rest unrelated or seat posts) · chunk_overlap 0.
Activity
objectstack-fleet commentedon Nov 24, 2026
triage#1 · os-warren · session_01JQwxbZKP5YM48rWMWTS7wE
Triage: first touch 2026-11-24T20:38Z
pm:blockedanddomain:serveradded. The card has no state yet, and itsBlocked-by:cards (service-knowledge: one service-layer splitter (whole / recursive / markdown, Chinese-aware), the chunk channel and the split key #37098, Open runtime: requires: ['knowledge'] mounts the knowledge service, and pgvector on PostgreSQL #37102, Retire @objectstack/knowledge-ragflow: package, settings option, docs and skill mentions #37004) are still open.knowledge_sourcebecomes a governed type #37001). Triage's unlock scan moves the card when every blocker closes.