Repository navigation
Conversation
独立扩展 flow 之前对 custom-flow? 返回 'print,脚本/管道场景下 模型思考期间长时间无任何输出,观感如卡死。改为默认 verbose: resolve-app-mode 对 custom-flow? 返回 'verbose,并在 run-code-review-flow 非 json 分支接通 make-verbose-emitter 实时展示事件;json 保持原协议输出。
模型在长时间 reasoning 时 verbose 模式此前无任何输出,观感如卡死。 现按 thinking 事件给出三种状态反馈(不显示具体思考内容): thinking_start -> 🧠 开始思考… thinking_delta -> 距上次进度行 >=60s 时打印 🧠 仍在思考…(已 Ns) thinking_end -> 🧠 思考完成(用时 Ns) message_end 兜底收尾未正常结束的思考块;turn_start 复位思考状态。 turn-box 扩展第 4 槽 vector(active? start-ms last-ping-ms), 阈值判定抽为 verbose-thinking-ping-due? 便于单测。
…racking When turn-box had fewer than 3 elements, the old ensure-message-slots overshot: the first two 'when' clauses each appended 3/2 elements, leaving the thinking-box slot (cdddr) non-null and set to #f instead of a vector. The third clause never fired, so the thinking-state vector was never created, silently disabling all thinking progress tracking whenever a turn-box wasn't pre-initialized with exactly 3 elements. Fix: append exactly one element per clause so each slot fills independently. Add a regression test exercising an under-populated turn-box through turn_start + thinking_start.
da-liii
marked this pull request as draft
November 26, 2026 14:10
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.
概述
本分支完成 [1409] code review 工作,新增 verbose 模式下思考(reasoning)阶段的实时展示,并修复 `%thinking-box` 在 turn-box 元素不足时抛错的隐患。
主要变更
测试
```
gf test tests/liii/pi/code/modes/verbose/verbose-thinking-test.scm # PASS
gf fmt --check code/liii/pi/code/modes/verbose.scm # OK
```
提交
10 个提交构成完整的 [1409] review 功能链路;本 PR 的修复为最后一个提交 `2c0883a`。