Joseph Leporati

Engineering notes

Writing: code review

Notes on building and running production systems: payments and ledgers, multi-tenant architecture, reliability and performance, and applied AI. By Joseph Leporati, software engineer and technical program manager in Monroe, Louisiana.

· 7 min read · ai coding

How a CTO Should Set Guardrails for AI-Assisted Coding

Treat the AI tool as an untrusted contributor. Automated tests and security scans must pass before anything merges. A named human reviewer signs off on every change, with stricter rules for auth, payments, infrastructure, migrations and PII. AI agents get scoped, short-lived credentials and can never push to protected branches. Every change is tagged as AI-assisted or not, so incident response can trace it. All of that fits on one page of written policy.

Read the article