Agent Release Safety Gates

A public release-readiness harness for measuring AI-agent reliability across incident replay, grounded retrieval, safe refusal, approval-gated mock tools, safety/usefulness trade-offs, audit events, and observability.

At a glance

The finding

The question. A release gate is a check that runs before you ship and blocks the release if something is wrong. If someone quietly weakened the safety rules inside one, would the gate notice — or would it keep saying ship?

What this found. Usually it would not notice. Measured against this project's own gate, roughly half the deliberate weaknesses planted in it left the gate reporting a clean release. The cause was a specific design defect that generalises to any gate whose expected outcome is satisfied by both a refusal and a hold for human approval.

Read the full finding →

What it is

A reproducible benchmark and dashboard for evaluating incident replay, grounded retrieval, safe refusal, approval-gated tools, and auditability in AI-agent workflows.

Why it matters

Agent safety work needs mitigation-aware measurement that reports both unsafe misses and usefulness costs, not only a single headline safety score.

Evidence available

Controlled synthetic operations tests are paired with public TechQA and WixQA RAG validation, safety trade-off analysis, and release gates.

Validation boundary

The controlled operations benchmark is synthetic. Independent human labels and broader multi-model comparison are the next validation steps.

Key findings

Safety needs trade-off reporting

Unsafe-request capture is useful only when reviewed alongside benign blocks, review load, weak-evidence handling, and false negative risk.

Public RAG checks strengthen the lab

TechQA and WixQA results show that retrieval evaluation is not limited to the controlled synthetic environment.

Intervention evidence

The current study compares frozen baseline behavior against layered safeguards for prompt injection, action gating, and safety classification.

Goal-conflict arbitration

The lab now measures when agents should redirect user goals that conflict with safety, evidence, privacy, or tool-risk boundaries.

Incident replay

Constructed incident scenarios — written for this project, not reconstructions of sourced incidents — are replayed as regression tests before a release gate can pass.

Auditability is part of reliability

The project publishes release gates, trace summaries, and generated artifacts so reviewers can inspect how results were produced.

Retrieval result (external public data)

Retrieval quality is reported on public corpora this project did not generate. The synthetic operations benchmark is circular by construction — its generator templates the query from the same variables as the gold answer — so its scores are reported separately below and labeled in-corpus. Evaluation integrity →

Public RAG cases640
External weighted hit@379.92%
External weighted top-1 citation69.61%
External weighted failure rate40.47%
TechQA public RAG@380.73%
WixQA public RAG@377.50%

Evidence snapshot

Synthetic golden cases358
Red-team cases60
Intervention experiments3
Incident replay cases8
Incident closure rate100.00%
Incident gate statusPass
Manual golden-case share28.49%
Moderate grounding unsupported23.53%
Strict grounding review / 10022.97
Synthetic citation coverage (in-corpus)98.26%
Synthetic abstention accuracy (in-corpus)100.00%
Memory pollution follow rate0.00%
Memory review / 10066.67
Goal conflict unsafe compliance0.00%
Goal conflict review / 10058.33
Safety classifier recall90.91%Measured with case-specific signals still in place, not re-measured since they were identified, and expected to fall when they are removed. See evaluation integrity, finding 5.
High-severity unsafe misses0
Synthetic unsafe prevalence10.02%
Red-team safe response rate100.00%
Indexed observability traces21
Release gate statusPass
External review statusAwaiting independent labels

These are engineering checks over controlled benchmarks. They should be read with the benchmark cards, dataset boundaries, and full report. Metrics marked in-corpus come from a self-generated synthetic benchmark that is circular by construction and are not retrieval evidence; the retrieval result is the external public-data section above. Evaluation integrity →

Explore the project

Interactive dashboard

Explore metrics, cases, safety analysis, retrieval comparisons, and observability views in Streamlit.

Open dashboard

Full evaluation report

Read the deeper method, metrics, limitations, and generated evaluation narrative.

Open report

Evaluate your agent

Convert generic agent logs or LangChain/LangSmith traces into candidate results, then run the incident replay release gate.

Open quickstart

Reviewer handoff

Inspect the external-review packet, labeling workflow, and reviewer-facing instructions.

Open reviewer handoff

Technical artifacts

View 64 generated JSON, CSV, report, and reproducibility artifacts on a separate technical page.

Open artifact index

Benchmark transparency

High scores on synthetic cases are useful only when the benchmark mix is visible. This project keeps the synthetic benchmark, public RAG tracks, and remaining validation gaps separate.

Current benchmark-quality labels
  • Provider-backed embedding comparison is available as an optional credentialed run but is not published yet.
  • Real company data is intentionally excluded; synthetic and public benchmarks are reported separately.
Recommended next data work
  • Compare local retrieval with a provider-backed embedding option.
  • Keep synthetic and public benchmark data separated and reproducible.

Run locally

The FastAPI service and dashboard are containerized so the full stack can be run from the public repository.

docker compose up --build

Then open http://localhost:8510 for the dashboard and http://localhost:8000/health for the API.

Scope

This project does not reproduce, evaluate, or criticize any real company's internal AI system. All data, teams, tickets, runbooks, controlled benchmark metrics, and workflows are synthetic. TechQA and WixQA results are separate public-data RAG benchmarks.