The skill caused the failure
A failed run may originate in routing, a tool adapter, missing evidence, the evaluator, or stochastic execution.
A requirement-aware, regression-controlled framework for changing persistent LLM-agent skills only when the evidence supports the right intervention.
Existing skill-evolution systems are good at proposing edits, but often begin from an untested premise: that the user named the right problem and that a skill rewrite is the right remedy. GSE adds an epistemic gate before evolution and an empirical gate after it. The system may clarify, repair another component, retain the incumbent, or promote a candidate only after paired evidence.
Before changing persistent behavior, the system must test the request, the diagnosis, and the target objective—not merely the proposed wording.
A failed run may originate in routing, a tool adapter, missing evidence, the evaluator, or stochastic execution.
“More detailed” may be a proxy for evidence linkage, decision usefulness, completeness, or simply confidence.
A triggering example is selected evidence. It does not show that a global rule will generalize.
The system chooses among clarify, revise the skill, repair another component, and retain the incumbent.
The first gate makes the intended change falsifiable. The second asks whether the candidate produces a meaningful held-out gain without breaking preserved behavior.
Extract objective, problem, evidence, constraints, invariants, and exclusions.
R = (O, P, E, C, I, N)Ask only when the answer can alter the intervention or acceptance criteria.
INFORMATION VALUECompare skill, routing, tool, data, model, evaluator, and execution causes.
WHERE TO INTERVENEDefine target behavior, smallest meaningful gain, invariants, and scope.
TESTABLE HYPOTHESISEvery change must map to a diagnosed defect or contract requirement.
s′ = s + ΔRun matched source, held-out, regression, and challenge cases.
ACCEPT · REJECT · RETESTInspired by Matt Pocock's grilling pattern, GSE models requirement discovery as a dependency tree. Each round asks the current frontier: decisions whose prerequisites are settled. Facts are investigated by the agent; value judgments remain with the user.
Advance through the frontiers. Later questions appear only after upstream choices make them meaningful.
Mechanism adapted from Matt Pocock's grilling design tree. The cost-aware stopping rule, failure-owner branches, evidence updates, and promotion contract are GSE extensions.
Select a hidden root cause. The visible complaint remains similar, but the correct intervention changes.
The contract is the stable interface between what the user means, what the editor changes, and what the evaluator measures.
Without an explicit target, an editor can optimize surface proxies such as length, section count, or confident tone.
Recent systems already use traces, held-out gates, and multi-objective search. GSE adds an earlier decision boundary: whether skill mutation is the correct intervention and what objective should govern it.
Change the hidden request type and switch the two guards on or off. The projection illustrates the hypotheses the experiment will test; it is not a reported result.
A conceptual model of expected behavior across request categories.
The hidden oracle state, not visible to the method.
Adaptive elicitation, root-cause analysis, and change contract.
Incumbent comparison, held-out cases, and regression threshold.
Elicitation recovers the actual analytical objective; paired evaluation checks that the resulting revision generalizes without damaging citations or brevity.
The design separates requirement understanding from version control instead of comparing one large framework against a weak baseline.
Thirty base skills across coding, documents, research, and operational tool use; balanced across twelve request types.
Trigger repair, target generalization, preserved behavior, and challenge cases with matched seeds and environments.
Reward the correct decision—even when that means clarification, a non-skill repair, or retaining the incumbent.
| CONDITION | REQUIREMENT GUARD | VERSION GUARD | ROLE |
|---|---|---|---|
| No change | — | Incumbent only | Lower-bound reference |
| Direct evolution | No | No | Conventional rewrite baseline |
| Elicitation only | Yes | No | Isolate requirement contribution |
| Evaluation only | No | Yes | Isolate version-gate contribution |
| Full GSE | Yes | Yes | Test joint and interaction effects |
| Oracle specification | Complete oracle | Yes | Upper-bound requirement condition |
Macro-F1 over clarify, revise skill, repair another component, and retain.
EDA = MacroF1(action, oracle_action)Held-out gain adjusted for regression severity, compute, and interaction burden.
NEU = ΔQ − λrR − λcC − λiIAccepted revisions that perform meaningfully worse than the incumbent on locked tests.
HER = harmful_promotions / promotionsSkill edits made when the oracle action is retention or repair outside the skill layer.
UER = wrong_skill_edits / oracle_no_editSkill evolution is a selective intervention problem—not an automatic rewrite operation.
A reliable system must infer the true objective, identify the correct failure owner, and require comparative evidence before changing persistent agent behavior.