feat(ast): add error-handling rule and fixer - #28
Merged
Conversation
Stage 4 had no explicit rule for pausing and returning to user alignment when new ambiguities or conflicts were discovered mid-execution. Add the missing invariant to close this gap. 无需补充测试(纯文档更新)。
Add AST rule to detect missing error handling and auto-fix. Update package dependencies and sync design documents. 新增规则与修复器测试,全部通过。
Refresh GitHub Actions pipeline configuration and synchronize design and frontend documentation with current standards. 无需补充测试(配置与文档更新)。
HelloWorldU
commented
May 28, 2026
HelloWorldU
left a comment
Owner
Author
There was a problem hiding this comment.
[自审] 自动审阅通过(LGTM)
注:GitHub 不允许 PR 作者 approve 自己的 PR,此评论仅作为审阅记录。
HelloWorldU
commented
May 28, 2026
HelloWorldU
left a comment
Owner
Author
There was a problem hiding this comment.
[自审] 自动审阅通过(LGTM)
注:GitHub 不允许 PR 作者 approve 自己的 PR,此评论仅作为审阅记录。
HelloWorldU
commented
May 28, 2026
HelloWorldU
left a comment
Owner
Author
There was a problem hiding this comment.
[自审] 自动审阅通过
注:GitHub 不允许 PR 作者 approve 自己的 PR,此评论仅作为审阅记录。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
变更内容
ast/rules/error-handling.ts: 新增错误处理检测规则ast/fixers/error-handling.ts: 新增对应自动修复逻辑ast/package.json&ast/package-lock.json: 更新 AST 模块依赖docs/CONSTRAINTS.md,docs/DESIGN.md,docs/design-docs/ast-parser-vs-regex.md: 同步设计文档类型
检查项