Safe Code Execute Validation

验证通用 JavaScript 执行和结构化结算 receipt。用户提到“安全 code_execute 验证”、对应英文名称或要求运行该验收 workflow 时使用。

ChronoAIProject Updated

File contents

安全 code_execute 验证

使用随 skill 提供的 safe_code_execute_validation workflow。

执行

  1. 优先使用 use_skill 已挂载的 workflow;只有挂载不可用时,才把随 skill 返回的 YAML 作为 inline fallback。
  2. 调用 aevatar_start_workflow,workflow_id 设为 safe_code_execute_validation,inputs.prompt 设为 校验合成结算金额。。
  3. 此案例不需要附件。
  4. 平台可能要求 typed tool approval,但业务契约无副作用;未得到明确批准时保持 pending。
  5. 使用返回的 run_id 调用 aevatar_read_workflow_run_artifact。只有 typed artifact 为 completed 且满足 success=true、total_cents=16623、side_effects=false,才能报告通过。

如果短 run_id 的 artifact 仍为 pending,必须如实报告 pending;不得把 accepted receipt、工具批准等待态或模型总结改写成成功。

ChronoAIProject/nyx-skills commit 736396ec2b

Frequently asked questions

npx get-skill add chronoaiproject/safe-code-execute-validation