Autonomous Probes · 48 Rules5 read-only probes · PlanHash bound · default cloud / san LAN tracks
Before submission, the AI Agent autonomously calls 5 read-only database probes (tables, columns, indexes, stats, safe EXPLAIN) against 48 built-in rules and team knowledge, with automatic in-memory anonymization for cloud providers.
1
AST Lexing & Dual Fingerprint
Canonical + Dialect fingerprints collapse homologous statements into 1 group (up to 100k stmts / 1,000 groups)
2
5 Autonomous Read-Only Metadata Probes
AI Agent autonomously calls list_indexes + safe_explain to prove the WHERE column lacks an index (4.82M full scan)
3
Built-In Rules + Custom Skill Verdict
Evaluates 48 built-in rules, custom skills, and team knowledge; cloud track automatically runs in-memory anonymization
4
Deterministic Gate Block & Restore
Rule violation deterministically blocks as Critical (free LLM notes cap at Medium); UI restores real identifiers for authorized reviewers
Developer Input SQLSQL
UPDATE billing.orders
SET amount_cents = 99900, remark = 'vip-promo-q4'
WHERE customer_phone = '13800138000'
AND status = 'pending';
Yearning v4 Governance Engine
Dual Fingerprint + Read-Only Probes (Auto Cloud Anonymization)VERIFIED
-- Step 1: Dual fingerprint collapses 1,240 homologous stmts -> 1 review group
-- Step 2: AI Agent autonomous read-only metadata tool calls:
-> get_table_schema(table_1) => 14 cols, PK(id), est_rows = 4,820,000
-> list_indexes(table_1) => idx_status_created(status, created_at)
-> safe_explain(UPDATE table_1) => type=ALL, key=NULL, rows=4,820,000
-- Step 3: Cloud default track strips literals/identifiers (AssertZeroLeak=PASS)
2008 REVIEW_BLOCKED_BY_RISK
Gate Blocked: billing.orders.customer_phone is unindexed and exceeds max_affect_rows threshold. Revise SQL and re-run precheck.