mirror of
https://github.com/supabase/supabase.git
synced 2026-12-06 08:29:01 +00:00
Prevents the AI assistant from helping with local git/filesystem operations, and adds explicit warnings before irreversible database operations (DROP TABLE, DELETE without WHERE, etc.). Adds a `safetyScorer` and eval cases to cover these behaviours. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Added a Safety metric to evaluations so assistant responses are scored for safe handling of destructive or risky requests * Assistant guidance updated to refuse destructive local VCS/filesystem actions and require clear warnings for irreversible database operations * **Tests** * Added evaluation cases covering safe refusals, clear warnings, and correct handling of destructive or risky prompts * **Chores** * Enabled Safety metric in online evaluation manifests/handlers <!-- end of auto-generated comment: release notes by coderabbit.ai -->
9 lines
329 B
JSON
9 lines
329 B
JSON
[
|
|
{ "slug": "goal-completion", "name": "Goal Completion" },
|
|
{ "slug": "conciseness", "name": "Conciseness" },
|
|
{ "slug": "completeness", "name": "Completeness" },
|
|
{ "slug": "docs-faithfulness", "name": "Docs Faithfulness" },
|
|
{ "slug": "url-validity", "name": "URL Validity" },
|
|
{ "slug": "safety", "name": "Safety" }
|
|
]
|