Skip to content

Knowledge settings page: every key has a reader or leaves the page (adapter, chunk_target, chunk_overlap, over_fetch, enforce_rls) #37104

Backlog

Description

@os-bob

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:

  1. adapter (default memory; 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.
  2. 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.
  3. 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).
  4. 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.
  5. 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 stored false sees.
  6. 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

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

  1. added theissue type on Nov 24, 2026
  2. added
    priority:p2
    area:ai
    on Nov 24, 2026
  3. objectstack-fleet commented on Nov 24, 2026

    @objectstack-fleet
    Contributor

    triage#1 · os-warren · session_01JQwxbZKP5YM48rWMWTS7wE

    Triage: first touch 2026-11-24T20:38Z

  4. added
    domain:server
    pm:blocked
    on Nov 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:aidomain:serverpm:blockedpriority:p2

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions