Across more than twenty years in IT projects, I have sat through hundreds of architecture slides where colorful boxes float neatly side by side and every arrow points harmlessly in both directions. The moment you have to build real software from those slides or pass a security audit, they become useless because they skip the single most important question: who is explicitly forbidden from talking to whom?
Years ago, a vague diagram usually surfaced late in integration when two teams realized they had read the same line differently. Now that AI coding agents write directly inside the repository, blurred boundaries break things right away. A language model optimizes for the shortest working path. Put one friendly box labeled "API" or "Backend" in the middle of the picture, and on the very next feature the agent will happily wire a direct import straight across layers unless something technical stops it. A useful architecture diagram is not decoration for a steering committee. It is an executable blueprint.
Solid Controls, Dashed Reads
In my own system diagrams for ForgeCenter and immoHunter, neutral connector lines do not exist. Every arrow has a strict direction and one of two meanings: a solid line triggers control actions, writes state, or starts a background workflow; a dashed line reads prepared data views with zero side effects.
You can see how much trouble that single rule prevents in immoHunter. Solid arrows carry raw property listings through deterministic formula calculations into the final score stored in PostgreSQL. The language model's written summary sits strictly downstream, attached via a dashed read-only arrow to the finished record. It explains the result in plain language, yet cannot alter a single price or yield figure. That is all it ever sees.
The same split separates identity from state at the browser edge. The entry service verifies who is knocking, while the workflow engine behind it owns execution state. Inside the browser, there is never an API key waiting to leak, only a strict HttpOnly session cookie that stays invisible to page JavaScript even if a frontend script misbehaves.

Two Separate Doors Instead of Hidden Buttons
Nothing bothers me faster in modern AI and agent projects than diagrams lumping customer portal, internal admin controls, and AI workers behind one shared gateway. In code, that almost always translates into one shared server process, hidden buttons in the browser, and scattered if (isAdmin) checks. Enforcing privilege separation by hiding UI buttons is security theater.
When I designed ForgeCenter, both my operator console and external clients needed web access. On the diagram, I drew two hard trust boundaries first, separating zones with fundamentally different privilege levels. In code, those boundaries became two physically separate processes with separate login flows. My console talks exclusively to the Operator Gateway, the sole service in the stack able to start background workflows, approve budgets, or trigger releases. External clients talk to the Customer Gateway, which reads prepared views from PostgreSQL and nothing else. Even a bug in the portal cannot kick off a job. The code to do it is not there.
Simon Willison captured the core risk well in summer 2025 with his Lethal Trifecta framing for AI agents, building on his earlier Dual-LLM notes: privileged tool execution has to stay strictly isolated from surfaces handling untrusted or external inputs. Erik Schluntz and Barry Zhang at Anthropic made a related point in late 2024 in Building Effective Agents, warning against abstraction layers that obscure real control and data flows. Even clean layered views in the spirit of Simon Brown's C4 model fall short in daily engineering if they only map what connects, without marking in red which path must never exist.
A Forbidden Line Only Holds Inside the Build
Halfway through building ForgeCenter, convenience nearly won. While wiring up a new status screen, the fastest shortcut was importing an existing workflow helper into the customer-facing service instead of writing a dedicated read projection. On a slide deck, nobody would ever have spotted that shortcut.
What stopped it was not an architecture review board, but a tiny verification script inside our build pipeline. Every forbidden edge on my diagram has a matching check at compile time: an automated rule scans source imports and message-bus bindings and fails the build immediately if any workflow control package ever appears inside the Customer Gateway. The offending pull request turned red before human review even started.
Before writing the first line of code on a new system, I run through the same four checks in my head. First, draw explicit trust boundaries around privilege zones; second, separate solid control paths visually from dashed read paths; third, state for every boundary which connection is strictly forbidden; fourth, turn that prohibition into an automated build check. That discipline has a fair lower bound, of course. Standing up two gateways, separate login paths, and import guards adds real upfront scaffolding. For an internal one-day prototype with zero external customer access, building all of that on day one would be wasted effort; one simple service is plenty until real external users walk through the door.