Skip to content

feat: incremental brain/add without rebuild (#14) - #29

Merged
eSlider merged 1 commit into
mainfrom
feat/brain-add
Aug 14, 2026
Merged

feat: incremental brain/add without rebuild (#14)#29
eSlider merged 1 commit into
mainfrom
feat/brain-add

Conversation

@eSlider

@eSlider eSlider commented Aug 14, 2026

Copy link
Copy Markdown
Owner

Summary

  • bin/brain/add.go / bin/kb/add write facts+info in one transaction without deleting var/kb.lbug.
  • Ladybug 0.19 FTS+HNSW stay queryable on MERGE of new leafs; DROP INDEX was the corrupt path.
  • POST /ingest adds a leaf; GET /ingest names the CLI. Closes the v1 write blocker on Gitea #14 (epic feat: Go SearXNG client; throttled is not absence #16).

Test plan

  • uv run python -m unittest discover -s bin/tools -t .
  • go test ./...
  • FTS+HNSW find a leaf added after indexes exist
  • GitHub Actions Test job green
  • POST /ingest / bin/brain/add.go --json against a throwaway db

Ladybug 0.19 stays FTS/HNSW queryable on MERGE of new ids; DROP INDEX
was the fatal path. bin/brain/add.go and POST /ingest land facts+info
in one transaction so watch/mail/git can become leafs now (Gitea #14).
@cursor

cursor Bot commented Aug 14, 2026

Copy link
Copy Markdown

Bugbot is not enabled for your account, so this pull request was not reviewed.

Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs.

@eSlider
eSlider merged commit 9d1a3f3 into main Aug 14, 2026
2 checks passed
eSlider added a commit that referenced this pull request Aug 14, 2026
temporal_freshness then authority_pairing; unresolved keeps (not confirmed).
bin/facts/audit contradict. Gitea #29.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant