feat: Web 検索から未収集の公式ページを情報源候補として検出する - #1118
Draft
owk-owk130 wants to merge 13 commits into
Draft
Conversation
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018BjNFvQjDzMwF8HaZHnJjP
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018BjNFvQjDzMwF8HaZHnJjP
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018BjNFvQjDzMwF8HaZHnJjP
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018BjNFvQjDzMwF8HaZHnJjP
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018BjNFvQjDzMwF8HaZHnJjP
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018BjNFvQjDzMwF8HaZHnJjP
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018BjNFvQjDzMwF8HaZHnJjP
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018BjNFvQjDzMwF8HaZHnJjP
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014kkNoEdkn1kVK4La79XFpc
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014kkNoEdkn1kVK4La79XFpc
Contributor
Coverage Report for server
File Coverage
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Contributor
Coverage Report for web
File Coverage
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Contributor
Coverage Report for shared
File Coverage
|
||||||||||||||||||||||||||||||||||||||||||||
Contributor
Coverage Report for widget
File CoverageNo changed files found. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
概要
ナレッジ HIL 基盤(計画:
.brain/plans/knowledge-hil-foundation.md)の PR 5。Issue #1078 の入口。Web 検索を「ナレッジ不足のセンサー」として使い、回答が参照した未収集の公式ページを候補化して村側の承認につなげる。
変更内容
knowledge_sources.canonical_urlの host 集合。www. 差は正規化)に属する未収集 URL をsource_candidatesへ upsert(出現回数を加算)。usage 記録とは失敗隔離した best-effortGET /admin/source-candidates(出現回数順)/PATCH /{id}/status(approve / reject)POST /admin/knowledge/syncのレスポンスに skippedCount を追加(backfill 前の同期でナレッジが 0 件になる事故を検知可能に)normalizeUrl/hostOfをlib/url.tsに追加(normalizeSiteHostと同じ www. 除去方針)制約・運用
event.textに調査メモ全文が入ることは型からの推定で、実機での突合は未検証(入らない場合は候補が検出されないだけで他への影響なし)🤖 Generated with Claude Code
https://claude.ai/code/session_018BjNFvQjDzMwF8HaZHnJjP