A7: run only the resolve_symbol_edges dream phase, detected first

/sync-gbrain --dream and the --full auto-build ran gbrain's full dream
cycle (~35 minutes, LLM phases) when the call graph needs only the
resolve_symbol_edges phase. The stage now runs
gbrain dream [--source <id>] --phase resolve_symbol_edges when the
installed gbrain accepts that phase (detected by behavior: gbrain
validates --phase before printing --help). Otherwise it skips the forced
dream and says the full cycle costs about 35 minutes and how to run it,
instead of starting it.

Co-authored-by: liutiming <timingliu@outlook.com>
This commit is contained in:
garrytanandliutiming committed 2026-10-03 21:26:00 +00:00
1 parent ce651c2089
commit 76bf72d89f
4 files changed
+106 -8

No files matched your search

+19
View File
@@ -453,6 +453,25 @@ with `gbrain sources remove <id>` only if you are sure.
---
## `dream: skipped — the installed gbrain cannot run only the resolve_symbol_edges phase, and the full dream cycle costs about 35 minutes (LLM phases).`
**Problem.** `/sync-gbrain --dream` (or `--full`) did not build the call
graph.
**Cause.** The call graph needs only gbrain's `resolve_symbol_edges` phase.
The installed gbrain cannot run that phase alone (no `dream --phase`, or no
such phase), and gstack no longer starts gbrain's full maintenance cycle on
its own: it takes about 35 minutes and runs LLM phases.
**Fix.**
```bash
gstack-gbrain-install # upgrade gbrain, then:
/sync-gbrain --dream
```
Or run the full cycle yourself when you have the time: `gbrain dream --source <id>`.
---
## Nothing is syncing but I expect it to
**Not an error, but a common gotcha.** Check in order: