Enhance task cancellation, streaming cards, and stability fixes#4
Merged
Conversation
核心功能: - /stop 取消命令(飞书 + smoke 双入口) - 流式 Agent 进度实时推送飞书卡片 - Planner plan JSON 传递到 Worker(不再丢失计划) - Observer 自动检测项目类型(Rust/Go/Python 等) - Worker 无 run_command 权限(只读 + 写文件) 稳定性修复: - 中文 UTF-8 字符截断 panic - Adapter async unhandledRejection 崩溃 - Gateway worktree 失败 fail-fast(不再原地修改) - run_task catch_unwind 防 worker 崩溃 - 命令执行 10 分钟超时保护 - blocking_serve spurious wakeup - Planner/Worker JSON 解析失败自动重试 - Worker edit 不存在文件自动降级 create - 调度硬约束:Observer≤2/Reviewer需Worker/连续失败强换 - Reviewer diff scope 不跳过复杂任务 配置: - max_rounds 默认 10 → 30 - smoke feature gate(仅开发编译) - FailureReason::Cancelled 新增 Co-Authored-By: Claude <noreply@anthropic.com>
对 ai_cycleround、llm_agents、tools、queue 等 9 个文件执行 cargo fmt,统一代码风格。
-D warnings triggers clippy::useless_format on the format!() wrapper around a literal &str with no args. Replace with a direct &str literal and pass it by reference.
smoke 特性仅用于本地/CI 烟雾测试,无需打入生产产物中,精简发版产物。
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.
No description provided.