Skip to content

Garry's Opinionated OpenClaw/Hermes Agent Brain

TypeScript

chore: regenerate llms bundle for lane A doc changes

time-attack247fa5fd22da
diff --git a/llms-full.txt b/llms-full.txt
index 4c532891c8..f8b8bd2bea 100644
--- a/llms-full.txt
+++ b/llms-full.txt
@@ -10021,7 +10021,7 @@ Source: https://raw.githubusercontent.com/garrytan/gbrain/master/docs/guides/tro
| Check | What it could not read | Fix |
| --- | --- | --- |
-| `multi_source_drift` | a source's `local_path` root or a directory below it (`details.unreadable_sources`), or the walk hit its bound (`details.limit` files / `details.timeout_ms`) | fix the path or permissions (`gbrain sources status`); for a large source re-run with `GBRAIN_DRIFT_LIMIT=<files> GBRAIN_DRIFT_TIMEOUT_MS=<ms> gbrain doctor` |
+| `multi_source_drift` | a source's `local_path` root or a directory below it (`details.unreadable_sources`), the walk hit its bound (`details.limit` files / `details.timeout_ms`), or the git toplevel of a source pinned to git-root slugs could not be resolved (`details.git_root_skipped`) | fix the path or permissions (`gbrain sources status`); for a large source re-run with `GBRAIN_DRIFT_LIMIT=<files> GBRAIN_DRIFT_TIMEOUT_MS=<ms> gbrain doctor`; for a git-root source, make its `local_path` a git checkout that `git` can read |
| `embed_staleness` | the stale-chunk count (the embed worker's own predicate) | the reason names the database error; re-run `gbrain doctor` once it is fixed |
| `schema_pack_consistency`, `schema_pack_source_drift` | the pages or config query, or a source's active schema pack | `gbrain schema lint --with-db` runs the same classification locally; `gbrain schema active` debugs pack resolution |
@@ -11748,6 +11748,19 @@ read-only preview command (`stale-atoms: gbrain repair stale-atoms`), and
"explicit_kind_required"`, `preview_command`, `docs`). Run each by name after
the user agrees (see [Explicit-only repair kinds](#explicit-only-repair-kinds)).
+When one kind's preview fails (for example a statement timeout on a large
+brain), the rest of the plan still prints. The kind is not a repair step: a
+`Repair previews that failed` block lists it with its error code, its error
+and its preview command (`--json`: `repair_preview_failures[]`, present only
+when a preview failed, each `{kind, code, message, why, fix}`; `code` is
+`timeout` for a statement timeout, which `GBRAIN_STATEMENT_TIMEOUT` controls,
+and `preview_failed` otherwise; `fix` is the read-only preview). The error
+text is redacted and capped at 300 characters. `gbrain doctor --remediate`
+runs the other steps, lists the failed kinds with their errors, and exits 1.
+A plan approved while a preview failed binds the steps it showed, so once
+that preview succeeds the approval no longer matches and the run refuses with
+`preview_changed`: preview the plan again and ask the user.
+
`gbrain doctor --remediate --yes` runs job steps only. Repair steps run only
when you also pass `--include-repairs`, which records the user's agreement;
without it they are listed as `N repair steps skipped (user agreement required):