已开启
fix(docs+lint): Index runtime error codes, add dynamic-loop advisory rules and playbook #582
fix(docs+lint): Index runtime error codes, add dynamic-loop advisory rules and playbook #582
已开启
lizixuan创建于 1 天前
lizixuan
lizixuan
1 天前

Closes #119

是否 agent 工作流问题

部分是。框架 bug(0x2a/507018 崩溃、ERR99999 无上下文)本身需要 CANN/上游修,不在本仓;但错误码无运行时索引、agent 首次会误诊、无预防规则这三项是 agent 工作流的缺失,本次在仓内修复。

修改

  1. pypto-docs-search/references/error-code-index.md:新增"运行时错误码"章节,收录 0x2a/507018(三种已实证根因按关键词并列)、507015ERR99999F40005F41007
  2. pypto-op-lint:新增两条 S2 advisory(警告不硬拦)规则——OL63(unroll_list 循环体内 loop-index 谓词)、OL64(3 层动态嵌套无 submit_before_loop),附 4 个测试。
  3. pypto-general-debug:新增 dynamic-loop-playbook.md + DEBUG_GUIDEBOOK 路由——失败模式速查表、fresh-process→变体二分→最小触发的标准动作、无 loop 单发对照法、已否决方案表机制、B1/B2 规避指引。

验证

lint 测试 266 个全部通过(新增 4 个)。

仓外项(另立项)

pypto 上游 API 文档补循环约束、CANN B2 缺陷上报。

likedislike
合并受阻
lizixuanlizixuan
1 天前 创建了 pull request,commit 0bb73263
lizixuanlizixuan
1 天前 关联了issue:[Bug-Report|缺陷反馈]: [断裂点]动态循环相关的运行时崩溃/数值漂移缺文档缺索引(0x2a/507018/ERR99999 无上下文)
CANN-robotCANN-robot成员
1 天前 添加了label:cann-cla/yes
CANN-robot
CANN-robot成员
1 天前 评论:

Thanks for your pull-request.
The full list of commands accepted by me can be found at here.
You can get sig-info at here.
You can self-configure the PR merge rules for this repository. For more details, please refer to Here.
For more, you also can visit HICANN.


PR Approval Progress

⚠️ This PR does not yet meet the following requirements:lgtm (requires ≥ 2 person(s) per module)、approve (requires ≥ 1 person(s) per module)

Module Approval Details

module lgtm status approve status
repo-cann/pypto-gym ❌ (0/2)(You can also ask: 周若愚, DCGDDD, codehjp423, ym-HW, 孙文博) ❌ (0/1)(You can also ask: DCGDDD, gaoxingwang, congqiannan, wangbing110, 林嘉树)

💡 Tip:

  • Committer can comment /approve or /lgtm
  • Commenting /approve implies both code review (lgtm) and intent to merge (approve)

CLA Signature Pass

lizixuan1020, thanks for your pull request. All authors of the commits have signed the CLA. 👍

likedislike