Retrieval drift: the wiki changed and nobody told the agent
A client's wiki restructure dropped their support agent from 92% to 78%. How the monthly eval run caught retrieval drift, and what the report shows.
A support agent can get worse without anyone touching it. Nobody changed the code, the prompt or the model. The documents underneath it changed. This is how one client’s wiki restructure dropped their agent from 92% to 78%, and how the monthly eval run caught it before the support team did.
The client and the change
The client is an 80-person B2B software company on a Nerve Retainer. Their support agent answers from an internal wiki and the public help centre. It had been live for seven months. Its monthly scores had sat between 88% and 94% on a fifty-case suite.
In month seven, the operations team reorganised the wiki. In one week:
- 140 pages moved to new sections.
- 31 pages were merged into 9 longer pages.
- The pricing tiers were renamed. “Team” became “Growth” and “Business” became “Scale.”
This was good housekeeping. Nobody thought to tell us, and nobody should have to. A wiki is supposed to change.
What the agent did
The sync job handled the moves correctly. Page IDs stayed the same, so moved pages were re-indexed in place. The merges were the problem.
The 31 old pages were deleted, and the sync removed them from the index, as it should. The 9 merged pages were three to four times longer than the originals. Our chunker splits pages by heading and length. On the merged pricing page, the tier comparison table landed in a chunk with no heading above it: rows of numbers next to the words “Growth” and “Scale.”
Customers kept asking about “the Team plan.” The help centre still used the old names in 20 articles. The wiki used the new ones. The retriever found partial matches in both, and the agent stitched together answers that mixed old and new tier limits.
Nothing crashed. No error was logged. Answers kept going out, and every one had a citation pointing to a live page.
What the monthly run showed
The month-seven run scored 39 of 50, down from 46 of 50 the month before. The drift report puts the two runs side by side:
drift report suite: core-50 prev: ev-1014 curr: ev-1111
score 46/50 (92%) -> 39/50 (78%)
top-5 retrieval hit 47/50 (94%) -> 35/50 (70%)
mean top-1 similarity 0.82 -> 0.74
cited pages moved 0 -> 23
cases changed PASS->FAIL: 8 FAIL->PASS: 1
The case list shows which ones moved:
run_id case_id expected got result
ev-1111-006 plan_seat_limit_team answer+cite answer+wrong_doc FAIL
ev-1111-014 upgrade_team_to_biz answer+cite answer+wrong_doc FAIL
ev-1111-022 api_quota_by_tier answer+cite answer (no cite) FAIL
ev-1111-029 sso_on_lower_tier clarify answer+cite FAIL
ev-1111-037 invoice_copy_request answer+cite answer+cite PASS
ev-1111-043 overage_charge_query escalate:billing escalate:billing PASS
Six of the eight new failures were pricing or tier questions. The pattern was clear within ten minutes of opening the report.
The top-5 hit rate is the number we read first. It measures whether the document a case expects shows up in the top five retrieved chunks. When it drops and the model has not changed, the documents have.
Some of that drop was our own fault. Seven cases expected page IDs that the merge had deleted. Those labels were stale, not the agent. We re-mapped them to the merged pages before reading anything else, so the rest of the report measured the agent and not our bookkeeping.
The slower signal
The same drift showed up in live traffic, later and less clearly. The handoff rate rose from 38% to 47% over three weeks, as the agent’s confidence check routed more pricing questions to people. That is the signal most teams notice first. By the time it shows up in a weekly report, the agent has spent weeks giving mixed answers on the questions closest to revenue.
The eval run caught it 9 days after the restructure. At that point the handoff rate had moved 3 points, which is inside normal weekly variation for this client.
The fix
The repair took 6 hours of retainer time:
- Re-mapped 7 labels to the merged pages.
- Changed the chunker so every chunk carries its page title and nearest heading, tables included.
- Added a synonym map for the old tier names, since customers will say “Team plan” for years.
- Sent the list of 20 help centre articles still using old names to the client’s docs owner.
- Added 4 cases on the renamed tiers.
The re-run scored 47 of 50 on the core suite and 4 of 4 on the new cases. The top-5 hit rate went back to 48 of 50.
Catching it sooner
Monthly is a schedule, not a guarantee. We now watch the wiki’s change feed. Any week with more than 20 changed pages triggers an off-cycle eval run within 48 hours. This restructure touched 171 pages in one week. It would have triggered on day 2.
Drift does not only come from documents. Model updates from the provider, new product launches and changed handoff rules all move scores. The monthly run catches all of them with one number and one list of cases.
Monthly eval runs, drift reports and the fixes that follow are what the Nerve Retainer covers.