docs: context engine

This commit is contained in:
Vincent Koc
2026-03-06 08:55:58 -05:00
parent 5470337b1c
commit 151f26070b
3 changed files with 12 additions and 0 deletions

View File

@@ -153,6 +153,12 @@ What persists across messages depends on the mechanism:
Docs: [Session](/concepts/session), [Compaction](/concepts/compaction), [Session pruning](/concepts/session-pruning).
By default, OpenClaw uses the built-in `legacy` context engine for assembly and
compaction. If you install a plugin that provides `kind: "context-engine"` and
select it with `plugins.slots.contextEngine`, OpenClaw delegates context
assembly, `/compact`, and related subagent context lifecycle hooks to that
engine instead.
## What `/context` actually reports
`/context` prefers the latest **run-built** system prompt report when available: