Skip to content

feat: secure-by-default Data API grants regression scenario - #81

Merged
mattrossman merged 8 commits into
mainfrom
mattrossman/ai-914-harden-resolve-dataapi-001-empty-results-to-reflect-default
Jul 13, 2026
Merged

mattrossman merged 8 commits into
mainfrom
mattrossman/ai-914-harden-resolve-dataapi-001-empty-results-to-reflect-default

Conversation

@mattrossman

@mattrossman mattrossman commented Jul 9, 2026 •

Copy link
Copy Markdown
Collaborator

Adds resolve-dataapi-002-secure-default-grants, a CLI regression for the secure-by-default Data API change. The journal-entry seed already has owner-scoped RLS policies, so the agent must add authenticated SELECT/INSERT grants without enabling auto-exposure.

Also adds a per-eval cliVersion: override and pins this scenario to 2.109.1 for api.auto_expose_new_tables support (which is false by default), while keeping existing scenarios on the default 2.67.1 pin.

Since this is in the regression suite our CI workflows don't pick it up, but I've verified locally that it and an existing scenario run as expected. Once we add regression evals in CI this will get picked up.

References

Ref AI-914
Closes AI-667

@linear-code

linear-code Bot commented Jul 9, 2026 •

Copy link
Copy Markdown
AI-914 Harden `resolve-dataapi-001-empty-results` to reflect default secure behavior in CLI

See CLI-1454

CLI v2.102.0+ has an api.auto_expose_new_tables flag to match new dashboard behavior.

Originally, this scenario was intended to test agents picking up on the new default secure behavior, but was modified to show empty results for a different reason due to platform-lite support limitations (Slack context).

See AI-822 for original scenario requirements.

To test agents more rigorously, consider hardening this scenario to see if we can observe more of a difference from our Skills.

This may also solve AI-667 as agents should pick up on the hint via CLI

AI-667 Add eval for PostgREST hint follow-up handling

This task is part of the Secure by Default project but split for Linear / project management reasons

Add an eval to monitor whether agents pick up the hint returned by PostgREST and apply the correct follow-up action.

This worked for Claude when tested, but the other agents have not been tried yet.

References

Review in Linear

@vercel

vercel Bot commented Jul 9, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated (UTC)
evals Ignored Ignored Preview Jul 13, 2026 7:07pm

Request Review

@mattrossman mattrossman added the run-evals-changed Add to a PR to refresh only the benchmark evals that have had changes label Jul 9, 2026
@mattrossman mattrossman removed the run-evals-changed Add to a PR to refresh only the benchmark evals that have had changes label Jul 10, 2026
…ults-to-reflect-default' of github.com:supabase/evals into mattrossman/ai-914-harden-resolve-dataapi-001-empty-results-to-reflect-default
…rden-resolve-dataapi-001-empty-results-to-reflect-default

# Conflicts:
#	apps/web/src/data/eval-results.json
#	evals/resolve-dataapi-001-empty-results/PROMPT.md
@mattrossman
mattrossman marked this pull request as ready for review July 13, 2026 18:51
@mattrossman mattrossman changed the title fix: harden empty Data API results eval feat: secure-by-default Data API grants regression scenario Jul 13, 2026
@mattrossman mattrossman added the run-evals-changed Add to a PR to refresh only the benchmark evals that have had changes label Jul 13, 2026
@mattrossman
mattrossman merged commit 6ff9f82 into main Jul 13, 2026
8 checks passed
mandarini added a commit that referenced this pull request Jul 14, 2026
…CLI pin

#81 added a per-eval cliVersion frontmatter override, which removes the
reason 006 sat at suite: other — pin it to 2.109.1 (new-key-capable edge
runtime for @supabase/server) and let it ride the normal sweep with the
default agents.

Co-Authored-By: Claude Fable 5 <[email protected]>
mandarini added a commit that referenced this pull request Jul 15, 2026
…CLI pin

#81 added a per-eval cliVersion frontmatter override, which removes the
reason 006 sat at suite: other — pin it to 2.109.1 (new-key-capable edge
runtime for @supabase/server) and let it ride the normal sweep with the
default agents.

Co-Authored-By: Claude Fable 5 <[email protected]>
@raulb
raulb deleted the mattrossman/ai-914-harden-resolve-dataapi-001-empty-results-to-reflect-default branch July 29, 2026 11:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

run-evals-changed Add to a PR to refresh only the benchmark evals that have had changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants