You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat(cli): run review/scan without an API key (select_judge; deterministic-only mode with notice) #646
From the architecture audit. Part 5 of 6. Depends on 2/6.
Problem
LLM configuration is a precondition of every command: build_llm_config returns NoApiKey (config/loader.rs:~368) and is called from main.rs (commit, review before the diff is read, scan) and mcp/tools.rs. With no key, cora review/cora scan fail with "no API key found" even though the deterministic half needs no LLM (the LLM-failure fallback in engine/review.rs is never reached).
Proposal
One select_judge(config, flags) at the entry point: HttpLlm when a key/provider resolves, otherwise None. Add explicit --no-llm. With no key, run deterministic only and print a clear one-line notice ("no LLM configured: deterministic checks only; run cora auth login to enable AI review"). Output (pretty/json/SARIF) and summary must say deterministic only, so an empty result is never read as "reviewed and clean". Exit-code semantics unchanged.
Done when
cora review/cora scan with no key and no config exit normally with deterministic results and the notice.
Activity
ajianaz commentedon Oct 15, 2026
Series map (sequential, one PR each): 1/6 finalize #648 → 2/6 prepare/judge/finalize #649 → 3/6 untrusted judge output + cache #644 → 4/6 scan deterministic family #645 (can parallel 3/6) → 5/6 select_judge #646 → 6/6 MCP agent tools + skill #647.
feat(cli): run review/scan without an API key (select_judge, --no-llm) (
feat(cli): run review/scan without an API key (select_judge, --no-llm) (