feat(config): add project-level config v1#36
Draft
scarletkc wants to merge 3 commits into
Draft
Conversation
- doctor: fall back to the global config when the project config fails to load, so later checks report real settings instead of blank defaults (no more false "API key not configured") - doctor: replace the full field-origin dump with a compact summary of project/environment overrides only - config --show: treat provider env API keys as configured, show key-only VEXOR_REMOTE_RERANK_API_KEY as "key from env" without relabeling the block origin, display unset embedding dimensions as "auto", and sync the --show help text - docs: deduplicate the project-config contract (cli.md and mcp.md now link to configuration.md) and restore the porcelain note's placement Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
.vexor/config.jsonwith a strict v1 allowlist and explicit credential/endpoint rejectionconfig --showanddoctorconfig.jsontrackable, migrate the generated ignore template, and synchronize docs, the bundled skill, and roadmapWhy
Project-level configuration was the remaining roadmap item for repositories that need shared behavior defaults without moving credentials or provider endpoints into attacker-controlled files.
Impact
Projects can commit safe search/index behavior overrides. Global configuration, environment overrides, runtime/per-call settings, and explicit arguments retain their documented precedence. Existing global-only callers remain compatible.
Validation
.\.venv\Scripts\python.exe -m pytest -q— 582 passed.\.venv\Scripts\python.exe -m pytest --cov=vexor --cov-report=term -q— 91% total coveragegit diff --check