gstack/lib
kajetanma f87e9ca1f8 fix(gbrain): honor GBRAIN_HOME as workspace root, not state dir
gstack-gbrain-detect, gbrain-local-status.ts, and gbrain-exec.ts all
resolved GBRAIN_HOME/config.json when GBRAIN_HOME was set, but fell
back to $HOME/.gbrain/config.json (nested) when unset. The real
gbrain CLI always nests state under a .gbrain dir inside GBRAIN_HOME
regardless — confirmed empirically, pointing GBRAIN_HOME straight at
the .gbrain dir breaks the CLI with "No brain configured".

Net effect for any relocated-GBRAIN_HOME setup: gstack-gbrain-detect
always reported gbrain_config_exists:false and gbrain_local_status
"missing-config" even with a fully working gbrain install, and
buildGbrainEnv silently never seeded DATABASE_URL for spawned gbrain
calls. Every /sync-gbrain and /setup-gbrain invocation hit this.

Fix: always join GBRAIN_HOME (or the userHome fallback) with ".gbrain"
before appending "config.json", in all three places.
2026-07-20 10:58:59 +02:00
..
diagram-render v1.58.0.0 feat: diagram + multi-format document engine (mermaid, excalidraw, single-file HTML, DOCX) (#1990) 2026-06-12 15:38:53 -07:00
bin-context.ts v1.57.5.0 feat: cross-session decision memory + gbrain dream-stage call graph (#1910) 2026-06-08 06:20:58 -07:00
conductor-env-shim.ts v1.58.1.0 feat: hermetic local E2E + Conductor prose AskUserQuestion (#2004) 2026-06-14 11:40:57 -07:00
gbrain-exec.ts fix(gbrain): honor GBRAIN_HOME as workspace root, not state dir 2026-07-20 10:58:59 +02:00
gbrain-guards.ts v1.57.5.0 feat: cross-session decision memory + gbrain dream-stage call graph (#1910) 2026-06-08 06:20:58 -07:00
gbrain-local-status.ts fix(gbrain): honor GBRAIN_HOME as workspace root, not state dir 2026-07-20 10:58:59 +02:00
gbrain-sources.ts v1.57.5.0 feat: cross-session decision memory + gbrain dream-stage call graph (#1910) 2026-06-08 06:20:58 -07:00
gstack-decision-semantic.ts v1.57.5.0 feat: cross-session decision memory + gbrain dream-stage call graph (#1910) 2026-06-08 06:20:58 -07:00
gstack-decision.ts v1.57.5.0 feat: cross-session decision memory + gbrain dream-stage call graph (#1910) 2026-06-08 06:20:58 -07:00
gstack-memory-helpers.ts fix(gbrain): canonicalize remotes with trailing slashes 2026-07-14 12:56:09 -07:00
is-conductor.ts v1.58.1.0 feat: hermetic local E2E + Conductor prose AskUserQuestion (#2004) 2026-06-14 11:40:57 -07:00
jsonl-store.ts v1.57.5.0 feat: cross-session decision memory + gbrain dream-stage call graph (#1910) 2026-06-08 06:20:58 -07:00
redact-audit-log.ts v1.53.0.0 feat: smarter redaction — PII/secrets/legal guard across /spec, /ship, /cso, /document-* (#1797) 2026-05-30 08:54:46 -07:00
redact-engine.ts v1.58.4.0 fix: high-priority community bug wave + PTY plan-mode smoke gate (#2077) 2026-06-21 07:15:19 -07:00
redact-patterns.ts v1.58.4.0 fix: high-priority community bug wave + PTY plan-mode smoke gate (#2077) 2026-06-21 07:15:19 -07:00
staging-guard.ts v1.56.1.0 fix(sync): staging-dir ownership guard + resume-correctness fixes (#1802) (#1856) 2026-06-07 06:51:10 -07:00
worktree.ts feat: content security — 4-layer prompt injection defense for pair-agent (#815) 2026-04-06 14:41:06 -07:00