Idea

A ban written into an agent's prompt is not the same as a technical constraint that blocks the action

Info

Originally written in French. Translated by AI — the meaning has been preserved, not the prose.

Main idea

Writing “you must not modify this file” in a coding agent's instructions expresses an intention; it does not prevent anything. The agent reads the instruction, weighs it against everything else in its context, and may break it — by forgetting it as the context grows longer, by reinterpreting it when the task seems to call for it, or simply because an instruction is only ever a probability of behaviour.

A technical constraint is a different thing altogether. A hook that blocks writes to a file, a step that will not let the work through until the expected tests have passed, an access right taken away: the action becomes impossible, whatever the agent reasons.

So how far you can trust a chain of agents depends less on the quality of the instructions than on how much of them has been turned into mechanisms.

The rails developers build for agents and for Product Managers follow the same rule: they are not just instructions given to the agent; they have to take concrete form in the system's checking mechanisms.

Layer added by "Why I hardly write specifications any more" (2026-11-27).

Why it matters

It gives you a question to ask of every important rule in an agent-based setup: is it only written down, or is it also enforced? A rule that would be costly to break cannot stay at the prompt stage.

It also explains why rules followed for weeks end up being broken with no visible change: nothing ever guaranteed them; they had simply been followed until then.

Nuances and limits

Not everything can be turned into a technical constraint. A rule of style, tone or judgement — "prefer the simplest solution" — has no blocking form; it stays an instruction, and checking it takes a review.

And a constraint that is too broad also blocks legitimate actions: every lock you add is paid for in human interventions to lift it.

Open questions

  • How do you tell, among the rules written in an agent's instructions, which ones would be costly enough to break to justify a lock?