Repository navigation
feat: show subagent status through claw motion and tooltips - #147753
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: needs maintainer review before merge. Reviewed September 13, 2026, 11:12 PM ET / September 14, 2026, 03:12 UTC (Revision 2). ClawSweeper reviewWhat this changesThe PR replaces repeated subagent status text in web and macOS chat with claw motion, colors, badges, and accessible tooltips, with matching documentation and tests. Merge readiness✅ Ready for maintainer review The PR remains useful: fetched main still uses the previous presentation, and the introduced changes have no actionable correctness findings. The inspected visual evidence supports the intended improvement; maintainer-authored work also remains protected from cleanup closure. Priority: P3 Review scores
Verification
How this fits togetherSubagent activity rows display task updates beneath an OpenClaw conversation. Existing task state feeds the web and native views, which show progress and let users open task details. flowchart LR
A[Gateway task updates] --> B[Session task state]
B --> C[Visible activity rows]
C --> D[Status and motion preferences]
D --> E[Claw appearance]
D --> F[Tooltips and accessible status]
C --> G[Task details]
Before mergeNone. Agent review detailsSecurityNone. PR surfaceSource +38, Tests +130, Docs +11, Other +108. Total +287 across 11 files. View PR surface stats
Review metrics
Technical reviewBest possible solution: Keep task lifecycle decisions in the existing state owners and present their status consistently through compact, accessible web and native activity rows. Do we have a high-confidence way to reproduce the issue? Not applicable as a bug reproduction: this is a presentation improvement, and the before screenshots directly show the repeated status text it addresses. Is this the best way to solve the issue? Yes. Extending the existing activity views and shared tooltip/claw components is a focused solution that preserves the task lifecycle and detail-navigation owners. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 5bdea2bb29fb. LabelsLabel justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (1 earlier review cycle)
|
|
Merged via squash.
|
What Problem This Solves
Repeated status words crowd subagent names and activity previews, while changing status icons make parallel tasks harder to follow.
User Impact
Web and macOS keep one claw per subagent: it moves while running, stays still while queued, briefly turns green on completion, dims on cancellation, and gains a warning or clock badge for failure or timeout. Hovering explains the exact status; keyboard users and screen readers retain the same information. Unnamed tasks use Subagent.
Why This Change Was Made
The existing task lifecycle drives the presentation. Names and previews get more room, with detail navigation and terminal retention preserved. Reduced motion keeps the claw still.
Evidence
The 19 focused web tests pass; eight new status/accessibility cases fail against the previous implementation. The mocked Gateway browser flow covers all six states, actual animation, reduced motion, completion color recovery, hover/focus tooltips, and opening task details. All 30 focused native tests pass. Native proof uses the production SwiftUI components in a signed, isolated synthetic app and verifies all six accessible status descriptions, detail expansion, and the brief completion cue.
Changed-file checks, web typechecking, style/lint checks, and web/native localization verification pass. Independent review found no actionable issues.
All images below contain synthetic data.