You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Policy.from_dict accepts any dict, and nothing validates it against the schema phisql ships (jsonschema is a dev-only dependency). A policy with an unknown or misspelled key loads and silently stops redacting.
Acceptance Criteria
Loading a policy validates it against the packaged schema and reports failures.
Validation is opt-out for callers loading a policy written for an older schema version.
A test asserts a policy with an unknown key is reported rather than silently accepted.
Policy.from_dictaccepts any dict, and nothing validates it against the schemaphisqlships (jsonschemais a dev-only dependency). A policy with an unknown or misspelled key loads and silently stops redacting.Acceptance Criteria