Skip to content

feat(routes): honest cloud/local provider matrix + OAuth env containment (m27) - #34

Merged
TimothyVang merged 1 commit into
mainfrom
agent/m27-cloud-local
Jul 10, 2026
Merged

feat(routes): honest cloud/local provider matrix + OAuth env containment (m27)#34
TimothyVang merged 1 commit into
mainfrom
agent/m27-cloud-local

Conversation

@TimothyVang

Copy link
Copy Markdown
Owner

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: ok
  • node scripts/selftest.mjs: 155 passed, 0 failed
  • caseforge verify <run-dir> on case 6dd5bfa0: exit 0, manifest custody verified, ed25519, overall=true

Honest caveats

  • The cloud seal is one evtx_query tool call (leaf_count=1, 0 replay-verified) on the public fixture via xai/grok-3 — a real signed custody chain, not a multi-tool cloud investigation, not a SCHARDT result.
  • A prior used_fallback=0 claim was retracted: that field is emitted only by scripts/spark-local-seal-smoke.sh (local Spark, not run) and appears in no custody artifact of the case.
  • Local live gate UNVERIFIED — Spark and Ollama both unreachable this milestone.

Full receipt: docs/milestone-27-parallel.md (umbrella).

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.
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, add credits to your account and enable them for code reviews in your settings.

@TimothyVang
TimothyVang merged commit 077bb4e into main Jul 10, 2026
1 check passed
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