gstack/sync-gbrain
harjoth f3595995ac fix(sync-gbrain): read source_id from the pretty-printed sync state with jq
The sync-state file is written with JSON.stringify(state, null, 2)
(bin/gstack-gbrain-sync.ts), so the minified-JSON grep never matched and
SOURCE_ID was always empty, forcing CODE_PAGES to 0 even when an indexed
code corpus exists. Use a jq recursive lookup instead, which handles any
formatting and still degrades to empty when the file is missing.

Addresses review feedback from @time-attack.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-23 22:50:02 -07:00
..
SKILL.md fix(sync-gbrain): read source_id from the pretty-printed sync state with jq 2026-07-23 22:50:02 -07:00
SKILL.md.tmpl fix(sync-gbrain): read source_id from the pretty-printed sync state with jq 2026-07-23 22:50:02 -07:00