# 24. Scar tissue

> The same mistake cannot happen silently twice.

Lesson 24 of 27. Part 5 of 6: Make it stick. Source: https://chiefofagents.si/lessons/scar-tissue

## What happened

Three incidents feed it in the talk: the API incident, the deleted screen and the local tool that reached production.

## The lesson

Each serious failure gets a name and a written lesson. Then one question: where must this live?

Architecture and decisions go in the project wiki. Failure patterns every agent should know go in the repository rules. Preferences and lessons go in memory. And anything critical to safety becomes enforcement: a hook, a test, a check in CI, a permission or a database control.

The next agent to approach the same dangerous path is warned with evidence, or blocked. The incident has changed the system, not only my opinion.

## How I do it

Important lessons move out of prose and into something that runs, whenever that is possible.

## The rule

After every failure ask where the lesson must live so that it cannot be skipped.
