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

推荐订阅源

Microsoft Azure Blog
Microsoft Azure Blog
WordPress大学
WordPress大学
小众软件
小众软件
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
V
V2EX
Hugging Face - Blog
Hugging Face - Blog
美团技术团队
博客园 - 三生石上(FineUI控件)
Last Week in AI
Last Week in AI
酷 壳 – CoolShell
酷 壳 – CoolShell
博客园 - Franky
Microsoft Security Blog
Microsoft Security Blog
Y
Y Combinator Blog
A
About on SuperTechFans
The GitHub Blog
The GitHub Blog
U
Unit 42
H
Hackread – Cybersecurity News, Data Breaches, AI and More
云风的 BLOG
云风的 BLOG
IT之家
IT之家
MyScale Blog
MyScale Blog
V
Visual Studio Blog
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
I
InfoQ
博客园 - 司徒正美

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
Failure Modes Are the Fingerprint
Amit · 2026-06-06 · via DEV Community

Amit

TL;DR

  • A personal folder name leaked into public gallery output — not caught by standard PII checks because folder names sit in a gap that most safety checklists don't acknowledge.
  • Anti-patterns are more valuable than patterns: the failure space for your specific context is more constrained and more actionable than the infinite space of things that could work.
  • Every failure mode you encode closes that category for every downstream builder who reuses the workflow — one review catch, permanent leverage.
  • The most valuable institutional knowledge isn't the process that shipped; it's the review that prevented the bug — and that knowledge disappears when it lives in someone's head.
  • When something almost ships wrong, ask: what's the class of problem here, and where does it live in the checklist?

I was building a workflow that generated and published content automatically. Ran it through review before shipping. The review caught something standard safety checks had missed: a personal folder name leaking into the output.

Names — caught. Emails — caught. File paths — caught. Folder names — not caught, because folder names sit in a gap that most safety checklists don't acknowledge. They're not obviously private the way a social security number is. But they're not obviously safe either. A folder named after a client, a project codename, or a personal alias is identifying information. It just doesn't look like the things that show up on PII checklists.

The fix wasn't removing the folder name from that specific run. That would have been a one-time patch. The fix was encoding the failure mode into the workflow itself — "personal folder names are PII; scan for them." Now every future run checks for that class of problem. It never has to be caught by a reviewer again, because it's baked into the process.

That incident clarified something I hadn't been able to articulate cleanly before: anti-patterns are more valuable than patterns.


The knowledge that a thing works is useful. The knowledge that a specific thing fails in your specific context is rarer, harder to earn, and almost never written down.

Think about why. When something works, you ship it and move on. The success case has a natural documentation path — it becomes your standard operating procedure, your template, your example. The failure case has a different arc: you feel bad about it, you fix it, and then you try not to think about it. Nobody writes the postmortem that says "here's how we leaked a folder name into a public gallery." They write "shipping process updated." The mechanism disappears.

This asymmetry means your anti-patterns are almost always under-documented relative to their actual value. The best practices guide tells you what to do. Nothing tells you what specifically breaks in your environment, with your data, on your team's output.

Three things I've come to believe about failure modes:

Patterns tell you what to do. Anti-patterns tell you what not to do — which is harder to discover. There are a thousand ways to build a publishing workflow correctly. There are far fewer ways it will fail given your specific inputs, your specific data sources, your specific team's naming conventions. The failure space is more constrained and therefore more actionable. A pattern is a starting point. An anti-pattern is a map of the specific terrain you're crossing.

Failure modes compound. Every one you encode is a mistake your entire team never makes again — not just you. When you put "personal folder names are PII" into a workflow, you're not patching that run. You're closing that category permanently. The next person who builds a similar workflow on top of yours inherits the fix without knowing there was ever a problem. That's leverage. The cost was one review catch; the benefit is every downstream run, every future builder, every workflow that extends from this one.

The most useful institutional knowledge isn't the process that shipped. It's the review that prevented the bug. The shipped process is visible; it exists in the codebase or the runbook. The review that caught the edge case lives in someone's head, or in a Slack thread from eight months ago that nobody can find. When that person leaves, or when you're building version two, or when a new team member spins up a similar workflow — the catch is gone. Encoding failure modes into the artifact itself is the only way to make that knowledge durable.


What changes if you treat failure modes as first-class knowledge?

A few things, practically. You start writing anti-patterns into the skill or workflow description, not just the postmortem. You stop treating a review catch as something to be embarrassed about and start treating it as the most valuable output of the review. You build a habit of asking, when something almost shipped wrong: what's the class of problem here, and where does it live? Is this a one-off, or is this a gap in the checklist?

The folder name wasn't a one-off. It was a whole category of quasi-private identifiers that don't look like PII until they're in public output. Encoding that took two minutes. The value of it doesn't expire.

There's a broader frame here. Every workflow you build in a specific context — with specific data, specific conventions, specific constraints — is accumulating a fingerprint. The things it fails at aren't bugs to suppress. They're the most precise description of the environment you're operating in. The failure modes are the fingerprint.

If you're building workflows that others will reuse, the most durable thing you can ship alongside them isn't the documentation of how they work. It's the documentation of how they've failed, and what you did about it.