Interface: ContractRouteFixture
Properties
cancellation?
readonlyoptionalcancellation?:object
Cancellation case: invocation aborted mid-flight must settle rejected and
leave the session usable. The input must stay in flight past
abortAfterMs (default 50ms); an invocation that settles before the abort
fires is reported not-applicable, not failed.
abortAfterMs?
readonlyoptionalabortAfterMs?:number
input?
readonlyoptionalinput?:unknown
input?
readonlyoptionalinput?:unknown
Valid input for the sweep invocation (tools/prompts; resources need none).
inputs?
readonlyoptionalinputs?: readonlyunknown[]
Additional valid inputs — e.g. one per declared status/discriminant value.
kind?
readonlyoptionalkind?:"resource"
'resource' marks a resource/MCP App fixture (see ContractResourceFixture).
Omit it for tool and prompt fixtures; a legacy {} still covers a
resource or app route.
lifecycle?
readonlyoptionallifecycle?:ContractLifecycleFixture
Optional stateful replay over this matrix run's single open client.
previousResults?
readonlyoptionalpreviousResults?: readonlyunknown[]
Serialized payloads captured from previous server versions; each must parse
under the CURRENT resultSchema (previous-server + current-client skew).
resultCompat?
readonlyoptionalresultCompat?:ResultCompatPolicy
Declared serialized-result compatibility policy. REQUIRED for tool routes.