Story 04 · ML Engineer

Investigate failed AI execution

Reconstruct a bad production outcome from retained source evidence, then compare the new result without overwriting history.

The situation

A customer-support agent gave an incorrect refund recommendation in production. The ML engineer needs to reproduce the execution, test it against the current quality criteria, and retain an auditable investigation record.

The question

What happened, can we reproduce it, and what evidence explains the difference?

The governance workflow

From question to governed outcome

  1. 01

    Find the source execution

    Search tenant-scoped historical executions and select a completed execution with the evidence required for replay.

  2. 02

    Validate replayability

    BHANUJ - AIGP (AI Governance Platform) resolves the source again, checks its retained inputs and state references, then freezes an immutable replay configuration.

  3. 03

    Create and submit the replay

    A durable worker job reconstructs a new execution while preserving source-to-produced-execution lineage.

  4. 04

    Run and compare evaluations

    Evaluate the replay, compare it with the compatible source baseline, and inspect any drift.

  5. 05

    Review evidence and audit

    Follow the replay lineage, evaluation results, and bounded audit timeline for the investigation.

In Studio

The screens behind the story

The replay workflow begins with a governed historical source, not a blank rerun.

The frozen configuration and job lifecycle make the reproduction inspectable.

Source execution, replay, produced execution, and evaluation evidence remain connected.

Reproduce the claim

Prepare the replay from a known baseline

The public CLI selects retained source evidence and writes a checkpointed manifest through normal REST APIs.

uv run ai-governance walkthrough governed-replay --non-interactive --output-json

Expected result

The manifest records the source execution, baseline evaluation and decision, and a prepared replay. A replay, comparison, or drift result is reported only after the worker actually produces it.

Run the governed replay walkthrough

The outcome

The investigation produces a reproducible, historical record—not a retry that silently changes the original evidence.

OSS capabilities used

What makes this workflow possible

Execution DiscoveryReplay ManagementDurable Job ExecutionEvaluation and ComparisonEvidence Lineage and Audit