Report 01 / Support knowledge

Support knowledge and controlled access

Support answers are spread across documentation, old tickets and a dozen tools. I built a weekly refresh that keeps them in one place, and search that respects who is asking.

Role
I designed and built the refresh, the access rules and the agent plugin.
Output
A weekly refresh, two search indexes, permissioned APIs and an MCP endpoint.
Scope
Twenty-two internal sources. Three API endpoints use personal tokens. One is shared by an engineering group.
State
Live. Last full refresh: 16 October 2026.

Why I built it

A refresh can finish without collecting anything new. A stale page looks exactly like a current one, so a confident answer can be months out of date.

The second problem is access. Support history contains material that not every colleague should read, so search has to know who is asking before it returns a row.

How it works

I start the refresh each week. It prepares the changed items, sends them through CLI batch lanes, and reconciles the results one item at a time before anything is indexed. A batch that reports success is not accepted as proof that every item arrived.

  • Two indexes are loaded from the same collection, so a partial or divergent load shows up immediately.
  • Permissioned access runs through search APIs, an MCP endpoint and a plugin for Claude Code and Codex.
  • Supersession is explicit. A page is marked as replaced. It is never quietly deleted.

Removing content stays a human decision. The system shows me what replaced what and leaves the deletion to me.

What I own

Solo design and build: the refresh pipeline, the permission rules, the comparison tooling, the plugin and the operating notes an operator follows.

Where it runs

Live, run weekly by hand. Last full refresh: 16 October 2026.

The search APIs and agent endpoints run on our internal test n8n instance. Three endpoints use personal tokens. One is shared by an engineering group.

Removal is manual. The collection carries source status and supersession, and does not infer what to delete.

Results

Support knowledge · results and what they cover
ResultWhat it covers
83.73%Queries that found the right document first. 553 answerable of 687 cases, 25 September 2026.
93.67% · 96.56%Same evaluation, top five and top ten. Mean reciprocal rank: 0.8823.
13,604 items22 sources, 40,590 chunks. Snapshot of 16 October 2026.
40,590 of 40,590Vectors agreed between an incremental sync and a full reload, after two fixes.
20 of 20 queriesMatched between the JavaScript ports and the Python reference at search, rerank and presentation.

The 20-query comparison is a separate check from the extraction and presentation tests that run on each build.

What this does not show

  • Retrieval scores measure whether the right document was found, not whether an answer was correct.
  • The 553-question set is mine, not an independent benchmark.
  • A separate 389-case result from August used a different question set. The scores do not compare, and I do not present them as a trend.
  • Usage, adoption and time saved are not measured.
  • If nobody starts the refresh, the week passes silently. That is an operating risk, not a monitoring feature.

Next

When a ticket needs evidence rather than an answer, the next report covers the log, code and client-error tools.