Start with the knowledge in the response

A coding assistant might explain how private components interact, preserve the logic of a transformed function, or assemble details scattered across files. Literal matching can identify copied text. Assessing whether a response conveys specific implementation knowledge requires examining its meaning against source evidence.

That observation has to remain separate from its context. A source grounded explanation may be authorized and appropriate. Exposure alone establishes neither external transfer nor wrongdoing, sensitivity or intent. Missing context stays unknown; taking no action can be a legitimate review outcome.

Extract the claim, then select evidence

The harness compares literal matching, direct model assessment, and a two stage approach. In the two stage approach, extraction sees the assistant response alone. A separate verification stage checks those same claims against supplied source. This preserves the distinction between what the assistant said and information a model encountered while reading the implementation.

Each case contains bounded source text. Model stages receive no evaluator reference records, tools, retrieval or historical context, and oversized cases are rejected rather than shortened. The resulting record makes the scope of an assessment explicit: it concerns this response and this supplied evidence.

For a reviewer, the useful unit is a candidate claim linked to selected source passages. The experiment asks whether that link represents implementation knowledge actually conveyed in the response. A model assessment remains a candidate for semantic review.

FOLLOW THE EVIDENCE

One candidate claim, three separate decisions

  1. Extract from the assistant response

    The extraction stage receives the response alone and identifies the claims actually expressed there.

    response → claim IDs
  2. Verify against the supplied source

    The next stage compares those same claims with bounded source context. Code resolves selected line ranges into exact quotations and character spans.

    same claim IDssource ranges → exact spans
  3. Review support and specificity

    A human reviewer judges whether the evidence supports an implementation specific claim. A valid text location does not establish semantic correctness or malicious intent.

    semantic judgments remain separate
Diagram of the implemented two stage feasibility strategy and its separate human review boundary. Literal matching and direct source/output assessment are alternative strategies in the harness. The flow is an experiment in evidence handling; it does not depict a validated monitoring product or automatic enforcement.

Make source locations deterministic

The model selects evidence; code resolves its location. The harness assigns lossless line identifiers to supplied source and response text. Selected ranges become character spans and quotations copied from the original strings. Unknown identifiers, reversed ranges and ranges crossing files are rejected.

This gives a reviewer an exact place to inspect. A valid location establishes that the cited text exists there. Whether it supports the claim, expresses implementation specific knowledge or concerns sensitive material requires a separate judgment.

The review format keeps claim and evidence context alongside pending semantic judgments. Human reviews are bound to prediction and reference digests, so changed inputs require renewed review. Location checks cannot establish the semantic correctness of a finding.

Keep the review history and open questions visible

The optional local dashboard stores classification inputs, raw results, metadata and scoring revisions in SQLite. Rescoring creates a linked revision; a failed revision remains visible. This supports inspection of how a classification result changed without replacing earlier evidence.

Classification separates requested activity, response behavior and supplied content. Its raw multilabel strengths are uncalibrated and do not express exposure severity or probabilities of correctness. Organizing records for inspection and evaluating source support are distinct tasks.

Development, validation and held out cases remain separate, with labels awaiting qualified human review. Held out assessment needs frozen inputs and reviewed references before detection quality can be measured. The present contribution is an inspectable research workflow: candidate claims, selected evidence, deterministic locations and a format for human semantic review. Questions about provider retention, model training or downstream reuse require evidence beyond the supplied response and source.