Skip to content

feat(ast): add error-handling rule and fixer - #28

Merged
HelloWorldU merged 4 commits into
mainfrom
agent/-ekrf
May 28, 2026
Merged

feat(ast): add error-handling rule and fixer#28
HelloWorldU merged 4 commits into
mainfrom
agent/-ekrf

Conversation

@HelloWorldU

Copy link
Copy Markdown
Owner

变更内容

  • 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: 同步设计文档

类型

  • feat: 新功能
  • fix: Bug 修复
  • refactor: 代码重构
  • docs: 文档更新
  • test: 测试补充
  • chore: 构建/工具链

检查项

  • 本地 pre-commit 通过(typecheck / lint / analyze / check-docs)
  • 测试已补充或无需补充
  • 文档已同步或无需同步

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 HelloWorldU left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[自审] 自动审阅通过(LGTM)

注:GitHub 不允许 PR 作者 approve 自己的 PR,此评论仅作为审阅记录。

@HelloWorldU HelloWorldU left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[自审] 自动审阅通过(LGTM)

注:GitHub 不允许 PR 作者 approve 自己的 PR,此评论仅作为审阅记录。

@HelloWorldU HelloWorldU left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[自审] 自动审阅通过

注:GitHub 不允许 PR 作者 approve 自己的 PR,此评论仅作为审阅记录。

@HelloWorldU
HelloWorldU merged commit 89e6a91 into main May 28, 2026
1 check passed
HelloWorldU added a commit that referenced this pull request May 28, 2026
- 新增「engine→runtime」架构决策项作为首位优先级
- 新增 Bug #1 reviewer.comment 丢失(PR #25 暴露,源码确认)
- 新增 Bug #2 stop() 不级联取消异步链
- 新增 Bug #3 syncBranchWithMain 同步成功却报「同步提交失败」
- 保留 Bug #4 F5 刷新失踪
- 重新收回 Bug #5 CI log 截断方向错(PR #28 重现,被 8KB git config 噪音占满)
- 删除已实施的 syncBranchWithMain 完成项、低优 orphan 工作目录项、旧设计哲学段
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant