Function: signAgreement()
signAgreement(
input):Promise<SignState>
Defined in: src/server/actions/agreements.ts:28
Contractor signs one agreement in-app. The body is re-derived + merged SERVER-SIDE (never trusted from the client) and hashed with the signer's name + date, then written to the immutable ledger with the request IP/UA. The unique (contractor, kind, party) constraint makes a re-sign a no-op error. See ADR-0031.
Parameters
input
infer
Returns
Promise<SignState>