Lesson 05 · Three targets · 12 min
Regulating architecture
Architecture fitness asks whether the agent stayed within its intended shape. Did it call the tools it should, in an order that makes sense, and none it should not. Did it reach the answer by a route you would accept, or by a shortcut that happened to land.
This is the target where a right answer is not enough. An agent that issues a refund without reading the policy, and happens to be right, has taken a route that will be wrong next time. The answer passed every maintainability check; the route is the problem.
The industry blueprints are architecture sensors. must_call, must_not_call, order, no_side_effects — every one is an assertion over the trace, not over the answer. The finance blueprint's rule that the transaction must be retrieved before the dispute history is pure architecture: it says nothing about what the recommendation should be, only about the shape of how it was reached.
Trace assertions are underused because teams do not have traces. That is what the observability deep dive is for. Once every run is a span tree, "was tool X called before tool Y" is a query, and architecture fitness becomes something you can check on every production request rather than something you hope the prompt enforces.
When an architecture sensor keeps firing, the fix is usually a guide, not a better sensor. A route the agent keeps taking wrongly is a route that should be closed — a precondition, or a graph edge that does not exist. The sensor told you where to put the wall.
Checkpoint
Name the ordering constraint in the finance blueprint and say what it protects against.