Technical Guide

    ISO/IEC 5338 Quality Assurance Process: How to Prove AI Quality Controls Ran

    ISO/IEC 5338 defines AI system life cycle processes, and quality assurance sits within them as a process, not as an evidence format. A documented control shows what should happen. Proving a control ran requires a durable, attributable record for each execution: the policy version applied, the decision taken (allow, redact, block or escalate), the interaction or tool call it covered, and a timestamp. Those records must also be retained so an auditor can sample them independently.

    Mapping each QA control to an evidence artifact

    1. 1

      1. List the controls

      Extract every quality control your QA process claims, from thresholds and reviews to content and tool-use restrictions.

    2. 2

      2. Classify each one

      Mark it design-time (reviewed or tested before release) or run-time (executed on each interaction or tool call).

    3. 3

      3. Define the artifact

      For design-time controls, name the approval or test record. For run-time controls, specify the per-execution record attributes.

    4. 4

      4. Assign ownership

      Name the owner for monitoring, review frequency, and retention and accessibility of records.

    5. 5

      5. Align to adjacent frameworks

      Use the NIST crosswalks to relate 5338 activities to AI RMF and ISO/IEC 42001 monitoring expectations, and confirm clause references against the final published text.

    6. 6

      6. Test by sampling

      Pick production interactions at random and check whether you can reconstruct policy version, decision and scope from the records alone.

    Attributes of credible runtime evidence

    • Policy identifier and version: which rule set applied, so the decision can be tied to the policy as it stood at that moment.
    • Decision: the outcome recorded explicitly as allow, redact, block or escalate, including who approved an escalation.
    • Scope: the specific interaction or tool call the decision covered, with enough context to locate it again.
    • Timestamp: when the decision was made, from a consistent time source.
    • Durability and retention: records persist for a defined period set by the organization, independent of the AI application's own state.
    • Integrity and access: protection against alteration and an owner responsible for making records available to auditors.

    What the ISO/IEC 5338 quality assurance process sits inside

    ISO/IEC 5338:2023 defines a set of processes and associated concepts for describing the life cycle of AI systems based on machine learning and heuristic systems. Its processes support the definition, control, management, execution and improvement of the AI system across its life cycle stages, and they can be used within an organization or project that develops or acquires AI systems.

    That framing matters for evidence. 5338 is a life cycle process standard. It describes the processes an organization should have in place, and it does not prescribe a runtime evidence format. The quality assurance process is where an organization decides what quality means for its AI systems and how it checks that those expectations are met. How those checks are evidenced in production is a design decision the organization has to make.

    The software side of the picture is ISO/IEC/IEEE 12207:2026, a common framework for software life cycle processes covering acquisition, supply, development, operation, maintenance and disposal. It does not require a specific life cycle model or methodology, and its processes can be applied concurrently, iteratively and recursively. Because the framework is model-neutral, you should state explicitly how your QA process maps to it rather than assume a fixed mapping. NIST also publishes a crosswalk that aligns AI RMF life cycle stages with those used in ISO/IEC 5338, which gives a practical route for overlap analysis.

    A documented control is not evidence that the control ran

    Plans, policies and review checklists describe intended controls. They show design. An auditor or regulator asking whether a quality control operated on a particular production interaction needs something different: a record created when the control executed.

    The common frameworks point the same way. The NIST AI RMF states that TEVV (test, evaluation, verification, validation) processes should be objective, repeatable or scalable, followed and documented. MEASURE 2.3 expects performance or assurance criteria to be demonstrated under conditions similar to deployment, with TEVV tasks that include validation and integration in production. ISO 9001 audit guidance on QMS that use AI says auditors should obtain evidence that the organization can demonstrate its use of AI does not adversely affect conformity or process control. The consistent theme is demonstration, not description.

    It helps to sort controls into two groups. Design-time controls, such as go/no-go approval against minimum performance thresholds or evaluation of outputs against ground truth, produce review and test records. Run-time controls execute on each interaction or tool call and need a record per execution. Assurance reporting should keep the two claims separate: this control is designed, and this control operated.

    Evaluating runtime enforcement as an evidence source

    Enforcing policy in the execution path is one way to produce run-time evidence, because the decision and its record are created at the same point. A review performed after the fact can only infer what happened. An enforcement point that applies policy to each interaction or tool call can record what it applied and what it decided.

    The tradeoff is scope. Evidence at the interaction and tool-call level does not cover model lineage, dataset provenance or end-to-end workflow lineage, which are separate evidence needs with their own mechanisms. Nor do enforcement records amount to ISO/IEC 5338 conformity certification. They are one category of operating evidence that supports a QA assurance claim.

    When assessing any approach, ask these questions. For a given production interaction or tool call, can the system show which policy version applied and what decision was taken? Are records generated independently of the AI application, retained for a defined period, and protected from alteration? Can they be exported in a form an auditor can sample and verify without relying on your team's interpretation? Which controls does the approach evidence, and which are explicitly out of scope? And who validates the mapping from those records to 5338 processes, AI RMF and 42001?

    Where Trussed fits

    Trussed enforces policy in the execution path across models, agents, tools, MCP servers, AI sites and coding assistants. Decisions include allow, redact, block, rate limit and escalate for human approval, applied to individual interactions and tool calls. The enforcement generates continuous, audit-ready evidence, mapped to HIPAA, NAIC, NYDFS, EU AI Act and NIST. Deployment is self-managed in the customer cloud, with configurable retention and data residency.

    Trussed does not certify ISO/IEC 5338 conformance, and it does not provide model provenance, dataset provenance or end-to-end tracing of agentic workflows. It addresses the run-time evidence portion of a QA assurance claim for a regulated enterprise.

    In production, the platform has run continuously for 18+ months in a regulated enterprise, with 99.95% uptime on live production traffic, 100+ models under one policy plane, and 30+ GB of audit evidence generated per day. Customers span four regulated verticals: insurance, pharma, healthcare and education.

    From documented control to proof of operation

    Control design

    Policies, thresholds and review checklists that describe the intended control.

    Control operation

    The control executes on a specific interaction or tool call in production.

    Evidence record

    Policy version, decision, scope and timestamp captured at the moment of execution.

    Audit sampling

    Retained records an auditor can select and verify independently.

    Check whether your AI quality controls can be proven

    Walk through how enforcement in the execution path produces evidence for individual interactions and tool calls, and where your own control inventory still relies on documentation alone.

    See How Evidence Is Produced