widen event duration ceiling to 365 days
Patch cycles are ~6 weeks, so a span over 180 days previously indicated a misread year. However, real year-long events exist in this domain: Genshin's anniversary 5-star selection runs 336 days (2025-10-22 to 2026-09-23), correctly dated on its wiki, and Fire Emblem Heroes runs a seven-month new-player banner (docs/SOURCES.md § 12b). Widening the ceiling to 365 days admits genuinely year-long events while still catching misread years, which place the end 12 months out (span + ~365, or 405+ days for a 6-week event). Update test/adapters/game8.test.ts duration test, AGENTS.md domain rules, and docs/INGESTION.md sanity checks.
This commit is contained in:
+1
-1
@@ -516,7 +516,7 @@ quarantine with `reason: 'sanity_failed'` — never to the feed.
|
||||
| Rule | Rationale |
|
||||
|---|---|
|
||||
| `endsAt` after `startsAt` when both present | A backwards interval is always a parse error |
|
||||
| Duration under 180 days | Patch cycles are ~6 weeks; longer means a misread year |
|
||||
| Duration under 365 days | Patch cycles are ~6 weeks; a year-plus span means a misread year. Raised from 180 on 2026-09-12, when a real 336-day event arrived — see AGENTS.md § Domain rules. Until this stage is built, the rule lives only in `test/adapters/game8.test.ts` |
|
||||
| `startsAt` within [now − 2y, now + 1y] | Catches century typos and relative-date misreads |
|
||||
| `endsAt` null exactly when `endPrecision` is `"unknown"` | The two fields must agree |
|
||||
| `regionEnds` non-null exactly when `regionScoped` | Same |
|
||||
|
||||
Reference in New Issue
Block a user