openclaw/docs/cli
Yuval Dinodia 623a015928
fix(memory-wiki): preserve user edits when rolling back ChatGPT imports (#116517)
* fix(memory-wiki): preserve user edits when rolling back ChatGPT imports

Rollback deleted created pages and overwrote updated pages unconditionally,
destroying content the user added after the import with no recovery copy.
Import runs now record a content hash of each written page after vault
compile, and rollback preserves any page whose current content no longer
matches into the run's recovered directory before deleting or restoring.
Legacy run records without hashes preserve unconditionally.

Fixes #116457

* fix(memory-wiki): move pages aside atomically during rollback

Rollback now renames the live page into the recovery location before
inspecting it, so a concurrent external save cannot land between the
content read and the delete or snapshot restore. Matching pages drop
the moved copy; mismatching pages keep it as the recovery file.

* fix(memory-wiki): make rollback snapshot restore collision-safe

The snapshot restore wrote directly to the page path after the
move-aside, so a page recreated by an editor in that window was
overwritten with no recovery copy. Restore now creates the snapshot
exclusively and on collision moves the recreated page aside and
retries; recovery filenames are uniqued so a second move-aside cannot
clobber an earlier preserved copy.

* fix(memory-wiki): record rollback hashes at write time

* fix(memory-wiki): make ChatGPT rollback retry-safe

* fix(memory-wiki): fence ChatGPT rollback phases

---------

Co-authored-by: Vincent Koc <vincentkoc@ieee.org>
2026-07-31 08:01:52 +00:00
..
acp.md fix(gateway): keep configured local auth authoritative (#114462) 2026-07-27 05:43:31 -04:00
agent.md fix(cli): preserve installed plugins in agent exec (#116336) 2026-07-30 03:00:17 -07:00
agents.md refactor(config): config-surface reduction tranche 3 — product consolidations (review request) (#111527) 2026-07-21 20:28:43 -07:00
approvals.md refactor(infra): move exec approvals into the shared SQLite state DB (#114063) 2026-07-26 06:39:23 -04:00
attach.md
audit.md docs: retire config keys that strict validation rejects (#113956) 2026-07-25 18:24:02 -07:00
backup.md fix: make filesystem publication crash-durable (#113453) 2026-07-24 20:58:17 -07:00
browser.md feat(browser): scoped and structured page extraction (#113938) 2026-07-25 19:32:44 -07:00
channels.md fix: open selected channel setup immediately (#113197) 2026-07-27 03:30:15 +10:00
clawbot.md
claws.md feat(claws): materialize CLAW.md prompts (#113454) 2026-07-27 08:30:50 -07:00
commitments.md docs: sync heartbeat, memory, commitments, and system-prompt docs with current behavior (#112295) 2026-07-25 06:49:14 -07:00
completion.md
config.md refactor(config): config-surface reduction tranche 3 — product consolidations (review request) (#111527) 2026-07-21 20:28:43 -07:00
configure.md feat(models): make per-agent allowlists explicit (#110888) 2026-07-18 21:42:05 +01:00
crestodian.md
cron.md docs(automation): rename scheduled-tasks feature wording to Automations (#114855) 2026-07-30 07:21:56 -07:00
daemon.md refactor(config): purge numeric tuning knobs behind built-in defaults (#111382) 2026-07-19 07:35:45 -07:00
dashboard.md
devices.md
directory.md fix(whatsapp): add live group directory (#109886) 2026-07-17 11:12:07 +01:00
dns.md docs: rewrite published docs grounded in current source (#100142) 2026-07-05 00:32:47 -04:00
docs.md
doctor.md fix: agent stops replying when a session transcript has no header row (#115080) 2026-07-28 21:47:51 +03:00
fleet.md refactor(fs): adopt fs-safe 0.5 core primitives (#113705) 2026-07-28 03:41:47 -04:00
flows.md
gateway.md fix(gateway): stop start-time repair from retargeting managed services (#115935) 2026-07-29 13:41:19 -04:00
health.md fix(channels): recover dead-lettered inbound events (#111029) 2026-07-19 00:44:23 +01:00
hooks.md refactor(agents): retire TOOLS.md into an AGENTS.md section with a doctor migration (#113966) 2026-07-27 03:56:30 -04:00
index.md fix(cli): isolate explicit profiles from inherited service state (#114446) 2026-07-27 04:59:20 -04:00
infer.md fix(cli): harden infer provider workflows (#115054) 2026-07-28 04:05:30 -04:00
logs.md fix(logging): give non-default profiles their own gateway log file (#112777) 2026-07-22 19:08:41 -04:00
mcp.md fix(cli): report failed MCP probes to automation (#116664) 2026-07-30 21:57:35 -07:00
memory.md fix(memory): session backfill drains and rolls back reversibly (#115926) 2026-07-29 10:48:16 -04:00
message.md
migrate.md docs(codex): replace stale app/list wording with app/installed (#115867) 2026-07-29 08:09:44 -04:00
models.md feat(cli): add models auth logout (#114407) 2026-07-27 03:48:27 -04:00
node.md refactor(infra): move exec approvals into the shared SQLite state DB (#114063) 2026-07-26 06:39:23 -04:00
nodes.md fix(browser): uploads fail when the browser runs on a remote node (#115291) 2026-07-29 20:31:46 +08:00
onboard.md refactor(agents): retire TOOLS.md into an AGENTS.md section with a doctor migration (#113966) 2026-07-27 03:56:30 -04:00
openclaw.md docs: document gateway and memory chat wizards (#115487) 2026-07-28 22:26:19 -04:00
pairing.md feat(ui): manage DM pairing requests in Channels (#112401) 2026-07-22 04:54:20 -07:00
path.md
plugins.md docs(plugins): clarify hook runtime activation (#77629) 2026-07-30 01:02:31 +08:00
policy.md refactor(agents): retire TOOLS.md into an AGENTS.md section with a doctor migration (#113966) 2026-07-27 03:56:30 -04:00
promos.md
proxy.md
qr.md feat(gateway): add least-privilege voice-node pairing (#115712) 2026-07-29 04:09:37 -04:00
reset.md refactor: store workspace setup state in SQLite (#109147) 2026-07-16 10:28:36 -07:00
sandbox.md docs(cli): cross-link agent exec from automation and policy pages (#114034) 2026-07-26 01:19:11 -04:00
secrets.md feat(onepassword): add managed SecretRef integration 2026-07-25 06:03:30 -05:00
security.md docs: retire config keys that strict validation rejects (#113956) 2026-07-25 18:24:02 -07:00
sessions.md refactor(cron): retire cron_run_logs; ledger-owned retention and cancellation 2026-07-13 11:41:27 -07:00
setup.md docs: document gateway and memory chat wizards (#115487) 2026-07-28 22:26:19 -04:00
skills.md feat(skills): support external skills.sh references (#112751) 2026-07-25 08:24:34 -05:00
status.md docs(status): document missing --timeout flag (#102363) 2026-07-29 05:59:18 -04:00
system.md
tasks.md
transcripts.md feat: auto-collect durable meeting transcripts (#113122) 2026-07-23 11:41:08 -07:00
tui.md refactor(config): config-surface reduction tranche 1 — retire dead keys, dedupe channel schemas, add growth ratchet (#111142) 2026-07-19 00:52:37 -07:00
uninstall.md
update.md fix(update): honor declared plugin entrypoints during repair (#115610) 2026-07-29 01:43:30 -04:00
voicecall.md
webhooks.md docs(security): add safe Gmail reader setup (#116041) 2026-07-29 15:07:35 -04:00
wiki.md fix(memory-wiki): preserve user edits when rolling back ChatGPT imports (#116517) 2026-07-31 08:01:52 +00:00
workboard.md fix(workboard): avoid duplicate proof entries on completion (#111324) 2026-07-19 03:00:37 -07:00
worker.md fix(worker): preserve scheduled tool authority 2026-07-24 01:24:03 -05:00