GuardExplanation
Defined in: types.ts:405
Explanation attached to every guard violation for transparency.
Properties
actual
readonlyactual:string|number
Defined in: types.ts:411
The actual observed value.
evidence?
readonlyoptionalevidence?:string
Defined in: types.ts:415
Optional historical evidence supporting the threshold.
rule
readonlyrule:string
Defined in: types.ts:407
The guard rule name (e.g., 'max-depth', 'timeout').
source
readonlysource:"static"|"soma-policy"|"adaptive"|"assertion"
Defined in: types.ts:413
Where the threshold came from.
threshold
readonlythreshold:string|number
Defined in: types.ts:409
The configured threshold that was exceeded.