Repository navigation
Conversation
Add three resolve-stage CLI evals (sequence out of sync, oversized btree index row, unqualified schema query) and four off/on experiments for Claude Code Sonnet 5.5 and Codex GPT-6 Luna. They measure whether an agent reads the /kb article that supabase/cli#7749 links in error output. The evals carry customMetadata.abGroup: cli-docurl. The scheduled CLI experiments now skip them, and only the docurl experiments run them. read_doc_url and saw_doc_url are recorded as always-passing checks, so they never change the pass decision. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ll byte, pooler read-only) Add resolve-cli-005 to 007. Each failing command is named in the prompt, and each fix is Supabase-specific and in the linked /kb article. The scorers fail the obvious workaround (a table-wide grant, an edited script, a deleted read-only guard). runSql accepts a dbUrl so a scorer can connect as another role or through the pooler. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
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.
Important
Draft for experimentation & demo. Not ready to review or merge.
Problem
supabase/cli#7749 adds
Learn more: <url>to CLI text errors anderror.docUrlto JSON errors. The URL points to a /kb/troubleshooting article. We need to know if the link changes what an agent does when a CLI command fails.Changes
resolve-cli-002toresolve-cli-007. In each one, a CLI command fails with a Postgres error code that #7749 links to an article. The prompt names the command that failed, never the error or the article.select *(42501), a null byte in a string (22021), a read-only state on the pooler (25006). The scorer fails the obvious shortcut.evals/cli/lib/docurl.tsrecords if the agent saw the link and if it read the expected article (aweb_fetch, or acurlorwgetin the shell).experiments/cli/lib/docurl-pair.tsbuilds each arm from a preset and a CLI version. Each model is compared only with itself.customMetadata.abGroup: cli-docurl.skipUnlessCliskips them, so the regular CLI experiments do not change. Only the docUrl experiments run them.3.5.0-beta.6for now. MoveDOCURL_ON_VERSIONto the first release that contains #7749.How to Review
experiments/cli/lib/skip.tsandexperiments/cli/lib/docurl-pair.ts: the evals stay out of the existing CLI experiments.evals/cli/lib/docurl.ts: the saw-link and read-article checks.evals/cli/resolve-cli-005-select-star-column-privileges/:PROMPT.md, thenEVAL.ts, then the seed. The other five evals use the same shape.Verification
#7749 is not in a release yet. For a run before the merge, I used a local patch (not in this PR) that copies the branch CLI binary into the sandbox. Results, 5 runs per task, per arm, per agent:
The link did not change pass rate or steps. Agents fix local database errors on their own. The next step is evals on hosted projects, where the cause (pooler limits, Auth and Storage settings, billing gates) is not on the agent's machine.
run-evals-changedlabel or the Refresh eval results workflow, and linked the Braintrust run here.Part of P-DOCS-4368.
🤖 Generated with Claude Code