diff --git a/.openclaw-sync/source.json b/.openclaw-sync/source.json index bb7710919..45cffc579 100644 --- a/.openclaw-sync/source.json +++ b/.openclaw-sync/source.json @@ -1,5 +1,5 @@ { "repository": "openclaw/openclaw", - "sha": "dafcaf9d69d228588d587eb309a0f690adf05116", - "syncedAt": "2026-04-08T19:25:49.101Z" + "sha": "a71ad1204431bb38f5237faa8b5f7052b2d61065", + "syncedAt": "2026-04-08T21:45:06.385Z" } diff --git a/docs/cli/memory.md b/docs/cli/memory.md index 0815b455d..0e2d8bbd0 100644 --- a/docs/cli/memory.md +++ b/docs/cli/memory.md @@ -167,4 +167,8 @@ Notes: - If effectively active memory remote API key fields are configured as SecretRefs, the command resolves those values from the active gateway snapshot. If gateway is unavailable, the command fails fast. - Gateway version skew note: this command path requires a gateway that supports `secrets.resolve`; older gateways return an unknown-method error. - Tune scheduled sweep cadence with `dreaming.frequency`. Deep promotion policy is otherwise internal; use CLI flags on `memory promote` when you need one-off manual overrides. +- `memory rem-harness --path --grounded` previews grounded `What Happened`, `Reflections`, and `Possible Lasting Updates` from historical daily notes without writing anything. +- `memory rem-backfill --path ` writes reversible grounded diary entries into `DREAMS.md` for UI review. +- `memory rem-backfill --path --stage-short-term` also seeds grounded durable candidates into the live short-term promotion store so the normal deep phase can rank them. +- `memory rem-backfill --rollback` removes previously written grounded diary entries, and `memory rem-backfill --rollback-short-term` removes previously staged grounded short-term candidates. - See [Dreaming](/concepts/dreaming) for full phase descriptions and configuration reference. diff --git a/docs/concepts/dreaming.md b/docs/concepts/dreaming.md index b642c2d6a..3a733a867 100644 --- a/docs/concepts/dreaming.md +++ b/docs/concepts/dreaming.md @@ -81,6 +81,15 @@ subagent turn (using the default runtime model) and appends a short diary entry. This diary is for human reading in the Dreams UI, not a promotion source. +There is also a grounded historical backfill lane for review and recovery work: + +- `memory rem-harness --path ... --grounded` previews grounded diary output from historical `YYYY-MM-DD.md` notes. +- `memory rem-backfill --path ...` writes reversible grounded diary entries into `DREAMS.md`. +- `memory rem-backfill --path ... --stage-short-term` stages grounded durable candidates into the same short-term evidence store the normal deep phase already uses. +- `memory rem-backfill --rollback` and `--rollback-short-term` remove those staged backfill artifacts without touching ordinary diary entries or live short-term recall. + +The Control UI exposes the same diary backfill/reset flow so you can inspect results in the Dreams scene before deciding whether the grounded candidates deserve promotion. + ## Deep ranking signals Deep ranking uses six weighted base signals plus phase reinforcement: