Pathfinder retrieval upgrade + query-source observability#93
Open
jpr5 wants to merge 4 commits into
Open
Conversation
…point docs source to shell-docs tree
…windowed analytics
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.
Summary
shell-docstree. Pathfinder was indexing the retireddocs/content/docs/tree; the docs source now points atshowcase/shell-docs/src/content/docs/(path, URL derivation, webhook path-triggers) so search returns current pages.@/snippets/*imports before chunking so snippet-composed pages index with real content instead of near-empty stubs.min_score: 0.3on all four tools; scopecode/ag-ui-codeindexes (exclude examples/showcase/.next/*.d.ts/generated/proto; broadenag-ui-codeto the Python + community SDKs); sharpen tool descriptions.request_source(X-Pathfinder-Source) +session_id, and add a low-confidence windowed metric so our own analysis traffic is separable from real users.Why
From a 30-day analytics gap analysis: the top empty-result drivers were the indexer pointing at the retired docs tree, snippet-composed pages indexing empty, and no way to distinguish synthetic/analysis traffic from real users.
Test plan
tsc --noEmitclean;prettier --check "src/**/*.ts"cleanFollow-up (separate PR)
Pre-existing indexing-durability + dashboard-consistency issues surfaced during review (delete-before-upsert chunk loss, "All time" 366-day cap, ag-ui-docs
.md404s, code-fence heading-path attribution) will be handled in a dedicated PR — none are introduced here.🤖 Generated with Claude Code