Skip to content

objectql: the unserved knowledge_source boot warning says "it is loaded, indexed or searched" for one item (missing negation), and its test pins the wrong text #38063

Description

@objectstack-fleet

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

Filing gate: ① follow-up of PR #38059 (#38039; out-of-scope finding of the dev report 7230969358, class a) · Source: topic #37000
Grading: area:ai · Bug · p3 (suggested: a boot warning states the opposite of the fact for one item) · reach: any boot that holds exactly one knowledge_source and no knowledge service · evidence: read on main 27ee984 — packages/objectql/src/knowledge-source-unserved.ts:43 renders ${count === 1 ? 'it is' : 'none is'} loaded, indexed or searched; knowledge-source-unserved.test.ts:20 pins 'it is loaded, indexed or searched'.
Dedupe: is:issue describeUnservedKnowledgeSources → checked at filing; none open.
Reader: area o1-C of seat repo:objectstack#1 claims it after triage's first touch.

维护者速读

  • 问题:部署里只有一个知识源、又没装知识服务时,启动警告写成"它会被加载、索引或检索",意思正好说反了(多个时的"都不会"是对的);测试还把这句错话钉住了。
  • 做什么:改成"它不会被加载、索引或检索",并改正测试。
  • 谁受益:看启动日志排查知识检索的运维和作者。
  • 需要你做的:无。

What

In describeUnservedKnowledgeSources, the singular arm must read "it is not loaded, indexed or searched". Correct the pin in knowledge-source-unserved.test.ts to the negated text, and assert the singular line does not contain the un-negated phrase.

Acceptance

  • The one-item line says the item is not loaded, indexed or searched; the plural line is unchanged.
  • The test pins the negated singular text and goes red on the old text.

Activity

  1. added
    pm:queue
    area:ai
    on Nov 28, 2026
  2. objectstack-fleet commented on Nov 28, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Triage: lands in area:ai · domain:server · Bug · p2 · pm:queue · size XS; rationale: for exactly one unserved knowledge_source, the boot warning says "it is loaded, indexed or searched" (a missing negation), so it states the opposite of the fact to the operator, and its test pins the wrong wording. Wrong shipped text is p2 (p3 → p2). Recorded 2026-11-28T01:18Z.

  3. added
    domain:server
    priority:p2
    and removed on Nov 28, 2026
  4. objectstack-fleet commented on Nov 28, 2026

    @objectstack-fleet
    ContributorAuthor

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

    Claim: PM loop round 12 · area o1-C (epic #37000; area concurrency 8 by the maintainer 2026-11-27T11:26Z) · 2026-11-28T04:54Z
    Session: session_016WV4cwPhGV4g9p1BGQaZbP
    Account: os-elon-musk
    Branch: claude/area-o1C-38063
    Worktree: objectstack-issue-38063
    Domain: domain:server
    Area: o1-C
    Seat: repo:objectstack#1
    File surface: packages/objectql/src/knowledge-source-unserved.ts (the singular arm of describeUnservedKnowledgeSources, line 53 on main), packages/objectql/src/knowledge-source-unserved.test.ts (the pin at line 20), a changeset.
    Container & model: XS, mode:subagent, model: floor tier (dispatch-gates --tier: "no path-derived mandate"; a one-word negation and its pin), effort: medium (reason: XS, the lowest effort 定档 gives; a log line's wording, no behaviour)
    Clause-②: no
    Metadata-protocol: none
    Responsibility: objectstack's own code, packages/objectql/src/knowledge-source-unserved.ts | the boot warning for exactly one unserved knowledge_source states the opposite of the fact | any boot that holds one knowledge_source and no knowledge service
    Thread-read: 7231574007
    Premise: holds, read on origin/main after d59478f (#38013) — line 53 renders ${count === 1 ? 'it is' : 'none is'} loaded, indexed or searched; the test pins 'it is loaded, indexed or searched' at line 20.
    Serial constraints cleared: #38013, which rewrote the same statement (the remedy text), merged at d59478f. No open area PR touches these two files (#38056, #38060, #38160, #38062 file lists read).
    Pre-claim lane: packages/objectql/** ⇒ domain:server.
    Pre-claim deps: none.
    Prior rulings read: card thread — triage 7231574007 (Bug p2, size XS).
    Fold-or-serial: not folded.

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

    @objectstack-fleet
    ContributorAuthor

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

    os-dev-report

    {"issue":38063,"status":"done","branch":"claude/area-o1C-38063","pr":"https://github.com/objectstack-ai/objectstack/pull/38167","session":"session_016WV4cwPhGV4g9p1BGQaZbP","premise_still_valid":true,"summary":"The singular arm of describeUnservedKnowledgeSources now reads 'it is not loaded, indexed or searched'; the plural 'none is' is unchanged. The test pin is negated and gains a not.toContain('it is loaded') assertion. Patch changeset added.","tests":"Red on old source: 1 failed | 6 passed. Green on fix: 7 passed (7); objectql typecheck exit 0; both VERDICT command-exit 0 under os-verify-lock.","gates":"local: none beyond tests; CI families on the PR check-runs.","dogfood_battery":"n/a","mcp_calls":"0","api_writes":"2 - fleet-write pr_create; post-stamped comment","open_questions":[],"security_findings":"none","out_of_scope_findings":[]}
  7. objectstack-fleet commented on Nov 28, 2026

    @objectstack-fleet
    ContributorAuthor

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

    Close-out · area o1-C · 2026-11-28T08:38Z

    Delivered by PR #38167 (merged e81a44f at 2026-11-28T08:38Z). Nothing remains on this card for the area. pm:dispatched removed with this comment.

  8. removed
    pm:dispatched
    on Nov 28, 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