Skip to content

feat: escalate brain search to web when facts cannot confirm - #17

Merged
eSlider merged 1 commit into
mainfrom
feat/brain-web-escalate
Aug 13, 2026
Merged

eSlider merged 1 commit into
mainfrom
feat/brain-web-escalate

Conversation

@eSlider

@eSlider eSlider commented Aug 13, 2026

Copy link
Copy Markdown
Owner

Summary

  • Default bin/brain/search.go / in-process /search adds a separate web block when there is no facts hit (D17). Graph hits stay apart from SearXNG hits.
  • --root facts|info and --no-web stay local. PII is refused without leaving the host. Missing BRAIN_SEARCH_URL is skipped, empty engines are throttled — neither is absence.
  • Policy is cgo-free in internal/brain/rank (CI). One-shot websearch.Lookup (cache, no 20s/60s retry).

Gitea: https://git.produktor.io/eSlider/2dph/issues/12

Test plan

  • go test ./internal/brain/rank -count=1
  • go test ./internal/websearch -count=1
  • go test ./... -count=1
  • uv run python -m unittest discover -s bin/tools -t .
  • CI green

@cursor

cursor Bot commented Aug 13, 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 a6dbe2f into main Aug 13, 2026
2 checks passed
@eSlider
eSlider deleted the feat/brain-web-escalate branch August 13, 2026 19:24
@eSlider eSlider mentioned this pull request Aug 14, 2026
1 of 3 tasks
eSlider added a commit that referenced this pull request Aug 14, 2026
Parser no longer errors; hop 1 returns File, hop 3 reaches Person.
Rebuild writes Leaf-[:FROM_FILE]->File so the walk is not empty
on a fresh index (Gitea #17).
eSlider added a commit that referenced this pull request Aug 24, 2026
Parser no longer errors; hop 1 returns File, hop 3 reaches Person.
Rebuild writes Leaf-[:FROM_FILE]->File so the walk is not empty
on a fresh index (Gitea #17).
eSlider added a commit that referenced this pull request Aug 25, 2026
Parser no longer errors; hop 1 returns File, hop 3 reaches Person.
Rebuild writes Leaf-[:FROM_FILE]->File so the walk is not empty
on a fresh index (Gitea #17).
eSlider added a commit that referenced this pull request Aug 27, 2026
Parser no longer errors; hop 1 returns File, hop 3 reaches Person.
Rebuild writes Leaf-[:FROM_FILE]->File so the walk is not empty
on a fresh index (Gitea #17).
eSlider added a commit that referenced this pull request Sep 15, 2026
Parser no longer errors; hop 1 returns File, hop 3 reaches Person.
Rebuild writes Leaf-[:FROM_FILE]->File so the walk is not empty
on a fresh index (Gitea #17).
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