Skills › gstack › setup-gbrain › manifest.json
manifest.json
32 lines · setup-gbrain/sections/manifest.json at 3f79d81
1{
2 "$schema": "https://gstack.dev/schemas/section-manifest.json",
3 "skill": "setup-gbrain",
4 "version": 1,
5 "note": "PASSIVE registry (v2 plan T9 / CM2). Fields are IDs, file paths, human titles, and human-readable trigger text ONLY. The skeleton's detect (Step 1) + path picker (Step 2) are the ONLY places that decide WHEN a section is read (the install routes are branch-exclusive — at most one init route runs per invocation); required section reads are checked by test/carve-section-loading-setup-gbrain.test.ts. No machine predicate here — see docs/designs/v2_PLAN.md:663.",
6 "sections": [
7 {
8 "id": "engine-remediation",
9 "file": "engine-remediation.md",
10 "title": "Step 1.5: broken-local-engine remediation (retry / switch-to-PGLite / re-init AUQ, rollback-safe)",
11 "trigger": "running the Step 1.5 broken-engine remediation — Step 1's detect returned `gbrain_local_status` of `broken-db` or `broken-config` and no shortcut flag was passed"
12 },
13 {
14 "id": "brain-init",
15 "file": "brain-init.md",
16 "title": "Step 4: initialize the brain — per-path init procedures (Paths 1, 2a, 2b, 3, 4, Switch)",
17 "trigger": "initializing the brain in Step 4 — run ONLY the procedure for the path picked in Step 2 (Paths 1/2a/2b/3/4 or Switch; also holds the PAT scope disclosure that `--cleanup-orphans` re-uses)"
18 },
19 {
20 "id": "transcript-gate",
21 "file": "transcript-gate.md",
22 "title": "Step 7.5: transcript ingest consent (has-check, probe, recent/all/off AskUserQuestion)",
23 "trigger": "running the Step 7.5 transcript & memory ingest gate on Paths 1, 2a, 2b, or 3 (Path 4 skips this section entirely — see the skeleton's skip note)"
24 },
25 {
26 "id": "claude-md-persist",
27 "file": "claude-md-persist.md",
28 "title": "Step 8: persist the GBrain Configuration block in CLAUDE.md",
29 "trigger": "persisting the Step 8 `## GBrain Configuration` block to CLAUDE.md"
30 }
31 ]
32}