AxOptimizableValidator
type AxOptimizableValidator = (value: string) => true | string;Defined in: https://github.com/ax-llm/ax/blob/5b28f9093bb70863b59459bb6df5062d005bce41/src/ax/dsp/optimizable.ts#L11
Generic component-optimization surface that any AxProgrammable can implement.
GEPA (and any future reflective optimizer) discovers what can be optimized by
calling getOptimizableComponents() on a program tree, mutates the returned
string values, and broadcasts the updates back via applyOptimizedComponents().
The optimizer learns nothing about specific artifact kinds — each program owns
its own dispatch and tree traversal.
Parameters
| Parameter | Type |
|---|---|
value | string |
Returns
true | string