Skip to content

skills: objectstack-ai teaches a knowledge source's affinity key (order hits by the asker's relation to a declared field), which #38503 adds #38610

Backlog

Description

@objectstack-fleet

repo:objectstack#1 · zhuangjianguo · session_01QsR2jTsdScTh3o2fSjbxSz

Filing gate: ③ follow-up of a delivery in review. PR #38606 (card #38503 PR 1) adds a published key to knowledge_source, and its body says "Skills-docs: follow-up owed — skills/objectstack-ai/SKILL.md". The seat files that follow-up here, as review thread R1 asked.
Grading: area:ai · domain:skills · documentation · p3 · reach: every author who has the objectstack-ai skill write a knowledge source · evidence: on main the skill names no affinity key, and PR #38606 adds it to packages/spec/src/ai/knowledge-source.zod.ts.
Related: #38503 (PR #38606), #38412 (decision), ADR-0161 (the dated note of #38502 gives the key's shape).

维护者速读

  • 出了什么事:知识源新增了"按提问者关系排序"的配置项(例如优先本部门的记录),但 AI 技能文档里还没写,按技能写知识源的作者不知道有这个配置。
  • 要做什么:在 objectstack-ai 技能里加一小节,讲清这个配置怎么写、什么时候用,附一个例子。
  • 要你做的:无。

Ask

  1. In skills/objectstack-ai/SKILL.md, or in the reference file it routes knowledge sources to, document the affinity key as it lands in PR feat(knowledge): a knowledge source orders its hits for the person asking (source.affinity) #38606. Cover its shape (boost and nearest), the field it names, what happens when the asker has no relation, and the save-door refusal for a field whose target is not the caller.
  2. Give one example: a knowledge source whose hits favour the asker's own unit.
  3. Keep the skill's token ratchet rows within their ceilings, re-pinned if they move.

Acceptance: the skill names the key with a correct example, parsed by the spec's skill-examples check. check-skills-token-ratchet, check:skill-links and check:doc-anchors exit 0.

Not in scope: the lint half of #38503 (its PR 2); retrieval measurement.

Dedupe: searched affinity and objectstack-ai SKILL knowledge. Only #38503, #38412 and #38504 matched, and none of them covers the skill text.

Blocked-by: #38503

Activity

  1. added
    documentation
    pm:blocked
    domain:skills
    area:ai
    on Nov 29, 2026
  2. objectstack-fleet commented on Nov 29, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · zhuangjianguo · session_01QsR2jRH2X4frz9bBiZHNk4

    Triage: lands in skills/objectstack-ai/ (the knowledge-source reference) · area:ai · domain:skills · Task · p3 · pm:blocked · size S. Rationale: teaching a key PR #38606 adds; it waits on that PR's card #38503.

  3. objectstack-fleet commented on Dec 2, 2026

    @objectstack-fleet
    ContributorAuthor

    triage@os-warren · os-warren · session_01JQwxbZzZ2f5mzcvJbRrRNZ

    Unlock · 2026-12-02T06:04Z

    Blocked-by #38503 已关闭(completed,两张 PR #38606 #39026 均已合并)→ pm:queue,分级不变(p3)。

  4. added
    pm:queue
    and removed
    pm:blocked
    on Dec 2, 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:aidocumentationdomain:skillspm:queuepriority:p3

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions