mirror of https://github.com/garrytan/gstack.git
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> |
||
|---|---|---|
| .. | ||
| SKILL.md | ||
| SKILL.md.tmpl | ||