J.
15 / 100

Context pruning

Fix OAuth refresh bug.

How useful is this fragment for the current task?

Keep91%
Summarize6%
Drop3%
// Conceptual pseudocode — not Jev SDK syntax
const state = {
  "current_task": "Fix OAuth refresh bug.",
  "fragment": "Trace of refresh token expiry from yesterday."
};

const decision = await evaluateDecision({
  state,
  question: "How useful is this fragment for the current task?",
  options: ["Keep","Summarize","Drop"],
});

// Your adapter normalizes the provider response.
// Tune this example threshold on labelled data.
if (decision.outcome === "Keep"
    && decision.probability >= 0.85) {
  retainContext(decision);
} else {
  queueForReview(decision);
}

Let the application keep.