Skip to content

Garry's Opinionated OpenClaw/Hermes Agent Brain

TypeScript

docs(q1): document sources set-sync in the multi-source guide

garrytan96b42ce3aeb3
diff --git a/docs/guides/live-sync.md b/docs/guides/live-sync.md
index c783ebf531..b1f0693269 100644
--- a/docs/guides/live-sync.md
+++ b/docs/guides/live-sync.md
@@ -675,9 +675,7 @@ vars — incident-time escape hatches, not everyday knobs.
every queued sync job), and the daemon prints `git_pull: off
(autopilot.git_pull=false)` once per tick (`{"event":"git_pull_disabled"}`
under `--json`). Per-source `syncEnabled: false` still removes a source from
- automatic sync entirely (set it with `gbrain sources set-sync <id> off`;
- preview with `--dry-run`, then apply the printed command, which carries
- `--expect`); an explicit `gbrain sync --source <id>` keeps its
+ automatic sync entirely; an explicit `gbrain sync --source <id>` keeps its
own `--pull`/`--no-pull` choice. Managed brains never pull automatically
whatever this key says (item 8).
diff --git a/docs/guides/multi-source-brains.md b/docs/guides/multi-source-brains.md
index 2119485405..8b2b0c307a 100644
--- a/docs/guides/multi-source-brains.md
+++ b/docs/guides/multi-source-brains.md
@@ -240,6 +240,11 @@ gbrain sources mirror-readonly <id>
gbrain sources mirror-writable <id>
gbrain sources refresh <id> [--dry-run] [--resume|--abandon] Managed brains: fast-forward the checkout and sync.
gbrain sources set-strategy <id> <markdown|code|auto>
+gbrain sources set-sync <id> <on|off> [--dry-run] [--expect <on|off>]
+ Include or exclude the source from automatic sync
+ (config.syncEnabled; an explicit gbrain sync --source
+ still runs). --dry-run prints the apply command, which
+ carries --expect; a moved state refuses preview_changed.
```
### Read-only mirror sources
diff --git a/llms-full.txt b/llms-full.txt
index 2905634f1b..a53cb518d9 100644
--- a/llms-full.txt
+++ b/llms-full.txt
@@ -7525,9 +7525,7 @@ vars — incident-time escape hatches, not everyday knobs.
every queued sync job), and the daemon prints `git_pull: off
(autopilot.git_pull=false)` once per tick (`{"event":"git_pull_disabled"}`
under `--json`). Per-source `syncEnabled: false` still removes a source from
- automatic sync entirely (set it with `gbrain sources set-sync <id> off`;
- preview with `--dry-run`, then apply the printed command, which carries
- `--expect`); an explicit `gbrain sync --source <id>` keeps its
+ automatic sync entirely; an explicit `gbrain sync --source <id>` keeps its
own `--pull`/`--no-pull` choice. Managed brains never pull automatically
whatever this key says (item 8).