Skip to content

feat: search --hop walks FROM_FILE to Person (#17) - #30

Merged
eSlider merged 1 commit into
mainfrom
feat/search-hop
Aug 14, 2026
Merged

feat: search --hop walks FROM_FILE to Person (#17)#30
eSlider merged 1 commit into
mainfrom
feat/search-hop

Conversation

@eSlider

@eSlider eSlider commented Aug 14, 2026

Copy link
Copy Markdown
Owner

Summary

  • --hop N is a real Cypher walk: 1=File, 2=Commit, 3=Person. The flag is no longer an error and no longer swallows 1 into the query.
  • Rebuild writes Leaf-[:FROM_FILE]->File (File.id matches gitimport repo:path).
  • Fixture: hop 1 returns File; hop 3 reaches Person. Closes Gitea #17 (epic feat: Go SearXNG client; throttled is not absence #16).

Test plan

  • go test ./internal/brain/rank (TestParseHopIsNotSwallowedIntoTheQuery, TestHopStmtWalksFromFile)
  • test_hop_1_returns_file_hop_3_reaches_person
  • published docs say --hop walks; they no longer say “not implemented”
  • GitHub Actions Test job green

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).
@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 a88dbb4 into main Aug 14, 2026
2 checks passed
eSlider added a commit that referenced this pull request Aug 14, 2026
OQ3: internal/duckstats + bin/qa/stats.go. Zig stays Ladybug-only.
mikefarah/yq for small structured slices. Gitea #30.
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