feat(ai-security-context): record the scan start date and in-range total
Merged
MA
10h ago+37+37+01234567890123456789-0-0-0123456789
Allow the ai-security-context (CHAINLOOP_AI_SECURITY_CONTEXT) artifact to carry two optional scan fields:
scan_start_date: the oldest commit date the scan mined to (the backfill floor).in_range_commits_total: how many commits are on or after that date — the denominator for coverage within the start date, distinct fromrepo_commits_total(the whole repository).
Both are optional, so older artifacts and full-history scans still validate. The change adds the schema properties, the crafter struct fields, and validation tests.
This is the OSS part of PFM-8172. The platform producer (strata) emits these fields and the control plane surfaces them in a paired change, once this lands in a chainloop release.