Add zara-knowledge with first-class Brave Search provider #508

Open
nsaspy wants to merge 1 commit from rage/18-51-knowledge-brave into main
Owner

Implements #18 and #51.

Adds a provider-neutral sourced-evidence model, independent provider degradation, provenance-preserving aggregation, and the initial Brave Search adapter. Brave credentials stay in supported runtime env/config or a mode-0600 credential file; result/query/payload/time bounds are explicit; invalid URLs and malformed/rate-limited/unavailable provider responses fail honestly; zero-results remains distinguishable from provider failure.

Recovered after #55's squash onto a single clean commit directly atop verified main; the implementation tree is unchanged from the previously exact-head-green stack and is being re-proven at the recovered exact head before merge.

Implements #18 and #51. Adds a provider-neutral sourced-evidence model, independent provider degradation, provenance-preserving aggregation, and the initial Brave Search adapter. Brave credentials stay in supported runtime env/config or a mode-0600 credential file; result/query/payload/time bounds are explicit; invalid URLs and malformed/rate-limited/unavailable provider responses fail honestly; zero-results remains distinguishable from provider failure. Recovered after #55's squash onto a single clean commit directly atop verified `main`; the implementation tree is unchanged from the previously exact-head-green stack and is being re-proven at the recovered exact head before merge.
feat(knowledge): add sourced retrieval with Brave provider
Some checks failed
CI / test (pull_request) Failing after 22s
541843fdb5
Some checks failed
CI / test (pull_request) Failing after 22s
This pull request has changes conflicting with the target branch.
  • plugins.json
  • plugins/zara-knowledge/lib/zara_knowledge/brave.py
  • plugins/zara-knowledge/lib/zara_knowledge/config.py
  • plugins/zara-knowledge/lib/zara_knowledge/plugin.py
View command line instructions

Manual merge helper

Use this merge commit message when completing the merge manually.

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin rage/18-51-knowledge-brave:rage/18-51-knowledge-brave
git switch rage/18-51-knowledge-brave

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch main
git merge --no-ff rage/18-51-knowledge-brave
git switch rage/18-51-knowledge-brave
git rebase main
git switch main
git merge --ff-only rage/18-51-knowledge-brave
git switch rage/18-51-knowledge-brave
git rebase main
git switch main
git merge --no-ff rage/18-51-knowledge-brave
git switch main
git merge --squash rage/18-51-knowledge-brave
git switch main
git merge --ff-only rage/18-51-knowledge-brave
git switch main
git merge rage/18-51-knowledge-brave
git push origin main
Sign in to join this conversation.
No description provided.