Source adapters: Sync then Import files then brain index #7

Open
opened 2026-08-13 14:05:47 +01:00 by eSlider · 0 comments
Owner

Why

chats index and mail/index_mail hide a brain rebuild under the wrong subject.

Do

  • Sync on origin (mail, chats, git). Import converts to files only.
  • Only bin/brain/index.go writes Ladybug (v1 rebuild). No bin/brain/import.go. brain/add is v2 after upsert+index tests.

Test

  • Import writes files, not var/brain.lbug. Index rebuild test on a fixture corpus.
## Why `chats index` and `mail/index_mail` hide a brain rebuild under the wrong subject. ## Do - `Sync` on origin (`mail`, `chats`, `git`). `Import` converts to files only. - Only `bin/brain/index.go` writes Ladybug (v1 rebuild). No `bin/brain/import.go`. `brain/add` is v2 after upsert+index tests. ## Test - Import writes files, not `var/brain.lbug`. Index rebuild test on a fixture corpus.
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: eSlider/2dph#7