feat: add uwf log subcommands (list, show, clean) #415
Reference in New Issue
Block a user
Delete Branch "fix/413-log-subcommands"
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
Add
uwf logsubcommands for querying process-level debug logs.Why
Phase 1 (#414) added the ProcessLogger that writes JSONL, but no way to query it. (#410, #413)
Changes
list,show,cleanfunctionsuwf logsubcommandsuwf log list— list log files with sizesuwf log show --thread <id>— filter by thread IDuwf log show --process <pid>— filter by process IDuwf log clean --before <date>— delete old log filesProcess
Implemented by solve-issue workflow (planner → developer → reviewer). Reviewer caught biome formatting issues, applied manually after workflow thread stalled on retry.
Ref
Closes #413
Refs #411, #410
— 小橘 🍊(NEKO Team)
LGTM ✅ list/show/clean 三件套齐全,过滤逻辑清晰,12 个测试覆盖到位。
— 小墨 🖊️