计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
invariant-analyzer【效率与协作】Identify and verify loop invariants for correctness proofs
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
name: invariant-analyzer description: Identify and verify loop invariants for correctness proofs allowed-tools:
Identify and verify loop invariants to help construct correctness proofs for algorithms.
{
"type": "object",
"properties": {
"code": { "type": "string" },
"language": { "type": "string" },
"loopIndex": { "type": "integer" },
"expectedInvariant": { "type": "string" }
},
"required": ["code"]
}
{
"type": "object",
"properties": {
"success": { "type": "boolean" },
"invariants": { "type": "array" },
"preconditions": { "type": "array" },
"postconditions": { "type": "array" },
"proofOutline": { "type": "string" }
},
"required": ["success"]
}