refactor: update lib.rs - #5
Closed
HelloWorldU wants to merge 1 commit into
Closed
Conversation
HelloWorldU
added a commit
that referenced
this pull request
May 27, 2026
… fix prompt 污染 SKILL.md 加「Print 模式 ≠ Afk 模式」段:明确 afk 只在 --afk flag 显式传时生效,agent-engine 只传 --print 不传 --afk;用户在 UI 聊天 面板读输出,没 AskUserQuestion 不等于 afk 模式;本 skill GATE 优先级 高于系统指令的 afk 自动决策规则。 铁律段加「用户暂时不在 ≠ 批准」一句,堵掉「让流程往前推 / 自己决策更 高效」这类合理化跳过 GATE 的内部理由。 backlog 加两条: - #4 kimi 在 print 模式下误用 afk 行为(已加 SKILL 缓解,待复测验证) - #5 引擎自动注入 fix prompt 污染 UI 任务指令区(已修主场景,待真机 观察是否有未覆盖路径) Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
9 tasks
9 tasks
HelloWorldU
added a commit
that referenced
this pull request
May 28, 2026
…iewer 修订 接管 PR #29 + 应用自审 reviewer 两处修订: PR #29 原内容: - agent.ts submitReview: 补 review.comment = comment || '',解决 fix loop 拿不到具体审阅意见的根因(Bug #1) - agent.ts syncBranchWithMain: 删 merge 成功后多余的 gitCommit/abortMerge,squash merge 场景不再误报「同步提交失败」(Bug #3) - agent.ts: sendInstruction 后增加 stopped 状态检查,最小可行的 stop 级联兜底(Bug #2 增量修,根治仍归并到架构决策项) - github-api.ts getCheckRunLogs: 截断方向从 slice(0, 8000) 改为 slice(-8000)(Bug #5) - 配套文档同步 + AgentDetail/Store 透传 review.comment 字段 reviewer 修订(本次额外): - github-api.ts: '...[truncated]' 标记从尾部挪到头部,避免误导用户以为尾部还有截断 - backlog.md: footer 同步更新(4 个活跃 bug → 1 个 #4 F5 失踪)+ 应用本地删除架构项「风险」段
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.
变更内容
lib.rs类型
检查项