mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-12 21:23:45 +01:00
REQ_VALIDATION_MODE=enforce-log rejects schema failures exactly as 'enforce' does, but logs them first at instrumented call sites, so the visibility built for the 'log' rollout (sanitized issues, caller trace, logFields values, per schema/signature dedup) survives moving out of 'log' mode. opts no longer change the outcome in this mode: logOnly does not suppress the throw, the error is classified from the primary schema (not the fallback), and fallbackSchema is only re-parsed to tag the log entry -- 'enforced-fallback- passed' marks a rejection the looser pre-refinement schema would have avoided, i.e. one the tightened schema newly introduces. Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com> GitOrigin-RevId: 0743322990e6c570ffbae166b4586285a18221df