Skip to content

schemafit v0.5.0

Latest

Choose a tag to compare

@OrionArchitekton OrionArchitekton released this 28 Jun 22:24
273068c

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 *-drift finding (e.g. cohere-drift) and fails CI — surfacing when a rule pack lags provider docs. Reuses the existing Finding/report/SARIF paths; abstain never fails; real provider calls stay opt-in and key-gated.

Hardened (post-review)

  • --live-verify is opt-in only — removed an implicit /.dockerenv auto-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]) or pattern strings 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.