Skip to content

A start-to-finish macOS guide, and a corpus default that works off a server - #336

Merged
mattshax merged 1 commit into
mainfrom
macos-docs
Sep 10, 2026
Merged

mattshax merged 1 commit into
mainfrom
macos-docs

Conversation

@mattshax

Copy link
Copy Markdown
Member

The first run failed for an unexplained reason. KB_ROOT defaults to /data/knowledge-base, a server convention that does not exist on a laptop and cannot be created without root. When that path is absent the default is now knowledge-base/ beside the code, seeded on first start, so pnpm start works from a fresh clone. Deployments set KB_ROOT explicitly and are unaffected.

docs/MACOS.md is the path in the order worth doing it: run it first, add GUFI once it works, add a model last. It includes a table of what works in each of the three states, because a Mac user who builds with GUFI_AI=0 still gets filename and full-text search over extracted document text and only loses the semantic blend, which is a much better story than "unsupported". Troubleshooting covers the failures that actually happen: Apple clang instead of Homebrew LLVM, and the llama.cpp build inside sqlite-lembed.

GUFI binaries are not shipped here and should not be: the guide points at the GUFI project for installation, notes that a site package works, and documents that the Studio finds gufi_query on PATH or under /opt/gufi/bin. indexer/setup_gufi.sh remains available for building from source.

174 server tests and 9 web tests pass, and the macOS CI job covers this on a real runner.

… works off a server

The macOS path was accurate in the README but not a walkthrough, and the
first run failed for a reason nothing explained: the corpus defaults to
/data/knowledge-base, a server convention that does not exist on a
laptop and cannot be created without root. When that path is absent the
default is now a directory beside the code, seeded on first start, so
`pnpm start` works from a fresh clone. Deployments set KB_ROOT and are
unaffected.

docs/MACOS.md is the whole path in the order worth doing it: run it
first, add GUFI once it works, add a model last. It says what works in
each of the three states, since a Mac user without the vector
extensions still gets filename and full-text search and only loses the
semantic blend, and it answers the failures that actually happen, which
are Apple clang instead of Homebrew LLVM, and the llama.cpp build
inside sqlite-lembed.

GUFI itself is installed from GUFI: the guide points at the project and
the Studio finds gufi_query on PATH or under /opt/gufi/bin.
@mattshax
mattshax merged commit 756052b into main Sep 10, 2026
2 checks passed
@mattshax
mattshax deleted the macos-docs branch September 10, 2026 15:53
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