diff --git a/docs/cli/memory.md b/docs/cli/memory.md index 24621ad5640..51316772b18 100644 --- a/docs/cli/memory.md +++ b/docs/cli/memory.md @@ -1,5 +1,5 @@ --- -summary: "CLI reference for `openclaw memory` (status/index/search/promote)" +summary: "CLI reference for `openclaw memory` (status/index/search/promote/promote-explain/rem-harness)" read_when: - You want to index or search semantic memory - You’re debugging memory availability or indexing @@ -29,6 +29,10 @@ openclaw memory search --query "deployment" --max-results 20 openclaw memory promote --limit 10 --min-score 0.75 openclaw memory promote --apply openclaw memory promote --json --min-recall-count 0 --min-unique-queries 0 +openclaw memory promote-explain "router vlan" +openclaw memory promote-explain "router vlan" --json +openclaw memory rem-harness +openclaw memory rem-harness --json openclaw memory status --json openclaw memory status --deep --index openclaw memory status --deep --index --verbose @@ -90,6 +94,31 @@ Full options: - `--include-promoted`: include already promoted candidates in output. - `--json`: print JSON output. +`memory promote-explain`: + +Explain a specific promotion candidate and its score breakdown. + +```bash +openclaw memory promote-explain [--agent ] [--include-promoted] [--json] +``` + +- ``: candidate key, path fragment, or snippet fragment to look up. +- `--agent `: scope to a single agent (default: the default agent). +- `--include-promoted`: include already promoted candidates. +- `--json`: print JSON output. + +`memory rem-harness`: + +Preview REM reflections, candidate truths, and deep promotion output without writing anything. + +```bash +openclaw memory rem-harness [--agent ] [--include-promoted] [--json] +``` + +- `--agent `: scope to a single agent (default: the default agent). +- `--include-promoted`: include already promoted deep candidates. +- `--json`: print JSON output. + ## Dreaming (experimental) Dreaming is the background memory consolidation system with three cooperative diff --git a/docs/concepts/dreaming.md b/docs/concepts/dreaming.md index 2506b46976b..ffb9a1ab6f8 100644 --- a/docs/concepts/dreaming.md +++ b/docs/concepts/dreaming.md @@ -164,6 +164,21 @@ openclaw memory status --deep Manual `memory promote` uses deep-phase thresholds by default unless overridden with CLI flags. +Explain why a specific candidate would or would not promote: + +```bash +openclaw memory promote-explain "router vlan" +openclaw memory promote-explain "router vlan" --json +``` + +Preview REM reflections, candidate truths, and deep promotion output without +writing anything: + +```bash +openclaw memory rem-harness +openclaw memory rem-harness --json +``` + ## Key defaults All settings live under `plugins.entries.memory-core.config.dreaming`.