We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fb2e9b1 commit 837c1afCopy full SHA for 837c1af
1 file changed
docs/cli/tasks.md
@@ -45,6 +45,23 @@ openclaw tasks list [--runtime <name>] [--status <name>] [--json]
45
46
Lists tracked background tasks newest first.
47
48
+Human-readable output annotates stale active records distinctly (`stale-run` /
49
+`stale-q`) while preserving the canonical lifecycle status in the task record.
50
+JSON output includes a `health` object on each task so Control UI and SDK
51
+consumers can surface the same distinction without parsing audit text:
52
+
53
+```json
54
+{
55
+ "status": "running",
56
+ "health": {
57
+ "displayStatus": "stale-run",
58
+ "stale": true,
59
+ "auditCodes": ["stale_running"],
60
+ "maxAgeMs": 2400000
61
+ }
62
+}
63
+```
64
65
### `show`
66
67
```bash
0 commit comments