Interface: ContractDelta
Defined in: packages/core/src/introspection/ContractDiff.ts:43
A single atomic change in a tool contract.
Designed to be human-readable, machine-diffable, and injectable into LLM correction prompts (Self-Healing Context).
Properties
after
readonly after: string | null;Defined in: packages/core/src/introspection/ContractDiff.ts:55
New value (serialized)
before
readonly before: string | null;Defined in: packages/core/src/introspection/ContractDiff.ts:53
Previous value (serialized)
category
readonly category: DeltaCategory;Defined in: packages/core/src/introspection/ContractDiff.ts:45
Which part of the contract changed
description
readonly description: string;Defined in: packages/core/src/introspection/ContractDiff.ts:51
Human-readable description of the change
field
readonly field: string;Defined in: packages/core/src/introspection/ContractDiff.ts:47
Specific field or sub-path that changed
severity
readonly severity: DeltaSeverity;Defined in: packages/core/src/introspection/ContractDiff.ts:49
Severity classification