feat(search): provenance 출처 필터 — [[workspace.sources]] 멀티소스 + --source/--source-type #208
Reference in New Issue
Block a user
Delete Branch "feat/source-type-filter"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
개요
혼합 출처 KB(위키 + jira 등)에서 색인은 전부 하되 질의 시 출처로 좁히는 provenance 필터를 추가합니다. A/B 실험(Phase-1/2/3)의 결론 — 전역 trust 곱셈가중(weighted-RRF)은 반증(θ=0.85만으로 incident MRR 0.918→0.340 절벽, 점수 압축), 출처 필터가 see-saw 없는 올바른 레버 — 을 구현했습니다.
변경
[[workspace.sources]](각 id/root/exclude/trust_level/source_type). 단일 root → implicitdefaultsource 정규화. id 유일·비어있지 않음 검증.step_3_to_4, root→[[workspace.sources]]id=default 미러, 멱등)documents.source_id컬럼+인덱스 (additive, DEFAULT'default', 재색인 0)Metadata.source_id+BodyHintstrust precedence (frontmatter > source 기본값 > Primary)--root미지정 시resolved_sources()순회 + doc마다 source_id/trust stampSearchFilters.source_type/source_id→ lexical + vector 두 site (IN, OR)kebab search --source <id>/--source-type <type>(repeatable/comma-sep)검증
cargo check/clippy --workspace --all-targets -- -D warningsgreen--source wikiconcept MRR 0.780→0.810,--source jiraincident 0.918→0.975, trust precedence 실측(jira=secondary 기본값)호환성 / 버전
defaultsource + V014 additive backfill, 재색인 0)Follow-up (이번 PR 범위 밖, HOTFIXES 기록)
kebab listsource_id 미표시 · RAG provenance 라벨 미구현자세한 내용:
tasks/HOTFIXES.md(2026-06-21),docs/release-notes/v0.29.0-draft.md.🤖 Generated with Claude Code