What problem does it solve?
After upgrading Lumina, legacy wiki entries can be missing newly introduced schema frontmatter fields like provenance and confidence, causing lint findings and reducing discovery quality.
Core Features & Use Cases
- CHANGELOG-driven backfill: Reads
_lumina/CHANGELOG.md migration specs (and lint finding messages) to determine exactly which fields need inference.
- Evidence-based inference: Uses manifest, lint results, ingest checkpoints, and raw/ file discovery to infer provenance and confidence conservatively.
- Safe, idempotent writes: Uses
set-meta to backfill only missing fields, then re-runs lint and clears legacyMigrationNeeded when errors are resolved.
- Optional external_ids enrichment: With
--backfill-ids, populates external_ids from canonical urls[] without overwriting existing values.
Quick Start
Run /lumi-migrate-legacy to detect and backfill missing provenance/confidence fields, then re-check the wiki with lint.