name: global-loop-engine description: 全局 Loop Engineering 引擎,强制 Agent 执行时使用基于 LangGraph 的反思和验证循环机制。
全局 Loop Engineering (Global Loop Engine)
此 Skill 强制 Agent 在执行任何核心开发或复杂任务时,必须通过内部循环和严格校验后才可提交结果,遵循“热冷分离”原则并执行硬核校验。
核心节点机制
- 复杂性评分 (ComplexityScorerNode):评估当前任务的代码逻辑复杂度和受影响文件范围。
- 成本估算 (CostEstimatorNode):根据复杂度和循环执行预估执行成本(Token / 时间)。
- 严重验证器 (CriticNode):
- 硬核校验:基于子进程 (
subprocess) 调用真实测试框架(如pytest)、静态分析(如pylint/grep)。 - 热冷分离:严格保存并分离运行时结果(如
Exit Code)与代码状态快照(如Git Diff),以供客观评估判断是否能够通过验收。
- 硬核校验:基于子进程 (
执行准则
当此 Skill 生效时,Agent 不得直接输出"我完成了",必须首先运行配套的引擎:
# 方式一(推荐):通过 CLI 入口
loop-engine --task "<当前任务描述>"
# 方式二:直接调用脚本
python scripts/loop_engine.py --task "<当前任务描述>"
引擎若给出错误(非 0 exit code)或处于尚未满足验收退出条件时,必须根据反馈继续修复代码,直到验证通过(退出节点)才可进行汇报。
Metadata
Release files for global-loop-engine 2.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| global_loop_engine-2.0.0.tar.gz | 17.7 kB | With provenance | Details for global_loop_engine-2.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| global_loop_engine-2.0.0-py3-none-any.whl | Python 3 | none | any | Details for global_loop_engine-2.0.0-py3-none-any.whl |
Total release size: 34.4 kB
Release files / global_loop_engine-2.0.0.tar.gz
| Download URL | global_loop_engine-2.0.0.tar.gz |
|---|---|
| Size | 17.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d2d9df4b43155ebccc477e02d88894f8386cb194d0cc622f31e2ae4de94ef66e
|
|
BLAKE2b-256 checksum How to use checksums |
f8edce3933bc53dfcbdeb680060121b449c6193f73e3e4f5ab65f0063978ecb6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 25, 2026.
Transparency logRelease files / global_loop_engine-2.0.0-py3-none-any.whl
| Download URL | global_loop_engine-2.0.0-py3-none-any.whl |
|---|---|
| Size | 16.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e78c7b534363c16ea08a5e9c6ad47cfbc736873aeacdf6c649b7ee87f2055a38
|
|
BLAKE2b-256 checksum How to use checksums |
6e4d04c54ed1b686bd27b9c3b780663076fcb37552f9d2bc7c459bba48de0ba0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 25, 2026.
Transparency logSecurity for global-loop-engine 2.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for global_loop_engine-2.0.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 25, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.