Skip to content

fix(brain): Ladybug shebangs auto-use Zig CGO - #40

Merged
eSlider merged 1 commit into
mainfrom
feat/brain-zig-shebang
Aug 15, 2026
Merged

fix(brain): Ladybug shebangs auto-use Zig CGO#40
eSlider merged 1 commit into
mainfrom
feat/brain-zig-shebang

Conversation

@eSlider

@eSlider eSlider commented Aug 15, 2026

Copy link
Copy Markdown
Owner

Summary

  • bin/brain/{search,get,stats,eval,serve}.go shebangs exec through bin/cgo/zig so bare ./bin/brain/search.go no longer fails on missing lbug.h (gcc without zig env).
  • Layout tests assert zig routing; AGENTS/runbook note eval is optional.

Test plan

  • python -m unittest bin.tools.test_bin_layout
  • ./bin/brain/search.go … compiles (OpenDatabase status 1 is separate; follow-up)
  • CI green

Bare go run used gcc and failed on missing lbug.h. search/get/stats/eval/serve
now exec zig env automatically so ./bin/brain/search.go works without a prior eval.
@cursor

cursor Bot commented Aug 15, 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 bc35b93 into main Aug 15, 2026
3 checks passed
@eSlider
eSlider deleted the feat/brain-zig-shebang branch August 15, 2026 08:19
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