Garry's Opinionated OpenClaw/Hermes Agent Brain
TypeScript
docs: #7130 caps in the runbook, uncommitted file_gone holds in repair guide
garrytan84ebbcd9e8eb
diff --git a/docs/guides/repair.md b/docs/guides/repair.mdindex 74b907191e..c0d82df959 100644--- a/docs/guides/repair.md+++ b/docs/guides/repair.md@@ -2074,6 +2074,12 @@ the two `--prefer` values do opposite things in each state.| `purged_differs` | Removes the file. | Imports the file as a new page. || `file_gone` | Recreates the file from the page. | Soft-deletes the page (the mass-delete valve applies). |+A `file_gone` hold whose `meta.reason` is `never_committed` or `ignored`+(#7130) is a page whose file is missing although Git never committed it: the+sync could not tell a deletion from a file that never reached the repository,+so the page may hold the only copy. `--prefer file` deletes it after review;+committing the file again clears the hold.+`both` and `unknown` resolve as `--slug` does above. `--only` / `--skip` narrowthe held set by file path, and the preview lists each page's action.diff --git a/docs/guides/sync-unblock-runbook.md b/docs/guides/sync-unblock-runbook.mdindex f9b4146294..90e5ba22bc 100644--- a/docs/guides/sync-unblock-runbook.md+++ b/docs/guides/sync-unblock-runbook.md@@ -365,7 +365,7 @@ run converges on the next plain sync with no flag.| `pass_unfinished` | resumable | The newest pass is open or stopped at a deadline. | The plain sync (`resume_argv`); safe to loop. || `not_converged` | resumable | The pass used its four rounds while another writer kept changing the level. Everything it admitted stands. | The plain sync; after three such passes in a row `next` is `gbrain doctor --json` and a report, because another sync will not change it. || `settle_mismatch` | resumable | A path keeps settling without reading settled. The next pass re-admits it once; after three passes at one level it is a `settle_mismatch` hold that needs a person. | The plain sync, then report the hold. |-| `deletes_withheld` | blocked | The pass's deletes crossed the mass-delete threshold (#2828). It wrote one withheld record and synced everything else; no per-page hold is written. | Ask the user: restore the checkout if it is wrong, or run `GBRAIN_ALLOW_MASS_RECONCILE=1 gbrain sync --source <id>` on the brain host when the deletion is intended. `gbrain sync --source <id> --dry-run --json` lists the set and its hash. |+| `deletes_withheld` | blocked | The pass's deletes crossed the mass-delete threshold (#2828) or an absolute cap (#7130: `sync.max_deletes`, default 500; `sync.max_delete_ratio`, default 0.01 above 50 deletes; per source `<key>.source.<id>`). The record's `trip` names which. It wrote one withheld record and synced everything else; no per-page hold is written. | Ask the user: restore the checkout if it is wrong; when the deletion is intended, raise the cap for that source (`gbrain config set sync.max_deletes.source.<id> <n>`) or run `GBRAIN_ALLOW_MASS_RECONCILE=1 gbrain sync --source <id>` on the brain host. `gbrain sync --source <id> --dry-run --json` lists the set and its hash. || `admission_paused` | resumable | `sync.admission` is `imports_only` or `classify_only`. | Ask the user to run `gbrain config set sync.admission normal` when the pause is over; it is never lifted automatically. || `selection_scoped` | synced | The pass converged at a selection other than the source's configured one (a CLI `--exclude`, say) and did not advance `last_commit`. | None; the next plain sync runs the configured selection. |