mirror of
https://github.com/garrytan/gbrain.git
synced 2026-08-14 00:48:18 +00:00
* fix(skills): company-brainify — close three sanitization-defeating defects 1. Scope truncation: the first structural grep used '>' and overwrote the retrieval-discovered scope list; Phase 1 now writes retrieval paths to /tmp/brainify-scope.txt explicitly and both greps append. 2. Facts reconciliation: the skill claimed 'gbrain sync' makes the DB stop serving deleted Facts-fence rows. Sync's convergence contract covers page import only — fact extraction is explicitly decoupled (src/commands/sync.ts CONVERGENCE CONTRACT); the reconcile lives in the extract-facts sweep (src/core/cycle/extract-facts.ts). The procedure now triggers the sweep and verifies removal with 'gbrain recall --grep' before certifying. 3. Backup retention glob: the backup is created as shared-brain-history-backup-<ts>.git but cleanup documented brain-history-backup-<date>.git — a pattern that matches nothing, silently retaining the pre-sanitization history mirror forever. Globs now agree. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> * chore(skills): regenerate skills.lock.json after master fix-wave Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> --------- Co-authored-by: Claude Fable 5 <noreply@anthropic.com>