feat: add deployment policy schema and evaluator (Phase 1)
Build the foundation for the deployment policy system:
- Add Policy.Rule OpenAPI schema (actions, triggers, window, confirm)
- Add shared evaluator: Policy.evaluate/5 and Policy.trigger_for_reason/1
- Window evaluation with overnight span support (subsumes sow-160)
- Make Window tz field optional for policy window reuse
- Add policy field to Subscription schema (client + server)
- DB migration: add policy column (jsonb) to subscriptions table
- Full unit tests for evaluator (49 tests)
No behavior change — existing code paths untouched.
sow-161
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>