schemafit v0.5.0 — automatic rule-pack drift detection
Added
- Automatic rule-pack drift detection (AMBITIOUS v0.5 per MAP): under
--live-verify(mock-default, hermetic), when a provider's live verdict rejects a schema the static pack passed, schemafit emits a*-driftfinding (e.g.cohere-drift) and fails CI — surfacing when a rule pack lags provider docs. Reuses the existingFinding/report/SARIF paths; abstain never fails; real provider calls stay opt-in and key-gated.
Hardened (post-review)
--live-verifyis opt-in only — removed an implicit/.dockerenvauto-enable that changed exit/output semantics for Docker/stdin consumers.- Modeled cohere caveat targets true regex anchors via schema-aware traversal — no false drift on escaped/char-class literals (
\^,[$],[^a]) orpatternstrings in data positions (default/const/enum/examples). - CI drift-proof pinned to the mock client (deterministic, hermetic).
The 5-provider matrix (OpenAI, Anthropic, Gemini, Mistral, Cohere) is intact; no new core dependencies. Published to PyPI and GHCR.