Repository navigation
Description
Context
In spike #3434 (docs/plans/extraction-classifier.md, from #4071), Jev judged the heuristics' ambiguous band: score at or above 0.2 and below 0.35, in practice mostly links the tainting content named, and pagination cursors. It used jev-1.13.0, three repetitions, a calibrated confidence floor of 0.9, and a state limited to the outgoing request, the taint source's name and the overlap score.
On held-out it cut benign cards from 11 to 3 of 33, and on the realistic session from 7 to 2 of 22, with no added leak. Answers were identical across the three repetitions. The measured cost was about $0.00003 per call, with p50 latency 155 ms and p95 194 ms. The whole 52-call run cost $0.00152.
The plan records the limit of that evidence: no held-out extraction call reached the band. In tuning, Jev labelled an injected beacon benign at 0.82–0.88, and only the floor kept it on the card.
The host-side client is createJevClient (packages/ui-server/src/classification/jev-client.ts:99, 2 s budget with a breaker), verified at main 3b104890f. Data-to-provider routing is G2 (docs/decisions/governed-writable-workers.md, "Data-to-provider routing (G2)").
Part of #3428.
Blocked by #4088
Scope
- In the classifier from the blocking task, send only ambiguous-band calls to Jev through the host-side client. The question and state are as the plan records them: the outgoing request (body truncated at 2000 characters), the taint source's display name and the overlap score. Never the conversation, the untrusted content or the read files.
- Map answers to bands as the plan does:
benignallows andextractionblocks only at or above the floor;suspicious, a sub-floor answer, no answer, a timeout, an open breaker or an unexpected answering model asks. - Route the call under G2, meter it as its own operation and charge it to the session's budget. Pin the evaluated model, and make the floor and the setting configurable.
- A setting that turns the judge on, off by default and only effective while the heuristic classifier is on.
Out of scope
- Enabling the judge by default. That waits on the band requalification task and a maintainer ruling.
- Any change to the heuristic tiers or to what the judge may relax: only the ui-sdk: a tainted session's new destination is refused silently instead of asking the user #3430 card, as in the blocking task.
- Live provider calls in tests.
Acceptance criteria
- A keyless test with a stub at the lowest shared request method shows that only ambiguous-band calls reach the judge. It also shows the request carries only the request, the taint source's name and the overlap, and that no read-file text or tainting content appears in it.
- A benign answer at or above the floor admits a new host without the card. A sub-floor answer,
suspicious, no answer, a timeout, an open breaker and a different answering model each raise the card. Each case has a named test. - Each judge call is metered under G2 and charged to the session budget. An exhausted budget asks without calling.
- Voice and autonomous turns never call the judge and keep refusing.
- No verdict enters the provider-facing conversation. The provider-history guard passes.
- Replaying the recorded Spike: classify a tainted session's outgoing calls for likely data extraction, with heuristics first and JEV for the ambiguous band #3434 answers through the production mapping reproduces the plan's heuristics-plus-Jev row: held-out 1 leak and 3 benign cards; realistic 2 of 22.
- Mutation receipts in the PR: dropping the floor, and treating no answer as benign, each fail a named test.
Verification
Keyless ui-server tests with a deterministic stub, the budget and metering tests, the provider-history guard and the replay regression. Live measurement stays outside CI.
Contract impact
Additive: the settings and the metered operation name, documented with a CONTRACT: commit and a changeset.
Activity
test(evals): record the live Jev extraction-band run and the recommen…
test(evals): measure an extraction classifier for tainted sessions' o…
CONTRACT: feat(ui-server,common): judge a tainted session's outgoing …
schlessera commentedon Nov 16, 2026
Unblocked: #4088 is closed, so
scripts/sync-project.tsis removing theblockedlabel.schlessera commentedon Nov 16, 2026
Claimed for implementation. Claim token:
claim-366f60c2. Branch:feat/4089-jev-extraction-band.collisions: closure-only (no direct path overlap)
schlessera commentedon Nov 16, 2026
Merged in #4101 as
0ef4dff5athrough the integration lease (orchestrator merge queue for 0.45.0). Candidate confirmation passed on the exact head; the squash's own main run carries the post-merge heavy categories.docs(plans): record the #4090 band requalification: Jev clears extrac…
test(evals): requalify the Jev extraction band with extraction cases …
schlessera commentedon Nov 17, 2026
Decision (maintainer, 2026-11-17): keep
taint.judge.mode: jevoff by default. The #4090 live requalification (PR #4123) showed that at the 0.9 floor Jev let extraction calls through in every repetition, never refused one, and that no floor separates benign from extraction answers. Recalibrating on the new tuning sessions picks 1.01, which admits nothing. A follow-up issue will try to improve the judge on the #4090 labelled set before activation is reconsidered.schlessera commentedon Nov 17, 2026
Follow-up filed: #4161 (find a judge configuration that separates the band before activation is reconsidered).
schlessera commentedon Nov 17, 2026
Merged in #4164 as
9f9147f0ethrough the integration lease (orchestrator merge queue for 0.45.0). Candidate confirmation passed on the exact head; the squash's own main run carries the post-merge heavy categories.