BDA · Boundary Defense Agent
SEMANTICHOR/BDA/§ 01
REL v2.0
Every AI system has a boundary. Inputs cross it in one direction — user prompts, API calls, sensor data, tool results, configuration changes. Outputs cross it in the other — responses, actions, state changes, artifacts, signals to downstream systems. The boundary is where the system meets the world. And in most deployed AI systems, it is the least governed surface in the entire architecture:
What mechanism validates, classifies, and gates every input that crosses into this system and every output that crosses out — and what happens at that boundary when something is wrong?
The typical answer: inputs are parsed and outputs are filtered. But parsing is not validation. Filtering is not gating. And neither constitutes a governed boundary with defined behavior under failure.
The boundary problem has a specific structure that distinguishes it from general input validation. An AI system’s boundary is not just a data interface — it is a trust interface. Everything outside the boundary is untrusted by definition. Everything that crosses the boundary becomes, at least partially, trusted by the system that receives it. The transition from untrusted to trusted is the most consequential moment in the system’s operation, and it is typically ungoverned.
This matters because the most effective attacks on AI systems exploit the boundary, not the model. Prompt injection works because the boundary does not distinguish between instructions and data. Tool-result manipulation works because the boundary treats tool outputs as trusted input. Configuration injection works because the boundary does not validate whether a configuration change is authorized at the semantic level, not just the authentication level.
The output boundary is equally ungoverned. AI systems produce outputs that cross into downstream systems, trigger actions, modify external state, and influence human decisions. These outputs leave the system through interfaces that are designed for throughput, not for governance. No mechanism gates whether an output should be released given the system’s current risk state, whether the output is consistent with the system’s governance constraints, or whether the output boundary should be locked during a critical event.
This is the boundary defense gap. It exists at every interface where the system exchanges information with the outside world. It is the controlled surface that determines what enters, what exits, and what happens when the boundary detects something that should not cross.
SEMANTICHOR · Normative AI Architectures
03 / 11
Logic Before Code