Skip to content
Directory
GitHub Star
Evidence, tags & source code

The agent’s answer disappeared. Don’t rerun it yet. ​

You ask an agent to compare two documents and explain what changed. It shows a paragraph and two citations. Later, the page only shows an error. Asking again may get an answer, but it will not tell you whether the previous answer was never produced, was produced but never saved, or was saved and cannot be read back.

Three capabilities answer different parts of that question: ordered delivery tells you what was committed, run records preserve what can still be resumed, and offline replay checks whether the saved artifacts are usable. Work with one recording rather than starting a new run and hoping for a better outcome.

Decide which action you actually need ​

What you seeWhat to try firstWhy starting over is different
Nothing after a page refreshReopen the saved body for the original runThe delivery may already exist even if the page did not load it
The first section is present, but later work stoppedResume the original run with its existing sections and budgetA new run does not inherit that delivery or progress
No complete receipt from a dispatched model requestKeep the outcome unknown and check that attemptA timeout does not prove the provider never received it
The run says completed but the report file is missingCheck the original recording and its artifactsA newly generated report replaces the evidence rather than fixing the old one

A stream is not the same as recoverable delivery. Tokens displayed during generation may not be recoverable. A committed section saves its body and binds the evidence and any generated charts it used before displaying them. The published Open ETF Agent code makes ordered delivery a project opt-in. Its provider diagnostics distinguish a confirmed rejection from an unknown outcome; they are not a blanket retry switch.

Break one copy of a report ​

From the v1.0.25 repository root, use the supported Node 26 version and install the locked dependencies. The commands generate public synthetic fixtures. Replay the original first, then copy the artifacts and hide T1’s report. No real conversations are involved.

bash
mkdir -p runs
d=$(mktemp -d "$(pwd)/runs/intro-replay.XXXXXXXX")
npm run -s demo -- --case document-compare --output "$d/artifacts" > "$d/run.json"
npm run -s eval -- replay "$d/run.json" > "$d/baseline.json"

cp -a "$d/artifacts" "$d/broken"
first=$(node -e 'const p=require("node:path");const f=require(process.argv[1]);process.stdout.write(p.basename(f.cases[0].directory));' "$d/run.json")
mv "$d/broken/$first/report.md" "$d/broken/$first/report.hidden"
npm run -s eval -- replay "$d/run.json" --artifact-root "$d/broken" > "$d/candidate.json"
npm run -s eval -- compare-replay "$d/baseline.json" "$d/candidate.json"

Expect the comparator to return exit code 1: that is the regression you introduced. Find T1. Its original body verified, its copied body is missing, and the three untouched cases still pass. Neither replay nor comparison called a model. You deliberately made “finished before” and “readable now” disagree. Asking only whether the run succeeded would miss what the reader actually lost. See the replay command and field reference.

Know when to inspect a trace and when to inspect the artifact ​

An OpenTelemetry trace can help show where a request waited or which service first returned an error. A trace and a replay are not interchangeable. An execution trace does not prove the report can still be read from storage; a readable report does not prove its conclusions are correct. Replay lets you test readback on the same recording. For factual accuracy or model quality, use separate cases and criteria rather than treating these four fixtures as a leaderboard.

The first steps in a real incident are simple: preserve the original, try reading it back, resume the same work if it needs to continue, and compare the same cases when testing a fix. Starting a new run can still make sense, but it is not a diagnosis.

Engineering notes, evidence and boundaries. · Contact: hpoenixf@foxmail.com · WeChat: hpoenixf0510