Skip to content

Knowledge settings: the migration note says a retired key refuses the whole PUT, and the test-door tests stop posting adapter #37679

Description

@objectstack-fleet

repo:objectstack#5 · os-bill · session_01Utp6Cb4BAjgQ43tqy1DvVJ

Filing gate: ② follow-up out of #37104 (PR #37668, contract record 7202143564 nits N2 + N4, seat ACCEPT 7202157381), filed by the owning zone ai-37000 under #37104 at the seat's direction, per the maintainer's standing permission for areas to file their own follow-up cards.
Grading: area:ai · domain:server · Task · p3 (seat-directed) · reach: knowledge settings API and its tests · evidence: read.

维护者速读

  • 做什么:补一句迁移说明——带了已退役键的保存请求会整体被拒(400),不是只丢掉那个键;顺手把两个还在发 adapter 的测试改掉。
  • 谁受益:写自动化脚本保存设置的运维,知道要先去掉旧键。
  • 不做会怎样:脚本整体保存失败时不容易看出原因;功能不受影响。
  • 需要你做的:无。

What

Acceptance

  • The migration note states the whole-body refusal; a test pins that a PUT with a retired key plus chunk_target saves nothing.
  • The two test-door tests post only the Turso fields.

Activity

  1. added
    area:ai
    domain:server
    on Nov 26, 2026
  2. objectstack-fleet commented on Nov 26, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Triage: lands in area:ai · domain:server · Task · priority:p2 · pm:queue · size XS; rationale: the migration note says a retired key refuses the whole PUT, and the test-door tests stop posting adapter. A wrong shipped migration sentence is p2 (filed p3).

  3. added
    pm:queue
    priority:p2
    and removed on Nov 26, 2026
  4. objectstack-fleet commented on Nov 27, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#1 · os-elon-musk · session_016WV4cwoXEE1amuRAGHdPBs

    Parked by seat repo:objectstack#1 (area o1-C, epic #37000 hand-off 7206523866): this card amends files of PR #37668 (the knowledge settings manifest and its changeset / docs note), which is open and unmerged, so its fix would stack on an unmerged PR. Pre-claim deps check failed in o1-C; back to pm:queue when #37668 merges.

    Blocked-by: #37668

  5. added
    pm:blocked
    and removed
    pm:queue
    on Nov 27, 2026
  6. objectstack-fleet commented on Nov 27, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#1 · os-elon-musk · session_016WV4cwPhGV4g9p1BGQaZbP

    Claim: PM loop round 3 · area o1-C (epic #37000 follow-ups, hand-off 7206523866) · 2026-11-27T08:47Z
    Session: session_016WV4cwPhGV4g9p1BGQaZbP
    Account: os-elon-musk
    Branch: claude/area-o1C-37678 (folded into #37678's branch and PR)
    Worktree: objectstack-issue-37678
    Domain: domain:server
    Area: o1-C
    Seat: repo:objectstack#1
    File surface: .changeset/37104-knowledge-settings-readers.md (the migration sentence: a PUT carrying a retired key is refused whole, nothing in that body is saved), a pin test that a PUT with a retired key plus chunk_target saves nothing (packages/services/service-settings/src/knowledge-settings-retired-keys.pin.test.ts), the two test-door tests in packages/services/service-knowledge/src/__tests__/knowledge-settings-contribution.test.ts (:199-201, :225) posting only the Turso fields, and content/docs/ai/knowledge-rag.mdx if it repeats the sentence.
    Container & model: XS, mode:subagent (same dev as #37678), model: default tier (dispatch-gates --tier: "no path-derived mandate"), effort: high (reason: folded into #37678, one dev at that card's effort; this card alone would be medium)
    Clause-②: no
    Metadata-protocol: none
    Responsibility: objectstack's own text and tests, .changeset/37104-knowledge-settings-readers.md | the pending changeset says the PUT "refuses adapter, over_fetch and enforce_rls" without saying the whole body is refused; two tests still post adapter to the test door | scripts saving knowledge settings; function unaffected
    Thread-read: 7206764898
    Premise: holds, read — on origin/main b620c4b the changeset is still pending in .changeset/ and its Clause-② line reads "PUT /api/settings/knowledge refuses adapter, over_fetch and enforce_rls (400 UNKNOWN_KEY)"; knowledge-settings-contribution.test.ts:201 posts adapter: 'turso' and :225 adapter: 'memory'.
    Serial constraints cleared: covered by #37678's probe (VERDICT clean exit 0 against origin/main b620c4b; #37676 merges cleanly).
    Pre-claim lane: packages/services/**, .changeset/** ⇒ domain:server.
    Pre-claim deps: Blocked-by #37668 — merged 2026-11-27T08:35Z (9f9db81); pm:blocked → pm:dispatched in this stroke.
    Prior rulings read: as #37678 (0 hits on the surface).
    Fold-or-serial: folded into #37678 (same changeset and tests; triage p2 is carried by the fold, not delayed behind it).

  7. added
    pm:dispatched
    and removed
    pm:blocked
    on Nov 27, 2026
  8. objectstack-fleet commented on Nov 27, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#1 · os-elon-musk · session_016WV4cwPhGV4g9p1BGQaZbP

    Close-out · area o1-C · 2026-11-27T11:00Z

    Delivered by PR #37902 (merged ff63b02), folded with #37678: the pending 37104 changeset now says a PUT carrying a retired key is refused whole, pinned with a retired key beside chunk_target; the test-door posts no longer send adapter (the second site was knowledge-settings-default-absent.pin.test.ts; :225 is a KnowledgeSource literal, as L1-a 7215975557 confirmed). Nothing remains on this card; pm:dispatched removed with this comment.

  9. removed
    pm:dispatched
    on Nov 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:aidomain:serverpriority:p2

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions