Loading...
Loading...
Compare original and translation side by side
debugdebug| Step | Action | Key Notes |
|---|---|---|
| 1 | Fetch issue details | |
| 2 | Understand the issue | Map expected vs actual behavior, reproduction steps |
| 3 | Evidence gathering | Multi-pattern search: imports, string literals, dynamic invocations |
| 4 | Root cause analysis | Rank causes by probability with file:line evidence |
| 5 | Propose fix | Minimal changes, risk assessment, test plan, rollback plan |
| 6 | Wait for approval | Present analysis -- DO NOT code without explicit user approval |
| 7 | Implement fix | Code changes, tests, PR creation |
.ai/workspace/analysis/issue-[number].md.ai/workspace/analysis/issue-[number].md| 步骤 | 操作 | 关键说明 |
|---|---|---|
| 1 | 获取问题详情 | 使用 |
| 2 | 理解问题 | 梳理预期行为与实际行为的差异,明确复现步骤 |
| 3 | 收集证据 | 多模式搜索:导入语句、字符串字面量、动态调用 |
| 4 | 根因分析 | 结合文件:行号证据,按概率排序可能的原因 |
| 5 | 提出修复方案 | 最小化修改、风险评估、测试计划、回滚计划 |
| 6 | 等待批准 | 提交分析结果 -- 未获得用户明确批准前请勿编写代码 |
| 7 | 实施修复 | 代码修改、测试、创建PR |
.ai/workspace/analysis/issue-[number].md.ai/workspace/analysis/issue-[number].mdgh issue view $ARGUMENTS.ai/workspace/analysis/issue-[number].mdgh issue view $ARGUMENTS.ai/workspace/analysis/issue-[number].md.*EventHandler.*{Entity}.*Consumer.*{Entity}.*EventHandler.*{Entity}.*Consumer.*{Entity}undefinedundefinedpath/to/file.cs:line
**DO NOT** make any code changes without explicit user approval.
---path/to/file.cs:line
**请勿**在未获得用户明确批准的情况下进行任何代码修改。
---gh pr creategh pr createdebugdebugging --autonomous.ai/docs/AI-DEBUGGING-PROTOCOL.mddebugdebugging --autonomous.ai/docs/AI-DEBUGGING-PROTOCOL.md