Repository navigation
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
czenko
marked this pull request as ready for review
November 3, 2026 20:00
The navigator is an MCP server that opens only the docs root and the links on pages the agent has opened. An experiment can set the docs IA variant, which it adds to every request. A DOCS_ORIGIN override runs it against a docs deploy preview locally, and it refuses the override in CI. The scorer counts hops to a target page and marks a run direct when it never opens a page twice or goes back to the docs root. When no opened page matches a target, a judge reads each one in order for up to 10 hops. A grounded check, reported apart from the pass, judges whether the answer uses the reached page.
Match the repo's Claude Code preset, and drop the deploy preview override so every run reads supabase.com.
czenko
force-pushed
the
docs-nav/navigator-scorer
branch
from
November 3, 2026 20:11
8b60aa2 to
0ac6d1e
Compare
czenko
marked this pull request as draft
November 3, 2026 23:17
…nt's nav tree The scorer loads /docs/nav-tree.json for the variant in the opened URL. A page that isn't a target or a tree ancestor of one is a wrong turn, and a run passes within the tree's depth. Control runs also accept control targets.
With DOCS_NAV_ONLY, the navigator lists only links inside data-docs-nav regions. The opened line shows the URL as fetched, variant included.
This branch has not been deployed
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.
Part of DOCS-1473.
Problem
The docs-nav suite needs to measure whether an agent can find the docs page that answers a task by following links on supabase.com. The agent must have no search and no way to open a URL it remembers.
This PR sets the scaffolding for this kind of eval, so it asks for an AI team review.
Solution
?docs-ia-mvp-v1=<variant>to every request, and the opened line shows the URL as fetched.data-docs-navregions, so page bodies can't shortcut the tree./docs/nav-tree.jsonfor the variant in the opened URL.pnpm testruns the docs-nav lib tests, the same waytest:cli-libruns the CLI suite's.The tree route and the
data-docs-navmarkers come from supabase/supabase#52735. Runs can't be scored until it ships.Manual testing
pnpm typecheckandpnpm testpass.pnpm --filter @supabase-evals/framework test:docs-nav-libruns the 26 lib tests, and they pass.