# Testing and continuous evaluation lifecycle, with release gates Version 1.2.0 | 11 November 2026 | Deliverables D11 and D16 | Part of the RJ AI Agent Guardrails and Evaluation Framework ## Contents - [1. The fifteen-stage lifecycle](#1-the-fifteen-stage-lifecycle) - [2. Release gates](#2-release-gates) - [3. Blocking criteria](#3-blocking-criteria) - [4. Reassessment triggers](#4-reassessment-triggers) - [5. Production readiness checklist (D16)](#5-production-readiness-checklist-d16) ## 1. The fifteen-stage lifecycle 1. Initial agent assessment: classify the agent (D2 variant, capabilities, data access, autonomy). Output: assessment record. 2. Threat modelling: run D2 per component; output: system-specific threat model with named exclusions. 3. Guardrail specification: select and configure D4 families; output: guardrail register with enforcement layers. 4. Test dataset creation: build/adapt D9 datasets; output: versioned datasets with provenance. 5. Functional testing: E-A/B/C and workflow suites; output: functional evidence. 6. Security testing: E-G/K/L and control verification; output: control-validation evidence. 7. Adversarial testing: applicable D8 scenarios; output: attack success report. 8. Human review: calibrated review of judgement-heavy outputs and refusals; output: review record. 9. Independent validation: D15 programme; output: assurance statement. 10. Release approval: gate decision per section 2; output: signed release record. 11. Production monitoring: D13 telemetry live before traffic; output: dashboards, alerts. 12. Incident investigation: per G-T; output: incident records feeding datasets. 13. Regression testing: full D9 regression set on every change; output: regression evidence. 14. Policy updates: guardrail and policy changes through change management; output: versioned policy history. 15. Continuous reassessment: scheduled and triggered reviews (section 4); output: updated risk posture. The lifecycle is a loop, not a funnel: stages 11-15 feed back into 2-10. ## 2. Release gates - Gate 0 (prerequisites): agent identity (G-A), tool gateway (G-H), sandboxing where applicable (G-J), telemetry (G-R), kill switch (G-M) - all verified working. No gate 0, no further review; these are not negotiable. - Gate 1 (functional): functional and workflow suites pass at thresholds. - Gate 2 (security): zero-tolerance classes clean on release-gate datasets (authorisation, leakage, approval binding, unbounded execution); adversarial critical scenarios pass. - Gate 3 (assurance): human review complete; independent validation signed (D15); residual risk register (D17) complete with named acceptors. - Gate 4 (release): risk approver signs with the evidence pack attached. A release must not be approved because aggregate scores are high. Approval is the conjunction of gate outcomes and accepted residual risks; an excellent average with one critical security failure is a failed release. ## 3. Blocking criteria Explicit release blockers. These are non-waivable: no risk acceptance, at any level, releases a build that trips one. A D17 residual-risk acceptance records accepted residual risk after every blocker has passed; it is never a waiver of these criteria, and critical security and authorisation failures have no discretionary path: - Any execution of a prohibited (P0) action in testing. - Any unauthorised action, cross-user disclosure or canary leakage on gate datasets. - Any approval-bypass or privilege-escalation success (AT-07/AT-17). - Any unbounded execution or budget breach. - Any security-case regression, however small it looks. - Missing or incomplete audit evidence for any tested critical control. - Telemetry not demonstrably reconstructing a sample incident end to end. ## 4. Reassessment triggers Full or partial re-evaluation is mandatory after changes to: the model (version or provider); prompts or instructions; tools or tool schemas; MCP servers/integrations; memory architecture; retrieval sources or corpus; agent permissions or manifest; orchestration or delegation logic; infrastructure or sandboxing; evaluation datasets themselves. Each trigger maps to a scope: model change reruns the full suite; a tool schema change reruns that tool's E-F/G cases plus related D8 scenarios; dataset changes rerun gates to confirm comparability. Undeployed silent changes (provider-side model updates) are detected via provider notices, behaviour drift monitors and scheduled canary evaluations. ## 5. Production readiness checklist (D16) - [ ] Agent assessment and threat model current and signed - [ ] Guardrail register complete; every critical risk has L2/L3 enforcement, not prompt-only control - [ ] Permission tiers assigned per tool+argument class; P0 list explicit - [ ] Approval mechanics verified (binding, expiry, single-use, faithful UI) - [ ] Evaluation suites at version X pass thresholds; security classes zero-fail - [ ] Adversarial critical scenarios pass; attack artefacts access-controlled - [ ] Datasets versioned; held-out and incident sets intact - [ ] Telemetry schema live; incident reconstruction drill passed - [ ] Anomaly detection, kill switch and freeze capability tested live in staging - [ ] Incident playbooks exist; on-call named; rollback rehearsed - [ ] Governance roles named (D12); exceptions time-limited and registered - [ ] Independent validation statement issued (D15) - [ ] Residual risk register complete; each risk has an acceptor and a review date - [ ] BOM current (G-S); dependency and integration versions pinned - [ ] Release record signed by the risk approver with evidence pack attached