Skip to content

Garry's Opinionated OpenClaw/Hermes Agent Brain

TypeScript

docs(migrations): v0.60.269.0 note, plain managed sync retries recorded failures and --retry-failed is an alias (#6712 PR 3)

garrytand93262d2035c
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 2bc80c59bb..04cd49129f 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -60,6 +60,7 @@ identifiers and attribution are available in the pre-removal Git revision
- `LatencyProxy` moved to `test/helpers/latency-proxy.ts`.
- Convergence harness (#6841): a write the brain accepted (exit 10) that was still unsettled when its writer stopped is settled by its receipt (`get_write_request`) after recovery, so it is never misread as a lost acknowledged write. The nightly's note-0266 failure was this harness gap; no product write was lost.
- `sync-run.ts`'s ceiling is 1762, where L7 and L8 compose.
+- Migration note: `skills/migrations/v0.60.269.0.md`.
## [0.60.268.0] - 2026-10-16
diff --git a/skills/migrations/v0.60.269.0.md b/skills/migrations/v0.60.269.0.md
new file mode 100644
index 0000000000..c5c5bfa2db
--- /dev/null
+++ b/skills/migrations/v0.60.269.0.md
@@ -0,0 +1,41 @@
+# Upgrade to v0.60.269.0: a plain managed sync retries recorded failures; `--retry-failed` is a deprecated alias
+
+On a managed source, a plain `gbrain sync` now retries the failure the previous run recorded. Before, only
+`gbrain sync --retry-failed` did. `--retry-failed` stays accepted for two releases: it does the same as a plain sync
+and prints one `[gbrain notice sync_retry_failed_deprecated]`. On a google or github connector source it still
+re-approves failed item receipts. This upgrade has no schema migration and rewrites no rows.
+
+1. **Finish the upgrade.** `gbrain upgrade` runs it. To be sure, on the brain host:
+ ```bash
+ gbrain apply-migrations --yes --no-autopilot-install
+ ```
+
+2. **Drop `--retry-failed` from managed-source schedules.** Look for it in the user's crontab, launchd or systemd
+ units, and agent routines:
+ ```bash
+ crontab -l 2>/dev/null | grep -n -- '--retry-failed'
+ ```
+ On a managed source, remove the flag; the plain command does the same. Ask the user before you edit a schedule
+ they own. Doctor's recipe stays `gbrain sync --all --no-pull --hard-deadline 13m`. Keep the flag on a google or
+ github connector source if the user relies on it to re-approve failed items.
+
+3. **Two failures need the user, and no sync retries them.** Preview:
+ ```bash
+ gbrain repair managed-sync-orphans --source <id>
+ ```
+ - `slug_mode_refused`: the checkpoint was refused `slug_root_mode_mismatch` while the source keeps the other slug
+ mode pin. Retiring the cursor keeps the pin.
+ - `checkpoint_moved` (#6834): the source's checkpoint moved outside this run.
+
+ Relay the preview to the user. Apply only with their agreement: `--apply --expect <hash>`, using the hash from the
+ preview.
+
+4. **Legacy pages are adopted, not forked.** A file whose page an older gbrain imported under a different slug
+ spelling now imports into that page. When several pages match, the file is held as `legacy_slug_conflict`.
+ `gbrain sync status --source <id> --json` lists the hold with the pages. The user keeps one and removes the
+ others, then syncs. Twin pages that older syncs already created are not merged.
+
+Verify:
+```bash
+gbrain sync --no-pull --source <id> && gbrain sync status --source <id> --json # state synced, or a named hold
+```
diff --git a/skills/skills.lock.json b/skills/skills.lock.json
index 78de0b6899..b3829c52cb 100644
--- a/skills/skills.lock.json
+++ b/skills/skills.lock.json
@@ -159,6 +159,7 @@
"migrations/v0.60.20.0.md": "9266863a9f76164c64a72b1be17b8ddb3bb97e1c3c5db9f666b69ebc7a228fdd",
"migrations/v0.60.26.0.md": "30d761ef5a2361bad66053f97b7b659304a591274be33e281f4f6df0d7d5566e",
"migrations/v0.60.266.0.md": "570f58cd3ff0ba759fc034362d3eadcbeaaeb909e34c881145a8fb1dbf881b53",
+ "migrations/v0.60.269.0.md": "9e14518ac62612b01082f8fd92d87f4a93752afa0424790bd6568339dc130f4f",
"migrations/v0.60.27.0.md": "1c3ac6a23ccfce8ad299457799b02958f7d21fcd967c471634f73bdb66f2b603",
"migrations/v0.60.28.0.md": "f7fa936066fb188f6f3f54bb6c720f57743792e4371d0b98dd3cb5a57d1bd9c9",
"migrations/v0.60.30.0.md": "2dd24bb319cad80ae15c52fb163c704fc3adfc1182d44ab563f636f07434a9e0",