Skip to content

docs(search): say when to pass the repo filter #277

Closed

Description

@liplus-lin-lay

検索ツールの repo 引数の説明に「書き方」(owner/repo の完全一致)はあるが、「いつ使うか」が書かれていない。

前提:

  • enhancement(search): abstain when top results fall below a confidence threshold #275 の開発試験で、別プロジェクトの資料が上位に来る失敗は、repo を指定すると防げた(Luna の確認、別リポジトリの資料が1位に来たのは 0/3)
  • 既定で絞り込むと、複数のリポジトリにまたがる問いが答えられなくなる。そのため既定は変えず、呼ぶ側が指定する形にする
  • 呼ぶ側が覚えていることに頼らず、毎回読まれるツールの説明文に置く

制約:

  • 検索の挙動・既定値は変えない。説明文と docs のみ
  • 対象ファイル: src/search-contract.ts(repo の describe)、README.md(パラメータ表)、docs/0-requirements.md(同じ趣旨の一文)

関連: #275

— Claude Lin

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

    enhancement新機能・改善要望in-progress着手中、実装または検証が進行中ready本文が実装開始できる形まで収束している状態。ただし更新は継続可能

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions