Function: executeUpdatePartitionContract()
ts
function executeUpdatePartitionContract<THandle>(params): Promise<{
newEpoch: number;
partitionId: string;
}>;Defined in: runtime/plan/execute-plan-mutation.ts:363
Executes the updatePartitionContract capability tool against the run's isolated CoW TopologyStore overlay (SPEC.md §3.3).
Tags the overlay update with ctx.stepExecId so step-scoped .retry() or .replaceWith() rollbacks preserve prior completed steps' contract mutations.
Type Parameters
| Type Parameter | Default type | Description |
|---|---|---|
THandle | unknown | Runtime handle type of the active isolation scope. |
Parameters
| Parameter | Type | Description |
|---|---|---|
params | PlanMutationParams<THandle> | Plan mutation parameters with contractUpdate and topologyStore. |
Returns
Promise<{ newEpoch: number; partitionId: string; }>
Updated partition ID and overlay epoch.