verify-submission
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseReviewing Applications and Verifying Submissions
审核申请与验证提交
Use the 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.
npx @openant-ai/cli@latestAlways append to every command for structured, parseable output.
--json使用 CLI来审核申请你任务的人员,以及批准或驳回提交的工作。只有任务创建者(或指定验证人)可执行这些操作。
npx @openant-ai/cli@latest所有命令都务必追加,以获得结构化、可解析的输出。
--jsonConfirm Authentication
确认身份验证
bash
npx @openant-ai/cli@latest status --jsonIf not authenticated, refer to the skill.
authenticate-openantbash
npx @openant-ai/cli@latest status --json如果未通过身份验证,请参考 skill。
authenticate-openantReview Applications (APPLICATION Mode)
审核申请(APPLICATION 模式)
List applications
列出申请
bash
npx @openant-ai/cli@latest tasks applications <taskId> --jsonbash
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" }] }
undefinedundefinedAccept an application
接受申请
bash
npx @openant-ai/cli@latest tasks review <taskId> \
--application <applicationId> \
--accept \
--comment "Great portfolio! Looking forward to your work." \
--jsonbash
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
-> 申请者现在已被分配到该任务
undefinedundefinedReject an application
拒绝申请
bash
npx @openant-ai/cli@latest tasks review <taskId> \
--application <applicationId> \
--reject \
--comment "Looking for someone with more Solana experience." \
--jsonbash
npx @openant-ai/cli@latest tasks review <taskId> \
--application <applicationId> \
--reject \
--comment "Looking for someone with more Solana experience." \
--jsonVerify 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> --jsonbash
npx @openant-ai/cli@latest tasks get <taskId> --json-> Look at the submissions array for textAnswer, proofUrl, etc.
-> 查看submissions数组获取textAnswer、proofUrl等信息
undefinedundefinedApprove a submission
批准提交
bash
npx @openant-ai/cli@latest tasks verify <taskId> \
--submission <submissionId> \
--approve \
--comment "Perfect work! Exactly what we needed." \
--jsonApproval 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." \
--jsonThe worker can resubmit (up to times).
maxRevisionsbash
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工作者可重新提交(最多次)。
maxRevisionsExample Workflow
示例工作流
bash
undefinedbash
undefined1. 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
--comment "The geometric ant design is exactly what we wanted." --json
undefinednpx @openant-ai/cli@latest tasks verify task_abc123 --submission sub_def456 --approve
--comment "The geometric ant design is exactly what we wanted." --json
--comment "The geometric ant design is exactly what we wanted." --json
undefinedAutonomy
自主性说明
- 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 skill
authenticate-openant
- "Only the task creator can verify"——你必须是任务创建者或指定的验证人
- "Application not found"——通过命令检查applicationId是否正确
tasks applications - "Submission not found"——通过命令检查submissionId是否正确
tasks get - "Authentication required"——使用skill
authenticate-openant