Problem
When an agent connects to gbrain for the first time or after an upgrade, there is no guided onboarding path. The agent wires up gbrain and never discovers critical health issues.
Real-world data from a 165K-page production brain:
| Metric |
Current |
Target |
| Health score |
5/10 |
8/10 |
| Brain score |
56/100 |
80/100 |
| Orphan pages |
88% |
<30% |
| Entity link coverage |
32% |
>70% |
| Timeline coverage |
69% |
>90% |
| Takes count |
0 |
>100 |
Proposed: gbrain onboard
gbrain onboard # interactive
gbrain onboard --auto # apply all fixes
gbrain onboard --check # dry-run
- Runs doctor + features + health + schema stats
- Identifies top issues by impact
- Presents migration prompts for each fixable issue
- Records completed migrations in kv (idempotent re-runs)
- Suggests unused features (think, brainstorm, salience, etc.)
Migration prompt format:
id: onboard-entity-links-v1
version_introduced: 0.41.0
condition: "entity_link_coverage < 0.5"
prompt: "Entity link coverage is {coverage}%. Run extraction?"
command: "gbrain extract links --ner"
auto_eligible: true
Related PRs:
Problem
When an agent connects to gbrain for the first time or after an upgrade, there is no guided onboarding path. The agent wires up gbrain and never discovers critical health issues.
Real-world data from a 165K-page production brain:
Proposed:
gbrain onboardMigration prompt format:
Related PRs: