ReaffirmOperation
Reaffirm operation accepted by client.commit.apply. Edits an assertion’s
affirmation snapshot — the set of pinned target versions the claim is
affirmed for — without changing claim data. Mints a new assertion version
with body and dataHash copied from the current one.
https://docs.warmhub.ai/writes/operations/#reaffirm-operations
Properties
Section titled “Properties”operation
Section titled “operation”operation:
"reaffirm"
Operation discriminator. Required.
name:
string
Assertion to reaffirm: Shape/name.
optionalkind?:"assertion"
Optional kind safety hint; reaffirm applies only to assertions.
optionaladd?:string[]
Pinned target wrefs (Shape/name@vN) to affirm. A target already in the
set is reported as ignored, not an error.
remove?
Section titled “remove?”
optionalremove?:string[]
Pinned target wrefs to stop affirming. A target not in the set is
reported as ignored, not an error. Prior versions keep their snapshots.
expectedVersion?
Section titled “expectedVersion?”
optionalexpectedVersion?:number
Optional optimistic-concurrency precondition, as on revise/retract. The new set is computed from the live current snapshot, so concurrent deltas merge without it; supply it when the edit must apply to the exact version you read.
leaseId?
Section titled “leaseId?”
optionalleaseId?:string
Optional read-lease token (#3625), as on revise/retract.