惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

云风的 BLOG
云风的 BLOG
The GitHub Blog
The GitHub Blog
A
About on SuperTechFans
P
Proofpoint News Feed
G
Google Developers Blog
Stack Overflow Blog
Stack Overflow Blog
IT之家
IT之家
Microsoft Security Blog
Microsoft Security Blog
F
Fortinet All Blogs
人人都是产品经理
人人都是产品经理
博客园 - 叶小钗
C
Check Point Blog
Microsoft Azure Blog
Microsoft Azure Blog
aimingoo的专栏
aimingoo的专栏
月光博客
月光博客
美团技术团队
D
Docker
博客园 - Franky
Y
Y Combinator Blog
大猫的无限游戏
大猫的无限游戏
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
博客园 - 【当耐特】
罗磊的独立博客
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
The SaaS config you can't `git diff`: a 30-second audit b...
Michel Faure · 2026-05-14 · via DEV Community

Grepping in the wrong system

Friday, May 8th, end of session. I want to activate Vercel's Ignored Build Step to stop burning a build credit on every docs-only push. I grep vercel.json at the repo root. Nothing. I conclude no config exists and fire an updateProject with my target value. The next push goes through normally. Three days later, while answering a methodology question about commandForIgnoringBuildStep, I stumble on the previous value. It existed. It lived on the Vercel side, not in the repo. My update had just removed .claude/ from its whitelist, with no diff, no alert, no trace.

Two regimes, one reflex

Part of your production config lives in the repo. It's versioned, its history is readable in git log, a bad merge is reversible with a revert. The other part lives on the platform side. It's stored at the vendor, mutable by API or Console, and your git diff doesn't see it. Neither regime is flagged in the code you're reading — you have to know, a priori, where each setting lives.

The map is familiar once named. Vercel: commandForIgnoringBuildStep, environment variables, project-level redirects. Supabase: RLS policies, custom claims, SECURITY DEFINER Auth hooks. Stripe: webhook destinations, restricted keys, OAuth Connect settings. GitHub: branch protection rules, repository secrets, rulesets. None of these settings has a versioned equivalent in the repo that consumes them.

The trap isn't the asymmetry, it's the reflex. You grep the repo, you find nothing, you conclude absent — when the rule exists elsewhere, in silence, and your next update is about to overwrite it without a diff.

Thirty seconds, four commands

# Audit before any updateProject / updateConfig SaaS — 30 seconds
# 1. Read the full current config (e.g. vercel projects get)
CURRENT=$( $PLATFORM_CLI projects get --json )

# 2. Compare to the target
diff <(echo "$CURRENT" | jq .config) target-config.json

# 3. List regressing fields (present before, absent after)
jq -n --argjson c "$CURRENT" --slurpfile t target-config.json \
   '($c.config | keys) - ($t[0] | keys)'

# 4. Explicit confirmation before PATCH
read -p "Accept the regressions listed above? (y/N) " ok && [ "$ok" = "y" ] && \
   $PLATFORM_CLI projects update --config @target-config.json

Enter fullscreen mode Exit fullscreen mode

The cost is fixed: thirty seconds. The benefit is binary — either your target completes the existing config (and you push), or it regresses a field (and you reformulate before pushing). No grey zone. It's the equivalent of a git diff on what git doesn't index.

The rule, in one foreign sentence

My CLAUDE.md carries a line I had read a hundred times without feeling it land, until May 8th.

Investigate before deleting or overwriting, as it may represent the user's in-progress work.

Vercel, Supabase, Stripe, GitHub: the same rule, written for an AI agent, applies to the human hand on the Console.

What you can't see hasn't disappeared.


Protocol audit-protocol.sh and two concrete instances (Vercel Ignored Build Step, Supabase RLS / Auth hooks), pseudonymized:
github.com/michelfaure/rembrandt-samples/tree/main/saas-config-platform-vs-repo