You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 7170a62
Browse filesBrowse the repository at this point in the historyBrowse files
feat(agents): unify agent status into a durable progress_card (#125125)
* feat(agents): unify agent status into a durable progress_card
Replace the write-only update_plan to-do tool and the fragmented plan
rendering with one durable status artifact per session: progress_card
({plan?, markdown?}, replace-on-write, 8 KiB markdown / 50-step caps).
Cards persist in a lazy-additive session_progress_cards table in the
per-agent DB (no schema-version bump), broadcast progressCard.changed,
and render from the store with exactly one live placement per view
(session rail when visible, else the composer-adjacent bar); transcripts
collapse to one-line receipts, and the sidebar hovercard shows other
sessions' cards inline (markdown + <progress>, DOMPurify allowlist, no
iframes). The three stream-derived plan renderers and their dedup
heuristics are deleted.
Codex runs disable the native plan tool per thread
(tools.update_plan.enabled=false) and receive progress_card via the
dynamic-tool bridge; compaction restore now reinjects the card (steps +
bounded markdown). Card writes still emit the legacy plan stream event so
native apps and channels keep working until their per-platform
migrations. Policy names map update_plan -> progress_card; the shipped
tools.updatePlan=false kill switch is honored.
Net -277 production LOC; -480 test LOC.
* test(agents): regenerate Codex prompt snapshots for update_plan thread-config disable
* chore(protocol): allowlist progressCard.changed for native apps pending card migration
* fix(ci): repair progress card integration checks
* fix(codex): canonicalize native progress cards
* test(gateway): reconcile progress card method order
* test(codex): stabilize native approval fixture
Copy file name to clipboardExpand all lines: docs/concepts/system-prompt.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,7 +30,7 @@ The built-in GPT-5-family prompt contribution (`resolveGpt5SystemPromptContribut
30
30
31
31
The prompt is compact, with fixed sections:
32
32
33
-
-**Tooling**: structured-tool source-of-truth reminder plus runtime tool-use guidance. When the `update_plan` tool is enabled (`tools.updatePlan`, on by default), its own tool description adds: use it only for non-trivial multi-step work, keep at most one step `in_progress`, and skip it for simple one-step work.
33
+
-**Tooling**: structured-tool source-of-truth reminder plus runtime tool-use guidance. When `progress_card`is enabled (`tools.updatePlan`, on by default), its own description explains how to maintain one durable plan and status note, keep at most one step `in_progress`, and skip routine updates that do not change the picture.
34
34
-**Execution Bias**: act in-turn on actionable requests, continue until done or blocked, recover from weak tool results, check mutable state live, and verify before finalizing.
35
35
-**Promised Work**: promising future, background, delegated, or continued work creates follow-through ownership: arrange a push-based completion or watch path before ending the turn, proactively return with the result or a concrete blocker, and never treat progress (like `running`) as completion.
36
36
-**Safety**: short guardrail reminder against power-seeking behavior or bypassing oversight.
|`group:plugins`| Tools owned by loaded plugins, including configured MCP servers exposed through `bundle-mcp`|
49
49
@@ -425,19 +425,19 @@ Controls inline attachment support for `sessions_spawn`.
425
425
426
426
### `tools.updatePlan`
427
427
428
-
Kill switch for the structured `update_plan` checklist tool used for non-trivial multi-step work tracking.
428
+
Kill switch for `progress_card`, the durable plan and status note used for non-trivial multi-step work tracking.
429
429
430
430
```json5
431
431
{
432
432
tools: {
433
-
updatePlan:false, // hide update_plan from every run
433
+
updatePlan:false, // hide progress_card from every run
434
434
},
435
435
}
436
436
```
437
437
438
438
- Default: `true` for every provider and model. Set `false` to keep the tool off; there is no model-specific auto-enable rule.
439
-
- The tool description adds usage guidance so the model only uses it for substantial work and keeps at most one step `in_progress`.
440
-
-`tools.deny: ["update_plan"]` also removes the tool, so use whichever surface already carries your tool policy.
439
+
- The tool description tells the model to keep the plan current, use at most one `in_progress` step, and add Markdown only when it contributes information beyond the steps.
440
+
-Use `progress_card` in new `tools.allow` and `tools.deny` policies. Existing policies that name `update_plan` map to `progress_card`, so shipped allowlists and denylists keep their meaning.
441
441
442
442
Older configs used `tools.experimental.planTool`. Run `openclaw doctor --fix` to move the value to `tools.updatePlan`.
|`group:openclaw`| most built-in OpenClaw tools (excludes the `read`/`write`/`edit`/`apply_patch`/`exec`/`process` fs and runtime primitives, `canvas`, and provider plugins) |
108
108
|`group:plugins`| all loaded plugin-owned tools, including configured MCP servers exposed through `bundle-mcp`|
0 commit comments