nayori_client_create_job
Create an evaluable Nayori job on Stacks with hashed acceptance criteria for managed evaluator review. Job creation only; funding is a separate human wallet action.
Instructions
WRITE (mainnet). Act as a CLIENT: create an evaluable Nayori job on the escrow (create-job). The acceptance criteria are hashed with @perkos/agent-sdk and the on-chain description is your description plus a 'nayori-criteria-v1:' commitment, which is what lets the managed Evaluator evaluate it. Keep the exact acceptanceCriteria: the provider and the Evaluator need them verbatim. Default evaluator is the Nayori managed Evaluator. Expiry is current tenure height + expiresInTenures (default 144). Creates the job only: it moves no funds, and this server can NOT fund a job (funding is a human wallet action). The new job id is the (ok uN) result shown by nayori_tx_status. Returns a txid; broadcast is not confirmation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asset | Yes | ||
| provider | No | Optional provider to assign at creation. Usually omitted; assign after applications. | |
| evaluator | No | Evaluator principal. Default: the Nayori managed Evaluator. | |
| description | Yes | Plain job description, printable ASCII, max 428. The criteria commitment is appended automatically. | |
| expiresInTenures | No | Expiry window in tenures (about one Bitcoin block each). Default 144. | |
| acceptanceCriteria | Yes | The job's acceptance criteria. They are hashed into the on-chain commitment, so keep the exact text. |