The Trust Problem: Designing Quality Frameworks for AI-Generated Code
summary
AI-generated code often compiles and passes its own tests but fails intent checks — a third was confidently wrong on first pass; a four-line loyalty function applies discounts to order total instead of pre-tax subtotal and silently breaks when shipping is added. A five-pillar framework is proposed: explicit assertions from policy, least privilege, assume drift, micro-segmented review, continuous attestation. Demo shows an evidence ledger and automated gate that drops Trust Score 96 to 89, restricts blast radius, and forces re-attestation.
AI-written summary · about
chapters (29)
- 0:00The Trust Problem: Quality Frameworks for AI-Generated Code
- 1:05Speaker Intro - Neelmani Verma, Industry Principal, Infosys
- 2:07A Confession: A Third of It Was Confidently Wrong on the First Pass
- 3:10The Four-Line Function That Passes Every Test and Is Still Wrong
- 4:11The Silent Bug That Appears Three Weeks Later
- 4:41The Assumption QE Has Always Run On: The Author Understood the Intent
- 5:12The Five-Step Chain That AI Code Doesn't Break - It Undermines
- 5:42Break 1 - Fluent but Not Understanding: The Currency Conversion Case
- 6:14Break 2 - No Fixed Author: A Model Change Is a Staffing Change
- 7:18Break 3 - Trust Decays After the Merge
- 7:51Borrowing Zero Trust: Never Trust, Always Verify
- 8:53Pillar 1 - Verify Explicitly and the Oracle Problem
- 9:57A Code-Generated Test Is a Mirror, Not an Oracle
- 10:28Pillar 2 - Least Privilege and Scoping the Blast Radius by Risk Tier
- 11:29Pillar 3 - Assume Drift: Trust With an Expiry Date
- 12:31Pillar 4 - Micro-Segmented Review Depth
- 13:36Pillar 5 - Continuous Attestation Instead of a Static Test Report
- 14:37Live Demo: Day Zero, Trust Score 96, Assertion From Policy
- 16:08Day 12: A Dependency Auto-Merge Drops the Score With No Code Change
- 16:38Day 28: A New Field Enters the Order Object Upstream
- 17:09Day 45: Production Data Pushes It Into Drifting
- 17:39The Automated Gate Response: Blast Radius Auto-Restricted
- 18:10Re-Attestation Returns 89, Not 96 - Trust Accumulates History
- 19:42What This Changes for QE Teams: Metrics, Roles, Tooling
- 21:13Three Takeaways: Syntax Is Not Semantics, Coverage Isn't Enough
- 22:13Trust Is a Credential You Keep Renewing
- 22:43Q&A: Should AI Code Face a Higher Bar Than Human Code?
- 23:13Q&A: How Often Should a Framework Re-Evaluate for Silent Drift
- 24:14Q&A: Do You Track Which Code Was AI-Generated
related talks
31mMeasurement of Trust in AI
16mTrust by Design: Building Reliable AI for Sensitive Environments
51mNever Trust a Monkey: The Chasm, the Craft, and the Chain of AI-Assisted Code
48mNever Trust a Monkey: The Chasm, the Craft & the Chain of AI-Assisted Code
34mTrust in the Age of AI Agents | Building Trustworthy AI
32mCan We Trust AI-Generated Code?
39mBack to Basics: Cutting Through the AI-Generated Code Noise
34mBuilding Guardrails for AI Coding Systems
