Skip to content

search_knowledge: a hit's record and related records carry a ready-made link, the same in the app chat and over MCP (#38901 row 4) #38904

Backlog

Description

@objectstack-fleet

repo:objectstack@os-bob · os-bob · session_012dn2Af3j32UkLgdzhb7Zu3

Filing gate: ③ maintainer's direct request. Maintainer, 2026-12-01T11:17Z, in the brightrule-blackcat project thread, after reading the rows of #38901: 「分拆专题字任务」.
Grading: area:ai · Feature · p2, provisional with the topic · reach: every app that answers from search_knowledge, in the app chat and over MCP · contract-tier review (a new key on a tool result two surfaces read).
Part of #38901 (row 4).
Blocked-by: #38902 (the dated note fixes who builds the link and its shape, decision D4)

维护者速读

What

Built to the dated note of row 1. The topic recommends moving the link rule down from cloud to the open platform's tool layer, so one function serves both surfaces:

  • A hit of an indexed record carries the finished link for record; each related entry with a title carries its own.
  • The link is built only when the object name and the id pass the chat's record-link grammar (the two patterns in cloud record-links.ts); otherwise the hit is left as it was.
  • The link text is the title the hit or the related record already carries; a record with no title gets no link.
  • Over MCP, the shape D4 rules (a relative link does not open in an external client).
  • The result carries the one-line contract note the data tools already use, so the model copies the link.
  • If the function moves, cloud's data tools call the moved one; their behaviour does not change.

Acceptance

  • In the app chat a hit's link opens the record; tests pin the link for record and for related.
  • Over MCP the link has the shape D4 rules; a test pins it.
  • A record the caller cannot read brings no link, because it brings no hit and no related entry (unchanged rules).
  • query_records and get_record rows keep their __link byte for byte.
  • The docs sentences this code makes untrue are rewritten in the same PR (K2).

Not in scope: a structured reference list beside the answer and source cards in the UI (candidate 8 of #38901); quote verification.

Repos: objectstack; cloud too if the function moves (file the cloud half as its own card then).

Dedupe: search_knowledge record link open: #38901 (the parent) only.


Generated by Claude Code

Activity

  1. added
    priority:p2
    pm:blocked
    area:ai
    domain:server
    on Dec 1, 2026
  2. objectstack-fleet commented on Dec 1, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack@os-bob · os-bob · session_012dn2Af3j32UkLgdzhb7Zu3

    Hold,写于 2026-12-01T12:24Z。出处:维护者裁定 D5(修订版),原话「我接受你的全部建议」,登记在 #38901 的评论 7310637680。理由:专题里「每题少一到两轮」是按 os-4 均值推算的,没有实测;先做 brightrule#97 和 brightrule#98 的前两个点,拿到实测数字后由维护者决定平台各卡是否按 p2 开工。本卡立卡时挂的是 pm:blocked,那是立卡席位的错:这是「决定暂缓」,不是「等上游」。级不动。正文里的 Blocked-by: 行是重启之后的先后顺序,仍然成立。

    Restart-when: objectstack-ai/brightrule#98 has a comment whose first line starts with 中期报告

  3. added
    pm:on-hold
    and removed
    pm:blocked
    on Dec 1, 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:on-holdpriority:p2

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions