Worker local · read-only lanes Folders 70 (11 real · 59 replays) Drafts dry-run only

FILE 04 · THE CODED INVESTIGATOR

A read-only investigator that drops uncited claims

I turned 88 multi-source investigation sessions into a local worker. It reads logs, code, knowledge, Sentry, and an opt-in identity vendor, then deletes every claim missing an evidence ID before an engineer makes the call.

Ownership
Owner-directed design and build. AI coding agents wrote much of the code under my direction and review.
Surface
Request table, per-source read-only lanes, an evidence-gating coordinator, and internal Slack card delivery.
Scope & split
88 owner-chained sessions (Jul–Dec 2026) preceded 70 investigator folders (11 real, 59 replays). Temporal and Metabase stay separate read-only tools (0 of 70 investigator runs).

01 · THE PROBLEM

Every ticket starts across separate tabs with no shared clock.

Queue pressure hits before the facts line up. On almost every technical escalation, the opening pass repeats: pull log rows, check expected code paths, scan past tickets, inspect Sentry traces, then reconstruct order by hand.

Scattered evidence slows the first read and invites early theories before the full record arrives. Standardizing that first pass puts dated records in front of the engineer before anyone argues a cause.

Scope boundary The worker prepares a consistent opening dossier; final diagnosis and customer decisions remain human work.

EXHIBIT 01A · FIRST-PASS INVESTIGATION Workflow friction
Before · Manual hunt Fragmented

Three tabs, three clocks

Logs
Narrow windows, retries
Code & KB
Separate repo + doc hunts
Sentry
Isolated stack traces

The engineer stitches timestamps from memory while the queue keeps growing.

After · Case card Ordered

One cited file

Lanes
5 read-only sources
Claims
Linked to evidence IDs
Output
Lean + next step + handoff

Dated evidence lands in one internal card before the engineer weighs in.

EVIDENCE FIRST HUMAN VERDICT SECOND

02 · PRACTICE TO CODE

The manual habit came first; code locked in the evidence gate.

From July through December 2026, I ran 88 multi-source sessions (some mixing tool work with case work) by chaining read-only lookups in agent sessions. Once the steps repeated reliably, I encoded them into a local worker with one read-only step per source, fail-closed redaction, up to two follow-up rounds, a four-level relevance scale, and per-source evidence caps.

Usage scope Eleven real runs leave daily queue coverage unmeasured; 59 of the 70 folders are replay measurements.

EXHIBIT 02A · TWO-STAGE ARCHITECTURE 70 folders: 11 real · 59 replays
  1. STAGE 01 Practice

    Owner agent-chained sessions

    88 sessions querying at least two investigation sources (Jul–Dec 2026; some mix tool development with tickets). Optional Temporal and Metabase lookups ran here.

  2. STAGE 02 Evidence gate

    Coded local investigator

    One read-only step per lane; up to 2 follow-up rounds; 4-level relevance cap; fail-closed redaction on stored and posted payloads; coordinator drops uncited claims in code.

    • Graylog
    • Code
    • RAG
    • Sentry
    • Sumsub (opt-in)
  3. STAGE 03 Decision

    Human engineer decides

    An internal Slack card delivers a working lean, cited claims, a next step, and a handoff when missing records sit with another team. Zero live customer or L3 sends.

Code-enforced gate Any claim missing a valid evidence ID gets deleted before the card renders.

Outside coded investigator · 0 of 70 runs

Temporal (workflow history) and Metabase (BI warehouse) remain separate read-only tools invoked optionally inside my owner-run agent sessions. Zero coded-investigator runs queried either tool.

03 · THE CASE CARD

Each card pairs cited facts with explicit gaps and a human handoff.

The coordinator classifies every run into one of four states—ours, user, unknown, or nothing_found—and pairs cited observations with confidence, a concrete next step, and a handoff target.

Dry-run limit Customer drafts and L3 escalation notes exist in dry runs only. Zero customer replies or live L3 posts leave this tool.

EXHIBIT 03A · REQUEST 82 · 30 NOV 2026 Synthetic example
STATE: UNKNOWN 4-LEVEL SCALE CONFIDENCE: MEDIUM
  • Graylog
  • Code
  • RAG
  • Sentry
  • Sumsub
[EV-01]

The payment entered the clearing workflow, with zero settlement events visible in the search window.

Graylog
[EV-02]

The cardholder’s latest clearing entry is absent from the recorded partner response payload.

Code + RAG
Dropped

Partner likely delayed settlement over the weekend cutoff.

Removed in code · missing evidence ID (illustrative example of gate behaviour)

Next step

Ask L2 to check the cardholder’s latest clearing record.

Handoff

Payments platform on-call

Working lean only · Engineer keeps the verdict Stored and posted text passes fail-closed redaction. Customer drafts and L3 notes stay in dry runs.

Inspect card anatomy · select to highlight

04 · REPLAY & COVERAGE

Two AI graders rated 19 of 24 blind ticket replays useful and found zero false claims.

Both graders scored the same 24 past tickets blind, with owner rulings on disagreements. The test measures diagnosis usefulness and factual discipline; resolution rate and time saved remain unmeasured.

24-ticket blind replay

Two independent AI graders with owner rulings · same 24 historical tickets

AI-graded

19 / 24

rated useful · 0 false claims recorded
Strict citation gaps 2 and 10 uncited clauses
19 useful (AI-graded) 5 fell short
Recorded run & output ledger Recorded
Total request folders
70
Real investigation runs
11
Replay measurement runs
59
Runs with a next step
7
Runs with a handoff
17
Dry-run customer drafts
2
Live customer or L3 sends
0
Grading caveat AI graders

AI graders with owner rulings scored the replay, leaving peer-engineer review absent. Twenty-four tickets signal early behaviour while leaving broad reliability unproven.

Source coverage across 70 request folders

55 of 70 investigator runs queried at least 3 sources · 11 real runs + 59 replays

Recorded

05 · AUDIT LEDGER

AI grading, 24 tickets, and 11 real runs define the honest boundary.

Every lane runs read-only by design, the coordinator deletes uncited claims, and all output lands internally. Open security and evaluation gaps sit explicitly on the right.

Established in this fileVerified scope

  1. Blind replay diagnosis signalAI-graded
    19 of 24 blind ticket replays rated useful across two independent AI graders (owner-ruled), with 0 false claims recorded.
  2. Code-level evidence gateRecorded
    The coordinator drops any claim lacking an evidence ID in code and runs fail-closed redaction on stored and posted text.
  3. Five-lane read-only coverageRecorded
    55 of 70 request folders queried at least 3 wired sources (Graylog 70, Code 68, RAG 53, Sentry 49, Sumsub 25).
  4. Actionable internal routingRecorded
    7 runs produced a next step, 17 produced a handoff, and 2 produced dry-run customer drafts.

Outside this recordBoundaries

  1. Engineer grading & strict citationsAI-graded
    Two AI graders scored the 24 tickets with owner rulings; peer-engineer grading remains absent, and strict citation checks logged 2 and 10 uncited clauses.
  2. General reliability & daily replacementNot measured
    24 tickets leave future reliability unproven. Eleven real runs leave daily queue share unmeasured and leave daily workflow replacement unestablished.
  3. Outcomes & colleague adoptionNot measured
    Before/after handling time, escalation precision, rework, resolution rate, and colleague usage remain unmeasured.
  4. Complete read-only hardeningUntested
    apply_patch remains present in the tool surface, and code-mode network access remains untested.
  5. Separate tools & dry-run outputBoundary
    Temporal and Metabase ran in 0 of 70 investigator runs. Customer drafts and L3 escalation messages stay dry-run only.