feat(routes): honest cloud/local provider matrix + OAuth env containment (m27) - #34
Merged
Conversation
Add named routes for all product-supported local OpenAI-compatible providers, label capability-only cloud providers as experimental/unverified, centralize OAuth ambient-key clearing, fix Grok smoke to require real case_open evidence, and extend selftest coverage for privacy routing and route_status honesty.
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
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.
Milestone 27 — honest cloud/local provider matrix + OAuth env containment
Makes CaseForge's claimed cloud/local model surface executable and honest, and
adds a live cloud custody receipt on the public DE_1102 fixture.
Changes
configs/model-routes.yaml,configs/provider-capabilities.yaml— reconcile the declared route matrix with what is actually supported.packages/caseforge-cli/src/commands/investigate.ts,config.ts— OAuth env containment (clear ambient platform keys, load the correct provider credential).docs/LLM_SUPPORT_2026.md,docs/LOCAL_LLM_FIX_TRACKING.md— drop stale planned/open-PR wording contradicted by merged evidence.scripts/grok-cloud-smoke.sh— select a supported public/synthetic evidence file (old default dir was not itself supported evidence).scripts/selftest.mjs(+143) — tests for local-only deny, cloud-ok allow, OAuth key clearing, and the smoke evidence gate.Verification (re-run by orchestrator, not taken on trust)
npm run build: ok ·npm run typecheck: oknode scripts/selftest.mjs: 155 passed, 0 failedcaseforge verify <run-dir>on case6dd5bfa0: exit 0, manifest custody verified, ed25519,overall=trueHonest caveats
evtx_querytool call (leaf_count=1,0 replay-verified) on the public fixture viaxai/grok-3— a real signed custody chain, not a multi-tool cloud investigation, not a SCHARDT result.used_fallback=0claim was retracted: that field is emitted only byscripts/spark-local-seal-smoke.sh(local Spark, not run) and appears in no custody artifact of the case.Full receipt:
docs/milestone-27-parallel.md(umbrella).