Files
gbrain/test
948ccc7b4f fix(cli): wire gbrain bench publish dispatcher + honor DB-plane eval.capture
Two backlog fixes:

1. Takeover of #1476 (closes #1474): 'bench' was missing from CLI_ONLY and
   runBenchPublish was imported nowhere, so the documented
   'gbrain bench publish' hit 'Unknown command'. Adds the 'bench' token to
   master's current CLI_ONLY set (the original PR rewrote the line from a
   stale v0.41.14 snapshot, deleting ~15 newer commands), routes bench
   through a no-DB bypass (bench publish is pure file I/O), and adds
   'bench' to CLI_ONLY_SELF_HELP so --help reaches bench-publish's own
   usage text.

2. Fixes #1475: 'gbrain config set eval.capture true' persisted to the DB
   plane but was never read — the capture gate reads the sync file-plane
   ctx.config. loadConfigWithEngine now sparse-merges eval.capture /
   eval.scrub_pii (file wins per key), connectEngine stashes the merged
   values on GBRAIN_EVAL_CAPTURE / GBRAIN_EVAL_SCRUB_PII (same pattern as
   the multimodal flags), and the gates consult the stash when the file
   plane is silent.

Co-authored-by: Mr-B-1 <Mr-B-1@users.noreply.github.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-21 14:30:23 -07:00
..