Garry Tan and capy-ai[bot]
6b033e79fa
Health checks find gbrain's config under GBRAIN_HOME, trimmed the way gbrain does (GST-2625) ( #4344 )
...
* Health checks find gbrain config under GBRAIN_HOME, trimmed the way gbrain trims it (GST-2625)
lib/checks.ts chose the gbrain health check from ~/.gbrain/config.json only, so under GBRAIN_HOME it judged the wrong brain. gbrainConfigDir() in lib/gbrain-exec.ts now follows gbrain configDir() exactly (trim(), refuse relative or .. values, return null), every caller treats null as no config, and checks.ts uses it. bin/gstack-gbrain-home.sh trims the JavaScript trim() set instead of POSIX [[:space:]], so a NBSP- or BOM-only GBRAIN_HOME means the default home. test/gbrain-home-parity.test.ts runs one table against both resolvers.
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
* gstack-gbrain-detect no longer crashes when GBRAIN_HOME is relative or has a .. segment
gbrainConfigDir() now returns null for a GBRAIN_HOME gbrain refuses. The detect script joined that value at load time and threw a TypeError before printing any JSON. It now treats a refused GBRAIN_HOME as no config, like the other callers, and the shape test covers it.
Review-Finding: p1/specialist-batched#1 reader=testing
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
---------
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
2026-11-13 18:22:43 +00:00
..
2026-11-12 12:42:41 +00:00
2026-11-10 15:55:42 +00:00
2026-11-12 01:49:08 +00:00
2026-11-08 03:23:53 +00:00
2026-11-09 09:14:58 +00:00
2026-11-09 08:55:27 +00:00
2026-11-04 03:23:51 +00:00
2026-11-09 23:29:20 +00:00
2026-11-09 06:38:42 +00:00
2026-11-07 06:52:04 +00:00
2026-11-07 04:17:35 +00:00
2026-11-09 09:14:58 +00:00
2026-11-09 18:23:40 +00:00
2026-11-04 23:59:00 +00:00
2026-11-07 04:17:35 +00:00
2026-11-07 08:39:20 +00:00
2026-11-07 04:17:35 +00:00
2026-11-04 03:42:16 +00:00
2026-11-04 03:42:16 +00:00
2026-11-07 04:17:35 +00:00
2026-11-08 16:53:27 +00:00
2026-11-07 04:17:35 +00:00
2026-11-07 19:18:08 +00:00
2026-11-07 04:17:35 +00:00
2026-11-07 08:39:20 +00:00
2026-11-07 18:43:11 +00:00
2026-11-08 00:59:38 +00:00
2026-11-05 00:50:43 +00:00
2026-11-07 22:12:57 +00:00
2026-11-06 14:52:09 +00:00
2026-11-10 06:22:58 +00:00
2026-11-08 14:26:14 +00:00
2026-11-03 22:58:53 +00:00
2026-11-08 14:26:14 +00:00
2026-11-08 14:26:14 +00:00
2026-11-09 21:16:27 +00:00
2026-11-07 06:52:04 +00:00
2026-11-07 06:02:49 +00:00
2026-11-04 02:59:50 +00:00
2026-11-07 01:26:49 +00:00
2026-11-06 17:16:24 +00:00
2026-11-08 14:26:14 +00:00
2026-11-08 14:26:14 +00:00
2026-11-08 14:26:14 +00:00
2026-11-09 05:56:41 +00:00
2026-11-05 05:42:03 +00:00
2026-11-07 22:12:57 +00:00
2026-11-07 06:52:04 +00:00
2026-11-07 22:12:57 +00:00
2026-11-07 22:12:57 +00:00
2026-11-05 00:29:18 +00:00
2026-11-07 06:52:04 +00:00
2026-11-07 22:12:57 +00:00
2026-11-08 14:26:14 +00:00
2026-11-04 00:18:18 +00:00
2026-11-10 07:58:50 +00:00
2026-11-05 15:57:51 +00:00
2026-11-08 14:26:14 +00:00
2026-11-08 14:26:14 +00:00
2026-11-09 05:56:41 +00:00
2026-11-10 15:55:42 +00:00
2026-11-10 15:55:42 +00:00
2026-11-08 02:18:23 +00:00
2026-11-08 11:23:55 +00:00
2026-11-07 22:12:57 +00:00
2026-11-04 22:19:08 +00:00
2026-11-08 02:18:23 +00:00
2026-11-07 19:56:12 +00:00
2026-11-07 19:56:12 +00:00
2026-11-07 19:56:12 +00:00
2026-11-08 02:18:23 +00:00
2026-11-07 06:39:20 +00:00
2026-11-07 04:17:35 +00:00
2026-11-12 15:44:36 +00:00
2026-11-09 01:42:33 +00:00
2026-11-09 04:14:37 +00:00
2026-11-09 01:42:33 +00:00
2026-11-09 01:42:33 +00:00
2026-11-10 15:55:42 +00:00
2026-11-07 04:17:35 +00:00
2026-11-07 06:02:49 +00:00
2026-11-08 14:26:14 +00:00
2026-11-07 06:52:04 +00:00
2026-11-07 04:17:35 +00:00
2026-11-08 14:26:14 +00:00
2026-11-08 14:26:14 +00:00
2026-11-07 05:51:12 +00:00
2026-11-04 22:19:08 +00:00
2026-11-07 06:02:49 +00:00
2026-11-03 17:08:30 +00:00
2026-11-03 17:08:30 +00:00
2026-11-08 14:26:14 +00:00
2026-11-08 14:26:14 +00:00
2026-11-08 14:26:14 +00:00
2026-11-08 14:26:14 +00:00
2026-11-07 04:17:35 +00:00
2026-11-07 06:52:04 +00:00
2026-11-09 21:46:36 +00:00
2026-11-06 16:31:18 +00:00
2026-11-09 21:46:36 +00:00
2026-11-07 06:52:04 +00:00
2026-11-07 08:39:20 +00:00
2026-11-09 08:00:55 +00:00
2026-11-09 18:30:21 +00:00
2026-11-13 18:22:43 +00:00
2026-11-13 18:22:43 +00:00
2026-11-08 15:36:28 +00:00
2026-11-04 03:01:32 +00:00
2026-11-07 04:17:35 +00:00
2026-11-07 06:52:04 +00:00
2026-11-08 14:26:14 +00:00
2026-11-07 05:51:12 +00:00
2026-11-07 05:51:12 +00:00
2026-11-07 06:52:04 +00:00
2026-11-11 17:59:26 +00:00
2026-11-08 14:26:14 +00:00
2026-11-07 05:51:12 +00:00
2026-11-08 14:26:14 +00:00
2026-11-08 14:26:14 +00:00
2026-11-08 14:26:14 +00:00
2026-11-09 16:45:48 +00:00
2026-11-06 15:04:30 +00:00
2026-11-13 17:29:07 +00:00
2026-11-04 01:32:57 +00:00
2026-11-09 08:55:27 +00:00
2026-11-08 14:26:14 +00:00
2026-11-10 06:36:56 +00:00
2026-11-12 01:49:08 +00:00
2026-11-12 01:49:08 +00:00
2026-11-13 17:29:07 +00:00
2026-11-07 06:02:49 +00:00
2026-11-07 15:25:35 +00:00
2026-11-07 06:52:04 +00:00
2026-11-04 03:33:48 +00:00
2026-11-03 22:58:53 +00:00
2026-11-05 00:53:58 +00:00
2026-11-08 14:26:14 +00:00
2026-11-04 22:19:08 +00:00
2026-11-06 12:40:49 +00:00
2026-11-05 06:06:09 +00:00
2026-11-08 14:26:14 +00:00
2026-11-07 06:52:04 +00:00
2026-11-09 23:06:04 +00:00
2026-11-04 22:19:08 +00:00
2026-11-04 01:31:37 +00:00
2026-11-07 22:12:57 +00:00
2026-11-05 05:16:39 +00:00
2026-11-04 03:03:39 +00:00
2026-11-07 06:02:49 +00:00
2026-11-07 15:25:35 +00:00
2026-11-07 06:52:04 +00:00
2026-11-07 22:12:57 +00:00
2026-11-07 22:12:57 +00:00
2026-11-07 22:12:57 +00:00
2026-11-07 22:12:57 +00:00
2026-11-07 22:12:57 +00:00
2026-11-07 22:12:57 +00:00
2026-11-07 22:12:57 +00:00
2026-11-07 22:12:57 +00:00
2026-11-07 04:17:35 +00:00
2026-11-08 14:26:14 +00:00
2026-11-07 06:52:04 +00:00
2026-11-07 06:02:49 +00:00
2026-11-08 14:26:14 +00:00
2026-11-08 14:26:14 +00:00
2026-11-07 06:52:04 +00:00
2026-11-08 03:23:53 +00:00
2026-11-08 14:26:14 +00:00
2026-11-08 15:36:28 +00:00
2026-11-07 06:02:49 +00:00
2026-11-07 06:02:49 +00:00
2026-11-05 00:01:33 +00:00
2026-11-08 14:26:14 +00:00
2026-11-07 07:39:51 +00:00
2026-11-07 04:17:35 +00:00
2026-11-08 00:59:38 +00:00
2026-11-07 06:52:04 +00:00
2026-11-11 14:37:58 +00:00
2026-11-08 00:59:38 +00:00
2026-11-07 06:52:04 +00:00
2026-11-07 05:51:12 +00:00
2026-11-05 00:43:21 +00:00
2026-11-10 01:33:31 +00:00
2026-11-12 02:24:21 +00:00
2026-11-10 01:33:31 +00:00
2026-11-04 00:18:18 +00:00
2026-11-10 01:33:31 +00:00
2026-11-06 17:13:48 +00:00
2026-11-04 08:02:04 +00:00
2026-11-10 01:33:31 +00:00
2026-11-10 03:41:44 +00:00
2026-11-10 01:33:31 +00:00
2026-11-10 01:33:31 +00:00
2026-11-10 01:33:31 +00:00
2026-11-10 02:12:29 +00:00
2026-11-08 21:10:22 +00:00
2026-11-10 01:33:31 +00:00
2026-11-07 06:52:04 +00:00
2026-11-08 00:59:38 +00:00
2026-11-07 22:12:57 +00:00
2026-11-07 06:52:04 +00:00
2026-11-08 17:09:24 +00:00
2026-11-06 14:52:09 +00:00
2026-11-07 06:52:04 +00:00
2026-11-09 06:38:42 +00:00
2026-11-10 07:58:50 +00:00
2026-11-04 01:39:08 +00:00
2026-11-09 06:38:42 +00:00
2026-11-09 08:55:27 +00:00
2026-11-07 06:56:32 +00:00
2026-11-09 18:24:44 +00:00
2026-11-09 18:24:44 +00:00
2026-11-05 17:57:21 +00:00
2026-11-10 02:12:29 +00:00
2026-11-04 03:15:35 +00:00
2026-11-08 14:26:14 +00:00
2026-11-07 06:52:04 +00:00
2026-11-04 01:28:17 +00:00
2026-11-07 06:52:04 +00:00
2026-11-03 22:44:59 +00:00
2026-11-05 02:30:04 +00:00
2026-11-04 09:55:42 +00:00
2026-11-08 01:46:06 +00:00
2026-11-03 18:22:59 +00:00
2026-11-04 00:11:07 +00:00
2026-11-12 12:42:41 +00:00
2026-11-08 01:46:06 +00:00
2026-11-04 09:55:42 +00:00
2026-11-09 11:35:56 +00:00
2026-11-09 08:00:55 +00:00
2026-11-04 23:46:23 +00:00
2026-11-05 03:37:28 +00:00
2026-11-04 09:55:42 +00:00
2026-11-03 22:35:15 +00:00
2026-11-04 01:23:43 +00:00
2026-11-09 11:28:20 +00:00
2026-11-06 18:07:57 +00:00
2026-11-09 21:43:04 +00:00
2026-11-08 14:26:14 +00:00
2026-11-07 06:01:30 +00:00
2026-11-12 12:42:41 +00:00
2026-11-06 12:33:37 +00:00
2026-11-09 23:41:35 +00:00
2026-11-07 11:44:50 +00:00
2026-11-06 11:27:58 +00:00
2026-11-09 14:13:19 +00:00
2026-11-09 03:43:59 +00:00
2026-11-04 23:53:55 +00:00
2026-11-04 02:57:34 +00:00
2026-11-04 23:53:55 +00:00
2026-11-09 11:28:20 +00:00
2026-11-08 14:26:14 +00:00
2026-11-09 11:28:20 +00:00
2026-11-09 03:43:59 +00:00
2026-11-07 06:01:30 +00:00
2026-11-08 00:59:38 +00:00
2026-11-06 23:37:33 +00:00
2026-11-04 04:35:24 +00:00
2026-11-10 03:41:44 +00:00
2026-11-07 22:12:57 +00:00
2026-11-09 23:45:47 +00:00
2026-11-11 17:59:26 +00:00
2026-11-08 14:26:14 +00:00
2026-11-11 22:48:18 +00:00
2026-11-08 14:26:14 +00:00
2026-11-07 06:52:04 +00:00
2026-11-07 06:56:32 +00:00
2026-11-04 03:01:32 +00:00
2026-11-08 15:36:28 +00:00
2026-11-07 04:17:35 +00:00
2026-11-03 18:34:14 +00:00
2026-11-10 17:37:51 +00:00
2026-11-07 06:52:04 +00:00
2026-11-07 18:43:11 +00:00
2026-11-07 06:01:30 +00:00
2026-11-09 05:56:41 +00:00
2026-11-07 04:17:35 +00:00
2026-11-06 10:16:00 +00:00
2026-11-06 10:16:00 +00:00
2026-11-06 12:35:40 +00:00
2026-11-10 01:33:31 +00:00
2026-11-07 11:44:50 +00:00
2026-11-06 04:33:54 +00:00
2026-11-04 02:59:50 +00:00
2026-11-06 18:14:51 +00:00
2026-11-06 08:47:50 +00:00
2026-11-07 15:44:35 +00:00
2026-11-05 04:16:06 +00:00
2026-11-05 17:12:15 +00:00
2026-11-10 06:00:01 +00:00
2026-11-10 01:43:01 +00:00
2026-11-06 04:33:54 +00:00
2026-11-09 11:28:20 +00:00
2026-11-12 01:49:08 +00:00
2026-11-08 00:59:38 +00:00
2026-11-07 06:52:04 +00:00
2026-11-05 02:30:04 +00:00
2026-11-06 04:33:54 +00:00
2026-11-04 01:32:57 +00:00
2026-11-08 00:59:38 +00:00
2026-11-12 01:49:08 +00:00
2026-11-10 01:03:46 +00:00
2026-11-10 06:36:56 +00:00
2026-11-03 20:09:15 +00:00
2026-11-08 14:26:14 +00:00
2026-11-03 20:09:15 +00:00
2026-11-08 14:26:14 +00:00
2026-11-03 18:22:59 +00:00
2026-11-03 22:35:15 +00:00
2026-11-08 00:59:38 +00:00
2026-11-08 08:58:11 +00:00
2026-11-07 15:44:35 +00:00
2026-11-08 00:59:38 +00:00
2026-11-09 23:41:35 +00:00
2026-11-06 13:52:51 +00:00
2026-11-08 00:59:38 +00:00
2026-11-08 14:26:14 +00:00
2026-11-03 17:08:30 +00:00
2026-11-07 06:52:04 +00:00
2026-11-07 06:52:04 +00:00
2026-11-07 06:52:04 +00:00
2026-11-07 06:02:49 +00:00
2026-11-04 23:59:00 +00:00
2026-11-09 23:06:04 +00:00
2026-11-09 23:06:04 +00:00
2026-11-05 15:57:51 +00:00
2026-11-05 00:22:40 +00:00
2026-11-07 06:52:04 +00:00
2026-11-07 16:39:15 +00:00
2026-11-07 06:02:49 +00:00
2026-11-07 06:02:49 +00:00
2026-11-07 06:02:49 +00:00
2026-11-07 06:02:49 +00:00
2026-11-07 06:02:49 +00:00
2026-11-07 06:02:49 +00:00
2026-11-09 23:06:04 +00:00
2026-11-10 15:55:42 +00:00
2026-11-09 15:54:27 +00:00
2026-11-09 15:54:27 +00:00
2026-11-09 23:06:04 +00:00
2026-11-09 15:54:27 +00:00
2026-11-07 06:52:04 +00:00
2026-11-07 18:43:11 +00:00
2026-11-07 04:17:35 +00:00
2026-11-07 06:52:04 +00:00
2026-11-07 06:52:04 +00:00
2026-11-07 22:12:57 +00:00
2026-11-08 14:26:14 +00:00
2026-11-03 22:51:42 +00:00
2026-11-07 19:49:19 +00:00
2026-11-07 06:01:30 +00:00
2026-11-09 21:46:36 +00:00
2026-11-05 00:43:21 +00:00
2026-11-05 00:43:21 +00:00
2026-11-09 06:37:08 +00:00
2026-11-08 02:18:23 +00:00
2026-11-09 15:54:27 +00:00
2026-11-08 14:26:14 +00:00
2026-11-10 15:55:42 +00:00
2026-11-08 00:59:38 +00:00
2026-11-09 23:06:04 +00:00
2026-11-05 02:30:04 +00:00
2026-11-07 06:02:49 +00:00
2026-11-12 15:04:43 +00:00
2026-11-08 14:26:14 +00:00
2026-11-08 14:26:14 +00:00
2026-11-09 05:56:41 +00:00
2026-11-07 06:01:30 +00:00
2026-11-06 12:40:49 +00:00
2026-11-05 17:56:15 +00:00
2026-11-10 09:34:35 +00:00
2026-11-06 19:26:10 +00:00
2026-11-06 20:28:28 +00:00
2026-11-11 19:18:15 +00:00
2026-11-09 01:42:33 +00:00
2026-11-09 01:42:33 +00:00
2026-11-04 22:19:08 +00:00
2026-11-04 22:19:08 +00:00