Skip to content

Interface: SelfHealingConfig

Defined in: packages/core/src/introspection/ContractAwareSelfHealing.ts:38

Configuration for contract-aware self-healing.

Properties

activeDeltas

ts
readonly activeDeltas: ReadonlyMap<string, ContractDiffResult>;

Defined in: packages/core/src/introspection/ContractAwareSelfHealing.ts:44

Active contract diff results, keyed by tool name. Populated at server startup by diffing current contracts against the last known-good lockfile.


includeAllSeverities?

ts
readonly optional includeAllSeverities: boolean;

Defined in: packages/core/src/introspection/ContractAwareSelfHealing.ts:50

Whether to inject deltas for all severity levels. Default: only BREAKING and RISKY.


maxDeltasPerError?

ts
readonly optional maxDeltasPerError: number;

Defined in: packages/core/src/introspection/ContractAwareSelfHealing.ts:57

Maximum number of deltas to inject per error. Prevents context flooding from large diffs. Default: 5.