fix(cli-workflow): resolve step/thread commands on completed threads #478
Reference in New Issue
Block a user
Delete Branch "fix/469-step-commands-completed-threads"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
Fixed
step list,step show, andthread readcommands failing on completed threads with 'thread not active' error.Why
The root cause was
resolveHeadHash()inshared.tsonly checkingthreads.yaml(active threads), nothistory.jsonl(completed threads). This made step commands unusable for completed threads.Changes
resolveHeadHash()to fallback tohistory.jsonlwhen thread not found inthreads.yamlRef
Fixes #469