Files
tobayahandClaude Opus 4.7 17f6bc1f62 ci(eval): add eval gate workflow (mock default, live via dispatch)
Sprint 4 ADR-001 M4 enforcement in CI.

Triggers:
- pull_request on packages/{prompts,agents,evals,jurisdictions,
  schemas/clauses,llm-gateway}/** — always runs with --profile=mock
  (zero LLM creds in PR CI, no accidental cost)
- workflow_dispatch with choice [mock, cloud-cheap, cloud-premium] for
  manual live runs

local-data-sovereign profile is NOT available in CI by design (no
Ollama / GPU on GitHub runners) — run locally with
  uv run pytest packages/evals/tests/ -m eval --profile=local-data-sovereign

junit XML uploaded as artifact for regression triage. ANTHROPIC_API_KEY
passed from secrets but only consumed when profile != mock; harmless
when unset.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-17 17:40:25 +02:00
..