惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

D
DataBreaches.Net
N
Netflix TechBlog - Medium
F
Fortinet All Blogs
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
宝玉的分享
宝玉的分享
Y
Y Combinator Blog
博客园 - 聂微东
WordPress大学
WordPress大学
酷 壳 – CoolShell
酷 壳 – CoolShell
B
Blog RSS Feed
小众软件
小众软件
The GitHub Blog
The GitHub Blog
S
SegmentFault 最新的问题
Hugging Face - Blog
Hugging Face - Blog
Jina AI
Jina AI
Microsoft Azure Blog
Microsoft Azure Blog
V
V2EX
B
Blog
H
Help Net Security
D
Docker
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
罗磊的独立博客
月光博客
月光博客
博客园 - 司徒正美

Recent Commits to openclaw:main

test: merge chat side-result checks · openclaw/openclaw@ddd2c2a test: merge cron history checks · openclaw/openclaw@f7eb746 test: merge responsive navigation shell checks · openclaw/openclaw@c2e4b47 docs(changelog): add codex oauth fixes · openclaw/openclaw@628e6cd test: merge navigation routing cases · openclaw/openclaw@5d8cecb Tests: mock channel registry bundled fallback · openclaw/openclaw@2b08233 Secrets: avoid broad web search discovery for single plugin config · openclaw/openclaw@a464f59 test: merge config view browser checks · openclaw/openclaw@20cf511 fix(status): align oauth health with runtime · openclaw/openclaw@eed7116 feat: add macOS screen snapshots for monitor preview (#67954) thanks … · openclaw/openclaw@f377db1 fix: report shared auth scopes in hello-ok (#67810) thanks @BunsDev · openclaw/openclaw@0b6c39b Auto-reply: avoid eager bundled route fallback · openclaw/openclaw@3ea1bf4 Tests: narrow session binding contract setup · openclaw/openclaw@54e4e16 fix(macOS): enable undo/redo in webchat composer text input (#34962) · openclaw/openclaw@00951dc Tests: speed up channel setup promotion · openclaw/openclaw@82b529a Docs: refresh agent instructions · openclaw/openclaw@5775fe2 fix(auth): serialize OAuth refresh across agents to fix #26322 (#67876) · openclaw/openclaw@8e79080 test: allow ollama public surface boundary test · openclaw/openclaw@7d4f1a6 Docs: add test performance guardrails · openclaw/openclaw@89706d3 Tests: restore context-engine usage proof · openclaw/openclaw@e4c4f95 Tests: slim context engine runtime coverage · openclaw/openclaw@74c198f ci: retry failed custom checkouts · openclaw/openclaw@0ee5baf test: trim duplicate provider auth onboarding cases · openclaw/openclaw@1ffc02e matrix: fix sessions_spawn --thread subagent session spawning (#67643) · openclaw/openclaw@1ce2596 test: reduce auth choice fixture churn · openclaw/openclaw@857b9cd test: mock health status config boundaries · openclaw/openclaw@9d5ab4a test: mock onboard config io boundary · openclaw/openclaw@299694d test: mock legacy state plugin boundaries · openclaw/openclaw@2713089 test: mock channel install boundaries · openclaw/openclaw@b945248 test: mock doctor preview channel boundaries · openclaw/openclaw@b1a3ad4
fix: align docs with cli and provider surfaces · openclaw...
steipete · 2026-04-23 · via Recent Commits to openclaw:main

@@ -0,0 +1,98 @@

1+

---

2+

summary: "CLI reference for `openclaw tasks` (background task ledger and Task Flow state)"

3+

read_when:

4+

- You want to inspect, audit, or cancel background task records

5+

- You are documenting Task Flow commands under `openclaw tasks flow`

6+

title: "`openclaw tasks`"

7+

---

8+9+

# `openclaw tasks`

10+11+

Inspect durable background tasks and Task Flow state. With no subcommand,

12+

`openclaw tasks` is equivalent to `openclaw tasks list`.

13+14+

See [Background Tasks](/automation/tasks) for the lifecycle and delivery model.

15+16+

## Usage

17+18+

```bash

19+

openclaw tasks

20+

openclaw tasks list

21+

openclaw tasks list --runtime acp

22+

openclaw tasks list --status running

23+

openclaw tasks show <lookup>

24+

openclaw tasks notify <lookup> state_changes

25+

openclaw tasks cancel <lookup>

26+

openclaw tasks audit

27+

openclaw tasks maintenance

28+

openclaw tasks maintenance --apply

29+

openclaw tasks flow list

30+

openclaw tasks flow show <lookup>

31+

openclaw tasks flow cancel <lookup>

32+

```

33+34+

## Root Options

35+36+

- `--json`: output JSON.

37+

- `--runtime <name>`: filter by kind: `subagent`, `acp`, `cron`, or `cli`.

38+

- `--status <name>`: filter by status: `queued`, `running`, `succeeded`, `failed`, `timed_out`, `cancelled`, or `lost`.

39+40+

## Subcommands

41+42+

### `list`

43+44+

```bash

45+

openclaw tasks list [--runtime <name>] [--status <name>] [--json]

46+

```

47+48+

Lists tracked background tasks newest first.

49+50+

### `show`

51+52+

```bash

53+

openclaw tasks show <lookup> [--json]

54+

```

55+56+

Shows one task by task ID, run ID, or session key.

57+58+

### `notify`

59+60+

```bash

61+

openclaw tasks notify <lookup> <done_only|state_changes|silent>

62+

```

63+64+

Changes the notification policy for a running task.

65+66+

### `cancel`

67+68+

```bash

69+

openclaw tasks cancel <lookup>

70+

```

71+72+

Cancels a running background task.

73+74+

### `audit`

75+76+

```bash

77+

openclaw tasks audit [--severity <warn|error>] [--code <name>] [--limit <n>] [--json]

78+

```

79+80+

Surfaces stale, lost, delivery-failed, or otherwise inconsistent task and Task Flow records.

81+82+

### `maintenance`

83+84+

```bash

85+

openclaw tasks maintenance [--apply] [--json]

86+

```

87+88+

Previews or applies task and Task Flow reconciliation, cleanup stamping, and pruning.

89+90+

### `flow`

91+92+

```bash

93+

openclaw tasks flow list [--status <name>] [--json]

94+

openclaw tasks flow show <lookup> [--json]

95+

openclaw tasks flow cancel <lookup>

96+

```

97+98+

Inspects or cancels durable Task Flow state under the task ledger.