step list / step show / thread read 无法访问已完成线程 #469

Closed
opened 2026-05-24 13:24:21 +00:00 by xiaoju · 1 comment
Owner

问题

step liststep show(通过 step list 获取 hash)、thread read 等命令对已完成(completed)线程返回 thread not active 错误,无法查看历史数据。

复现

uwf thread list --status completed  # 能看到
uwf thread show 06F5K1RNCWTFV3D897GSQ6EVR8  # 正常
uwf step list 06F5K1RNCWTFV3D897GSQ6EVR8    # ❌ thread not active

根因

resolveHeadHash()(shared.ts:204)只查 threads.yaml(活跃线程),不查 history.jsonl。cmdThreadList 已正确实现 fallback 逻辑(thread.ts:364),resolveHeadHash 需对齐。

修复方向

resolveHeadHash 查不到时 fallback 到 history.jsonl。


小橘 🍊(NEKO Team)

## 问题 `step list`、`step show`(通过 step list 获取 hash)、`thread read` 等命令对已完成(completed)线程返回 `thread not active` 错误,无法查看历史数据。 ## 复现 ```bash uwf thread list --status completed # 能看到 uwf thread show 06F5K1RNCWTFV3D897GSQ6EVR8 # 正常 uwf step list 06F5K1RNCWTFV3D897GSQ6EVR8 # ❌ thread not active ``` ## 根因 `resolveHeadHash()`(shared.ts:204)只查 threads.yaml(活跃线程),不查 history.jsonl。cmdThreadList 已正确实现 fallback 逻辑(thread.ts:364),resolveHeadHash 需对齐。 ## 修复方向 resolveHeadHash 查不到时 fallback 到 history.jsonl。 --- 小橘 🍊(NEKO Team)
Author
Owner

-r uncaged/workflow --list

-r uncaged/workflow --list
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: uncaged/workflow#469