Part II — THE EXECUTION LAYER
6.Guards, Gates, Tracks: Show Your Work
the layer that verifies AI work, decides what happens next, and preserves the evidence. Assumes: Section 5 (Ops), with the concepts applying to Cogs as well.
Every AI-assisted workflow, the whitepaper observes, must answer two questions: what context should guide this work, and how do we know the result can be trusted? Frames answer the first. Everything in the architecture so far, though, is generation-side: it makes AI work more oriented, more governable, more organized. None of it yet makes the work verified, and generation and verification are different activities the industry has habitually blurred. A fluent output and a correct output look identical at a glance. Institutions that face auditors, regulators, and courts are not permitted to operate on glances.
The whitepaper's validation layer separates the two activities and then splits verification itself into three roles with a grammar worth memorizing, because the entire layer unfolds from it: Guards check. Gates decide. Tracks record.
Guards: checks broader than tests
Software engineers will want to map Guards onto unit tests, and the mapping is deliberately too small. Some Guards are deterministic (does the generated SQL execute; does the invoice total reconcile; does the output match the schema). Others are probabilistic, or comparative (do three independently prompted Cogs agree), or human (route a 5% sample, or anything high-risk, to an expert). Some run before work starts, some during, some after, some continuously across versions. The paper organizes the space into seven categories:
The paper ranks these usefully: algorithmic Guards are the strongest (they verify directly), outcome Guards the most business-meaningful (they verify value rather than form). Note also the closed loop with Part II: many policy Guards enforce rules that are written in Frames. The Healthcare Compliance Frame states the rule about patient data; a privacy Guard checks whether an Op's output respected it. Context and verification are two ends of the same commitment.
Gates: where the decision lives
A failed check is information, not a decision. Not all validation failures mean the same thing: some need a retry, some need a human, some need an expert, some need everything to stop. A Gate is the point in an Op where Guard results determine which of those happens: proceed, pause for revision, request human approval, escalate to an expert, retry differently, or halt. The paper's examples give the flavor: unsupported claims found by a source Guard pause the Op for revision; low confidence routes to human review; detected sensitive data stops the Op before anything leaves the building; strong disagreement between Cogs escalates to an expert.
This is where the regulatory landscape stops being background and becomes specification. The EU AI Act's human-oversight requirements for high-risk systems, in force from August 2026, mandate that a natural person can interpret an output, decide not to use it, override it, or intervene and stop the system (Regulation (EU) 2024/1689, Article 14). That list is a functional description of a Gate. The paper's framing, which we think is its most quietly effective argumentative move, is that regulation is not a compliance tax to be absorbed but a spec to be implemented, and Gates are the implementation.
Tracks: evidence, not logs
A Track is the durable record of what happened: which Op ran, which Cogs it invoked, which Frames applied (and their versions), what inputs and sources were used, which Guards ran and what they found, which Gates passed or escalated, which humans approved what, and what came out the other end. The paper insists on the distinction between this and logging, and the distinction is real: a log is whatever the system happened to emit; a Track is a structured accountability artifact, designed in advance to answer the questions an auditor, a compliance team, a debugger, or a skeptical customer will ask.
Here too the regulation reads like a requirements document. The EU AI Act requires high-risk systems to automatically record events across their lifetime and requires deployers to retain those logs (Articles 12 and 19). An organization whose AI work leaves Tracks by construction satisfies that obligation as a side effect of its architecture rather than as a retrofit project.
The declared Validation Strategy
The layer's parts assemble into a contract. Every Op, the paper requires, declares its Validation Strategy: which Guards run at which lifecycle stage, where the Gates are and what thresholds trip them, what the Track retains and for how long. Validation runs across four stages — pre-flight (is this Op allowed and configured), in-flight (is the work staying in bounds), post-run (is the output correct and safe), continuous (is quality drifting over time) — with the strategy matched to risk: a drafting Op might need format checks and user review; a fraud-detection Op might need source grounding, multiple independent Cogs, expert sampling, and a Track retained for years.
The paper's sketch of a validation-aware Op manifest makes the idea concrete, and it is the single most clarifying artifact in the whole document:
Everything this guide has covered is visible in one short manifest: context declared, workers named, checks staged, decisions encoded, evidence specified. The paper's summary sentence earns its emphasis:
"An Op is not complete unless it declares how its work will be verified."
Two remarks close the layer. First, the loop: Tracks feed back into the organization's accumulated memory, so corrections and overrides become signals for improving Frames, Cogs, Ops, and the Guards themselves. The paper renders this as an eight-step accountability loop (Frames orient → Cogs perform → Ops orchestrate → Guards validate → Gates control → Tracks preserve → memory learns → artifacts improve), and it is the architecture's answer to how quality compounds rather than decays. Second, Guards are themselves artifacts: authored, versioned, shared, and in some cases sold. The paper sees this as one of the largest open-source opportunities in the whole design, with communities publishing Guard libraries the way they publish test frameworks today, and notes the concrete demand: prompt injection, adversarial input crafted to make a model ignore its instructions and follow the attacker's instead, currently tops the OWASP Top 10 for LLM applications, the application-security community's standard risk ranking, and community-built Guards are the natural countermeasure. Standards bodies point the same direction; a declared Validation Strategy is how frameworks like NIST's AI RMF and the ISO/IEC 42001 management-system standard become machine-checkable practice rather than aspiration. Guards will reappear in Section 10, because a marketplace turns out to need them as much as a compliance office does.