Repository navigation
fix(evals): let secure-default-grants agents apply the fix and relax the judge - #506
Merged
Merged
Conversation
…the judge After #463 the fixture reproduces the bug, but the eval still failed 6/6 on the Nov 13 main run for two reasons: - 5/6 runs wrote the grant migration but never applied it ("apply it through your normal workflow"), so the live-DB grant checks saw no grants. The prompt now says the local project is already running and to apply the fix to it, matching resolve-sdk-001. - 3/6 runs failed the judge only because the transcript never named api.auto_expose_new_tables. The rubric now accepts a correct diagnosis of missing authenticated grants without naming the setting. Verified locally: codex-gpt-6-luna 3/3 and codex-gpt-6-luna-no-skills 3/3. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Resolve the conflict in apps/web/src/data/regression-eval-results.json by taking main's latest refresh (#519) and keeping this PR's CI results for resolve-dataapi-002-secure-default-grants, which ran with the new prompt and judge (5/6 pass). All other entries match main. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Resolve the conflict in apps/web/src/data/regression-eval-results.json by taking main's latest refresh (#524) and keeping this PR's CI results for resolve-dataapi-002-secure-default-grants (6/6 pass in the latest CI refresh). All other entries match main. Co-Authored-By: Claude Opus 5.5 <[email protected]>
barryroodt
approved these changes
Nov 20, 2026
barryroodt
left a comment
Contributor
There was a problem hiding this comment.
Looks good to merge, Raúl. I’d loosen the first line of the rubric too. It still asks for “secure-by-default”, so the judge could fail an answer that explains the missing grant in plain language.
…rants judge The rubric's opening line still framed a pass as a "secure-by-default" diagnosis. Reword it so an answer that explains the missing authenticated grants in plain language passes, as the bullet list already allows. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Resolve the conflict in apps/web/src/data/regression-eval-results.json by taking main's latest refresh and keeping this PR's CI results for resolve-dataapi-002-secure-default-grants. All other entries match main. Co-Authored-By: Claude Opus 5.5 <[email protected]>
barryroodt
added a commit
that referenced
this pull request
Nov 24, 2026
## Problem PRs here inherit the org template from `supabase/.github`, and nobody fills it in. Recent evals PRs (#463, #466, #506, #514, #535) all go Problem, then Changes or Fix, then Verification with the exact `pnpm eval` command and a pass count. There's also nowhere that tells authors how to show CI results, which changed when #535 moved results to Braintrust only. ## Changes Adds `.github/PULL_REQUEST_TEMPLATE.md` with the shape those PRs already use: - **Problem** and **Changes** replace the org template's four prompts. - **How to Review** is optional, for multi-file PRs. The eval reading path sits in a comment and links to the reviewer checklist in `CONTRIBUTING.md` so it doesn't get copied. - **Verification** asks for the exact commands and before/after pass counts. The eval checklist matches `CONTRIBUTING.md` after #535: `run-evals-changed` or Refresh eval results, then link the Braintrust run. - A closing comment prompts for the Linear issue. Small PRs can still replace the whole thing with a couple of sentences. ## Verification One new file, `.github/PULL_REQUEST_TEMPLATE.md`. Both `CONTRIBUTING.md` anchors it links to (`#reviewing-an-eval`, `#submitting-evals-for-review`) exist on `main`. Closes AI-1130
This branch was successfully 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.
Problem
After #463 the
resolve-dataapi-002-secure-default-grantsfixture reproduces the bug, but the eval still failed 6/6 on the Nov 13 main regression run (commitdc58e70). All 9 deterministic checks pass when the fix is applied, so two other things are failing it:api.auto_expose_new_tables.Fix
PROMPT.md: say the local Supabase project is already running and the fix should be applied to it, the same phrasingresolve-sdk-001uses.EVAL.tsrubric: a correct diagnosis of missing explicit grants forauthenticated, with RLS already in place, passes without naming the setting.Verification
pnpm eval -- --eval resolve-dataapi-002-secure-default-grants --experiment codex-gpt-6-luna --experiment codex-gpt-6-luna-no-skills --runs 3: 6/6 pass, 10/10 checks each (local runs only; the main CI run is the real check).Part of AI-1261.
🤖 Generated with Claude Code