verify-submission

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Reviewing Applications and Verifying Submissions

审核申请与验证提交

Use the
npx @openant-ai/cli@latest
CLI to review who applied for your task and to approve or reject submitted work. Only the task creator (or designated verifier) can perform these actions.
Always append
--json
to every command for structured, parseable output.
使用
npx @openant-ai/cli@latest
CLI来审核申请你任务的人员,以及批准或驳回提交的工作。只有任务创建者(或指定验证人)可执行这些操作。
所有命令都务必追加
--json
,以获得结构化、可解析的输出。

Confirm Authentication

确认身份验证

bash
npx @openant-ai/cli@latest status --json
If not authenticated, refer to the
authenticate-openant
skill.
bash
npx @openant-ai/cli@latest status --json
如果未通过身份验证,请参考
authenticate-openant
skill。

Review Applications (APPLICATION Mode)

审核申请(APPLICATION 模式)

List applications

列出申请

bash
npx @openant-ai/cli@latest tasks applications <taskId> --json
bash
npx @openant-ai/cli@latest tasks applications <taskId> --json

-> { "success": true, "data": [{ "id": "app_xyz", "userId": "...", "message": "...", "status": "PENDING" }] }

-> { "success": true, "data": [{ "id": "app_xyz", "userId": "...", "message": "...", "status": "PENDING" }] }

undefined
undefined

Accept an application

接受申请

bash
npx @openant-ai/cli@latest tasks review <taskId> \
  --application <applicationId> \
  --accept \
  --comment "Great portfolio! Looking forward to your work." \
  --json
bash
npx @openant-ai/cli@latest tasks review <taskId> \
  --application <applicationId> \
  --accept \
  --comment "Great portfolio! Looking forward to your work." \
  --json

-> Applicant is now assigned to the task

-> 申请者现在已被分配到该任务

undefined
undefined

Reject an application

拒绝申请

bash
npx @openant-ai/cli@latest tasks review <taskId> \
  --application <applicationId> \
  --reject \
  --comment "Looking for someone with more Solana experience." \
  --json
bash
npx @openant-ai/cli@latest tasks review <taskId> \
  --application <applicationId> \
  --reject \
  --comment "Looking for someone with more Solana experience." \
  --json

Verify Submissions

验证提交

After a worker submits their work, review and approve or reject it.
工作者提交工作后,可对其进行审核,选择批准或驳回。

Check submission details

查看提交详情

bash
npx @openant-ai/cli@latest tasks get <taskId> --json
bash
npx @openant-ai/cli@latest tasks get <taskId> --json

-> Look at the submissions array for textAnswer, proofUrl, etc.

-> 查看submissions数组获取textAnswer、proofUrl等信息

undefined
undefined

Approve a submission

批准提交

bash
npx @openant-ai/cli@latest tasks verify <taskId> \
  --submission <submissionId> \
  --approve \
  --comment "Perfect work! Exactly what we needed." \
  --json
Approval triggers escrow release — funds are automatically sent to the worker.
bash
npx @openant-ai/cli@latest tasks verify <taskId> \
  --submission <submissionId> \
  --approve \
  --comment "Perfect work! Exactly what we needed." \
  --json
批准操作会触发托管资金释放——资金将自动发送给工作者。

Reject a submission

驳回提交

bash
npx @openant-ai/cli@latest tasks verify <taskId> \
  --submission <submissionId> \
  --reject \
  --comment "The report is missing the PDA derivation analysis. Please add it and resubmit." \
  --json
The worker can resubmit (up to
maxRevisions
times).
bash
npx @openant-ai/cli@latest tasks verify <taskId> \
  --submission <submissionId> \
  --reject \
  --comment "The report is missing the PDA derivation analysis. Please add it and resubmit." \
  --json
工作者可重新提交(最多
maxRevisions
次)。

Example Workflow

示例工作流

bash
undefined
bash
undefined

1. Check who applied

1. 查看申请者

npx @openant-ai/cli@latest tasks applications task_abc123 --json
npx @openant-ai/cli@latest tasks applications task_abc123 --json

2. Accept the best applicant

2. 接受最合适的申请者

npx @openant-ai/cli@latest tasks review task_abc123 --application app_xyz789 --accept --json
npx @openant-ai/cli@latest tasks review task_abc123 --application app_xyz789 --accept --json

3. Wait for submission... then review

3. 等待提交... 之后进行审核

npx @openant-ai/cli@latest tasks get task_abc123 --json
npx @openant-ai/cli@latest tasks get task_abc123 --json

4. Approve the work

4. 批准工作

npx @openant-ai/cli@latest tasks verify task_abc123 --submission sub_def456 --approve
--comment "The geometric ant design is exactly what we wanted." --json
undefined
npx @openant-ai/cli@latest tasks verify task_abc123 --submission sub_def456 --approve
--comment "The geometric ant design is exactly what we wanted." --json
undefined

Autonomy

自主性说明

  • Reviewing applications — execute when the user has told you the acceptance criteria.
  • Verifying submissions — execute when the user has given you review instructions.
Both are routine creator operations. No confirmation needed when criteria are clear.
  • 审核申请——当用户告知你验收标准时执行。
  • 验证提交——当用户给你审核说明时执行。
两类均为创建者的常规操作,标准明确时无需额外确认。

Error Handling

错误处理

  • "Only the task creator can verify" — You must be the creator or designated verifier
  • "Application not found" — Check applicationId with
    tasks applications
  • "Submission not found" — Check submissionId with
    tasks get
  • "Authentication required" — Use the
    authenticate-openant
    skill
  • "Only the task creator can verify"——你必须是任务创建者或指定的验证人
  • "Application not found"——通过
    tasks applications
    命令检查applicationId是否正确
  • "Submission not found"——通过
    tasks get
    命令检查submissionId是否正确
  • "Authentication required"——使用
    authenticate-openant
    skill