diff --git a/README.md b/README.md index 533cd8c..e90a934 100644 --- a/README.md +++ b/README.md @@ -15,6 +15,19 @@ authorization decisions, explanations, and audit evidence. This plugin does not run a Metatate-hosted MCP gateway and it does not store Snowflake credentials in the plugin repository. +## See It In Action + +A developer is about to pull customer features for a churn model. The plugin +catches the AI governance restriction on the source table, surfaces the +sensitive columns, and suggests a safer rewrite against the PII-stripped +feature view — before the query ever runs. + +![Cortex Code calling metatate:validate-query-context — verdict NOT COMPLIANT, suggested rewrite returned](docs/demo.svg) + +Try the live, interactive version at +[getmetatate.com/snowflake](https://www.getmetatate.com/snowflake) (Cortex Code +plugin section). + ## What You Get - Cortex Code slash commands for governed data workflows: discover governed @@ -45,6 +58,7 @@ metatate-cortex-code-plugin/ cortex-code-install.md snowflake-admin-setup.md troubleshooting.md + demo.svg examples/ prompts.md scripts/ diff --git a/docs/demo.svg b/docs/demo.svg new file mode 100644 index 0000000..8fd26b2 --- /dev/null +++ b/docs/demo.svg @@ -0,0 +1,117 @@ + + Cortex Code · Metatate validate-query-context demo + An animated terminal session showing the Metatate plugin for Cortex Code validating a SQL query for an AI/ML training run. The verdict comes back NOT COMPLIANT due to an AI governance restriction, and Metatate suggests a safer rewrite using a PII-stripped feature view. + + + + + + + + + + cortex code + + + + + + LIVE + + + + + # Building the churn model training set + + + + + + > /metatate:validate-query-context + + + + + + SELECT customer_id, account_email, lifetime_value, + + + + + + plan_tier, churn_score, last_active_at + + + + + + FROM prod.analytics.customer_360 + + + + + + WHERE plan_tier IN ('enterprise', 'business') + + + + + + + + + + + + + + + + validating against decision layer + + + + + + NOT COMPLIANT + validation_id: 6b001c41 + + + + + + + + + + + BLOCKING · AI_GOVERNANCE_RESTRICTED + + prod.analytics.customer_360 is restricted for AI/ML pipelines. + Authorization required before training-set use. + + + + + + WARNINGS · 4 findings + SELECT_STAR_PII · account_email, customer_id + FINANCIAL_SENSITIVITY · lifetime_value + + + + + + + + + + + SUGGESTED REWRITE + + SELECT customer_hash, plan_tier, lifetime_value, + churn_score, last_active_at + FROM prod.analytics.customer_360_ml_features + WHERE plan_tier IN ('enterprise', 'business') + +