Freshness automation and staleness tooling for the AI Incident Law corpus.
Added
get_staleness_reportMCP tool andnpm run report:stalenessCLI: rank records by verification age to surface matters overdue for re-verification. Advertised inagents.jsonand.well-known/mcp.json.llms.txtat the site root for LLM and agent discovery.- Freshness gate in
validate-data.mjs: validation fails ifgenerated_atlags the newest record verification date.
Changed
generated_atis now derived automatically at build time from the newest record verification date, so the public freshness stamp tracks the data and can no longer go stale by hand. Propagates through the generated Obligation-First binding.
Fixed
- Corrected the public freshness stamp, which had lagged 41 days behind the corpus.
- Corrected the canonical domain in
INTENT.md(.com -> .org).
Verification
npm run check: passed (5 MCP + 3 discovery tests).npm run build: idempotent, generated artifacts committed.
Full changelog: https://github.com/snapsynapse/ai-incident-law/blob/main/CHANGELOG.md