insonl
← journal

Run an AI Workflow in Shadow Mode Before It Can Take Action

date
27 November 2026
by
Insonl
read
8 min read

An offline evaluation can show how an AI workflow handles a fixed set of past cases. Shadow mode gives the candidate a copy of new cases as they arrive. Staff handle the originals and make every operational decision. The candidate records what it would do in a review-only store, where reviewers can compare its proposals with the actual staff decisions and any evidence that arrives later.

Pick one decision at intake. In the illustrative workflow below, a fulfillment team receives reports that an order arrived short. The candidate proposes routing a report to a warehouse investigation or holding it for missing information. The technical lead needs to know whether the candidate can make that routing decision from the records available at intake. A later warehouse finding answers a separate question about what happened to the shipment.

Copy live cases into a review-only path

Keep the existing intake and staff queue authoritative. After the intake record is saved, use its event or another asynchronous feed to copy eligible cases into a separate queue. Give the shadow worker a bounded backlog and a way to pause copying. A slow model call, full shadow queue, or unavailable review store should leave the original case moving through the staff queue. Reconcile eligible arrivals against copies received and report skipped or failed copies. A report based on successful model calls alone hides whatever broke on the way to inference.

Use a stable case ID and intake revision to join the records. Deduplicate redelivered events for that revision and keep attempts separate from distinct cases. If a customer supplies a missing order reference later, record that as a new revision. Preserve the original proposal so reviewers can judge it against the original evidence. If the pilot tests follow-up handling, evaluate the later revision against the information available at that point.

Give the worker access to approved fields and a destination for its proposals. Keep credentials for queue assignment, customer messaging, and operational writes out of the shadow environment. Replace action adapters with a recorder that captures the proposed operation and its parameters. Keep review findings out of the live operator queue so the staff decision remains independent. Test the isolation with a fixture that proposes an assignment and a customer reply. Verify that both proposals end up in the review store and that the live systems show no corresponding action.

Before connecting the live feed, document eligible cases, permitted reads, and the person who can stop the run. NIST describes its AI Risk Management Framework as voluntary guidance for incorporating trustworthiness into AI design, development, use, and evaluation. The review-only setup here is one way to gather evidence about a particular workflow. NIST AI Risk Management Framework · Ten Questions to Scope a Single-Workflow AI Pilot

Compare the proposal with the decision staff could make

Capture the approved intake fields and the relevant version of each lookup and policy. A live order record can change before the worker reads it. Where a lookup cannot reproduce the state at intake, record its actual observation time. Flag comparisons that depend on evidence staff or the candidate received later. A later correction to the order record should be visible in review without silently changing the original test.

For each copied case, keep the candidate’s proposed route, supporting evidence, fallback reason if any, and the version of the configuration that produced it. From the staff path, capture the first routing decision and its time, then link any terminal outcome separately. During review, apply the policy in effect to the intake evidence first. Reveal the candidate and staff routes after the reviewer records their expected route or allowed routes. That makes it possible to find cases where both chose the same wrong destination or where staff correctly acted on information added after intake.

Track missed required routes, avoidable holds, and proposals that cite the wrong order record. Score an appropriate hold when information is missing as a valid decision. Give reviewers a separate way to mark an evidence gap that prevents scoring. Record copy-to-proposal time, including queue wait, and count timeouts alongside completed proposals. Those measurements describe the shadow path. To judge savings after staff can use the output, measure their touch time and rework in that later pilot against the manual baseline. Measure the Manual Baseline Before an AI Automation Pilot

Walk a late outcome through the illustrative workflow

A customer reports a short delivery. At intake, the message identifies the order and item, and the shipment record contains the affected line. The fulfillment team’s policy calls for a warehouse investigation when those references are present. The shadow candidate proposes holding for clarification because it expects the customer to attach a packing slip. A staff member opens an investigation based on the order and item references.

The reviewer can score the initial proposal as an avoidable hold using the intake record and the policy. The warehouse investigation is still open, so the final outcome remains pending. Later the warehouse checks its records and confirms a packing discrepancy. Link that finding to the same case and preserve the time it was recorded. The finding closes the downstream outcome. The earlier routing grade still follows the evidence available at intake.

If the original message had lacked an order reference and the customer later supplied it, the hold could have been correct at intake. The later shipment finding would still belong to the case. Record it alongside the new input revision and preserve the grade for the original hold.

Report pending outcomes by intake cohort

Group cases by when they entered the workflow. Set an outcome observation window using the existing process and keep the report’s cutoff visible. A cohort that arrived near the cutoff has had less time to resolve. Compare downstream outcomes across cohorts only after each has had the agreed observation time, or show how long each cohort has been observed. Check slower case types separately. A high share of fast closures can make the run look complete while a required investigation type is still mostly open.

Show the number of eligible arrivals, successful copies, proposals and scorable decisions. In a separate outcome tally for the same cases, show confirmed, pending, and unavailable outcomes. A case beyond the window with an open investigation remains pending. A closed investigation whose result cannot be joined back to intake has a record gap to resolve. Compute decision quality among scorable decisions and show how much of the eligible intake those decisions represent. When the downstream outcome matters to a release decision, report the observed outcome count beside the number still unresolved.

Save each report with its cutoff and update the same case records when later evidence arrives. Recalculate the cohort at the next cutoff. This preserves what the team knew when it made a decision and makes it possible to see whether late cases change the result.

Decide whether to expose the proposals to staff

Agree on required case coverage, critical routing failures, and acceptable lookup or copy gaps before the first run. If a required case type is underrepresented or its outcomes are still pending, keep collecting evidence within the agreed scope. If reviewers find a critical mistake, fix it, add the case to the offline regression set, and collect fresh shadow evidence for the revised configuration. Keep the reports from different configurations identifiable. Turn Historical Operations Cases Into an AI Regression Test Set

A passing run can support a limited staff-assisted pilot in which a person sees the proposal and approves the action. Measure whether the proposal changes decisions, review effort, and completion time during that pilot. Keep the production write path gated by human approval until the workflow meets the criteria for any broader authority. Define Go/No-Go Criteria Before an AI Pilot Starts

Sources

  • NIST describes the voluntary framework and its purpose of incorporating trustworthiness into AI design, development, use, and evaluation. NIST AI Risk Management Framework

Audit one workflow before it can act

Bring one intake decision, the records staff use to make it, and a redacted case whose outcome arrived late. Insonl can review where to copy the case, what to capture for comparison, and what evidence would justify a staff-assisted pilot. Request a free AI workflow audit