From 266dbba443ace56405afe3faf0c1cd3406d79e2d Mon Sep 17 00:00:00 2001 From: "openclaw-docs-sync[bot]" Date: Mon, 27 Apr 2026 11:27:32 +0000 Subject: [PATCH] chore(sync): mirror docs from openclaw/openclaw@3bc29dd60448fa83b72c7339d64ae3777f6e699e --- .openclaw-sync/source.json | 4 ++-- docs/automation/taskflow.md | 3 +++ docs/automation/tasks.md | 2 ++ docs/concepts/memory-builtin.md | 2 ++ 4 files changed, 9 insertions(+), 2 deletions(-) diff --git a/.openclaw-sync/source.json b/.openclaw-sync/source.json index c951944ea..46b7fcc78 100644 --- a/.openclaw-sync/source.json +++ b/.openclaw-sync/source.json @@ -1,5 +1,5 @@ { "repository": "openclaw/openclaw", - "sha": "5afa24a9fcedc2ea7b7dd9fef8f71afbcc04ab0e", - "syncedAt": "2026-04-27T11:25:51.709Z" + "sha": "3bc29dd60448fa83b72c7339d64ae3777f6e699e", + "syncedAt": "2026-04-27T11:26:09.199Z" } diff --git a/docs/automation/taskflow.md b/docs/automation/taskflow.md index eaf55b0a6..db9c6390e 100644 --- a/docs/automation/taskflow.md +++ b/docs/automation/taskflow.md @@ -116,6 +116,9 @@ Example: three independent cron jobs that together form a "morning ops" routine. ## Durable state and revision tracking Each flow persists its own state and tracks revisions so progress survives gateway restarts. Revision tracking enables conflict detection when multiple sources attempt to advance the same flow concurrently. +The flow registry uses SQLite with bounded write-ahead-log maintenance, including +periodic and shutdown checkpoints, so long-running gateways do not retain +unbounded `registry.sqlite-wal` sidecar files. ## Cancel behavior diff --git a/docs/automation/tasks.md b/docs/automation/tasks.md index f05d010c8..02e9ca7d7 100644 --- a/docs/automation/tasks.md +++ b/docs/automation/tasks.md @@ -305,6 +305,8 @@ $OPENCLAW_STATE_DIR/tasks/runs.sqlite ``` The registry loads into memory at gateway start and syncs writes to SQLite for durability across restarts. +The Gateway keeps the SQLite write-ahead log bounded by using SQLite's default +autocheckpoint threshold plus periodic and shutdown `TRUNCATE` checkpoints. ### Automatic maintenance diff --git a/docs/concepts/memory-builtin.md b/docs/concepts/memory-builtin.md index 7b73f1a92..ea2a1111a 100644 --- a/docs/concepts/memory-builtin.md +++ b/docs/concepts/memory-builtin.md @@ -78,6 +78,8 @@ OpenClaw indexes `MEMORY.md` and `memory/*.md` into chunks (~400 tokens with 80-token overlap) and stores them in a per-agent SQLite database. - **Index location:** `~/.openclaw/memory/.sqlite` +- **Storage maintenance:** SQLite WAL sidecars are bounded with periodic and + shutdown checkpoints. - **File watching:** changes to memory files trigger a debounced reindex (1.5s). - **Auto-reindex:** when the embedding provider, model, or chunking config changes, the entire index is rebuilt automatically.