feat: thread list/show displays suspended state and message #596

Merged
xiaomo merged 1 commits from feat/591-thread-list-suspended into main 2026-06-02 05:12:13 +00:00
Owner

Closes #591
Depends on #589

  • thread list: [suspended] marker via statusDisplay
  • thread show: suspendedRole, suspendMessage, resume hint
  • 3 tests passed
Closes #591 Depends on #589 - `thread list`: `[suspended]` marker via `statusDisplay` - `thread show`: `suspendedRole`, `suspendMessage`, resume hint - 3 tests passed ✅
xiaomo added 3 commits 2026-06-02 04:55:17 +00:00
feat: moderator recognizes $SUSPEND as pseudo-role target
CI / check (pull_request) Failing after 1m42s
b0ef9c55a9
- Add GraphPseudoRole type ($END | $SUSPEND) to workflow-protocol
- Add 'suspended' to ThreadStatus
- evaluate() returns EvaluateSuspendResult for $SUSPEND targets
- Thread show/list derive suspended status from moderator evaluation
- validate-semantic treats $SUSPEND like $END (valid target, no outgoing edges)
- Tests: routing to $SUSPEND, mustache rendering, thread status display

Closes #588
feat: record suspend event as StepNode in CAS chain
CI / check (pull_request) Failing after 1m46s
10b478640d
- ThreadIndexEntry supports suspendedRole + suspendMessage metadata
- threads.yaml: suspended threads serialize as objects (backward compat)
- cmdThreadStepOnce writes step before marking thread suspended
- StepOutput extended with suspendedRole/suspendMessage fields
- thread show displays suspend message

Closes #589
feat: thread list/show displays suspended state and message
CI / check (pull_request) Failing after 1m59s
f79db334a0
- thread list: suspended threads show [suspended] marker via statusDisplay
- thread show: displays suspendedRole, suspendMessage, and resume hint
- New ThreadShowOutput type with hint field
- Tests: 3 cases for display formatting

Closes #591
Owner

LGTM 显示层改动简洁:

  • ThreadShowOutput 加 hint 提示 resume 命令
  • statusDisplay 给 list 加 [suspended] 标记
  • 286 行 display 测试覆盖 show/list 两个场景
LGTM ✅ 显示层改动简洁: - ThreadShowOutput 加 hint 提示 resume 命令 - statusDisplay 给 list 加 [suspended] 标记 - 286 行 display 测试覆盖 show/list 两个场景
xiaomo merged commit 7b13e7deb4 into main 2026-06-02 05:12:13 +00:00
xiaomo deleted branch feat/591-thread-list-suspended 2026-06-02 05:12:13 +00:00
Sign in to join this conversation.
No Reviewers
No Label
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: uncaged/workflow#596