# Deadline-diff policy

A reusable skill the "Never miss a renewal notice window again" recipe pulls in. Add it once and every agent on the team can use it.

Decide what counts as newly inside the notice window versus already flagged, to avoid repeat alerts.

## Method
1. Load last week's tracker snapshot from memory.
2. Compare this week's extracted dates to last week's for every contract.
3. Flag a contract as newly-inside-window if it entered the notice window since the last run.
4. Flag a contract as changed if its extracted term, renewal, or notice dates differ from last week.
5. For every newly-flagged contract, re-confirm the notice-window length against the actual clause text before alerting.
6. Do not alert on a contract already flagged in a prior run with no change.

## Rules
- Never alert off a stale or previously-corrected date — always re-confirm against current clause text first.
- A contract flagged last week and unchanged this week is not re-alerted.
- Default notice-lead reminder window, for example 60 days (set on first run, then stored in memory).
- The tracker is patched with current state every run, never rebuilt from scratch.

## Output
An updated tracker snapshot plus an alert list of contracts newly inside {{notice_lead_days}} days of their deadline, each with owner and re-confirmed date.
