Skip to main content

VerifiableUserInstruction

@mandaitor/sdk


@mandaitor/sdk / VerifiableUserInstruction

Interface: VerifiableUserInstruction

Defined in: @mandaitor/sdk/dist/types.d.ts:208

Experimental

Verifiable User Instruction. Captures the human's original instruction in a machine-readable, cryptographically signed form that gets embedded into PoM tokens.

Properties

constraints_derived?

optional constraints_derived?: object

Defined in: @mandaitor/sdk/dist/types.d.ts:225

Experimental

Constraints derived from the instruction (advisory, not enforced)

allowed_actions?

optional allowed_actions?: string[]

max_amount?

optional max_amount?: number

time_bound?

optional time_bound?: string


instruction_channel

instruction_channel: InstructionChannel

Defined in: @mandaitor/sdk/dist/types.d.ts:216

Experimental

Channel through which the instruction was received


instruction_hash

instruction_hash: string

Defined in: @mandaitor/sdk/dist/types.d.ts:212

Experimental

SHA-256 hex digest of the original (plaintext) instruction_text


instruction_text

instruction_text: string

Defined in: @mandaitor/sdk/dist/types.d.ts:210

Experimental

Original instruction text (encrypted at rest via KMS envelope encryption)


instruction_timestamp

instruction_timestamp: string

Defined in: @mandaitor/sdk/dist/types.d.ts:214

Experimental

ISO 8601 timestamp when the instruction was captured


principal_confirmation

principal_confirmation: object

Defined in: @mandaitor/sdk/dist/types.d.ts:218

Experimental

How the principal confirmed the instruction

evidence_ref?

optional evidence_ref?: string

Reference to evidence (chat log URL, email message-id, etc.)

method

method: ConfirmationMethod

timestamp

timestamp: string