Skip to content

Garry's Opinionated OpenClaw/Hermes Agent Brain

TypeScript

docs(#6712 PR 4a): runbook glossary for dry-run convergence classes

garrytan5cb8ce303678
diff --git a/docs/guides/sync-unblock-runbook.md b/docs/guides/sync-unblock-runbook.md
index eac49525e1..5194d56a38 100644
--- a/docs/guides/sync-unblock-runbook.md
+++ b/docs/guides/sync-unblock-runbook.md
@@ -311,6 +311,16 @@ days, so a soak can show that sync keeps moving on its own.
Each line has one count per kind and a `total`; `by_day` lists both line
totals for each day that recorded anything. Fields are only ever added.
+## Dry-run convergence classes
+
+On a managed source, `gbrain sync --source <id> --dry-run --json` adds a read-only `convergence` receipt (also in `sync status --detail --json`): what the level-triggered pass (#6712) would do. `--redact-paths` turns sample paths into `sha256:` prefixes so it can be shared. Each class has an `action`:
+
+- `none`: `matched` (file, record and page agree), `adopt` (only the record is stale), `kept`/`untracked` (committed mode leaves the file alone), `gone`, `deleted_same`, `legacy_same` (a deletion still matches the file), `db_ahead` (the page was edited in the database).
+- `owner` (sync finishes it): `import` (the file changed, or a new file), `reparse` (parser, origin or `--full`), `delete` (file gone, page provably from it), `keep_db` and `keep_db_pending` (DB-wins writes, 200 per pass), `legacy_unverified` (the legacy sweep checks it), `in_flight` (open work).
+- `repair` (a person decides): `held`, `dirty` (uncommitted bytes match neither side), `drift` (both sides changed), `delete_drift`, `deleted_edited`, `spelling`, `deletes_withheld` (the mass-delete valve).
+
+`status: "unavailable"` with a `code` (`reconcile_read_incomplete`: a Git listing did not finish) means the shadow could not read; the dry run is unaffected.
+
## See also
- [`write-refusals.md`](write-refusals.md#held-files-and-content-refusals): every hold code with its recovery.
diff --git a/llms-full.txt b/llms-full.txt
index 3524f914b4..7b9eaabda1 100644
--- a/llms-full.txt
+++ b/llms-full.txt
@@ -7556,6 +7556,16 @@ days, so a soak can show that sync keeps moving on its own.
Each line has one count per kind and a `total`; `by_day` lists both line
totals for each day that recorded anything. Fields are only ever added.
+## Dry-run convergence classes
+
+On a managed source, `gbrain sync --source <id> --dry-run --json` adds a read-only `convergence` receipt (also in `sync status --detail --json`): what the level-triggered pass (#6712) would do. `--redact-paths` turns sample paths into `sha256:` prefixes so it can be shared. Each class has an `action`:
+
+- `none`: `matched` (file, record and page agree), `adopt` (only the record is stale), `kept`/`untracked` (committed mode leaves the file alone), `gone`, `deleted_same`, `legacy_same` (a deletion still matches the file), `db_ahead` (the page was edited in the database).
+- `owner` (sync finishes it): `import` (the file changed, or a new file), `reparse` (parser, origin or `--full`), `delete` (file gone, page provably from it), `keep_db` and `keep_db_pending` (DB-wins writes, 200 per pass), `legacy_unverified` (the legacy sweep checks it), `in_flight` (open work).
+- `repair` (a person decides): `held`, `dirty` (uncommitted bytes match neither side), `drift` (both sides changed), `delete_drift`, `deleted_edited`, `spelling`, `deletes_withheld` (the mass-delete valve).
+
+`status: "unavailable"` with a `code` (`reconcile_read_incomplete`: a Git listing did not finish) means the shadow could not read; the dry run is unaffected.
+
## See also
- [`write-refusals.md`](write-refusals.md#held-files-and-content-refusals): every hold code with its recovery.