AI SOURCE WATCH / 05 / CHANGE + FRESHNESS POLICY / 2026
Change & Freshness Policy.
Формальная policy-логика Source Watch. Она отделяет технический diff от meaningful change, определяет significance, freshness/health state и решает, когда создать только Dossier event, когда отправить Researcher question, а когда потребовать Curator stale-check.
Главное правило: Source Watch никогда не обновляет permanent knowledge напрямую. Даже официальный новый release создаёт событие и stale-check, а не автоматическое переписывание знаний.
1. Policy pipeline
FetchResult → Snapshot normalization → DiffResult → deterministic classification → semantic classification if needed → significance resolver → freshness/health update → affected scope resolution → routing → ChangeEvent → audit
Important separation
DIFF: what technically changed CHANGE TYPE: what kind of change it is SIGNIFICANCE: how important it is ROUTING: who must act TRUTH: not decided by Source Watch
2. ChangeType taxonomy
NO_CHANGE COSMETIC METADATA_ONLY CONTENT_MINOR CONTENT_MAJOR VERSION_RELEASE BREAKING_CHANGE SECURITY_CHANGE DEPRECATION RETRACTION SOURCE_REMOVED SOURCE_RESTORED ACCESS_CHANGED UNKNOWN_CHANGE
Classification hints
| Type | Typical signal |
|---|---|
| COSMETIC | layout/style/navigation only |
| METADATA_ONLY | timestamp, author metadata, nonsemantic headers |
| CONTENT_MINOR | typo, wording refinement, noncritical clarification |
| CONTENT_MAJOR | procedure, warning, supported scope or substantive paragraph changed |
| VERSION_RELEASE | new firmware/software/product release |
| BREAKING_CHANGE | old behavior/API/procedure invalidated |
| SECURITY_CHANGE | security advisory, vulnerability, mitigation update |
| DEPRECATION | feature/source/version explicitly deprecated |
| RETRACTION | official correction/removal/reversal |
| SOURCE_REMOVED | persistent unavailable state |
3. Significance / severity
INFO LOW MEDIUM HIGH CRITICAL
Factors
source authority watch priority change type affected knowledge count affected version scope safety relevance publication impact reversibility confidence of classification
Resolver sketch
base = change_type_weight + authoritative official source + safety relevance + breaking/retraction + affects promoted knowledge + broad scope - cosmetic/metadata - low-confidence ambiguous diff - low-priority source
Hard minimums
RETRACTION → at least HIGH SECURITY_CHANGE affecting procedure → HIGH/CRITICAL BREAKING_CHANGE official source → at least HIGH persistent SOURCE_REMOVED for promoted provenance → at least MEDIUM
4. Freshness state
FRESH AGING STALE BROKEN UNKNOWN
FreshnessProfile
{
"policy_id": "...",
"max_age_days": 14,
"aging_after_days": 7,
"change_expected": "FREQUENT|NORMAL|RARE",
"watch_priority": "HIGH",
"version_sensitive": true
}
Important
Freshness — не просто «сколько дней документу». Она учитывает expected update cadence и scope. Manual для снятой с производства модели может оставаться актуальным годами.
State example
checked recently + accessible → FRESH not checked near threshold → AGING past required verification interval → STALE persistent fetch/access failure → BROKEN insufficient history/config → UNKNOWN
5. Source health
HEALTHY DEGRADED RATE_LIMITED AUTH_REQUIRED BROKEN REMOVED UNKNOWN
Do not confuse with freshness
Fresh source can be temporarily RATE_LIMITED. Old source can be HEALTHY but STALE. BROKEN health does not automatically mean knowledge is false.
Failure thresholds
1 timeout → transient failure N repeated failures → DEGRADED persistent 404/410 → REMOVED candidate 401/403 after previously valid access → AUTH_REQUIRED / ACCESS_CHANGED
6. Когда нужен Qwen 30B
Deterministic first
same normalized hash → NO_CHANGE only ignored selector changed → COSMETIC version field changed → VERSION_RELEASE HTTP state changed → availability classifier GitHub release event → VERSION_RELEASE
Use Qwen only for
ambiguous content diff warning/procedure semantics scope expansion/reduction does old guidance become invalid? is wording change substantive? summarize affected claims/questions
Qwen output
{
"change_type": "CONTENT_MAJOR",
"severity_hint": "HIGH",
"semantic_summary": "...",
"affected_topics": [...],
"possible_version_scope": {...},
"confidence": 0.88
}
Qwen produces a signal, not final route. Policy resolver remains deterministic where possible.
7. Routing matrix
| Change | Dossier | Researcher | Curator |
|---|---|---|---|
| COSMETIC | NO / log only | NO | NO |
| METADATA_ONLY | optional INFO | NO | NO |
| CONTENT_MINOR | YES optional | NO/optional | NO |
| CONTENT_MAJOR | YES | YES | if promoted knowledge affected |
| VERSION_RELEASE | YES | YES | if version-sensitive promoted knowledge |
| BREAKING_CHANGE | YES | YES HIGH | YES stale-check |
| SECURITY_CHANGE | YES | YES HIGH | YES if relevant knowledge |
| DEPRECATION | YES | YES | YES stale-check |
| RETRACTION | YES | YES | YES HIGH |
| SOURCE_REMOVED | YES | if replacement needed | if promoted provenance depends on it |
8. Stale-knowledge trigger
Trigger only when link exists
ChangeEvent → SourceRef → Curator PromotionManifest / KnowledgeItem → affected scope intersection IF intersection exists: create CuratorStaleCheckRequest
Contract
{
"request_id": "...",
"change_id": "...",
"source_id": "...",
"knowledge_item_refs": [...],
"affected_scope": {...},
"reason": "official source changed",
"priority": "HIGH"
}
Not allowed
Source Watch: change detected → mutate KnowledgeItem FORBIDDEN
9. Examples
Official manual: 10 A → 8 A
Docling diff: table value changed Policy: CONTENT_MAJOR / HIGH Routes: Dossier event Researcher verify scope Curator stale-check if 10A was promoted
GitHub release 3.2 published
VERSION_RELEASE / MEDIUM or HIGH Dossier: add release event Researcher: check changelog / relevance Curator: only if promoted knowledge is version-sensitive
PDF regenerated, same structured content
binary hash changed canonical structured hash same NO_CHANGE / METADATA_ONLY no Researcher route
Vendor page 404 once
health transient no SOURCE_REMOVED retry bounded
10. ChangeEvent contract
{
"change_id": "chg_...",
"watch_id": "...",
"source_id": "...",
"old_snapshot_id": "...",
"new_snapshot_id": "...",
"change_type": "BREAKING_CHANGE",
"severity": "HIGH",
"diff_refs": [...],
"semantic_summary": "...",
"affected_entities": [...],
"affected_version_scope": {...},
"classification_confidence": 0.95,
"routes": [
"dossier",
"researcher",
"curator_stale_check"
],
"policy_version": "0.1"
}
11. Policy golden tests
| Case | Expected |
|---|---|
| CSS only | COSMETIC/INFO/no route |
| official release | VERSION_RELEASE |
| warning removed | CONTENT_MAJOR/HIGH |
| official retraction | RETRACTION/HIGH + Curator |
| temporary 404 | health degraded, no removal |
| persistent 410 | SOURCE_REMOVED |
| new release unrelated to promoted scope | no Curator stale-check |
| change intersects promoted scope | Curator stale-check |
| Qwen uncertain | UNKNOWN_CHANGE / review, not auto-major |
12. Definition of Policy Done
[ ] change taxonomy fixed [ ] significance fixed [ ] freshness states fixed [ ] source health fixed [ ] deterministic-first policy [ ] Qwen escalation rules fixed [ ] routing matrix fixed [ ] stale-knowledge trigger defined [ ] scope intersection required [ ] temporary vs persistent failure separated [ ] ChangeEvent schema defined [ ] no direct KnowledgeItem mutation [ ] golden policy tests defined [ ] policy independent of changedetection/urlwatch
Следующий документ: `AI_source_watch_6_MCP_API_контракты.html` — create/update/pause watches, check-now, snapshots, changes, health, acknowledgements, routing hooks и role permissions.