Skip to main content

Interface: ApproveSignoff

Defined in: packages/core/src/application/use-cases/approve-signoff.ts:26

Records a signoff, then transitions the change to signed-off.

Requires the signoff gate (approvals.signoff: true) to be active. Artifact hashes are computed internally from the change's artifacts on disk, using schema-defined pre-hash cleanup rules.

Methods

execute()

execute(input): Promise<Change>

Defined in: packages/core/src/application/use-cases/approve-signoff.ts:61

Executes the use case.

Parameters

input

ApproveSignoffInput

Signoff parameters

Returns

Promise<Change>

The updated change

Throws

If the signoff gate is not enabled

Throws

If no change with the given name exists

Throws

If the change is not in pending-signoff state